package ඓ.ῲ.K.ᕣ.㳳;

import android.util.Log;
import com.bumptech.glide.Priority;
import com.bumptech.glide.load.DataSource;
import java.io.File;
import java.io.IOException;
import java.nio.ByteBuffer;
import ඓ.ῲ.K.ؿ.C0821;
import ඓ.ῲ.K.ᓣ.C0842;
import ඓ.ῲ.K.ᕣ.C1121;
import ඓ.ῲ.K.ᕣ.㳳.AbstractC1033;
import ඓ.ῲ.K.ᕣ.㿎.AbstractC1146;

/* renamed from: ඓ.ῲ.K.ᕣ.㳳.㸾  reason: contains not printable characters */
/* compiled from: ByteBufferFileLoader */
public class C1112 implements AbstractC1033<File, ByteBuffer> {

    /* renamed from: ඓ.ῲ.K.ᕣ.㳳.㸾$ῲ  reason: contains not printable characters */
    /* compiled from: ByteBufferFileLoader */
    public static class C1113 implements AbstractC1091<File, ByteBuffer> {
        @Override // ඓ.ῲ.K.ᕣ.㳳.AbstractC1091
        /* renamed from: K  reason: contains not printable characters */
        public AbstractC1033<File, ByteBuffer> m2989(C1092 r1) {
            return new C1112();
        }
    }

    /* 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<ByteBuffer> m2987(File file, int i, int i2, C1121 r4) {
        File file2 = file;
        return new AbstractC1033.C1034(new C0821(file2), new C1114(file2));
    }

    /* 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 m2988(File file) {
        return true;
    }

    /* renamed from: ඓ.ῲ.K.ᕣ.㳳.㸾$K  reason: contains not printable characters */
    /* compiled from: ByteBufferFileLoader */
    public static final class C1114 implements AbstractC1146<ByteBuffer> {

        /* renamed from: ῲ  reason: contains not printable characters */
        public final File f4578;

        public C1114(File file) {
            this.f4578 = file;
        }

        @Override // ඓ.ῲ.K.ᕣ.㿎.AbstractC1146
        public void cancel() {
        }

        @Override // ඓ.ῲ.K.ᕣ.㿎.AbstractC1146
        /* renamed from: ʬ  reason: contains not printable characters */
        public DataSource m2990() {
            return DataSource.LOCAL;
        }

        @Override // ඓ.ῲ.K.ᕣ.㿎.AbstractC1146
        /* renamed from: ῲ  reason: contains not printable characters */
        public void m2991() {
        }

        @Override // ඓ.ῲ.K.ᕣ.㿎.AbstractC1146
        /* renamed from: K  reason: contains not printable characters */
        public void m2993(Priority priority, AbstractC1146.AbstractC1147<? super ByteBuffer> k) {
            try {
                k.m3069(C0842.m2445(this.f4578));
            } catch (IOException e) {
                if (Log.isLoggable("ByteBufferFileLoader", 3)) {
                    Log.d("ByteBufferFileLoader", "Failed to obtain ByteBuffer for file", e);
                }
                k.m3068((Exception) e);
            }
        }

        @Override // ඓ.ῲ.K.ᕣ.㿎.AbstractC1146
        /* renamed from: K  reason: contains not printable characters */
        public Class<ByteBuffer> m2992() {
            return ByteBuffer.class;
        }
    }
}
