package o;

import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.logging.Logger;
import java.util.regex.Pattern;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.tT, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2524tT extends AbstractC0752ap {
    public final /* synthetic */ int i;
    public final /* synthetic */ File j;
    public final /* synthetic */ Object k;

    public /* synthetic */ C2524tT(Object obj, File file, int i) {
        this.i = i;
        this.k = obj;
        this.j = file;
    }

    @Override // o.AbstractC0752ap
    public final C2804wO A() {
        int i = this.i;
        Object obj = this.k;
        switch (i) {
            case 0:
                Pattern pattern = C2804wO.d;
                return AbstractC2378rs0.L((String) obj);
            default:
                return (C2804wO) obj;
        }
    }

    @Override // o.AbstractC0752ap
    public final void k0(InterfaceC1592jf interfaceC1592jf) throws IOException {
        M9 m9;
        int i = this.i;
        Bf0 bf0 = Cf0.d;
        File file = this.j;
        switch (i) {
            case 0:
                Logger logger = AbstractC2714vT.a;
                m9 = new M9(1, new FileInputStream(file), bf0);
                try {
                    interfaceC1592jf.N(m9);
                    m9.close();
                    return;
                } finally {
                    try {
                        throw th;
                    } finally {
                    }
                }
            default:
                Logger logger2 = AbstractC2714vT.a;
                m9 = new M9(1, new FileInputStream(file), bf0);
                try {
                    interfaceC1592jf.N(m9);
                    m9.close();
                    return;
                } finally {
                }
        }
    }

    @Override // o.AbstractC0752ap
    public final long z() {
        switch (this.i) {
        }
        return this.j.length();
    }
}
