package o;

import java.util.regex.Pattern;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.Nf, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0342Nf extends AbstractC0706aK implements NC {
    public final /* synthetic */ int m;
    public final /* synthetic */ C0368Of n;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ C0342Nf(C0368Of c0368Of, int i) {
        super(0);
        this.m = i;
        this.n = c0368Of;
    }

    @Override // o.NC
    public final Object a() {
        int i = this.m;
        C0368Of c0368Of = this.n;
        switch (i) {
            case 0:
                C0239Jf c0239Jf = C0239Jf.n;
                return AbstractC2001nt0.A(c0368Of.f);
            default:
                String strA = c0368Of.f.a("Content-Type");
                if (strA == null) {
                    return null;
                }
                Pattern pattern = C2804wO.d;
                try {
                    return AbstractC2378rs0.L(strA);
                } catch (IllegalArgumentException unused) {
                    return null;
                }
        }
    }
}
