package c.o;

import c.q.d.j;
import java.lang.reflect.Method;
import org.eclipse.paho.android.service.MqttServiceConstants;

/* JADX INFO: compiled from: PlatformImplementations.kt */
/* JADX INFO: loaded from: classes.dex */
public class a {

    /* JADX INFO: renamed from: c.o.a$a, reason: collision with other inner class name */
    /* JADX INFO: compiled from: PlatformImplementations.kt */
    private static final class C0033a {

        /* JADX INFO: renamed from: a, reason: collision with root package name */
        public static final Method f1440a;

        /* JADX WARN: Removed duplicated region for block: B:9:0x003a  */
        static {
            /*
                java.lang.Class<java.lang.Throwable> r0 = java.lang.Throwable.class
                java.lang.reflect.Method[] r1 = r0.getMethods()
                java.lang.String r2 = "throwableClass.methods"
                c.q.d.j.b(r1, r2)
                int r2 = r1.length
                r3 = 0
                r4 = r3
            Le:
                if (r4 >= r2) goto L41
                r5 = r1[r4]
                java.lang.String r6 = "it"
                c.q.d.j.b(r5, r6)
                java.lang.String r6 = r5.getName()
                java.lang.String r7 = "addSuppressed"
                boolean r6 = c.q.d.j.a(r6, r7)
                if (r6 == 0) goto L3a
                java.lang.Class[] r6 = r5.getParameterTypes()
                java.lang.String r7 = "it.parameterTypes"
                c.q.d.j.b(r6, r7)
                java.lang.Object r6 = c.l.b.j(r6)
                java.lang.Class r6 = (java.lang.Class) r6
                boolean r6 = c.q.d.j.a(r6, r0)
                if (r6 == 0) goto L3a
                r6 = 1
                goto L3b
            L3a:
                r6 = r3
            L3b:
                if (r6 == 0) goto L3e
                goto L42
            L3e:
                int r4 = r4 + 1
                goto Le
            L41:
                r5 = 0
            L42:
                c.o.a.C0033a.f1440a = r5
                return
            */
            throw new UnsupportedOperationException("Method not decompiled: c.o.a.C0033a.<clinit>():void");
        }
    }

    public void a(Throwable th, Throwable th2) {
        j.c(th, "cause");
        j.c(th2, MqttServiceConstants.TRACE_EXCEPTION);
        Method method = C0033a.f1440a;
        if (method != null) {
            method.invoke(th, th2);
        }
    }
}
