package h0;

import java.util.ArrayList;

/* JADX INFO: loaded from: classes.dex */
public final class M implements L {

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

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

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ P f13048c;

    public M(P p3, String str, int i) {
        this.f13048c = p3;
        this.f13046a = str;
        this.f13047b = i;
    }

    @Override // h0.L
    public final boolean a(ArrayList arrayList, ArrayList arrayList2) {
        ComponentCallbacksC1023x componentCallbacksC1023x = this.f13048c.f13091z;
        if (componentCallbacksC1023x == null || this.f13047b >= 0 || this.f13046a != null || !componentCallbacksC1023x.n().U(-1, 0)) {
            return this.f13048c.V(arrayList, arrayList2, this.f13046a, this.f13047b, 1);
        }
        return false;
    }
}
