/*
 * Decompiled with CFR 0.152.
 */
public final class dk {
    public static final int a;
    public static final int b;
    private final le g;
    public final Long d;
    public final le e;
    public final le f;
    public boolean c;

    public dk(le le2, le le3, le le4, Long l) {
        this.g = le2;
        this.f = le3;
        this.e = le4;
        this.d = l;
        this.c = true;
    }

    public final le a() {
        if (!ps.i) {
            return this.f;
        }
        return this.g;
    }

    static {
        int n = !ps.i ? 6 : 10;
        a = n;
        n = ps.i ? 8 : 6;
        b = n;
    }

    public static dk a(long l, lk lk2, lk lk3, lk lk4) {
        byte[] byArray;
        le le2 = null;
        if (lk2 != null && lk2.h(4)) {
            byArray = lk2.c(4);
            le2 = lh.k().g().a(byArray, 0, byArray.length);
        }
        le le3 = null;
        if (lk3.h(4)) {
            byArray = lk3.c(4);
            le3 = lh.k().g().a(byArray, 0, byArray.length);
        }
        le le4 = null;
        if (lk4.h(4)) {
            byArray = lk4.c(4);
            le4 = lh.k().g().a(byArray, 0, byArray.length);
        }
        return new dk(le2, le3, le4, new Long(l));
    }
}

