package qg;

import com.adobe.marketing.mobile.Event;
import com.adobe.marketing.mobile.ExtensionEventListener;
import kotlin.jvm.internal.t;
import kotlin.text.y;

/* loaded from: classes4.dex */
public final class i extends e {

    /* renamed from: a, reason: collision with root package name */
    private final String f33778a;

    /* renamed from: b, reason: collision with root package name */
    private final String f33779b;

    /* renamed from: c, reason: collision with root package name */
    private final ExtensionEventListener f33780c;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public i(String eventType, String eventSource, ExtensionEventListener listener) {
        super(null);
        t.g(eventType, "eventType");
        t.g(eventSource, "eventSource");
        t.g(listener, "listener");
        this.f33778a = eventType;
        this.f33779b = eventSource;
        this.f33780c = listener;
    }

    public void a(Event event) {
        t.g(event, "event");
        try {
            this.f33780c.a(event);
        } catch (Exception e10) {
            wg.t.a("MobileCore", "ExtensionListenerContainer", "Exception thrown for EventId " + event.x() + ". " + e10, new Object[0]);
        }
    }

    /* JADX WARN: Code restructure failed: missing block: B:15:0x0038, code lost:
    
        if (r7 == false) goto L13;
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public boolean b(Event event) {
        boolean z10;
        boolean z11;
        t.g(event, "event");
        if (event.s() == null) {
            z10 = y.z(this.f33778a, event.w(), true);
            if (z10) {
                z11 = y.z(this.f33779b, event.t(), true);
            }
            if (!t.b(this.f33778a, "com.adobe.eventType._wildcard_") || !t.b(this.f33779b, "com.adobe.eventSource._wildcard_")) {
                return false;
            }
        } else if (!t.b(this.f33778a, "com.adobe.eventType._wildcard_") || !t.b(this.f33779b, "com.adobe.eventSource._wildcard_")) {
            return false;
        }
        return true;
    }
}
