package defpackage;

import java.io.File;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/* JADX INFO: renamed from: ˈˏᵨ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public class C1061 extends AbstractC1676 {
    public String toString() {
        return "JvmSystemFileSystem";
    }

    /* JADX INFO: renamed from: ːˏᵟᵯ, reason: contains not printable characters */
    public final List m3502(C0599 c0599) throws IOException {
        File file = new File(c0599.f2913.m3463());
        String[] list = file.list();
        if (list == null) {
            if (file.exists()) {
                C4935.m10236(c0599, "failed to list ");
                return null;
            }
            C4935.m10234(c0599, "no such file: ");
            return null;
        }
        ArrayList arrayList = new ArrayList();
        for (String str : list) {
            arrayList.add(c0599.m2224(str));
        }
        if (arrayList.size() > 1) {
            Collections.sort(arrayList);
        }
        return arrayList;
    }

    /* JADX INFO: renamed from: ᵟᵹᵙ, reason: contains not printable characters */
    public C4115 mo3503(C0599 c0599) {
        File file = new File(c0599.f2913.m3463());
        boolean zIsFile = file.isFile();
        boolean zIsDirectory = file.isDirectory();
        long jLastModified = file.lastModified();
        long length = file.length();
        if (zIsFile || zIsDirectory || jLastModified != 0 || length != 0 || file.exists()) {
            return new C4115(zIsFile, zIsDirectory, Long.valueOf(length), null, Long.valueOf(jLastModified), null);
        }
        return null;
    }

    @Override // defpackage.AbstractC1676
    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public final C4034 mo3504(C0599 c0599) {
        return new C4034(new RandomAccessFile(new File(c0599.f2913.m3463()), "r"));
    }
}
