package E;

import java.util.List;

/* JADX INFO: loaded from: classes.dex */
public final class t {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final int f1089a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final s[] f1090b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final T.p f1091c;

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

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final int f1093e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final int f1094f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public final int f1095g;

    public t(int i6, s[] sVarArr, T.p pVar, List list, int i7) {
        this.f1089a = i6;
        this.f1090b = sVarArr;
        this.f1091c = pVar;
        this.f1092d = list;
        this.f1093e = i7;
        int iMax = 0;
        for (s sVar : sVarArr) {
            iMax = Math.max(iMax, sVar.f1082k);
        }
        this.f1094f = iMax;
        int i8 = iMax + this.f1093e;
        this.f1095g = i8 >= 0 ? i8 : 0;
    }

    /* JADX WARN: Type inference failed for: r5v0, types: [java.lang.Object, java.util.List] */
    public final s[] a(int i6, int i7, int i8) {
        s[] sVarArr = this.f1090b;
        int length = sVarArr.length;
        int i9 = 0;
        int i10 = 0;
        int i11 = 0;
        while (i9 < length) {
            s sVar = sVarArr[i9];
            int i12 = i10 + 1;
            int i13 = (int) ((C0143d) this.f1092d.get(i10)).f989a;
            sVar.k(i6, ((int[]) this.f1091c.f6346c)[i11], i7, i8, this.f1089a, i11);
            i11 += i13;
            i9++;
            i10 = i12;
        }
        return sVarArr;
    }
}
