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 t { public final Object a; public final h b; /* renamed from: c reason: collision with root package name */ public final Function1 f2870c; public final Object d; public final Throwable e; /* JADX DEBUG: Multi-variable search result rejected for r3v0, resolved type: kotlin.jvm.functions.Function1 */ /* JADX WARN: Multi-variable type inference failed */ public t(Object obj, h hVar, Function1 function1, Object obj2, Throwable th) { this.a = obj; this.b = hVar; this.f2870c = function1; this.d = obj2; this.e = th; } public t(Object obj, h hVar, Function1 function1, Object obj2, Throwable th, int i) { hVar = (i & 2) != 0 ? null : hVar; function1 = (i & 4) != 0 ? null : function1; obj2 = (i & 8) != 0 ? null : obj2; th = (i & 16) != 0 ? null : th; this.a = obj; this.b = hVar; this.f2870c = function1; this.d = obj2; this.e = th; } public static t a(t tVar, Object obj, h hVar, Function1 function1, Object obj2, Throwable th, int i) { Object obj3 = null; Object obj4 = (i & 1) != 0 ? tVar.a : null; if ((i & 2) != 0) { hVar = tVar.b; } Function1 function12 = (i & 4) != 0 ? tVar.f2870c : null; if ((i & 8) != 0) { obj3 = tVar.d; } if ((i & 16) != 0) { th = tVar.e; } Objects.requireNonNull(tVar); return new t(obj4, hVar, function12, obj3, th); } public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof t)) { return false; } t tVar = (t) obj; return m.areEqual(this.a, tVar.a) && m.areEqual(this.b, tVar.b) && m.areEqual(this.f2870c, tVar.f2870c) && m.areEqual(this.d, tVar.d) && m.areEqual(this.e, tVar.e); } public int hashCode() { Object obj = this.a; int i = 0; int hashCode = (obj != null ? obj.hashCode() : 0) * 31; h hVar = this.b; int hashCode2 = (hashCode + (hVar != null ? hVar.hashCode() : 0)) * 31; Function1 function1 = this.f2870c; 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.f2870c); L.append(", idempotentResume="); L.append(this.d); L.append(", cancelCause="); L.append(this.e); L.append(")"); return L.toString(); } }