package defpackage;

import java.io.IOException;

/* renamed from: ˀˆ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public abstract class AbstractC0518 implements InterfaceC3226 {

    /* renamed from: ᵢˇᵭ, reason: contains not printable characters */
    public final C5108 f2682;

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public final C1489 f2683;

    /* renamed from: ᵾᵬ, reason: contains not printable characters */
    public final /* synthetic */ C2729 f2684;

    /* renamed from: ᵿʗᵝʽ, reason: contains not printable characters */
    public boolean f2685;

    public AbstractC0518(C2729 c2729, C1489 c1489) {
        this.f2684 = c2729;
        this.f2683 = c1489;
        this.f2682 = new C5108(((C2753) c2729.f10565.ᵿʗᵝʽ).f10637.mo2227());
    }

    @Override // defpackage.InterfaceC3226
    /* renamed from: ᵝᵵᵺ, reason: contains not printable characters */
    public final C3948 mo2227() {
        return this.f2682;
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final void m2228(C2609 c2609) throws NumberFormatException {
        C3914 c3914;
        InterfaceC2376 interfaceC2376;
        C2729 c2729 = this.f2684;
        int i = c2729.f10568;
        if (i == 6) {
            return;
        }
        if (i != 5) {
            throw new IllegalStateException("state: " + c2729.f10568);
        }
        C5108 c5108 = this.f2682;
        C3948 c3948 = c5108.f19061;
        c5108.f19061 = C3948.f14904;
        c3948.mo8744();
        c3948.mo8745();
        c2729.f10568 = 6;
        if (c2609.size() <= 0 || (c3914 = c2729.f10566) == null || (interfaceC2376 = c3914.f14710) == null) {
            return;
        }
        AbstractC0839.m2964(interfaceC2376, this.f2683, c2609);
    }

    @Override // defpackage.InterfaceC3226
    /* renamed from: ᵳٴᵶ, reason: contains not printable characters */
    public long mo2229(C0963 c0963, long j) throws NumberFormatException, IOException {
        C2729 c2729 = this.f2684;
        try {
            return ((C2753) c2729.f10565.ᵿʗᵝʽ).mo2229(c0963, j);
        } catch (IOException e) {
            c2729.f10567.mo2589();
            this.m2228(C2729.f10563);
            throw e;
        }
    }
}
