package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.n60, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final /* synthetic */ class C1929n60 implements OC {
    public final /* synthetic */ int l;
    public final /* synthetic */ OC m;

    public /* synthetic */ C1929n60(OC oc, int i) {
        this.l = i;
        this.m = oc;
    }

    @Override // o.OC
    public final Object g(Object obj) {
        switch (this.l) {
            case 0:
                OC oc = this.m;
                String str = (String) obj;
                StringBuilder sb = new StringBuilder();
                int length = str.length();
                for (int i = 0; i < length; i++) {
                    char cCharAt = str.charAt(i);
                    if (Character.isDigit(cCharAt)) {
                        sb.append(cCharAt);
                    }
                }
                oc.g(sb.toString());
                return Oh0.a;
            case 1:
                OC oc2 = this.m;
                String str2 = (String) obj;
                StringBuilder sb2 = new StringBuilder();
                int length2 = str2.length();
                for (int i2 = 0; i2 < length2; i2++) {
                    char cCharAt2 = str2.charAt(i2);
                    if (Character.isDigit(cCharAt2)) {
                        sb2.append(cCharAt2);
                    }
                }
                String string = sb2.toString();
                if (string.length() <= 16) {
                    oc2.g(string);
                }
                return Oh0.a;
            case 2:
                OC oc3 = this.m;
                String str3 = (String) obj;
                StringBuilder sb3 = new StringBuilder();
                int length3 = str3.length();
                for (int i3 = 0; i3 < length3; i3++) {
                    char cCharAt3 = str3.charAt(i3);
                    if (Character.isDigit(cCharAt3)) {
                        sb3.append(cCharAt3);
                    }
                }
                oc3.g(sb3.toString());
                return Oh0.a;
            case 3:
                AbstractC2220q90 abstractC2220q90 = (AbstractC2220q90) this.m.g((C2599u90) obj);
                synchronized (AbstractC2884x90.c) {
                    AbstractC2884x90.d = AbstractC2884x90.d.e(abstractC2220q90.g());
                }
                return abstractC2220q90;
            default:
                OC oc4 = this.m;
                Long l = (Long) obj;
                l.longValue();
                return oc4.g(l);
        }
    }
}
