package l3;

import i3.C0636d;
import i3.C0639g;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import n3.AbstractC0916c;
import p0.AbstractC0928a;
import p3.C0952a;

/* JADX INFO: loaded from: classes.dex */
public final class n {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final String f8934a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final Field f8935b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final String f8936c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final boolean f8937d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final boolean f8938e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final /* synthetic */ Method f8939f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public final /* synthetic */ boolean f8940g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public final /* synthetic */ i3.k f8941h;
    public final /* synthetic */ C0636d i;

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public final /* synthetic */ C0952a f8942j;

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public final /* synthetic */ boolean f8943k;

    /* JADX INFO: renamed from: l, reason: collision with root package name */
    public final /* synthetic */ boolean f8944l;

    public n(String str, Field field, boolean z5, boolean z6, Method method, boolean z7, i3.k kVar, C0636d c0636d, C0952a c0952a, boolean z8, boolean z9) {
        this.f8939f = method;
        this.f8940g = z7;
        this.f8941h = kVar;
        this.i = c0636d;
        this.f8942j = c0952a;
        this.f8943k = z8;
        this.f8944l = z9;
        this.f8934a = str;
        this.f8935b = field;
        this.f8936c = field.getName();
        this.f8937d = z5;
        this.f8938e = z6;
    }

    public final void a(q3.c cVar, Object obj) throws IllegalAccessException {
        Object objInvoke;
        if (this.f8937d) {
            Field field = this.f8935b;
            Method method = this.f8939f;
            if (method != null) {
                try {
                    objInvoke = method.invoke(obj, new Object[0]);
                } catch (InvocationTargetException e2) {
                    throw new C0639g(AbstractC0928a.l("Accessor ", AbstractC0916c.d(method, false), " threw exception"), e2.getCause());
                }
            } else {
                objInvoke = field.get(obj);
            }
            if (objInvoke == obj) {
                return;
            }
            cVar.m(this.f8934a);
            boolean z5 = this.f8940g;
            i3.k mVar = this.f8941h;
            if (!z5) {
                mVar = new com.dexterous.flutterlocalnotifications.m(this.i, mVar, this.f8942j.f9530b);
            }
            mVar.b(cVar, objInvoke);
        }
    }
}
