what-the-bank/sources/com/airbnb/deeplinkdispatch/DeepLinkResult.java

229 lines
8.0 KiB
Java

package com.airbnb.deeplinkdispatch;
import java.util.Map;
import o.C14957gcv;
/* loaded from: classes.dex */
public final class DeepLinkResult {
private final DeepLinkHandlerResult<Object> deepLinkHandlerResult;
private final DeepLinkMatchResult deepLinkMatchResult;
private final String error;
private final Throwable errorThrowable;
private final boolean isSuccessful;
private final DeepLinkMethodResult methodResult;
private final Map<String, String> parameters;
private final String uriString;
public DeepLinkResult(boolean z, String str, String str2, Throwable th, DeepLinkMatchResult deepLinkMatchResult, DeepLinkMethodResult deepLinkMethodResult, Map<String, String> map, DeepLinkHandlerResult<Object> deepLinkHandlerResult) {
C14957gcv.e(str2, "");
C14957gcv.e(deepLinkMethodResult, "");
C14957gcv.e(map, "");
this.isSuccessful = z;
this.uriString = str;
this.error = str2;
this.errorThrowable = th;
this.deepLinkMatchResult = deepLinkMatchResult;
this.methodResult = deepLinkMethodResult;
this.parameters = map;
this.deepLinkHandlerResult = deepLinkHandlerResult;
}
/* 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 /* synthetic */ DeepLinkResult(boolean r10, java.lang.String r11, java.lang.String r12, java.lang.Throwable r13, com.airbnb.deeplinkdispatch.DeepLinkMatchResult r14, com.airbnb.deeplinkdispatch.DeepLinkMethodResult r15, java.util.Map r16, com.airbnb.deeplinkdispatch.DeepLinkHandlerResult r17, int r18, o.C14953gcr r19) {
/*
r9 = this;
r0 = r18
r1 = r0 & 2
r2 = 0
if (r1 == 0) goto L9
r1 = r2
goto La
L9:
r1 = r11
La:
r3 = r0 & 4
java.lang.String r4 = ""
if (r3 == 0) goto L12
r3 = r4
goto L13
L12:
r3 = r12
L13:
r5 = r0 & 8
if (r5 == 0) goto L19
r5 = r2
goto L1a
L19:
r5 = r13
L1a:
r6 = r0 & 16
if (r6 == 0) goto L20
r6 = r2
goto L21
L20:
r6 = r14
L21:
r7 = r0 & 32
if (r7 == 0) goto L2b
com.airbnb.deeplinkdispatch.DeepLinkMethodResult r7 = new com.airbnb.deeplinkdispatch.DeepLinkMethodResult
r7.<init>(r2, r2)
goto L2c
L2b:
r7 = r15
L2c:
r8 = r0 & 64
if (r8 == 0) goto L39
o.gaM r8 = o.C14854gaM.c
o.C14957gcv.d(r8, r4)
r4 = r8
java.util.Map r4 = (java.util.Map) r4
goto L3b
L39:
r4 = r16
L3b:
r0 = r0 & 128(0x80, float:1.8E-43)
if (r0 == 0) goto L40
goto L42
L40:
r2 = r17
L42:
r11 = r9
r12 = r10
r13 = r1
r14 = r3
r15 = r5
r16 = r6
r17 = r7
r18 = r4
r19 = r2
r11.<init>(r12, r13, r14, r15, r16, r17, r18, r19)
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.airbnb.deeplinkdispatch.DeepLinkResult.<init>(boolean, java.lang.String, java.lang.String, java.lang.Throwable, com.airbnb.deeplinkdispatch.DeepLinkMatchResult, com.airbnb.deeplinkdispatch.DeepLinkMethodResult, java.util.Map, com.airbnb.deeplinkdispatch.DeepLinkHandlerResult, int, o.gcr):void");
}
public final String toString() {
StringBuilder sb = new StringBuilder("DeepLinkResult{successful=");
sb.append(this.isSuccessful);
sb.append(", uriString=");
sb.append((Object) this.uriString);
sb.append(", error='");
sb.append(this.error);
sb.append("'}");
return sb.toString();
}
public final boolean isSuccessful() {
return this.isSuccessful;
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r0v1, types: [int] */
/* JADX WARN: Type inference failed for: r0v16 */
/* JADX WARN: Type inference failed for: r0v17 */
public final int hashCode() {
boolean z = this.isSuccessful;
?? r0 = z;
if (z) {
r0 = 1;
}
String str = this.uriString;
int hashCode = str == null ? 0 : str.hashCode();
int hashCode2 = this.error.hashCode();
Throwable th = this.errorThrowable;
int hashCode3 = th == null ? 0 : th.hashCode();
DeepLinkMatchResult deepLinkMatchResult = this.deepLinkMatchResult;
int hashCode4 = deepLinkMatchResult == null ? 0 : deepLinkMatchResult.hashCode();
int hashCode5 = this.methodResult.hashCode();
int hashCode6 = this.parameters.hashCode();
DeepLinkHandlerResult<Object> deepLinkHandlerResult = this.deepLinkHandlerResult;
return (((((((((((((r0 * 31) + hashCode) * 31) + hashCode2) * 31) + hashCode3) * 31) + hashCode4) * 31) + hashCode5) * 31) + hashCode6) * 31) + (deepLinkHandlerResult != null ? deepLinkHandlerResult.hashCode() : 0);
}
public final String getUriString() {
return this.uriString;
}
public final Map<String, String> getParameters() {
return this.parameters;
}
public final DeepLinkMethodResult getMethodResult() {
return this.methodResult;
}
public final Throwable getErrorThrowable() {
return this.errorThrowable;
}
public final String getError() {
return this.error;
}
public final DeepLinkMatchResult getDeepLinkMatchResult() {
return this.deepLinkMatchResult;
}
public final DeepLinkHandlerResult<Object> getDeepLinkHandlerResult() {
return this.deepLinkHandlerResult;
}
public final String error() {
return this.error;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof DeepLinkResult)) {
return false;
}
DeepLinkResult deepLinkResult = (DeepLinkResult) obj;
return this.isSuccessful == deepLinkResult.isSuccessful && C14957gcv.b((Object) this.uriString, (Object) deepLinkResult.uriString) && C14957gcv.b((Object) this.error, (Object) deepLinkResult.error) && C14957gcv.b(this.errorThrowable, deepLinkResult.errorThrowable) && C14957gcv.b(this.deepLinkMatchResult, deepLinkResult.deepLinkMatchResult) && C14957gcv.b(this.methodResult, deepLinkResult.methodResult) && C14957gcv.b(this.parameters, deepLinkResult.parameters) && C14957gcv.b(this.deepLinkHandlerResult, deepLinkResult.deepLinkHandlerResult);
}
public final DeepLinkResult copy(boolean z, String str, String str2, Throwable th, DeepLinkMatchResult deepLinkMatchResult, DeepLinkMethodResult deepLinkMethodResult, Map<String, String> map, DeepLinkHandlerResult<Object> deepLinkHandlerResult) {
C14957gcv.e(str2, "");
C14957gcv.e(deepLinkMethodResult, "");
C14957gcv.e(map, "");
return new DeepLinkResult(z, str, str2, th, deepLinkMatchResult, deepLinkMethodResult, map, deepLinkHandlerResult);
}
public final DeepLinkHandlerResult<Object> component8() {
return this.deepLinkHandlerResult;
}
public final Map<String, String> component7() {
return this.parameters;
}
public final DeepLinkMethodResult component6() {
return this.methodResult;
}
public final DeepLinkMatchResult component5() {
return this.deepLinkMatchResult;
}
public final Throwable component4() {
return this.errorThrowable;
}
public final String component3() {
return this.error;
}
public final String component2() {
return this.uriString;
}
public final boolean component1() {
return this.isSuccessful;
}
}