package com.ss.android.ugc.aweme.shortvideo.stitch;

import X.2HN;
import X.C12385dc;
import X.C38896fH;
import X.C38906fI;
import X.M12;
import X.OZG;
import android.os.Parcel;
import android.os.Parcelable;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import com.ss.android.ugc.aweme.profile.model.User;
import com.ss.android.ugc.aweme.shortvideo.edit.model.EditVideoSegment;
import java.io.Serializable;
import java.util.Objects;

public final class StitchParams implements Parcelable, Serializable {
    public static final Parcelable.Creator<StitchParams> CREATOR = new C12385dc();
    @c(LIZ = "aweme_id", LIZIZ = {"i"})
    public String awemeId;
    @c(LIZ = "chain", LIZIZ = {"j"})
    public String chain;
    @c(LIZ = "concat_audio_path", LIZIZ = {"m"})
    @C38896fH
    public String concatAudioPath;
    @c(LIZ = "concat_video_path", LIZIZ = {"l"})
    @C38896fH
    public String concatVideoPath;
    @c(LIZ = "duration", LIZIZ = {"k"})
    public long duration;
    @c(LIZ = "enable_mic", LIZIZ = {"n"})
    public boolean enableMic;
    @c(LIZ = "endTime", LIZIZ = {"q"})
    public long endTime;
    @c(LIZ = "from_user", LIZIZ = {"h"})
    public User fromUser;
    @c(LIZ = "is_muted", LIZIZ = {"o"})
    public boolean isMuted;
    @c(LIZ = "is_pgc_music", LIZIZ = {"f"})
    public boolean isPGCMusic;
    @c(LIZ = "music", LIZIZ = {"c"})
    public OZG music;
    @c(LIZ = "music_id", LIZIZ = {"g"})
    public String musicId;
    @c(LIZ = "music_path", LIZIZ = {"d"})
    @C38906fI
    public String musicPath;
    @c(LIZ = "music_start", LIZIZ = {"e"})
    public int musicStart;
    @c(LIZ = "startTime", LIZIZ = {"p"})
    public long startTime;
    @c(LIZ = "stitchVideoDuration", LIZIZ = {"r"})
    public int stitchVideoDuration;
    @c(LIZ = "video_path", LIZIZ = {"b"})
    @C38906fI
    public String videoPath;
    @c(LIZ = "video_segment", LIZIZ = {"a"})
    public EditVideoSegment videoSegment;

    static {
        Covode.recordClassIndex(112535);
    }

    public StitchParams() {
        this((EditVideoSegment) null, (String) null, (OZG) null, (String) null, 0, false, (String) null, (User) null, (String) null, (String) null, 0, (String) null, (String) null, false, false, 0, 0, 0, 262143, (2HN) null);
    }

    public static int INVOKESTATIC_com_ss_android_ugc_aweme_shortvideo_stitch_StitchParams_com_ss_android_ugc_aweme_lancet_HashCodeLancet_hashCode(int i) {
        return i;
    }

    public static int INVOKESTATIC_com_ss_android_ugc_aweme_shortvideo_stitch_StitchParams_com_ss_android_ugc_aweme_lancet_HashCodeLancet_hashCode(long j) {
        return (int) (j ^ (j >>> 32));
    }

    private Object[] LIZ() {
        return new Object[]{this.videoSegment, this.videoPath, this.music, this.musicPath, Integer.valueOf(this.musicStart), Boolean.valueOf(this.isPGCMusic), this.musicId, this.fromUser, this.awemeId, this.chain, Long.valueOf(this.duration), this.concatVideoPath, this.concatAudioPath, Boolean.valueOf(this.enableMic), Boolean.valueOf(this.isMuted), Long.valueOf(this.startTime), Long.valueOf(this.endTime), Integer.valueOf(this.stitchVideoDuration)};
    }

