package p2;

import io.sentry.C0732k1;
import n2.C0907e;

/* JADX INFO: loaded from: classes.dex */
public final class q extends o {

    /* JADX INFO: renamed from: l, reason: collision with root package name */
    public final /* synthetic */ P1.i f9526l;

    /* JADX INFO: renamed from: m, reason: collision with root package name */
    public final /* synthetic */ C0907e f9527m;

    /* JADX INFO: renamed from: n, reason: collision with root package name */
    public final /* synthetic */ C0946c f9528n;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public q(C0946c c0946c, P1.i iVar, P1.i iVar2, C0907e c0907e) {
        super(iVar);
        this.f9528n = c0946c;
        this.f9526l = iVar2;
        this.f9527m = c0907e;
    }

    @Override // p2.o
    public final void b() {
        synchronized (this.f9528n.f9507f) {
            try {
                C0946c c0946c = this.f9528n;
                P1.i iVar = this.f9526l;
                c0946c.f9506e.add(iVar);
                iVar.f2505a.a(new C0732k1(22, c0946c, iVar));
                if (this.f9528n.f9512l.getAndIncrement() > 0) {
                    this.f9528n.f9503b.a("Already connected to the service.", new Object[0]);
                }
                C0946c.b(this.f9528n, this.f9527m);
            } catch (Throwable th) {
                throw th;
            }
        }
    }
}
