package defpackage;

import j$.util.Objects;
import java.util.ListIterator;

/* JADX INFO: renamed from: ᵽᵾˁᵫ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C5399 extends AbstractC4516 implements InterfaceC1841 {

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

    /* JADX INFO: renamed from: ᵜᵪʾ, reason: contains not printable characters */
    public final /* synthetic */ int f20487;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ C5399(C4790 c4790, int i) {
        super(0);
        this.f20487 = i;
        this.f20486 = c4790;
    }

    @Override // defpackage.InterfaceC1841
    /* JADX INFO: renamed from: ᵲᵶᵳˈ */
    public final Object mo1021() {
        Object objPrevious;
        int i = this.f20487;
        C5063 c5063 = C5063.f19112;
        C4790 c4790 = this.f20486;
        switch (i) {
            case 0:
                c4790.m9983();
                break;
            case 1:
                C2610 c2610 = c4790.f18220;
                if (c2610 == null) {
                    C0920 c0920 = c4790.f18219;
                    ListIterator listIterator = c0920.listIterator(c0920.mo3166());
                    while (true) {
                        if (listIterator.hasPrevious()) {
                            objPrevious = listIterator.previous();
                            if (((C2610) objPrevious).f10124) {
                            }
                        } else {
                            objPrevious = null;
                        }
                    }
                    c2610 = (C2610) objPrevious;
                }
                c4790.f18220 = null;
                if (c2610 != null) {
                    AbstractC0651 abstractC0651 = c2610.f10125;
                    if (AbstractC0651.m2324(3)) {
                        Objects.toString(abstractC0651);
                    }
                    abstractC0651.m2392();
                }
                break;
            default:
                c4790.m9983();
                break;
        }
        return c5063;
    }
}
