package o;

import java.io.IOException;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.Ix, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0231Ix extends KB {
    public final C2769w m;
    public boolean n;

    public C0231Ix(R80 r80, C2769w c2769w) {
        super(r80);
        this.m = c2769w;
    }

    @Override // o.KB, o.R80, java.io.Closeable, java.lang.AutoCloseable
    public final void close() {
        try {
            super.close();
        } catch (IOException e) {
            this.n = true;
            this.m.g(e);
        }
    }

    @Override // o.KB, o.R80
    public final void e(long j, C0732af c0732af) {
        if (this.n) {
            c0732af.skip(j);
            return;
        }
        try {
            super.e(j, c0732af);
        } catch (IOException e) {
            this.n = true;
            this.m.g(e);
        }
    }

    @Override // o.KB, o.R80, java.io.Flushable
    public final void flush() {
        try {
            super.flush();
        } catch (IOException e) {
            this.n = true;
            this.m.g(e);
        }
    }
}
