package androidx.credentials.provider; import java.util.Objects; import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.jvm.internal.Intrinsics; /* loaded from: classes.dex */ public final class BiometricPromptResult { private final AuthenticationError authenticationError; private final AuthenticationResult authenticationResult; private final boolean isSuccessful; /* JADX WARN: Multi-variable type inference failed */ public BiometricPromptResult() { this(null, 0 == true ? 1 : 0, 3, 0 == true ? 1 : 0); } public final AuthenticationError getAuthenticationError() { return this.authenticationError; } public final AuthenticationResult getAuthenticationResult() { return this.authenticationResult; } public final boolean isSuccessful() { return this.isSuccessful; } public BiometricPromptResult(AuthenticationResult authenticationResult, AuthenticationError authenticationError) { this.authenticationResult = authenticationResult; this.authenticationError = authenticationError; this.isSuccessful = authenticationResult != null; } public /* synthetic */ BiometricPromptResult(AuthenticationResult authenticationResult, AuthenticationError authenticationError, int i, DefaultConstructorMarker defaultConstructorMarker) { this((i & 1) != 0 ? null : authenticationResult, (i & 2) != 0 ? null : authenticationError); } /* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */ public BiometricPromptResult(AuthenticationError authenticationError) { this(null, authenticationError); Intrinsics.checkNotNullParameter(authenticationError, "authenticationError"); } /* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */ public BiometricPromptResult(AuthenticationResult authenticationResult) { this(authenticationResult, null); Intrinsics.checkNotNullParameter(authenticationResult, "authenticationResult"); } public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof BiometricPromptResult)) { return false; } BiometricPromptResult biometricPromptResult = (BiometricPromptResult) obj; return this.isSuccessful == biometricPromptResult.isSuccessful && Intrinsics.areEqual(this.authenticationResult, biometricPromptResult.authenticationResult) && Intrinsics.areEqual(this.authenticationError, biometricPromptResult.authenticationError); } public int hashCode() { return Objects.hash(Boolean.valueOf(this.isSuccessful), this.authenticationResult, this.authenticationError); } }