package o;

import java.io.IOException;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class FF implements NC {
    public final NF l;
    public final /* synthetic */ KF m;

    public FF(KF kf, NF nf) {
        this.m = kf;
        this.l = nf;
    }

    @Override // o.NC
    public final Object a() throws IOException {
        KF kf = this.m;
        NF nf = this.l;
        try {
        } catch (IOException e) {
            kf.b(2, 2, e);
        } catch (Throwable th) {
            kf.b(3, 3, null);
            AbstractC2264qi0.d(nf);
            throw th;
        }
        if (!nf.b(true, this)) {
            throw new IOException("Required SETTINGS preface not received");
        }
        while (nf.b(false, this)) {
        }
        kf.b(1, 9, null);
        AbstractC2264qi0.d(nf);
        return Oh0.a;
    }
}
