package kotlinx.coroutines;

import kotlin.coroutines.Continuation;
import kotlin.jvm.functions.Function2;

/* JADX INFO: loaded from: classes.dex */
public final class h1 extends n1 {

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final Continuation f29442d;

    public h1(kotlin.coroutines.h hVar, Function2 function2) {
        super(hVar, false);
        this.f29442d = nb.g.q(this, this, function2);
    }

    @Override // kotlinx.coroutines.g1
    public final void T() {
        try {
            kotlinx.coroutines.internal.a.d(nb.g.F(this.f29442d), kd.e.f29109a, null);
        } catch (Throwable th) {
            resumeWith(kotlin.a.b(th));
            throw th;
        }
    }
}
