package defpackage;

import java.util.ArrayList;
import java.util.List;

/* JADX INFO: renamed from: ᵠˀᵡ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C3137 extends AbstractC5350 {

    /* JADX INFO: renamed from: ᵔᵖᵹᵫ, reason: contains not printable characters */
    public final ArrayList f11968;

    /* JADX INFO: renamed from: ᵨᵼⁱ, reason: contains not printable characters */
    public final ArrayList f11969;

    /* JADX INFO: renamed from: ᵯᵷʽ, reason: contains not printable characters */
    public final C4055 f11970;

    public C3137(String str, ArrayList arrayList, List list, C4055 c4055) {
        super(str);
        this.f11968 = new ArrayList();
        this.f11970 = c4055;
        if (!arrayList.isEmpty()) {
            int size = arrayList.size();
            int i = 0;
            while (i < size) {
                Object obj = arrayList.get(i);
                i++;
                this.f11968.add(((InterfaceC2992) obj).mo3185());
            }
        }
        this.f11969 = new ArrayList(list);
    }

    public C3137(C3137 c3137) {
        super(c3137.f20244);
        ArrayList arrayList = new ArrayList(c3137.f11968.size());
        this.f11968 = arrayList;
        arrayList.addAll(c3137.f11968);
        ArrayList arrayList2 = new ArrayList(c3137.f11969.size());
        this.f11969 = arrayList2;
        arrayList2.addAll(c3137.f11969);
        this.f11970 = c3137.f11970;
    }

    @Override // defpackage.AbstractC5350, defpackage.InterfaceC2992
    /* JADX INFO: renamed from: ᵱᵽʡᵚ */
    public final InterfaceC2992 mo3184() {
        return new C3137(this);
    }

    @Override // defpackage.AbstractC5350
    /* JADX INFO: renamed from: ᵲᵶᵳˈ */
    public final InterfaceC2992 mo1168(C4055 c4055, List list) {
        C5293 c5293;
        C4055 c4055M8882 = this.f11970.m8882();
        ʽᵺᴵ r1 = (ʽᵺᴵ) c4055M8882.f15557;
        int i = 0;
        int i2 = 0;
        while (true) {
            ArrayList arrayList = this.f11968;
            int size = arrayList.size();
            c5293 = InterfaceC2992.f11526;
            if (i2 >= size) {
                break;
            }
            if (i2 < list.size()) {
                c4055M8882.m8875((String) arrayList.get(i2), ((ʽᵺᴵ) c4055.f15557).ˊᵨᵧ(c4055, (InterfaceC2992) list.get(i2)));
            } else {
                c4055M8882.m8875((String) arrayList.get(i2), c5293);
            }
            i2++;
        }
        ArrayList arrayList2 = this.f11969;
        int size2 = arrayList2.size();
        while (i < size2) {
            Object obj = arrayList2.get(i);
            i++;
            InterfaceC2992 interfaceC2992 = (InterfaceC2992) obj;
            InterfaceC2992 interfaceC29922 = r1.ˊᵨᵧ(c4055M8882, interfaceC2992);
            if (interfaceC29922 instanceof C4572) {
                interfaceC29922 = r1.ˊᵨᵧ(c4055M8882, interfaceC2992);
            }
            if (interfaceC29922 instanceof C2221) {
                return ((C2221) interfaceC29922).f8822;
            }
        }
        return c5293;
    }
}
