package ඓ.ῲ.K.ᕣ.㳳;

import android.content.res.AssetManager;
import android.net.Uri;
import android.os.ParcelFileDescriptor;
import java.io.InputStream;
import ඓ.ῲ.K.ؿ.C0821;
import ඓ.ῲ.K.ᕣ.C1121;
import ඓ.ῲ.K.ᕣ.㳳.AbstractC1033;
import ඓ.ῲ.K.ᕣ.㿎.AbstractC1146;
import ඓ.ῲ.K.ᕣ.㿎.C1123;
import ඓ.ῲ.K.ᕣ.㿎.C1148;

/* renamed from: ඓ.ῲ.K.ᕣ.㳳.K  reason: contains not printable characters */
/* compiled from: AssetUriLoader */
public class C1086<Data> implements AbstractC1033<Uri, Data> {

    /* renamed from: ῲ  reason: contains not printable characters */
    public final AbstractC1089<Data> f4549;

    /* renamed from: K  reason: contains not printable characters */
    public final AssetManager f4550;

    /* renamed from: ඓ.ῲ.K.ᕣ.㳳.K$ʬ  reason: contains not printable characters */
    /* compiled from: AssetUriLoader */
    public static class C1087 implements AbstractC1091<Uri, InputStream>, AbstractC1089<InputStream> {

        /* renamed from: K  reason: contains not printable characters */
        public final AssetManager f4551;

        public C1087(AssetManager assetManager) {
            this.f4551 = assetManager;
        }

        @Override // ඓ.ῲ.K.ᕣ.㳳.AbstractC1091
        /* renamed from: K  reason: contains not printable characters */
        public AbstractC1033<Uri, InputStream> m2944(C1092 r2) {
            return new C1086(this.f4551, this);
        }

        @Override // ඓ.ῲ.K.ᕣ.㳳.C1086.AbstractC1089
        /* renamed from: K  reason: contains not printable characters */
        public AbstractC1146<InputStream> m2945(AssetManager assetManager, String str) {
            return new C1123(assetManager, str);
        }
    }

    /* renamed from: ඓ.ῲ.K.ᕣ.㳳.K$ῲ  reason: contains not printable characters */
    /* compiled from: AssetUriLoader */
    public static class C1088 implements AbstractC1091<Uri, ParcelFileDescriptor>, AbstractC1089<ParcelFileDescriptor> {

        /* renamed from: K  reason: contains not printable characters */
        public final AssetManager f4552;

        public C1088(AssetManager assetManager) {
            this.f4552 = assetManager;
        }

        @Override // ඓ.ῲ.K.ᕣ.㳳.AbstractC1091
        /* renamed from: K  reason: contains not printable characters */
        public AbstractC1033<Uri, ParcelFileDescriptor> m2946(C1092 r2) {
            return new C1086(this.f4552, this);
        }

        @Override // ඓ.ῲ.K.ᕣ.㳳.C1086.AbstractC1089
        /* renamed from: K  reason: contains not printable characters */
        public AbstractC1146<ParcelFileDescriptor> m2947(AssetManager assetManager, String str) {
            return new C1148(assetManager, str);
        }
    }

    /* renamed from: ඓ.ῲ.K.ᕣ.㳳.K$K  reason: contains not printable characters */
    /* compiled from: AssetUriLoader */
    public interface AbstractC1089<Data> {
        /* renamed from: K  reason: contains not printable characters */
        AbstractC1146<Data> m2948(AssetManager assetManager, String str);
    }

    public C1086(AssetManager assetManager, AbstractC1089<Data> k) {
        this.f4550 = assetManager;
        this.f4549 = k;
    }

    /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, int, int, ඓ.ῲ.K.ᕣ.㸾] */
    @Override // ඓ.ῲ.K.ᕣ.㳳.AbstractC1033
    /* renamed from: K  reason: contains not printable characters */
    public AbstractC1033.C1034 m2942(Uri uri, int i, int i2, C1121 r5) {
        Uri uri2 = uri;
        return new AbstractC1033.C1034(new C0821(uri2), this.f4549.m2948(this.f4550, uri2.toString().substring(22)));
    }

    /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
    @Override // ඓ.ῲ.K.ᕣ.㳳.AbstractC1033
    /* renamed from: K  reason: contains not printable characters */
    public boolean m2943(Uri uri) {
        Uri uri2 = uri;
        if (!"file".equals(uri2.getScheme()) || uri2.getPathSegments().isEmpty() || !"android_asset".equals(uri2.getPathSegments().get(0))) {
            return false;
        }
        return true;
    }
}
