package defpackage;

import java.io.IOException;

/* renamed from: ˏᵼᵚ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C1922 extends AbstractC0518 {

    /* renamed from: ᵤᵙᵷ, reason: contains not printable characters */
    public boolean f7731;

    @Override // java.io.Closeable, java.lang.AutoCloseable
    public final void close() throws NumberFormatException {
        if (this.f2685) {
            return;
        }
        if (!this.f7731) {
            m2228(C2729.f10563);
        }
        this.f2685 = true;
    }

    @Override // defpackage.AbstractC0518, defpackage.InterfaceC3226
    /* renamed from: ᵳٴᵶ */
    public final long mo2229(C0963 c0963, long j) throws NumberFormatException, IOException {
        if (this.f2685) {
            ᵹˉᵞ.ᵳٴᵶ("closed");
            return 0L;
        }
        if (this.f7731) {
            return -1L;
        }
        long jMo2229 = super.mo2229(c0963, 8192L);
        if (jMo2229 != -1) {
            return jMo2229;
        }
        this.f7731 = true;
        m2228(C2609.f10095);
        return -1L;
    }
}
