package ඓ.ῲ.K.ᕣ.㳳.ᑓ;

import android.content.Context;
import android.net.Uri;
import java.io.InputStream;
import ඓ.ῲ.K.ؿ.C0821;
import ඓ.ῲ.K.ᕣ.C1121;
import ඓ.ῲ.K.ᕣ.ᕣ.ʬ.C0860;
import ඓ.ῲ.K.ᕣ.㳳.AbstractC1033;
import ඓ.ῲ.K.ᕣ.㳳.AbstractC1091;
import ඓ.ῲ.K.ᕣ.㳳.C1092;
import ඓ.ῲ.K.ᕣ.㿎.ؿ.C1125;
import ῲ.ᨨ.㳳.C1841;

/* renamed from: ඓ.ῲ.K.ᕣ.㳳.ᑓ.㸾  reason: contains not printable characters */
/* compiled from: MediaStoreVideoThumbLoader */
public class C1065 implements AbstractC1033<Uri, InputStream> {

    /* renamed from: K  reason: contains not printable characters */
    public final Context f4518;

    /* renamed from: ඓ.ῲ.K.ᕣ.㳳.ᑓ.㸾$K  reason: contains not printable characters */
    /* compiled from: MediaStoreVideoThumbLoader */
    public static class C1066 implements AbstractC1091<Uri, InputStream> {

        /* renamed from: K  reason: contains not printable characters */
        public final Context f4519;

        public C1066(Context context) {
            this.f4519 = context;
        }

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

    public C1065(Context context) {
        this.f4518 = context.getApplicationContext();
    }

    /* Return type fixed from 'ඓ.ῲ.K.ᕣ.㳳.Ԕ$K' to match base method */
    /* 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<InputStream> m2897(Uri uri, int i, int i2, C1121 r6) {
        Uri uri2 = uri;
        if (C1841.m4760(i, i2)) {
            Long l = (Long) r6.m3002(C0860.f4101);
            if (l != null && l.longValue() == -1) {
                C0821 r5 = new C0821(uri2);
                Context context = this.f4518;
                return new AbstractC1033.C1034(r5, C1125.m3011(context, uri2, new C1125.C1126(context.getContentResolver())));
            }
        }
        return null;
    }

    /* 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 m2898(Uri uri) {
        Uri uri2 = uri;
        return C1841.m4801(uri2) && C1841.m4762(uri2);
    }
}
