package cc;

import com.google.zxing.NotFoundException;

/* JADX INFO: loaded from: classes.dex */
public final class c extends f {

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final String f4960c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final String f4961d;

    public c(tb.a aVar, String str, String str2) {
        super(aVar);
        this.f4960c = str2;
        this.f4961d = str;
    }

    @Override // com.google.android.gms.internal.ads.k30
    public final String d() throws NotFoundException {
        if (((tb.a) this.f13084a).f33004b != 84) {
            throw NotFoundException.a();
        }
        StringBuilder sb = new StringBuilder();
        p(8, sb);
        t(sb, 48, 20);
        int iF = ((tb.d) this.f13085b).f(68, 16);
        if (iF != 38400) {
            sb.append('(');
            sb.append(this.f4960c);
            sb.append(')');
            int i10 = iF % 32;
            int i11 = iF / 32;
            int i12 = (i11 % 12) + 1;
            int i13 = i11 / 12;
            if (i13 / 10 == 0) {
                sb.append('0');
            }
            sb.append(i13);
            if (i12 / 10 == 0) {
                sb.append('0');
            }
            sb.append(i12);
            if (i10 / 10 == 0) {
                sb.append('0');
            }
            sb.append(i10);
        }
        return sb.toString();
    }

    @Override // cc.f
    public final void r(int i10, StringBuilder sb) {
        sb.append('(');
        sb.append(this.f4961d);
        sb.append(i10 / 100000);
        sb.append(')');
    }

    @Override // cc.f
    public final int s(int i10) {
        return i10 % 100000;
    }
}
