package defpackage;

import java.util.HashMap;

/* renamed from: ˉᵶːʽ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final /* synthetic */ class C1232 implements InterfaceC2230, InterfaceC4038 {

    /* renamed from: ᵢˇᵭ, reason: contains not printable characters */
    public final /* synthetic */ int f5172;

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public final /* synthetic */ long f5173;

    /* renamed from: ᵿʗᵝʽ, reason: contains not printable characters */
    public final /* synthetic */ Object f5174;

    public /* synthetic */ C1232(C2355 c2355, int i, long j, long j2) {
        this.f5174 = c2355;
        this.f5172 = i;
        this.f5173 = j;
    }

    public /* synthetic */ C1232(C3775 c3775, long j, int i) {
        this.f5174 = c3775;
        this.f5173 = j;
        this.f5172 = i;
    }

    @Override // defpackage.InterfaceC4038
    public void accept(Object obj) {
        C3775 c3775 = (C3775) this.f5174;
        C1808 c1808 = (C1808) obj;
        c3775.f14112.getClass();
        byte[] bArr = ʾᵠᵦ.ᵸʓᵠ(c1808.f7280, c1808.f7281);
        C3493 c3493 = c3775.f14108;
        c3493.getClass();
        c3493.m7975(bArr.length, bArr);
        c3775.f14110.mo4406(bArr.length, c3493);
        long j = c1808.f7282;
        C3446 c3446 = c3775.f14112;
        long j2 = this.f5173;
        if (j == -9223372036854775807L) {
            ᵛᵾˏ.ᵿʗᵝʽ(c3446.f12925 == Long.MAX_VALUE);
        } else {
            long j3 = c3446.f12925;
            j2 = j3 == Long.MAX_VALUE ? j2 + j : j + j3;
        }
        c3775.f14110.mo4410(j2, this.f5172 | 1, bArr.length, 0, null);
    }

    @Override // defpackage.InterfaceC2230
    /* renamed from: ᵴᵳ */
    public void mo1599(Object obj) {
        C2355 c2355 = (C2355) this.f5174;
        C1343 c1343 = (C1343) ((InterfaceC4455) obj);
        HashMap map = c1343.f5540;
        HashMap map2 = c1343.f5524;
        C2477 c2477 = c2355.f9217;
        if (c2477 != null) {
            String strM10676 = c1343.f5522.m10676(c2355.f9214, c2477);
            Long l = (Long) map2.get(strM10676);
            Long l2 = (Long) map.get(strM10676);
            map2.put(strM10676, Long.valueOf((l == null ? 0L : l.longValue()) + this.f5173));
            map.put(strM10676, Long.valueOf((l2 != null ? l2.longValue() : 0L) + this.f5172));
        }
    }
}