    public static /* synthetic */ StitchParams copy$default(StitchParams stitchParams, EditVideoSegment editVideoSegment, String str, OZG ozg, String str2, int i, boolean z, String str3, User user, String str4, String str5, long j, String str6, String str7, boolean z2, boolean z3, long j2, long j3, int i2, int i3, Object obj) {
        String str8 = str;
        EditVideoSegment editVideoSegment2 = editVideoSegment;
        OZG ozg2 = ozg;
        String str9 = str2;
        int i4 = i;
        boolean z4 = z;
        String str10 = str7;
        User user2 = user;
        String str11 = str3;
        String str12 = str4;
        String str13 = str6;
        String str14 = str5;
        long j4 = j;
        int i5 = i2;
        int i6 = i3;
        long j5 = j2;
        long j6 = j3;
        boolean z5 = z2;
        boolean z6 = z3;
        StitchParams stitchParams2 = stitchParams;
        if ((i6 & 1) != 0) {
            editVideoSegment2 = stitchParams2.videoSegment;
        }
        if ((i6 & 2) != 0) {
            str8 = stitchParams2.videoPath;
        }
        if ((i6 & 4) != 0) {
            ozg2 = stitchParams2.music;
        }
        if ((i6 & 8) != 0) {
            str9 = stitchParams2.musicPath;
        }
        if ((i6 & 16) != 0) {
            i4 = stitchParams2.musicStart;
        }
        if ((i6 & 32) != 0) {
            z4 = stitchParams2.isPGCMusic;
        }
        if ((i6 & 64) != 0) {
            str11 = stitchParams2.musicId;
        }
        if ((i6 & 128) != 0) {
            user2 = stitchParams2.fromUser;
        }
        if ((i6 & 256) != 0) {
            str12 = stitchParams2.awemeId;
        }
        if ((i6 & 512) != 0) {
            str14 = stitchParams2.chain;
        }
        if ((i6 & 1024) != 0) {
            j4 = stitchParams2.duration;
        }
        if ((i6 & 2048) != 0) {
            str13 = stitchParams2.concatVideoPath;
        }
        if ((i6 & 4096) != 0) {
            str10 = stitchParams2.concatAudioPath;
        }
        if ((i6 & 8192) != 0) {
            z5 = stitchParams2.enableMic;
        }
        if ((i6 & 16384) != 0) {
            z6 = stitchParams2.isMuted;
        }
        if ((32768 & i6) != 0) {
            j5 = stitchParams2.startTime;
        }
        if ((65536 & i6) != 0) {
            j6 = stitchParams2.endTime;
        }
        if ((i6 & 131072) != 0) {
            i5 = stitchParams2.stitchVideoDuration;
        }
        String str15 = str12;
        String str16 = str14;
        String str17 = str13;
        String str18 = str10;
        return stitchParams2.copy(editVideoSegment2, str8, ozg2, str9, i4, z4, str11, user2, str15, str16, j4, str17, str18, z5, z6, j5, j6, i5);
    }

    public final StitchParams copy(EditVideoSegment editVideoSegment, String str, OZG ozg, String str2, int i, boolean z, String str3, User user, String str4, String str5, long j, String str6, String str7, boolean z2, boolean z3, long j2, long j3, int i2) {
        return new StitchParams(editVideoSegment, str, ozg, str2, i, z, str3, user, str4, str5, j, str6, str7, z2, z3, j2, j3, i2);
    }

