package com.ss.android.ugc.aweme.notice.repo.list.bean;

import X.2HN;
import com.bytedance.covode.number.Covode;

public class MusNotice extends BaseNotice {
    public transient long generatedUniqueId;
    public transient long hackedUniqueId;
    public final transient boolean isMock;

    static {
        Covode.recordClassIndex(95133);
    }

    public MusNotice() {
        this(false, 1, (2HN) null);
    }

    public final boolean isMock() {
        return this.isMock;
    }

    public final long getUniqueId() {
        long j = this.hackedUniqueId;
        if (j > 0) {
            return j;
        }
        return getGeneratedUniqueId();
    }

    /* JADX WARNING: Code restructure failed: missing block: B:7:0x0018, code lost:
        if (r1 != 0) goto L_0x001a;
     */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    private final long getGeneratedUniqueId() {
        /*
            r5 = this;
            long r1 = r5.generatedUniqueId
            r3 = 0
            int r0 = (r1 > r3 ? 1 : (r1 == r3 ? 0 : -1))
            if (r0 != 0) goto L_0x001c
            java.lang.String r0 = r5.nid
            if (r0 == 0) goto L_0x001f
            java.lang.Long r0 = X.2tE.LJI(r0)
            if (r0 == 0) goto L_0x001f
            long r1 = r0.longValue()
            int r0 = (r1 > r3 ? 1 : (r1 == r3 ? 0 : -1))
            if (r0 == 0) goto L_0x001f
        L_0x001a:
            r5.generatedUniqueId = r1
        L_0x001c:
            long r0 = r5.generatedUniqueId
            return r0
        L_0x001f:
            int r0 = r5.hashCode()
            long r1 = (long) r0
            goto L_0x001a
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.notice.repo.list.bean.MusNotice.getGeneratedUniqueId():long");
    }

    public final void hackUniqueId(long j) {
        this.hackedUniqueId = j;
    }

    public MusNotice(boolean z) {
        this.isMock = z;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ MusNotice(boolean z, int i, 2HN r4) {
        this((i & 1) != 0 ? false : z);
    }
}
