soul-browser/app/smali_classes3/kotlin/collections/CollectionsKt__MutableCollectionsKt.smali
KaKi87 550ddb0413
Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1)
* Decompile and recreate Soul Browser v1.4.85 with APK CI builds

Co-authored-by: KaKi87 <KaKi87@pm.me>

* Fix CI build: include bundled google.jks and remove PR trigger

The apktool build failed in CI because app/unknown/.../google.jks was
excluded by the *.jks gitignore rule. Whitelist app-bundled JKS files
and commit the missing resource.

Also remove the redundant pull_request workflow trigger.

Co-authored-by: KaKi87 <KaKi87@pm.me>

* Change package ID to com.github.kaki87.soulbrowser

Rename the application ID so the rebuilt APK can be installed
alongside the original Soul Browser from Google Play.

- Update AndroidManifest package, permissions, providers, and actions
- Update R class references in smali (com/github/kaki87/soulbrowser/R)
- Update shortcuts.xml targetPackage
- Rename app label to "Soul Rebuild" for easy identification

Co-authored-by: KaKi87 <KaKi87@pm.me>

* Fix install compatibility: remove split APK metadata and bundle native libs

The rebuilt APK still declared requiredSplitTypes and Play Store split
metadata, causing Android to reject standalone installs as incompatible.

- Remove requiredSplitTypes and split-related manifest meta-data
- Merge native libs from all ABI splits with uncompressed storage
- Page-align before signing for extractNativeLibs=false
- Add .so to apktool doNotCompress list

Co-authored-by: KaKi87 <KaKi87@pm.me>

* Fix install failure: use apksigner v2/v3 and bundle arm64 native libs

Target SDK 36 requires APK Signature Scheme v2+, but jarsigner only
produces v1 signatures, causing Android to reject the install.

- Sign with apksigner (v1+v2+v3) instead of jarsigner
- Add arm64-v8a native libraries from universal Soul Browser 1.4.79
- Set extractNativeLibs=true for reliable sideload installs
- Commit stable debug keystore for consistent signatures across builds

Co-authored-by: KaKi87 <KaKi87@pm.me>

* Add committed debug keystore for consistent APK signatures

Co-authored-by: KaKi87 <KaKi87@pm.me>

* Fix startup crash: use original classes2.dex desugar libraries

Apktool recompiles smali_classes2 into a broken classes2.dex, causing
ClassNotFoundException for j$.com.android.tools.r8.a at ML Kit init.

Inject the original classes2.dex (Java 8+ desugar libs) after apktool
build instead of using the recompiled version.

Co-authored-by: KaKi87 <KaKi87@pm.me>

* Fix missing drawable resources from density split APKs

The base APK is an app bundle module; density-specific drawables like
seek_thumb_nor_b live in config.xhdpi.apk and were missing after rebuild,
causing Resources$NotFoundException at runtime.

- Merge non-9-patch resources from split APKs before apktool build
- Sync public.xml IDs from R smali only when backing files exist
- Add 713 density-specific resource IDs to public.xml

Co-authored-by: KaKi87 <KaKi87@pm.me>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-08-10 16:07:14 +02:00

1681 lines
50 KiB
Smali

