/*
 * Decompiled with CFR 0.152.
 */
import java.io.DataOutput;
import java.io.OutputStream;

public final class gc
extends mo {
    public final int f() {
        return -1;
    }

    public final int e() {
        return 3;
    }

    public gc(jr jr2, fu fu2) {
        super(jr2, fu2);
    }

    public final String a(int n, fu fu2, boolean bl2) {
        oz oz2 = (oz)this.c(n);
        if (oz2.k() && !bl2) {
            return "";
        }
        if (oz2.g()) {
            return ps.a('e');
        }
        if (oz2.d()) {
            return ps.a('\ued17');
        }
        return ps.a(fu2.a(this.f(n)));
    }

    public final void a(DataOutput dataOutput) {
        lk lk2 = this.e(1);
        if (this.p == null) {
            if (this.e != null) {
                lk lk3 = new lk(la.r);
                lk3.h(2, ku.a() / 60000);
                lk3.b(1, this.e.getTime() / (long)1000);
                lk2.b(3, lk3);
                lk2.h(4, this.f);
            }
        } else {
            lk2.b(3, this.p);
            lk2.h(4, this.q);
        }
        lk2.b(6, this.o());
        if (this.r != 0) {
            lk2.h(8, this.r);
        }
        dataOutput.writeInt(lk2.b());
        lk2.a((OutputStream)((Object)dataOutput));
    }

    public final gc g() {
        gc gc2 = new gc(this.P(), this.c);
        gc2.e = this.e;
        gc2.f = this.f;
        gc2.D = this.D;
        if (this.u()) {
            gc2.c(this.v());
            gc2.a(this.j, this.i);
        }
        return gc2;
    }

    public gc(fu fu2) {
        super(fu2);
    }

    public final String a(int n, fu fu2) {
        return this.a(n, fu2, true);
    }
}

