package defpackage;

import java.math.RoundingMode;

/* JADX INFO: renamed from: ˇᵧ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C0986 {

    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public final InterfaceC5226 f4321;

    /* JADX INFO: renamed from: ˊᵫᵗ, reason: contains not printable characters */
    public int f4322;

    /* JADX INFO: renamed from: ˋˈ, reason: contains not printable characters */
    public int[] f4323;

    /* JADX INFO: renamed from: ːˏᵟᵯ, reason: contains not printable characters */
    public final int f4324;

    /* JADX INFO: renamed from: ᵝᵶ, reason: contains not printable characters */
    public long[] f4325;

    /* JADX INFO: renamed from: ᵨᵣ, reason: contains not printable characters */
    public final long f4326;

    /* JADX INFO: renamed from: ᵮᵣᵗˈ, reason: contains not printable characters */
    public long f4327;

    /* JADX INFO: renamed from: ᵱᵽʡᵚ, reason: contains not printable characters */
    public int f4328;

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public final C4016 f4329;

    /* JADX INFO: renamed from: ᵵᵽ, reason: contains not printable characters */
    public int f4330;

    /* JADX INFO: renamed from: ᵶᵥᵝ, reason: contains not printable characters */
    public int f4331;

    /* JADX INFO: renamed from: ᵷᵺʾᵖ, reason: contains not printable characters */
    public final int f4332;

    /* JADX INFO: renamed from: ᵻʽᵯ, reason: contains not printable characters */
    public int f4333;

    /* JADX INFO: renamed from: ᵻˈᵦʼ, reason: contains not printable characters */
    public int f4334;

    public C0986(int i, C4016 c4016, InterfaceC5226 interfaceC5226) {
        int i2 = c4016.f15440;
        this.f4329 = c4016;
        int iM8829 = c4016.m8829();
        boolean z = true;
        if (iM8829 != 1 && iM8829 != 2) {
            z = false;
        }
        ᵻᵪ.ᵱᵽʡᵚ(z);
        int i3 = (((i % 10) + 48) << 8) | ((i / 10) + 48);
        this.f4324 = (iM8829 == 2 ? 1667497984 : 1651965952) | i3;
        long j = ((long) c4016.f15436) * 1000000;
        long j2 = c4016.f15437;
        String str = AbstractC0956.f4222;
        this.f4326 = AbstractC0956.m3218(i2, j, j2, RoundingMode.DOWN);
        this.f4321 = interfaceC5226;
        this.f4332 = iM8829 == 2 ? i3 | 1650720768 : -1;
        this.f4327 = -1L;
        this.f4325 = new long[512];
        this.f4323 = new int[512];
        this.f4334 = i2;
    }

    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public final C2686 m3312(long j) {
        if (this.f4331 == 0) {
            C2812 c2812 = new C2812(0L, this.f4327);
            return new C2686(c2812, c2812);
        }
        int i = (int) (j / (this.f4326 / ((long) this.f4334)));
        int iM3254 = AbstractC0956.m3254(this.f4323, i, true, true);
        if (this.f4323[iM3254] == i) {
            C2812 c2812M3313 = m3313(iM3254);
            return new C2686(c2812M3313, c2812M3313);
        }
        C2812 c2812M33132 = m3313(iM3254);
        int i2 = iM3254 + 1;
        return i2 < this.f4325.length ? new C2686(c2812M33132, m3313(i2)) : new C2686(c2812M33132, c2812M33132);
    }

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public final C2812 m3313(int i) {
        return new C2812((this.f4326 / ((long) this.f4334)) * ((long) this.f4323[i]), this.f4325[i]);
    }
}