    public final int describeContents() {
        return 0;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof StitchParams)) {
            return false;
        }
        return M12.LIZ(((StitchParams) obj).LIZ(), LIZ());
    }

    public final int hashCode() {
        return Objects.hash(LIZ());
    }

    public final String toString() {
        return M12.LIZ("StitchParams:%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s", LIZ());
    }

    public final void writeToParcel(Parcel parcel, int i) {
        M12.LIZ(parcel);
        parcel.writeParcelable(this.videoSegment, i);
        parcel.writeString(this.videoPath);
        parcel.writeSerializable(this.music);
        parcel.writeString(this.musicPath);
        parcel.writeInt(this.musicStart);
        parcel.writeInt(this.isPGCMusic ? 1 : 0);
        parcel.writeString(this.musicId);
        parcel.writeSerializable(this.fromUser);
        parcel.writeString(this.awemeId);
        parcel.writeString(this.chain);
        parcel.writeLong(this.duration);
        parcel.writeString(this.concatVideoPath);
        parcel.writeString(this.concatAudioPath);
        parcel.writeInt(this.enableMic ? 1 : 0);
        parcel.writeInt(this.isMuted ? 1 : 0);
        parcel.writeLong(this.startTime);
        parcel.writeLong(this.endTime);
        parcel.writeInt(this.stitchVideoDuration);
    }

    public final String getAwemeId() {
        return this.awemeId;
    }

    public final String getChain() {
        return this.chain;
    }

    public final String getConcatAudioPath() {
        return this.concatAudioPath;
    }

    public final String getConcatVideoPath() {
        return this.concatVideoPath;
    }

    public final long getDuration() {
        return this.duration;
    }

    public final boolean getEnableMic() {
        return this.enableMic;
    }

    public final long getEndTime() {
        return this.endTime;
    }

    public final User getFromUser() {
        return this.fromUser;
    }

    public final OZG getMusic() {
        return this.music;
    }

    public final String getMusicId() {
        return this.musicId;
    }

    public final String getMusicPath() {
        return this.musicPath;
    }

    public final int getMusicStart() {
        return this.musicStart;
    }

    public final long getStartTime() {
        return this.startTime;
    }

    public final int getStitchVideoDuration() {
        return this.stitchVideoDuration;
    }

    public final String getVideoPath() {
        return this.videoPath;
    }

    public final EditVideoSegment getVideoSegment() {
        return this.videoSegment;
    }

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

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

    public final void setAwemeId(String str) {
        this.awemeId = str;
    }

    public final void setChain(String str) {
        this.chain = str;
    }

    public final void setConcatAudioPath(String str) {
        this.concatAudioPath = str;
    }

    public final void setConcatVideoPath(String str) {
        this.concatVideoPath = str;
    }

    public final void setDuration(long j) {
        this.duration = j;
    }

    public final void setEnableMic(boolean z) {
        this.enableMic = z;
    }

    public final void setEndTime(long j) {
        this.endTime = j;
    }

    public final void setFromUser(User user) {
        this.fromUser = user;
    }

    public final void setMusic(OZG ozg) {
        this.music = ozg;
    }

    public final void setMusicId(String str) {
        this.musicId = str;
    }

    public final void setMusicPath(String str) {
        this.musicPath = str;
    }

    public final void setMusicStart(int i) {
        this.musicStart = i;
    }

    public final void setMuted(boolean z) {
        this.isMuted = z;
    }

    public final void setPGCMusic(boolean z) {
        this.isPGCMusic = z;
    }

    public final void setStartTime(long j) {
        this.startTime = j;
    }

    public final void setStitchVideoDuration(int i) {
        this.stitchVideoDuration = i;
    }

    public final void setVideoPath(String str) {
        this.videoPath = str;
    }

    public final void setVideoSegment(EditVideoSegment editVideoSegment) {
        this.videoSegment = editVideoSegment;
    }

    public StitchParams(EditVideoSegment editVideoSegment, String str, OZG ozg, String str2, int i, boolean z, String str3, User user, String str4, String str5, long j, String str6, String str7, boolean z2, boolean z3, long j2, long j3, int i2) {
        this.videoSegment = editVideoSegment;
        this.videoPath = str;
        this.music = ozg;
        this.musicPath = str2;
        this.musicStart = i;
        this.isPGCMusic = z;
        this.musicId = str3;
        this.fromUser = user;
        this.awemeId = str4;
        this.chain = str5;
        this.duration = j;
        this.concatVideoPath = str6;
        this.concatAudioPath = str7;
        this.enableMic = z2;
        this.isMuted = z3;
        this.startTime = j2;
        this.endTime = j3;
        this.stitchVideoDuration = i2;
    }

    /* JADX WARNING: Illegal instructions before constructor call */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public /* synthetic */ StitchParams(com.ss.android.ugc.aweme.shortvideo.edit.model.EditVideoSegment r24, java.lang.String r25, X.OZG r26, java.lang.String r27, int r28, boolean r29, java.lang.String r30, com.ss.android.ugc.aweme.profile.model.User r31, java.lang.String r32, java.lang.String r33, long r34, java.lang.String r36, java.lang.String r37, boolean r38, boolean r39, long r40, long r42, int r44, int r45, X.2HN r46) {
        /*
            r23 = this;
            r22 = r44
            r0 = r45
            r20 = r42
            r7 = r29
            r16 = r38
            r6 = r28
            r15 = r37
            r5 = r27
            r14 = r36
            r4 = r26
            r2 = r24
            r3 = r25
            r8 = r30
            r17 = r39
            r9 = r31
            r10 = r32
            r11 = r33
            r12 = r34
            r18 = r40
            r1 = r0 & 1
            if (r1 == 0) goto L_0x002b
            r2 = 0
        L_0x002b:
            r1 = r0 & 2
            if (r1 == 0) goto L_0x0030
            r3 = 0
        L_0x0030:
            r1 = r0 & 4
            if (r1 == 0) goto L_0x0035
            r4 = 0
        L_0x0035:
            r1 = r0 & 8
            if (r1 == 0) goto L_0x003a
            r5 = 0
        L_0x003a:
            r1 = r0 & 16
            if (r1 == 0) goto L_0x003f
            r6 = 0
        L_0x003f:
            r1 = r0 & 32
            if (r1 == 0) goto L_0x0044
            r7 = 0
        L_0x0044:
            r1 = r0 & 64
            if (r1 == 0) goto L_0x0049
            r8 = 0
        L_0x0049:
            r1 = r0 & 128(0x80, float:1.794E-43)
            if (r1 == 0) goto L_0x004e
            r9 = 0
        L_0x004e:
            r1 = r0 & 256(0x100, float:3.59E-43)
            if (r1 == 0) goto L_0x0053
            r10 = 0
        L_0x0053:
            r1 = r0 & 512(0x200, float:7.175E-43)
            if (r1 == 0) goto L_0x0058
            r11 = 0
        L_0x0058:
            r1 = r0 & 1024(0x400, float:1.435E-42)
            if (r1 == 0) goto L_0x005e
            r12 = 0
        L_0x005e:
            r1 = r0 & 2048(0x800, float:2.87E-42)
            if (r1 == 0) goto L_0x0063
            r14 = 0
        L_0x0063:
            r1 = r0 & 4096(0x1000, float:5.74E-42)
            if (r1 == 0) goto L_0x0068
            r15 = 0
        L_0x0068:
            r1 = r0 & 8192(0x2000, float:1.14794E-41)
            if (r1 == 0) goto L_0x006e
            r16 = 1
        L_0x006e:
            r1 = r0 & 16384(0x4000, float:2.2959E-41)
            if (r1 == 0) goto L_0x0074
            r17 = 0
        L_0x0074:
            r1 = 32768(0x8000, float:4.5918E-41)
            r1 = r1 & r0
            if (r1 == 0) goto L_0x007c
            r18 = 0
        L_0x007c:
            r1 = 65536(0x10000, float:9.18355E-41)
            r1 = r1 & r0
            if (r1 == 0) goto L_0x0083
            r20 = 0
        L_0x0083:
            r1 = 131072(0x20000, float:1.83671E-40)
            r0 = r0 & r1
            if (r0 == 0) goto L_0x008a
            r22 = 0
        L_0x008a:
            r1 = r23
            r1.<init>(r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r14, r15, r16, r17, r18, r20, r22)
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.shortvideo.stitch.StitchParams.<init>(com.ss.android.ugc.aweme.shortvideo.edit.model.EditVideoSegment, java.lang.String, X.OZG, java.lang.String, int, boolean, java.lang.String, com.ss.android.ugc.aweme.profile.model.User, java.lang.String, java.lang.String, long, java.lang.String, java.lang.String, boolean, boolean, long, long, int, int, X.2HN):void");
    }
}
