discord-jadx/app/src/main/java/s/a/u.java
2021-07-04 17:26:29 +02:00

100 lines
3.2 KiB
Java

package s.a;
import c.d.b.a.a;
import d0.z.d.m;
import java.util.Objects;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: CancellableContinuationImpl.kt */
public final class u {
public final Object a;
public final i b;
/* renamed from: c reason: collision with root package name */
public final Function1<Throwable, Unit> f2879c;
public final Object d;
public final Throwable e;
/* JADX DEBUG: Multi-variable search result rejected for r3v0, resolved type: kotlin.jvm.functions.Function1<? super java.lang.Throwable, kotlin.Unit> */
/* JADX WARN: Multi-variable type inference failed */
public u(Object obj, i iVar, Function1<? super Throwable, Unit> function1, Object obj2, Throwable th) {
this.a = obj;
this.b = iVar;
this.f2879c = function1;
this.d = obj2;
this.e = th;
}
public u(Object obj, i iVar, Function1 function1, Object obj2, Throwable th, int i) {
iVar = (i & 2) != 0 ? null : iVar;
function1 = (i & 4) != 0 ? null : function1;
obj2 = (i & 8) != 0 ? null : obj2;
th = (i & 16) != 0 ? null : th;
this.a = obj;
this.b = iVar;
this.f2879c = function1;
this.d = obj2;
this.e = th;
}
public static u a(u uVar, Object obj, i iVar, Function1 function1, Object obj2, Throwable th, int i) {
Object obj3 = null;
Object obj4 = (i & 1) != 0 ? uVar.a : null;
if ((i & 2) != 0) {
iVar = uVar.b;
}
Function1<Throwable, Unit> function12 = (i & 4) != 0 ? uVar.f2879c : null;
if ((i & 8) != 0) {
obj3 = uVar.d;
}
if ((i & 16) != 0) {
th = uVar.e;
}
Objects.requireNonNull(uVar);
return new u(obj4, iVar, function12, obj3, th);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof u)) {
return false;
}
u uVar = (u) obj;
return m.areEqual(this.a, uVar.a) && m.areEqual(this.b, uVar.b) && m.areEqual(this.f2879c, uVar.f2879c) && m.areEqual(this.d, uVar.d) && m.areEqual(this.e, uVar.e);
}
public int hashCode() {
Object obj = this.a;
int i = 0;
int hashCode = (obj != null ? obj.hashCode() : 0) * 31;
i iVar = this.b;
int hashCode2 = (hashCode + (iVar != null ? iVar.hashCode() : 0)) * 31;
Function1<Throwable, Unit> function1 = this.f2879c;
int hashCode3 = (hashCode2 + (function1 != null ? function1.hashCode() : 0)) * 31;
Object obj2 = this.d;
int hashCode4 = (hashCode3 + (obj2 != null ? obj2.hashCode() : 0)) * 31;
Throwable th = this.e;
if (th != null) {
i = th.hashCode();
}
return hashCode4 + i;
}
public String toString() {
StringBuilder L = a.L("CompletedContinuation(result=");
L.append(this.a);
L.append(", cancelHandler=");
L.append(this.b);
L.append(", onCancellation=");
L.append(this.f2879c);
L.append(", idempotentResume=");
L.append(this.d);
L.append(", cancelCause=");
L.append(this.e);
L.append(")");
return L.toString();
}
}