package o; import java.util.Collection; import java.util.EnumMap; import java.util.Map; /* renamed from: o.fRz, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C13143fRz implements InterfaceC14590fwA { private Collection a; private int b; private Map c; private String d; public C13143fRz() { } public C13143fRz(Collection collection, Map map, String str, int i) { this.a = collection; this.c = map; this.d = str; this.b = i; } @Override // o.InterfaceC14590fwA public final sBE e(Map map) { EnumMap enumMap = new EnumMap(CGg.class); enumMap.putAll(map); Map map2 = this.c; if (map2 != null) { enumMap.putAll(map2); } if (this.a != null) { enumMap.put((EnumMap) CGg.POSSIBLE_FORMATS, (CGg) this.a); } if (this.d != null) { enumMap.put((EnumMap) CGg.CHARACTER_SET, (CGg) this.d); } Sqh sqh = new Sqh(); sqh.c(enumMap); int i = this.b; if (i == 0) { return new sBE(sqh); } if (i == 1) { return new iqe(sqh); } if (i == 2) { return new HcS(sqh); } return new sBE(sqh); } }