package A1;

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

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

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

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

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

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

    public M(int i, int i5) {
        this(Integer.MIN_VALUE, i, i5);
    }

    public final void a() {
        int i = this.f102d;
        this.f102d = i == Integer.MIN_VALUE ? this.f100b : i + this.f101c;
        this.f103e = this.f99a + this.f102d;
    }

    public final void b() {
        if (this.f102d == Integer.MIN_VALUE) {
            throw new IllegalStateException("generateNewId() must be called before retrieving ids.");
        }
    }

    public M(int i, int i5, int i8) {
        String str;
        if (i != Integer.MIN_VALUE) {
            str = i + "/";
        } else {
            str = "";
        }
        this.f99a = str;
        this.f100b = i5;
        this.f101c = i8;
        this.f102d = Integer.MIN_VALUE;
        this.f103e = "";
    }
}
