package kotlinx.coroutines.internal; import p012d1.InterfaceC0633f; import p039m1.C1470g; import p060t1.InterfaceC1684i1; /* renamed from: kotlinx.coroutines.internal.d0 */ /* loaded from: classes.dex */ public final class C1361d0 { /* renamed from: a */ public final InterfaceC0633f f3028a; /* renamed from: b */ public final Object[] f3029b; /* renamed from: c */ public final InterfaceC1684i1[] f3030c; /* renamed from: d */ public int f3031d; public C1361d0(InterfaceC0633f interfaceC0633f, int i) { this.f3028a = interfaceC0633f; this.f3029b = new Object[i]; this.f3030c = new InterfaceC1684i1[i]; } /* renamed from: a */ public final void m1546a(InterfaceC1684i1 interfaceC1684i1, Object obj) { Object[] objArr = this.f3029b; int i = this.f3031d; objArr[i] = obj; InterfaceC1684i1[] interfaceC1684i1Arr = this.f3030c; this.f3031d = i + 1; interfaceC1684i1Arr[i] = interfaceC1684i1; } /* renamed from: b */ public final void m1545b(InterfaceC0633f interfaceC0633f) { int length = this.f3030c.length - 1; if (length < 0) { return; } while (true) { int i = length - 1; InterfaceC1684i1 interfaceC1684i1 = this.f3030c[length]; C1470g.m1295b(interfaceC1684i1); interfaceC1684i1.m576b(interfaceC0633f, this.f3029b[length]); if (i < 0) { return; } length = i; } } }