.class Lkotlin/collections/CollectionsKt__MutableCollectionsKt;
.super Lkotlin/collections/CollectionsKt__MutableCollectionsJVMKt;
.source "SourceFile"
# annotations
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000P\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u001f\n\u0002\u0008\u0004\n\u0002\u0010\u001e\n\u0002\u0008\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u001c\n\u0002\u0010\u0011\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0006\n\u0002\u0010\u001d\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010!\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u0007\u001a-\u0010\u0000\u001a\u00020\u0001\"\t\u0008\u0000\u0010\u0002\u00a2\u0006\u0002\u0008\u0003*\n\u0012\u0006\u0008\u0001\u0012\u0002H\u00020\u00042\u0006\u0010\u0005\u001a\u0002H\u0002H\u0087\u0008\u00a2\u0006\u0002\u0010\u0006\u001a.\u0010\u0007\u001a\u00020\u0001\"\t\u0008\u0000\u0010\u0002\u00a2\u0006\u0002\u0008\u0003*\n\u0012\u0006\u0008\u0001\u0012\u0002H\u00020\u00042\u000c\u0010\u0008\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\tH\u0087\u0008\u001a.\u0010\n\u001a\u00020\u0001\"\t\u0008\u0000\u0010\u0002\u00a2\u0006\u0002\u0008\u0003*\n\u0012\u0006\u0008\u0001\u0012\u0002H\u00020\u00042\u000c\u0010\u0008\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\tH\u0087\u0008\u001a(\u0010\u000b\u001a\u00020\u000c\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00042\u0006\u0010\u0005\u001a\u0002H\u0002H\u0087\n\u00a2\u0006\u0002\u0010\r\u001a)\u0010\u000b\u001a\u00020\u000c\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00042\u000c\u0010\u0008\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u000eH\u0087\n\u001a.\u0010\u000b\u001a\u00020\u000c\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00042\u000c\u0010\u0008\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u000fH\u0087\n\u00a2\u0006\u0002\u0010\u0010\u001a)\u0010\u000b\u001a\u00020\u000c\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00042\u000c\u0010\u0008\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0011H\u0087\n\u001a(\u0010\u0012\u001a\u00020\u000c\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00042\u0006\u0010\u0005\u001a\u0002H\u0002H\u0087\n\u00a2\u0006\u0002\u0010\r\u001a)\u0010\u0012\u001a\u00020\u000c\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00042\u000c\u0010\u0008\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u000eH\u0087\n\u001a.\u0010\u0012\u001a\u00020\u000c\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00042\u000c\u0010\u0008\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u000fH\u0087\n\u00a2\u0006\u0002\u0010\u0010\u001a)\u0010\u0012\u001a\u00020\u000c\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00042\u000c\u0010\u0008\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0011H\u0087\n\u001a&\u0010\u0013\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00042\u000c\u0010\u0008\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u000e\u001a&\u0010\u0013\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00042\u000c\u0010\u0008\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0011\u001a-\u0010\u0013\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00042\u000e\u0010\u0008\u001a\n\u0012\u0006\u0008\u0001\u0012\u0002H\u00020\u000f\u00a2\u0006\u0002\u0010\u0014\u001a\u001e\u0010\u0015\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\t\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u000eH\u0000\u001a&\u0010\u0007\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00042\u000c\u0010\u0008\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u000e\u001a&\u0010\u0007\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00042\u000c\u0010\u0008\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0011\u001a-\u0010\u0007\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00042\u000e\u0010\u0008\u001a\n\u0012\u0006\u0008\u0001\u0012\u0002H\u00020\u000f\u00a2\u0006\u0002\u0010\u0014\u001a&\u0010\n\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00042\u000c\u0010\u0008\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u000e\u001a-\u0010\n\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00042\u000e\u0010\u0008\u001a\n\u0012\u0006\u0008\u0001\u0012\u0002H\u00020\u000f\u00a2\u0006\u0002\u0010\u0014\u001a&\u0010\n\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00042\u000c\u0010\u0008\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0011\u001a\u0015\u0010\u0016\u001a\u00020\u0001*\u0006\u0012\u0002\u0008\u00030\u0004H\u0002\u00a2\u0006\u0002\u0008\u0017\u001a*\u0010\u0007\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u00182\u0012\u0010\u0019\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u00020\u00010\u001a\u001a*\u0010\n\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u00182\u0012\u0010\u0019\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u00020\u00010\u001a\u001a9\u0010\u001b\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u00182\u0012\u0010\u0019\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u00020\u00010\u001a2\u0006\u0010\u001c\u001a\u00020\u0001H\u0002\u00a2\u0006\u0002\u0008\u001d\u001a&\u0010\u0000\u001a\u0002H\u0002\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u001e2\u0006\u0010\u001f\u001a\u00020 H\u0087\u0008\u00a2\u0006\u0002\u0010!\u001a\u001d\u0010\"\u001a\u0002H\u0002\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u001eH\u0007\u00a2\u0006\u0002\u0010#\u001a\u001f\u0010$\u001a\u0004\u0018\u0001H\u0002\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u001eH\u0007\u00a2\u0006\u0002\u0010#\u001a\u001d\u0010%\u001a\u0002H\u0002\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u001eH\u0007\u00a2\u0006\u0002\u0010#\u001a\u001f\u0010&\u001a\u0004\u0018\u0001H\u0002\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u001eH\u0007\u00a2\u0006\u0002\u0010#\u001a*\u0010\u0007\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u001e2\u0012\u0010\u0019\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u00020\u00010\u001a\u001a*\u0010\n\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u001e2\u0012\u0010\u0019\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u00020\u00010\u001a\u001a9\u0010\u001b\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u001e2\u0012\u0010\u0019\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u00020\u00010\u001a2\u0006\u0010\u001c\u001a\u00020\u0001H\u0002\u00a2\u0006\u0002\u0008\u001d\u00a8\u0006\'"
}
d2 = {
"remove",
"",
"T",
"Lkotlin/internal/OnlyInputTypes;",
"",
"element",
"(Ljava/util/Collection;Ljava/lang/Object;)Z",
"removeAll",
"elements",
"",
"retainAll",
"plusAssign",
"",
"(Ljava/util/Collection;Ljava/lang/Object;)V",
"",
"",
"(Ljava/util/Collection;[Ljava/lang/Object;)V",
"Lkotlin/sequences/Sequence;",
"minusAssign",
"addAll",
"(Ljava/util/Collection;[Ljava/lang/Object;)Z",
"convertToListIfNotCollection",
"retainNothing",
"retainNothing$CollectionsKt__MutableCollectionsKt",
"",
"predicate",
"Lkotlin/Function1;",
"filterInPlace",
"predicateResultToRemove",
"filterInPlace$CollectionsKt__MutableCollectionsKt",
"",
"index",
"",
"(Ljava/util/List;I)Ljava/lang/Object;",
"removeFirst",
"(Ljava/util/List;)Ljava/lang/Object;",
"removeFirstOrNull",
"removeLast",
"removeLastOrNull",
"kotlin-stdlib"
}
k = 0x5
mv = {
0x2,
0x2,
0x0
}
xi = 0x31
xs = "kotlin/collections/CollectionsKt"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Lkotlin/collections/CollectionsKt__MutableCollectionsJVMKt;-><init>()V
return-void
.end method
.method public static addAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z
.locals 2
.param p0 # Ljava/util/Collection;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p1 # Ljava/lang/Iterable;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"-TT;>;",
"Ljava/lang/Iterable<",
"+TT;>;)Z"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "elements"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
instance-of v0, p1, Ljava/util/Collection;
if-eqz v0, :cond_0
check-cast p1, Ljava/util/Collection;
invoke-interface {p0, p1}, Ljava/util/Collection;->addAll(Ljava/util/Collection;)Z
move-result p0
return p0
.line 2
:cond_0
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p1
const/4 v0, 0x0
:cond_1
:goto_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_2
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
.line 3
invoke-interface {p0, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_1
const/4 v0, 0x1
goto :goto_0
:cond_2
return v0
.end method
.method public static addAll(Ljava/util/Collection;Lkotlin/sequences/Sequence;)Z
.locals 2
.param p0 # Ljava/util/Collection;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p1 # Lkotlin/sequences/Sequence;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"-TT;>;",
"Lkotlin/sequences/Sequence<",
"+TT;>;)Z"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "elements"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 4
invoke-interface {p1}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
move-result-object p1
const/4 v0, 0x0
:cond_0
:goto_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_1
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
.line 5
invoke-interface {p0, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_1
return v0
.end method
.method public static addAll(Ljava/util/Collection;[Ljava/lang/Object;)Z
.locals 1
.param p0 # Ljava/util/Collection;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p1 # [Ljava/lang/Object;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"-TT;>;[TT;)Z"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "elements"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 6
invoke-static {p1}, Lkotlin/collections/ArraysKt___ArraysJvmKt;->asList([Ljava/lang/Object;)Ljava/util/List;
move-result-object p1
invoke-interface {p0, p1}, Ljava/util/Collection;->addAll(Ljava/util/Collection;)Z
move-result p0
return p0
.end method
.method public static convertToListIfNotCollection(Ljava/lang/Iterable;)Ljava/util/Collection;
.locals 1
.param p0 # Ljava/lang/Iterable;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Iterable<",
"+TT;>;)",
"Ljava/util/Collection<",
"TT;>;"
}
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
const-string v0, "<this>"
.line 2
.line 3
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 4
.line 5
.line 6
instance-of v0, p0, Ljava/util/Collection;
.line 7
.line 8
if-eqz v0, :cond_0
.line 9
.line 10
check-cast p0, Ljava/util/Collection;
.line 11
.line 12
return-object p0
.line 13
:cond_0
invoke-static {p0}, Lkotlin/collections/CollectionsKt___CollectionsKt;->toList(Ljava/lang/Iterable;)Ljava/util/List;
.line 14
.line 15
.line 16
move-result-object p0
.line 17
return-object p0
.end method
.method private static final filterInPlace$CollectionsKt__MutableCollectionsKt(Ljava/lang/Iterable;Lkotlin/jvm/functions/Function1;Z)Z
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Iterable<",
"+TT;>;",
"Lkotlin/jvm/functions/Function1<",
"-TT;",
"Ljava/lang/Boolean;",
">;Z)Z"
}
.end annotation
.line 1
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p0
const/4 v0, 0x0
.line 2
:cond_0
:goto_0
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_1
.line 3
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/Boolean;
invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z
move-result v1
if-ne v1, p2, :cond_0
.line 4
invoke-interface {p0}, Ljava/util/Iterator;->remove()V
const/4 v0, 0x1
goto :goto_0
:cond_1
return v0
.end method
.method private static final filterInPlace$CollectionsKt__MutableCollectionsKt(Ljava/util/List;Lkotlin/jvm/functions/Function1;Z)Z
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/List<",
"TT;>;",
"Lkotlin/jvm/functions/Function1<",
"-TT;",
"Ljava/lang/Boolean;",
">;Z)Z"
}
.end annotation
.line 5
instance-of v0, p0, Ljava/util/RandomAccess;
if-nez v0, :cond_0
.line 6
const-string v0, "null cannot be cast to non-null type kotlin.collections.MutableIterable<T of kotlin.collections.CollectionsKt__MutableCollectionsKt.filterInPlace>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {p0}, Lkotlin/jvm/internal/TypeIntrinsics;->asMutableIterable(Ljava/lang/Object;)Ljava/lang/Iterable;
move-result-object p0
invoke-static {p0, p1, p2}, Lkotlin/collections/CollectionsKt__MutableCollectionsKt;->filterInPlace$CollectionsKt__MutableCollectionsKt(Ljava/lang/Iterable;Lkotlin/jvm/functions/Function1;Z)Z
move-result p0
return p0
.line 7
:cond_0
invoke-static {p0}, Lkotlin/collections/CollectionsKt__CollectionsKt;->getLastIndex(Ljava/util/List;)I
move-result v0
const/4 v1, 0x0
if-ltz v0, :cond_3
move v2, v1
move v3, v2
.line 8
:goto_0
invoke-interface {p0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v4
.line 9
invoke-interface {p1, v4}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v5
check-cast v5, Ljava/lang/Boolean;
invoke-virtual {v5}, Ljava/lang/Boolean;->booleanValue()Z
move-result v5
if-ne v5, p2, :cond_1
goto :goto_1
:cond_1
if-eq v3, v2, :cond_2
.line 10
invoke-interface {p0, v3, v4}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;
:cond_2
add-int/lit8 v3, v3, 0x1
:goto_1
if-eq v2, v0, :cond_4
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_3
move v3, v1
.line 11
:cond_4
invoke-interface {p0}, Ljava/util/List;->size()I
move-result p1
if-ge v3, p1, :cond_6
.line 12
invoke-static {p0}, Lkotlin/collections/CollectionsKt__CollectionsKt;->getLastIndex(Ljava/util/List;)I
move-result p1
if-gt v3, p1, :cond_5
.line 13
:goto_2
invoke-interface {p0, p1}, Ljava/util/List;->remove(I)Ljava/lang/Object;
if-eq p1, v3, :cond_5
add-int/lit8 p1, p1, -0x1
goto :goto_2
:cond_5
const/4 p0, 0x1
return p0
:cond_6
return v1
.end method
.method private static final minusAssign(Ljava/util/Collection;Ljava/lang/Iterable;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"-TT;>;",
"Ljava/lang/Iterable<",
"+TT;>;)V"
}
.end annotation
.annotation build Lkotlin/internal/InlineOnly;
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "elements"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 2
invoke-static {p0, p1}, Lkotlin/collections/CollectionsKt__MutableCollectionsKt;->removeAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z
return-void
.end method
.method private static final minusAssign(Ljava/util/Collection;Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"-TT;>;TT;)V"
}
.end annotation
.annotation build Lkotlin/internal/InlineOnly;
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
invoke-interface {p0, p1}, Ljava/util/Collection;->remove(Ljava/lang/Object;)Z
return-void
.end method
.method private static final minusAssign(Ljava/util/Collection;Lkotlin/sequences/Sequence;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"-TT;>;",
"Lkotlin/sequences/Sequence<",
"+TT;>;)V"
}
.end annotation
.annotation build Lkotlin/internal/InlineOnly;
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "elements"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 4
invoke-static {p0, p1}, Lkotlin/collections/CollectionsKt__MutableCollectionsKt;->removeAll(Ljava/util/Collection;Lkotlin/sequences/Sequence;)Z
return-void
.end method
.method private static final minusAssign(Ljava/util/Collection;[Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"-TT;>;[TT;)V"
}
.end annotation
.annotation build Lkotlin/internal/InlineOnly;
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "elements"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 3
invoke-static {p0, p1}, Lkotlin/collections/CollectionsKt__MutableCollectionsKt;->removeAll(Ljava/util/Collection;[Ljava/lang/Object;)Z
return-void
.end method
.method private static final plusAssign(Ljava/util/Collection;Ljava/lang/Iterable;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"-TT;>;",
"Ljava/lang/Iterable<",
"+TT;>;)V"
}
.end annotation
.annotation build Lkotlin/internal/InlineOnly;
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "elements"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 2
invoke-static {p0, p1}, Lkotlin/collections/CollectionsKt__MutableCollectionsKt;->addAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z
return-void
.end method
.method private static final plusAssign(Ljava/util/Collection;Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"-TT;>;TT;)V"
}
.end annotation
.annotation build Lkotlin/internal/InlineOnly;
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
invoke-interface {p0, p1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
return-void
.end method
.method private static final plusAssign(Ljava/util/Collection;Lkotlin/sequences/Sequence;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"-TT;>;",
"Lkotlin/sequences/Sequence<",
"+TT;>;)V"
}
.end annotation
.annotation build Lkotlin/internal/InlineOnly;
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "elements"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 4
invoke-static {p0, p1}, Lkotlin/collections/CollectionsKt__MutableCollectionsKt;->addAll(Ljava/util/Collection;Lkotlin/sequences/Sequence;)Z
return-void
.end method
.method private static final plusAssign(Ljava/util/Collection;[Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"-TT;>;[TT;)V"
}
.end annotation
.annotation build Lkotlin/internal/InlineOnly;
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "elements"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 3
invoke-static {p0, p1}, Lkotlin/collections/CollectionsKt__MutableCollectionsKt;->addAll(Ljava/util/Collection;[Ljava/lang/Object;)Z
return-void
.end method
.method private static final remove(Ljava/util/List;I)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/List<",
"TT;>;I)TT;"
}
.end annotation
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "Use removeAt(index) instead."
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "removeAt(index)"
imports = {}
.end subannotation
.end annotation
.annotation build Lkotlin/internal/InlineOnly;
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 2
invoke-interface {p0, p1}, Ljava/util/List;->remove(I)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method private static final remove(Ljava/util/Collection;Ljava/lang/Object;)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"+TT;>;TT;)Z"
}
.end annotation
.annotation build Lkotlin/internal/InlineOnly;
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
invoke-static {p0}, Lkotlin/jvm/internal/TypeIntrinsics;->asMutableCollection(Ljava/lang/Object;)Ljava/util/Collection;
move-result-object p0
invoke-interface {p0, p1}, Ljava/util/Collection;->remove(Ljava/lang/Object;)Z
move-result p0
return p0
.end method
.method public static final removeAll(Ljava/lang/Iterable;Lkotlin/jvm/functions/Function1;)Z
.locals 1
.param p0 # Ljava/lang/Iterable;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p1 # Lkotlin/jvm/functions/Function1;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Iterable<",
"+TT;>;",
"Lkotlin/jvm/functions/Function1<",
"-TT;",
"Ljava/lang/Boolean;",
">;)Z"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "predicate"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v0, 0x1
.line 6
invoke-static {p0, p1, v0}, Lkotlin/collections/CollectionsKt__MutableCollectionsKt;->filterInPlace$CollectionsKt__MutableCollectionsKt(Ljava/lang/Iterable;Lkotlin/jvm/functions/Function1;Z)Z
move-result p0
return p0
.end method
.method public static final removeAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z
.locals 1
.param p0 # Ljava/util/Collection;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p1 # Ljava/lang/Iterable;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"-TT;>;",
"Ljava/lang/Iterable<",
"+TT;>;)Z"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "elements"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 2
invoke-static {p1}, Lkotlin/collections/CollectionsKt__MutableCollectionsKt;->convertToListIfNotCollection(Ljava/lang/Iterable;)Ljava/util/Collection;
move-result-object p1
invoke-interface {p0, p1}, Ljava/util/Collection;->removeAll(Ljava/util/Collection;)Z
move-result p0
return p0
.end method
.method private static final removeAll(Ljava/util/Collection;Ljava/util/Collection;)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"+TT;>;",
"Ljava/util/Collection<",
"+TT;>;)Z"
}
.end annotation
.annotation build Lkotlin/internal/InlineOnly;
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "elements"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
invoke-static {p0}, Lkotlin/jvm/internal/TypeIntrinsics;->asMutableCollection(Ljava/lang/Object;)Ljava/util/Collection;
move-result-object p0
invoke-interface {p0, p1}, Ljava/util/Collection;->removeAll(Ljava/util/Collection;)Z
move-result p0
return p0
.end method
.method public static final removeAll(Ljava/util/Collection;Lkotlin/sequences/Sequence;)Z
.locals 1
.param p0 # Ljava/util/Collection;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p1 # Lkotlin/sequences/Sequence;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"-TT;>;",
"Lkotlin/sequences/Sequence<",
"+TT;>;)Z"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "elements"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 3
invoke-static {p1}, Lkotlin/sequences/SequencesKt;->toList(Lkotlin/sequences/Sequence;)Ljava/util/List;
move-result-object p1
.line 4
invoke-interface {p1}, Ljava/util/Collection;->isEmpty()Z
move-result v0
if-nez v0, :cond_0
invoke-interface {p0, p1}, Ljava/util/Collection;->removeAll(Ljava/util/Collection;)Z
move-result p0
if-eqz p0, :cond_0
const/4 p0, 0x1
return p0
:cond_0
const/4 p0, 0x0
return p0
.end method
.method public static final removeAll(Ljava/util/Collection;[Ljava/lang/Object;)Z
.locals 3
.param p0 # Ljava/util/Collection;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p1 # [Ljava/lang/Object;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"-TT;>;[TT;)Z"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "elements"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 5
array-length v0, p1
const/4 v1, 0x0
const/4 v2, 0x1
if-nez v0, :cond_0
move v0, v2
goto :goto_0
:cond_0
move v0, v1
:goto_0
if-nez v0, :cond_1
invoke-static {p1}, Lkotlin/collections/ArraysKt___ArraysJvmKt;->asList([Ljava/lang/Object;)Ljava/util/List;
move-result-object p1
invoke-interface {p0, p1}, Ljava/util/Collection;->removeAll(Ljava/util/Collection;)Z
move-result p0
if-eqz p0, :cond_1
return v2
:cond_1
return v1
.end method
.method public static final removeAll(Ljava/util/List;Lkotlin/jvm/functions/Function1;)Z
.locals 1
.param p0 # Ljava/util/List;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p1 # Lkotlin/jvm/functions/Function1;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/List<",
"TT;>;",
"Lkotlin/jvm/functions/Function1<",
"-TT;",
"Ljava/lang/Boolean;",
">;)Z"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "predicate"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v0, 0x1
.line 7
invoke-static {p0, p1, v0}, Lkotlin/collections/CollectionsKt__MutableCollectionsKt;->filterInPlace$CollectionsKt__MutableCollectionsKt(Ljava/util/List;Lkotlin/jvm/functions/Function1;Z)Z
move-result p0
return p0
.end method
.method public static final removeFirst(Ljava/util/List;)Ljava/lang/Object;
.locals 1
.param p0 # Ljava/util/List;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/List<",
"TT;>;)TT;"
}
.end annotation
.annotation build Lkotlin/SinceKotlin;
version = "1.4"
.end annotation
.line 1
const-string v0, "<this>"
.line 2
.line 3
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 4
.line 5
.line 6
invoke-interface {p0}, Ljava/util/List;->isEmpty()Z
.line 7
.line 8
.line 9
move-result v0
.line 10
if-nez v0, :cond_0
.line 11
.line 12
const/4 v0, 0x0
.line 13
invoke-interface {p0, v0}, Ljava/util/List;->remove(I)Ljava/lang/Object;
.line 14
.line 15
.line 16
move-result-object p0
.line 17
return-object p0
.line 18
:cond_0
new-instance p0, Ljava/util/NoSuchElementException;
.line 19
.line 20
const-string v0, "List is empty."
.line 21
.line 22
invoke-direct {p0, v0}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
.line 23
.line 24
.line 25
throw p0
.end method
.method public static final removeFirstOrNull(Ljava/util/List;)Ljava/lang/Object;
.locals 1
.param p0 # Ljava/util/List;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/List<",
"TT;>;)TT;"
}
.end annotation
.annotation build Lkotlin/SinceKotlin;
version = "1.4"
.end annotation
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.line 1
const-string v0, "<this>"
.line 2
.line 3
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 4
.line 5
.line 6
invoke-interface {p0}, Ljava/util/List;->isEmpty()Z
.line 7
.line 8
.line 9
move-result v0
.line 10
if-eqz v0, :cond_0
.line 11
.line 12
const/4 p0, 0x0
.line 13
return-object p0
.line 14
:cond_0
const/4 v0, 0x0
.line 15
invoke-interface {p0, v0}, Ljava/util/List;->remove(I)Ljava/lang/Object;
.line 16
.line 17
.line 18
move-result-object p0
.line 19
return-object p0
.end method
.method public static removeLast(Ljava/util/List;)Ljava/lang/Object;
.locals 1
.param p0 # Ljava/util/List;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/List<",
"TT;>;)TT;"
}
.end annotation
.annotation build Lkotlin/SinceKotlin;
version = "1.4"
.end annotation
.line 1
const-string v0, "<this>"
.line 2
.line 3
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 4
.line 5
.line 6
invoke-interface {p0}, Ljava/util/List;->isEmpty()Z
.line 7
.line 8
.line 9
move-result v0
.line 10
if-nez v0, :cond_0
.line 11
.line 12
invoke-static {p0}, Lkotlin/collections/CollectionsKt__CollectionsKt;->getLastIndex(Ljava/util/List;)I
.line 13
.line 14
.line 15
move-result v0
.line 16
invoke-interface {p0, v0}, Ljava/util/List;->remove(I)Ljava/lang/Object;
.line 17
.line 18
.line 19
move-result-object p0
.line 20
return-object p0
.line 21
:cond_0
new-instance p0, Ljava/util/NoSuchElementException;
.line 22
.line 23
const-string v0, "List is empty."
.line 24
.line 25
invoke-direct {p0, v0}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
.line 26
.line 27
.line 28
throw p0
.end method
.method public static removeLastOrNull(Ljava/util/List;)Ljava/lang/Object;
.locals 1
.param p0 # Ljava/util/List;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/List<",
"TT;>;)TT;"
}
.end annotation
.annotation build Lkotlin/SinceKotlin;
version = "1.4"
.end annotation
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.line 1
const-string v0, "<this>"
.line 2
.line 3
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 4
.line 5
.line 6
invoke-interface {p0}, Ljava/util/List;->isEmpty()Z
.line 7
.line 8
.line 9
move-result v0
.line 10
if-eqz v0, :cond_0
.line 11
.line 12
const/4 p0, 0x0
.line 13
return-object p0
.line 14
:cond_0
invoke-static {p0}, Lkotlin/collections/CollectionsKt__CollectionsKt;->getLastIndex(Ljava/util/List;)I
.line 15
.line 16
.line 17
move-result v0
.line 18
invoke-interface {p0, v0}, Ljava/util/List;->remove(I)Ljava/lang/Object;
.line 19
.line 20
.line 21
move-result-object p0
.line 22
return-object p0
.end method
.method public static retainAll(Ljava/lang/Iterable;Lkotlin/jvm/functions/Function1;)Z
.locals 1
.param p0 # Ljava/lang/Iterable;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p1 # Lkotlin/jvm/functions/Function1;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Iterable<",
"+TT;>;",
"Lkotlin/jvm/functions/Function1<",
"-TT;",
"Ljava/lang/Boolean;",
">;)Z"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "predicate"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v0, 0x0
.line 10
invoke-static {p0, p1, v0}, Lkotlin/collections/CollectionsKt__MutableCollectionsKt;->filterInPlace$CollectionsKt__MutableCollectionsKt(Ljava/lang/Iterable;Lkotlin/jvm/functions/Function1;Z)Z
move-result p0
return p0
.end method
.method public static final retainAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z
.locals 1
.param p0 # Ljava/util/Collection;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p1 # Ljava/lang/Iterable;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"-TT;>;",
"Ljava/lang/Iterable<",
"+TT;>;)Z"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "elements"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 2
invoke-static {p1}, Lkotlin/collections/CollectionsKt__MutableCollectionsKt;->convertToListIfNotCollection(Ljava/lang/Iterable;)Ljava/util/Collection;
move-result-object p1
invoke-interface {p0, p1}, Ljava/util/Collection;->retainAll(Ljava/util/Collection;)Z
move-result p0
return p0
.end method
.method private static final retainAll(Ljava/util/Collection;Ljava/util/Collection;)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"+TT;>;",
"Ljava/util/Collection<",
"+TT;>;)Z"
}
.end annotation
.annotation build Lkotlin/internal/InlineOnly;
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "elements"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
invoke-static {p0}, Lkotlin/jvm/internal/TypeIntrinsics;->asMutableCollection(Ljava/lang/Object;)Ljava/util/Collection;
move-result-object p0
invoke-interface {p0, p1}, Ljava/util/Collection;->retainAll(Ljava/util/Collection;)Z
move-result p0
return p0
.end method
.method public static final retainAll(Ljava/util/Collection;Lkotlin/sequences/Sequence;)Z
.locals 1
.param p0 # Ljava/util/Collection;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p1 # Lkotlin/sequences/Sequence;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"-TT;>;",
"Lkotlin/sequences/Sequence<",
"+TT;>;)Z"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "elements"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 6
invoke-static {p1}, Lkotlin/sequences/SequencesKt;->toList(Lkotlin/sequences/Sequence;)Ljava/util/List;
move-result-object p1
.line 7
invoke-interface {p1}, Ljava/util/Collection;->isEmpty()Z
move-result v0
if-nez v0, :cond_0
.line 8
invoke-interface {p0, p1}, Ljava/util/Collection;->retainAll(Ljava/util/Collection;)Z
move-result p0
return p0
.line 9
:cond_0
invoke-static {p0}, Lkotlin/collections/CollectionsKt__MutableCollectionsKt;->retainNothing$CollectionsKt__MutableCollectionsKt(Ljava/util/Collection;)Z
move-result p0
return p0
.end method
.method public static final retainAll(Ljava/util/Collection;[Ljava/lang/Object;)Z
.locals 1
.param p0 # Ljava/util/Collection;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p1 # [Ljava/lang/Object;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"-TT;>;[TT;)Z"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "elements"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 3
array-length v0, p1
if-nez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
if-nez v0, :cond_1
.line 4
invoke-static {p1}, Lkotlin/collections/ArraysKt___ArraysJvmKt;->asList([Ljava/lang/Object;)Ljava/util/List;
move-result-object p1
invoke-interface {p0, p1}, Ljava/util/Collection;->retainAll(Ljava/util/Collection;)Z
move-result p0
return p0
.line 5
:cond_1
invoke-static {p0}, Lkotlin/collections/CollectionsKt__MutableCollectionsKt;->retainNothing$CollectionsKt__MutableCollectionsKt(Ljava/util/Collection;)Z
move-result p0
return p0
.end method
.method public static final retainAll(Ljava/util/List;Lkotlin/jvm/functions/Function1;)Z
.locals 1
.param p0 # Ljava/util/List;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p1 # Lkotlin/jvm/functions/Function1;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/List<",
"TT;>;",
"Lkotlin/jvm/functions/Function1<",
"-TT;",
"Ljava/lang/Boolean;",
">;)Z"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "predicate"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v0, 0x0
.line 11
invoke-static {p0, p1, v0}, Lkotlin/collections/CollectionsKt__MutableCollectionsKt;->filterInPlace$CollectionsKt__MutableCollectionsKt(Ljava/util/List;Lkotlin/jvm/functions/Function1;Z)Z
move-result p0
return p0
.end method
.method private static final retainNothing$CollectionsKt__MutableCollectionsKt(Ljava/util/Collection;)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"*>;)Z"
}
.end annotation
.line 1
invoke-interface {p0}, Ljava/util/Collection;->isEmpty()Z
.line 2
.line 3
.line 4
move-result v0
.line 5
xor-int/lit8 v0, v0, 0x1
.line 6
.line 7
invoke-interface {p0}, Ljava/util/Collection;->clear()V
.line 8
.line 9
.line 10
return v0
.end method