package androidx.credentials; import android.content.ComponentName; import android.os.Bundle; import java.util.ArrayList; import java.util.Set; import kotlin.collections.SetsKt__SetsKt; import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.jvm.internal.Intrinsics; /* loaded from: classes.dex */ public final class GetPasswordOption extends CredentialOption { public static final String BUNDLE_KEY_ALLOWED_USER_IDS = "androidx.credentials.BUNDLE_KEY_ALLOWED_USER_IDS"; public static final Companion Companion = new Companion(null); private final Set allowedUserIds; public GetPasswordOption() { this(null, false, null, 7, null); } /* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */ public GetPasswordOption(Set allowedUserIds) { this(allowedUserIds, false, null, 6, null); Intrinsics.checkNotNullParameter(allowedUserIds, "allowedUserIds"); } /* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */ public GetPasswordOption(Set allowedUserIds, boolean z) { this(allowedUserIds, z, null, 4, null); Intrinsics.checkNotNullParameter(allowedUserIds, "allowedUserIds"); } public /* synthetic */ GetPasswordOption(Set set, boolean z, Set set2, Bundle bundle, Bundle bundle2, int i, DefaultConstructorMarker defaultConstructorMarker) { this(set, z, set2, bundle, bundle2, i); } public final Set getAllowedUserIds() { return this.allowedUserIds; } public /* synthetic */ GetPasswordOption(Set set, boolean z, Set set2, Bundle bundle, Bundle bundle2, int i, int i2, DefaultConstructorMarker defaultConstructorMarker) { this(set, z, set2, bundle, bundle2, (i2 & 32) != 0 ? 1000 : i); } private GetPasswordOption(Set set, boolean z, Set set2, Bundle bundle, Bundle bundle2, int i) { super(PasswordCredential.TYPE_PASSWORD_CREDENTIAL, bundle, bundle2, false, z, set2, i); this.allowedUserIds = set; } public /* synthetic */ GetPasswordOption(Set set, boolean z, Set set2, int i, DefaultConstructorMarker defaultConstructorMarker) { this((i & 1) != 0 ? SetsKt__SetsKt.emptySet() : set, (i & 2) != 0 ? false : z, (i & 4) != 0 ? SetsKt__SetsKt.emptySet() : set2); } /* JADX WARN: Illegal instructions before constructor call */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public GetPasswordOption(java.util.Set r11, boolean r12, java.util.Set r13) { /* r10 = this; java.lang.String r0 = "allowedUserIds" kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r11, r0) java.lang.String r0 = "allowedProviders" kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r13, r0) androidx.credentials.GetPasswordOption$Companion r0 = androidx.credentials.GetPasswordOption.Companion android.os.Bundle r5 = r0.toBundle$credentials_release(r11) android.os.Bundle r6 = r0.toBundle$credentials_release(r11) r7 = 0 r8 = 32 r9 = 0 r1 = r10 r2 = r11 r3 = r12 r4 = r13 r1.(r2, r3, r4, r5, r6, r7, r8, r9) return */ throw new UnsupportedOperationException("Method not decompiled: androidx.credentials.GetPasswordOption.(java.util.Set, boolean, java.util.Set):void"); } public static final class Companion { public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) { this(); } private Companion() { } /* JADX WARN: Code restructure failed: missing block: B:3:0x0019, code lost: r0 = kotlin.collections.CollectionsKt___CollectionsKt.toSet(r0); */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final androidx.credentials.GetPasswordOption createFrom$credentials_release(android.os.Bundle r11, java.util.Set r12, android.os.Bundle r13) { /* r10 = this; java.lang.String r0 = "data" kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r11, r0) java.lang.String r0 = "allowedProviders" kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r12, r0) java.lang.String r0 = "candidateQueryData" kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r13, r0) java.lang.String r0 = "androidx.credentials.BUNDLE_KEY_ALLOWED_USER_IDS" java.util.ArrayList r0 = r11.getStringArrayList(r0) androidx.credentials.GetPasswordOption r9 = new androidx.credentials.GetPasswordOption if (r0 == 0) goto L22 java.util.Set r0 = kotlin.collections.CollectionsKt.toSet(r0) if (r0 != 0) goto L20 goto L22 L20: r2 = r0 goto L27 L22: java.util.Set r0 = kotlin.collections.SetsKt.emptySet() goto L20 L27: java.lang.String r0 = "androidx.credentials.BUNDLE_KEY_IS_AUTO_SELECT_ALLOWED" r1 = 0 boolean r3 = r11.getBoolean(r0, r1) java.lang.String r0 = "androidx.credentials.BUNDLE_KEY_TYPE_PRIORITY_VALUE" r1 = 1000(0x3e8, float:1.401E-42) int r7 = r11.getInt(r0, r1) r8 = 0 r1 = r9 r4 = r12 r5 = r11 r6 = r13 r1.(r2, r3, r4, r5, r6, r7, r8) return r9 */ throw new UnsupportedOperationException("Method not decompiled: androidx.credentials.GetPasswordOption.Companion.createFrom$credentials_release(android.os.Bundle, java.util.Set, android.os.Bundle):androidx.credentials.GetPasswordOption"); } public final Bundle toBundle$credentials_release(Set allowUserIds) { Intrinsics.checkNotNullParameter(allowUserIds, "allowUserIds"); Bundle bundle = new Bundle(); bundle.putStringArrayList(GetPasswordOption.BUNDLE_KEY_ALLOWED_USER_IDS, new ArrayList<>(allowUserIds)); return bundle; } } }