package com.ss.android.ugc.aweme.creative.model;

import X.C42936ln;
import X.M12;
import android.os.Parcel;
import android.os.Parcelable;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;

public final class CreativeInitialModel implements Parcelable {
    public static final Parcelable.Creator<CreativeInitialModel> CREATOR = new C42936ln();
    @c(LIZ = "profile_paramters_model")
    public ProfileParametersModel LIZ;
    @c(LIZ = "mob_params")
    public final InitialMobParams LIZIZ;
    @c(LIZ = "cap_cut_reuse_model")
    public final EditCapCutReuseModel LIZJ;

    static {
        Covode.recordClassIndex(62647);
    }

    public CreativeInitialModel() {
        this((ProfileParametersModel) null, 7);
    }

    public final int describeContents() {
        return 0;
    }

    public final void writeToParcel(Parcel parcel, int i) {
        M12.LIZ(parcel);
        this.LIZ.writeToParcel(parcel, 0);
        InitialMobParams initialMobParams = this.LIZIZ;
        if (initialMobParams != null) {
            parcel.writeInt(1);
            initialMobParams.writeToParcel(parcel, 0);
        } else {
            parcel.writeInt(0);
        }
        EditCapCutReuseModel editCapCutReuseModel = this.LIZJ;
        if (editCapCutReuseModel != null) {
            parcel.writeInt(1);
            editCapCutReuseModel.writeToParcel(parcel, 0);
            return;
        }
        parcel.writeInt(0);
    }

    /* JADX WARNING: Illegal instructions before constructor call */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public /* synthetic */ CreativeInitialModel(com.ss.android.ugc.aweme.creative.model.ProfileParametersModel r2, int r3) {
        /*
            r1 = this;
            r0 = r3 & 1
            if (r0 == 0) goto L_0x0009
            com.ss.android.ugc.aweme.creative.model.ProfileParametersModel r2 = new com.ss.android.ugc.aweme.creative.model.ProfileParametersModel
            r2.<init>()
        L_0x0009:
            r0 = 0
            r1.<init>(r2, r0, r0)
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.creative.model.CreativeInitialModel.<init>(com.ss.android.ugc.aweme.creative.model.ProfileParametersModel, int):void");
    }

    public CreativeInitialModel(ProfileParametersModel profileParametersModel, InitialMobParams initialMobParams, EditCapCutReuseModel editCapCutReuseModel) {
        M12.LIZ(profileParametersModel);
        this.LIZ = profileParametersModel;
        this.LIZIZ = initialMobParams;
        this.LIZJ = editCapCutReuseModel;
    }
}
