package defpackage;

import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayDeque;

/* renamed from: ˀᵳᵗ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C0608 extends InputStream {

    /* renamed from: ᵿʗᵝʽ, reason: contains not printable characters */
    public static final ArrayDeque f3070 = new ArrayDeque(0);

    /* renamed from: ᵢˇᵭ, reason: contains not printable characters */
    public IOException f3071;

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public C0276 f3072;

    @Override // java.io.InputStream
    public final int available() {
        return this.f3072.available();
    }

    @Override // java.io.InputStream, java.io.Closeable, java.lang.AutoCloseable
    public final void close() throws IOException {
        this.f3072.close();
    }

    @Override // java.io.InputStream
    public final void mark(int i) {
        this.f3072.mark(i);
    }

    @Override // java.io.InputStream
    public final boolean markSupported() {
        this.f3072.getClass();
        return true;
    }

    @Override // java.io.InputStream
    public final int read() throws IOException {
        try {
            return this.f3072.read();
        } catch (IOException e) {
            this.f3071 = e;
            throw e;
        }
    }

    @Override // java.io.InputStream
    public final int read(byte[] bArr) throws IOException {
        try {
            return this.f3072.read(bArr);
        } catch (IOException e) {
            this.f3071 = e;
            throw e;
        }
    }

    @Override // java.io.InputStream
    public final int read(byte[] bArr, int i, int i2) throws IOException {
        try {
            return this.f3072.read(bArr, i, i2);
        } catch (IOException e) {
            this.f3071 = e;
            throw e;
        }
    }

    @Override // java.io.InputStream
    public final synchronized void reset() {
        this.f3072.reset();
    }

    @Override // java.io.InputStream
    public final long skip(long j) throws IOException {
        try {
            return this.f3072.skip(j);
        } catch (IOException e) {
            this.f3071 = e;
            throw e;
        }
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final void m2498() {
        this.f3071 = null;
        this.f3072 = null;
        ArrayDeque arrayDeque = f3070;
        synchronized (arrayDeque) {
            arrayDeque.offer(this);
        }
    }
}
