package defpackage;

import java.io.IOException;

/* JADX INFO: renamed from: ˀʿᴵ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C0524 extends AbstractC1004 {

    /* JADX INFO: renamed from: ᵯᵷʽ, reason: contains not printable characters */
    public boolean f2699;

    @Override // java.io.Closeable, java.lang.AutoCloseable
    public final void close() {
        if (this.f4378) {
            return;
        }
        if (!this.f2699) {
            m3326(C2376.f9299);
        }
        this.f4378 = true;
    }

    @Override // defpackage.AbstractC1004, defpackage.InterfaceC3906
    /* JADX INFO: renamed from: ᵪᵹᵥᵻ */
    public final long mo1490(C4903 c4903, long j) throws IOException {
        if (this.f4378) {
            ᵕᵩʽᵲ.ᵪᵹᵥᵻ("closed");
            return 0L;
        }
        if (this.f2699) {
            return -1L;
        }
        long jMo1490 = super.mo1490(c4903, 8192L);
        if (jMo1490 != -1) {
            return jMo1490;
        }
        this.f2699 = true;
        m3326(C0661.f3101);
        return -1L;
    }
}
