package o;

import android.os.Bundle;
import android.view.accessibility.AccessibilityNodeInfo;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.u3, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2586u3 extends OD {
    public final /* synthetic */ int r;
    public final /* synthetic */ C2011o0 s;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ C2586u3(C2011o0 c2011o0, int i) {
        super(4);
        this.r = i;
        this.s = c2011o0;
    }

    /* JADX WARN: Multi-variable type inference failed */
    /* JADX WARN: Removed duplicated region for block: B:13:0x0039  */
    /* JADX WARN: Removed duplicated region for block: B:309:0x066f  */
    /* JADX WARN: Removed duplicated region for block: B:31:0x0088  */
    /* JADX WARN: Removed duplicated region for block: B:324:0x0695  */
    /* JADX WARN: Removed duplicated region for block: B:330:0x069f  */
    /* JADX WARN: Removed duplicated region for block: B:338:0x06c9  */
    /* JADX WARN: Removed duplicated region for block: B:343:0x06e9  */
    /* JADX WARN: Removed duplicated region for block: B:346:0x06fb  */
    /* JADX WARN: Removed duplicated region for block: B:371:0x0780  */
    /* JADX WARN: Removed duplicated region for block: B:373:0x0783  */
    /* JADX WARN: Removed duplicated region for block: B:401:0x0806  */
    /* JADX WARN: Removed duplicated region for block: B:404:0x080a A[LOOP:9: B:393:0x07ed->B:404:0x080a, LOOP_END] */
    /* JADX WARN: Removed duplicated region for block: B:415:0x082d  */
    /* JADX WARN: Removed duplicated region for block: B:418:0x0832  */
    /* JADX WARN: Removed duplicated region for block: B:421:0x0841  */
    /* JADX WARN: Removed duplicated region for block: B:443:0x08a4  */
    /* JADX WARN: Removed duplicated region for block: B:465:0x092a  */
    /* JADX WARN: Removed duplicated region for block: B:467:0x092d  */
    /* JADX WARN: Removed duplicated region for block: B:518:0x0a20  */
    /* JADX WARN: Removed duplicated region for block: B:560:0x0aba  */
    /* JADX WARN: Removed duplicated region for block: B:658:0x0ccc  */
    /* JADX WARN: Removed duplicated region for block: B:692:0x0811 A[EDGE_INSN: B:692:0x0811->B:406:0x0811 BREAK  A[LOOP:9: B:393:0x07ed->B:404:0x080a], SYNTHETIC] */
    /* JADX WARN: Type inference failed for: r3v19, types: [o.Mv] */
    /* JADX WARN: Type inference failed for: r3v20, types: [java.util.Collection, java.util.List] */
    /* JADX WARN: Type inference failed for: r3v21, types: [java.util.ArrayList] */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    private final o.H0 K(int r47) throws android.content.res.Resources.NotFoundException {
        /*
            Method dump skipped, instructions count: 3311
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: o.C2586u3.K(int):o.H0");
    }

    /* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
    /* JADX WARN: Code restructure failed: missing block: B:216:0x036e, code lost:
    
        if (((java.lang.Boolean) r1.f(java.lang.Float.valueOf(r3), java.lang.Float.valueOf(r16))).booleanValue() == true) goto L217;
     */
    /* JADX WARN: Code restructure failed: missing block: B:618:0x023b, code lost:
    
        r2 = null;
     */
    /* JADX WARN: Multi-variable type inference failed */
    /* JADX WARN: Removed duplicated region for block: B:182:0x02d2  */
    /* JADX WARN: Removed duplicated region for block: B:185:0x02d9  */
    /* JADX WARN: Removed duplicated region for block: B:188:0x02eb  */
    /* JADX WARN: Removed duplicated region for block: B:191:0x02f6  */
    /* JADX WARN: Removed duplicated region for block: B:192:0x02f8  */
    /* JADX WARN: Removed duplicated region for block: B:195:0x0311  */
    /* JADX WARN: Removed duplicated region for block: B:199:0x0320  */
    /* JADX WARN: Removed duplicated region for block: B:202:0x0326  */
    /* JADX WARN: Removed duplicated region for block: B:203:0x0328  */
    /* JADX WARN: Removed duplicated region for block: B:205:0x032b  */
    /* JADX WARN: Removed duplicated region for block: B:208:0x0342  */
    /* JADX WARN: Removed duplicated region for block: B:213:0x0355  */
    /* JADX WARN: Removed duplicated region for block: B:278:0x044c  */
    /* JADX WARN: Removed duplicated region for block: B:333:0x04d0  */
    /* JADX WARN: Removed duplicated region for block: B:527:0x0769  */
    /* JADX WARN: Removed duplicated region for block: B:532:0x077d  */
    /* JADX WARN: Removed duplicated region for block: B:558:0x080b  */
    /* JADX WARN: Removed duplicated region for block: B:55:0x00e0  */
    @Override // o.OD
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final boolean B(int r27, int r28, android.os.Bundle r29) {
        /*
            Method dump skipped, instructions count: 2350
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: o.C2586u3.B(int, int, android.os.Bundle):boolean");
    }

    @Override // o.OD
    public void u(int i, H0 h0, String str, Bundle bundle) {
        switch (this.r) {
            case 0:
                ((C2966y3) this.s).j(i, h0, str, bundle);
                break;
        }
    }

    @Override // o.OD
    public final H0 w(int i) {
        switch (this.r) {
            case 0:
                return K(i);
            default:
                return new H0(AccessibilityNodeInfo.obtain(((C0318Mh) this.s).n(i).a));
        }
    }

    @Override // o.OD
    public final H0 x(int i) {
        switch (this.r) {
            case 0:
                C2966y3 c2966y3 = (C2966y3) this.s;
                if (i != 1) {
                    if (i == 2) {
                        return w(c2966y3.n);
                    }
                    throw new IllegalArgumentException(AbstractC0126Ew.j(i, "Unknown focus type: "));
                }
                int i2 = c2966y3.f798o;
                if (i2 == Integer.MIN_VALUE) {
                    return null;
                }
                return w(i2);
            default:
                C0318Mh c0318Mh = (C0318Mh) this.s;
                int i3 = i == 2 ? c0318Mh.k : c0318Mh.l;
                if (i3 == Integer.MIN_VALUE) {
                    return null;
                }
                return w(i3);
        }
    }
}
