package o;

import java.util.Objects;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Im0 implements Runnable {
    public final Jm0 l;
    public final C2366rm0 m;

    public Im0(Jm0 jm0, C2366rm0 c2366rm0) {
        this.l = jm0;
        this.m = c2366rm0;
    }

    @Override // java.lang.Runnable
    public final void run() {
        synchronized (this.l.d) {
            try {
                if (((Im0) this.l.b.remove(this.m)) != null) {
                    Hm0 hm0 = (Hm0) this.l.c.remove(this.m);
                    if (hm0 != null) {
                        C2366rm0 c2366rm0 = this.m;
                        C0483Sq c0483Sq = (C0483Sq) hm0;
                        C0669Zu c0669ZuE = C0669Zu.e();
                        Objects.toString(c2366rm0);
                        c0669ZuE.getClass();
                        c0483Sq.s.execute(new RunnableC0457Rq(c0483Sq, 0));
                    }
                } else {
                    C0669Zu c0669ZuE2 = C0669Zu.e();
                    this.m.toString();
                    c0669ZuE2.getClass();
                }
            } catch (Throwable th) {
                throw th;
            }
        }
    }
}
