package o;

import java.util.ArrayDeque;
import java.util.HashMap;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.Executor;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.Gw, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0178Gw implements InterfaceC2250qb0, GZ {
    public final HashMap a;
    public ArrayDeque b;
    public final Dh0 c;

    public C0178Gw() {
        Dh0 dh0 = Dh0.l;
        this.a = new HashMap();
        this.b = new ArrayDeque();
        this.c = dh0;
    }

    public final synchronized void a(Executor executor, InterfaceC0256Jw interfaceC0256Jw) {
        try {
            executor.getClass();
            if (!this.a.containsKey(AbstractC0752ap.class)) {
                this.a.put(AbstractC0752ap.class, new ConcurrentHashMap());
            }
            ((ConcurrentHashMap) this.a.get(AbstractC0752ap.class)).put(interfaceC0256Jw, executor);
        } catch (Throwable th) {
            throw th;
        }
    }
}
