package l6; import android.content.res.AssetManager; import android.net.Uri; import l6.m; /* loaded from: classes2.dex */ public class a implements m { /* renamed from: c, reason: collision with root package name */ private static final int f11628c = 22; /* renamed from: a, reason: collision with root package name */ private final AssetManager f11629a; /* renamed from: b, reason: collision with root package name */ private final InterfaceC0178a f11630b; /* renamed from: l6.a$a, reason: collision with other inner class name */ public interface InterfaceC0178a { f6.d a(AssetManager assetManager, String str); } public static class b implements n, InterfaceC0178a { /* renamed from: a, reason: collision with root package name */ private final AssetManager f11631a; public b(AssetManager assetManager) { this.f11631a = assetManager; } @Override // l6.a.InterfaceC0178a public f6.d a(AssetManager assetManager, String str) { return new f6.h(assetManager, str); } @Override // l6.n public m b(p pVar) { return new a(this.f11631a, this); } } public static class c implements n, InterfaceC0178a { /* renamed from: a, reason: collision with root package name */ private final AssetManager f11632a; public c(AssetManager assetManager) { this.f11632a = assetManager; } @Override // l6.a.InterfaceC0178a public f6.d a(AssetManager assetManager, String str) { return new f6.n(assetManager, str); } @Override // l6.n public m b(p pVar) { return new a(this.f11632a, this); } } public a(AssetManager assetManager, InterfaceC0178a interfaceC0178a) { this.f11629a = assetManager; this.f11630b = interfaceC0178a; } @Override // l6.m /* renamed from: c, reason: merged with bridge method [inline-methods] */ public m.a b(Uri uri, int i10, int i11, e6.j jVar) { return new m.a(new a7.d(uri), this.f11630b.a(this.f11629a, uri.toString().substring(f11628c))); } @Override // l6.m /* renamed from: d, reason: merged with bridge method [inline-methods] */ public boolean a(Uri uri) { return "file".equals(uri.getScheme()) && !uri.getPathSegments().isEmpty() && "android_asset".equals(uri.getPathSegments().get(0)); } }