package k9; /* loaded from: classes2.dex */ final class z { /* renamed from: a, reason: collision with root package name */ public final Object f11411a; /* renamed from: b, reason: collision with root package name */ public final k f11412b; /* renamed from: c, reason: collision with root package name */ public final c9.l f11413c; /* renamed from: d, reason: collision with root package name */ public final Object f11414d; /* renamed from: e, reason: collision with root package name */ public final Throwable f11415e; public z(Object obj, k kVar, c9.l lVar, Object obj2, Throwable th) { this.f11411a = obj; this.f11412b = kVar; this.f11413c = lVar; this.f11414d = obj2; this.f11415e = th; } public static /* synthetic */ z b(z zVar, Object obj, k kVar, c9.l lVar, Object obj2, Throwable th, int i10, Object obj3) { if ((i10 & 1) != 0) { obj = zVar.f11411a; } if ((i10 & 2) != 0) { kVar = zVar.f11412b; } k kVar2 = kVar; if ((i10 & 4) != 0) { lVar = zVar.f11413c; } c9.l lVar2 = lVar; if ((i10 & 8) != 0) { obj2 = zVar.f11414d; } Object obj4 = obj2; if ((i10 & 16) != 0) { th = zVar.f11415e; } return zVar.a(obj, kVar2, lVar2, obj4, th); } public final z a(Object obj, k kVar, c9.l lVar, Object obj2, Throwable th) { return new z(obj, kVar, lVar, obj2, th); } public final boolean c() { return this.f11415e != null; } public final void d(n nVar, Throwable th) { k kVar = this.f11412b; if (kVar != null) { nVar.o(kVar, th); } c9.l lVar = this.f11413c; if (lVar == null) { return; } nVar.p(lVar, th); } public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof z)) { return false; } z zVar = (z) obj; return d9.j.a(this.f11411a, zVar.f11411a) && d9.j.a(this.f11412b, zVar.f11412b) && d9.j.a(this.f11413c, zVar.f11413c) && d9.j.a(this.f11414d, zVar.f11414d) && d9.j.a(this.f11415e, zVar.f11415e); } public int hashCode() { Object obj = this.f11411a; int hashCode = (obj == null ? 0 : obj.hashCode()) * 31; k kVar = this.f11412b; int hashCode2 = (hashCode + (kVar == null ? 0 : kVar.hashCode())) * 31; c9.l lVar = this.f11413c; int hashCode3 = (hashCode2 + (lVar == null ? 0 : lVar.hashCode())) * 31; Object obj2 = this.f11414d; int hashCode4 = (hashCode3 + (obj2 == null ? 0 : obj2.hashCode())) * 31; Throwable th = this.f11415e; return hashCode4 + (th != null ? th.hashCode() : 0); } public String toString() { return "CompletedContinuation(result=" + this.f11411a + ", cancelHandler=" + this.f11412b + ", onCancellation=" + this.f11413c + ", idempotentResume=" + this.f11414d + ", cancelCause=" + this.f11415e + ')'; } public /* synthetic */ z(Object obj, k kVar, c9.l lVar, Object obj2, Throwable th, int i10, d9.g gVar) { this(obj, (i10 & 2) != 0 ? null : kVar, (i10 & 4) != 0 ? null : lVar, (i10 & 8) != 0 ? null : obj2, (i10 & 16) != 0 ? null : th); } }