package androidx.navigation;

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

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public boolean f12708b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public boolean f12709c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public int f12710d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public String f12711e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public boolean f12712f;

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

    public L() {
        J j4 = new J();
        j4.f12693a = -1;
        j4.f12697e = -1;
        j4.f12698f = -1;
        this.f12707a = j4;
        this.f12710d = -1;
    }

    public final void a(int i6, J4.c cVar) {
        this.f12710d = i6;
        this.f12712f = false;
        Z z6 = new Z();
        cVar.invoke(z6);
        this.f12712f = z6.f12734a;
        this.f12713g = z6.f12735b;
    }

    public final void b(String str, J4.c cVar) {
        if (S4.p.Q0(str)) {
            throw new IllegalArgumentException("Cannot pop up to an empty route");
        }
        this.f12711e = str;
        this.f12710d = -1;
        this.f12712f = false;
        Z z6 = new Z();
        cVar.invoke(z6);
        this.f12712f = z6.f12734a;
        this.f12713g = z6.f12735b;
    }
}
