package defpackage;

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

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

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

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

    /* JADX INFO: renamed from: ᵯᵷʽ, reason: contains not printable characters */
    public final /* synthetic */ C3058 f7569;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C1908(C3058 c3058, boolean z, boolean z2) {
        super("log");
        this.f7569 = c3058;
        this.f7567 = z;
        this.f7568 = z2;
    }

    /* JADX WARN: Removed duplicated region for block: B:20:0x0081  */
    /* JADX WARN: Removed duplicated region for block: B:22:0x0092  */
    @Override // defpackage.AbstractC5350
    /* JADX INFO: renamed from: ᵲᵶᵳˈ */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final InterfaceC2992 mo1168(C4055 c4055, List list) {
        int i;
        int i2;
        ˀᵳˎᵹ.ᵸˆˁ("log", 1, list);
        int size = list.size();
        C5293 c5293 = InterfaceC2992.f11526;
        C3058 c3058 = this.f7569;
        if (size == 1) {
            ((ᵷˇ) c3058.f11713).ᵲᵶᵳˈ(3, ((ʽᵺᴵ) c4055.f15557).ˊᵨᵧ(c4055, (InterfaceC2992) list.get(0)).mo3185(), Collections.EMPTY_LIST, this.f7567, this.f7568);
            return c5293;
        }
        InterfaceC2992 interfaceC2992 = (InterfaceC2992) list.get(0);
        ʽᵺᴵ r5 = (ʽᵺᴵ) c4055.f15557;
        ʽᵺᴵ r8 = (ʽᵺᴵ) c4055.f15557;
        int i3 = ˀᵳˎᵹ.ˁˌᵩ(r5.ˊᵨᵧ(c4055, interfaceC2992).mo3182().doubleValue());
        if (i3 != 2) {
            i = 3;
            if (i3 == 3) {
                i2 = 1;
            } else if (i3 == 5) {
                i2 = 5;
            } else if (i3 == 6) {
                i2 = 2;
            }
            String strMo3185 = r8.ˊᵨᵧ(c4055, (InterfaceC2992) list.get(1)).mo3185();
            if (list.size() != 2) {
                ((ᵷˇ) c3058.f11713).ᵲᵶᵳˈ(i2, strMo3185, Collections.EMPTY_LIST, this.f7567, this.f7568);
                return c5293;
            }
            ArrayList arrayList = new ArrayList();
            for (int i4 = 2; i4 < Math.min(list.size(), 5); i4++) {
                arrayList.add(r8.ˊᵨᵧ(c4055, (InterfaceC2992) list.get(i4)).mo3185());
            }
            ((ᵷˇ) c3058.f11713).ᵲᵶᵳˈ(i2, strMo3185, arrayList, this.f7567, this.f7568);
            return c5293;
        }
        i = 4;
        i2 = i;
        String strMo31852 = r8.ˊᵨᵧ(c4055, (InterfaceC2992) list.get(1)).mo3185();
        if (list.size() != 2) {
        }
    }
}
