package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.yF, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2985yF implements R80 {
    public final MB l;
    public boolean m;
    public final /* synthetic */ C2689v7 n;

    public C2985yF(C2689v7 c2689v7) {
        this.n = c2689v7;
        this.l = new MB(((InterfaceC1592jf) c2689v7.e).a());
    }

    @Override // o.R80
    public final Cf0 a() {
        return this.l;
    }

    @Override // o.R80, java.io.Closeable, java.lang.AutoCloseable
    public final void close() {
        if (this.m) {
            return;
        }
        this.m = true;
        MB mb = this.l;
        Cf0 cf0 = mb.e;
        mb.e = Cf0.d;
        cf0.a();
        cf0.b();
        this.n.a = 3;
    }

    @Override // o.R80
    public final void e(long j, C0732af c0732af) {
        if (this.m) {
            throw new IllegalStateException("closed");
        }
        AbstractC2264qi0.c(c0732af.m, 0L, j);
        ((InterfaceC1592jf) this.n.e).e(j, c0732af);
    }

    @Override // o.R80, java.io.Flushable
    public final void flush() {
        if (this.m) {
            return;
        }
        ((InterfaceC1592jf) this.n.e).flush();
    }
}
