package defpackage;

import java.nio.ByteBuffer;

/* renamed from: ᵢᵥˁˇ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C3292 extends C2441 {

    /* renamed from: ᵧـˌᵎ, reason: contains not printable characters */
    public int f12334;

    /* renamed from: ᵮᵠـˌ, reason: contains not printable characters */
    public long f12335;

    /* renamed from: ᵺʙ, reason: contains not printable characters */
    public int f12336;

    /* renamed from: ᵡʠ, reason: contains not printable characters */
    public final boolean m7671(C2441 c2441) {
        ByteBuffer byteBuffer;
        ᵛᵾˏ.ᵯٴᵦ(!c2441.m9873(1073741824));
        ᵛᵾˏ.ᵯٴᵦ(!c2441.m9873(268435456));
        ᵛᵾˏ.ᵯٴᵦ(!c2441.m9873(4));
        if (m7672()) {
            if (this.f12334 >= this.f12336) {
                return false;
            }
            ByteBuffer byteBuffer2 = c2441.f9517;
            if (byteBuffer2 != null && (byteBuffer = this.f9517) != null) {
                if (byteBuffer2.remaining() + byteBuffer.position() > 3072000) {
                    return false;
                }
            }
        }
        int i = this.f12334;
        this.f12334 = i + 1;
        if (i == 0) {
            this.f9512 = c2441.f9512;
            if (c2441.m9873(1)) {
                this.f17323 = 1;
            }
        }
        ByteBuffer byteBuffer3 = c2441.f9517;
        if (byteBuffer3 != null) {
            m6222(byteBuffer3.remaining());
            this.f9517.put(byteBuffer3);
        }
        this.f12335 = c2441.f9512;
        return true;
    }

    @Override // defpackage.C2441
    /* renamed from: ᵯٴᵦ */
    public final void mo6221() {
        super.mo6221();
        this.f12334 = 0;
    }

    /* renamed from: ᵸʓᵠ, reason: contains not printable characters */
    public final boolean m7672() {
        return this.f12334 > 0;
    }
}
