package com.ss.android.ugc.aweme.editSticker.text.bean;

import X.2HN;
import X.AnonymousClass6S2;
import X.C37946dk;
import X.M12;
import android.os.Parcel;
import android.os.Parcelable;
import com.bytedance.covode.number.Covode;
import java.util.List;
import java.util.Objects;

public final class InnerEffectTextLayoutConfig implements Parcelable {
    public static final Parcelable.Creator<InnerEffectTextLayoutConfig> CREATOR = new AnonymousClass6S2();
    public final InnerEffectExtraConfig extraConfig;
    public final C37946dk layoutType;
    public final int orientation;
    public final int paddingBottom;
    public final int paddingEnd;
    public final int paddingStart;
    public final int paddingTop;
    public final float rotation;
    public final List<InnerEffectTextConfig> textConfigs;

    static {
        Covode.recordClassIndex(73678);
    }

    public InnerEffectTextLayoutConfig() {
        this((C37946dk) null, 0, 0.0f, 0, 0, 0, 0, (List) null, (InnerEffectExtraConfig) null, 511, (2HN) null);
    }

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

    public static /* synthetic */ InnerEffectTextLayoutConfig copy$default(InnerEffectTextLayoutConfig innerEffectTextLayoutConfig, C37946dk r2, int i, float f, int i2, int i3, int i4, int i5, List<InnerEffectTextConfig> list, InnerEffectExtraConfig innerEffectExtraConfig, int i6, Object obj) {
        if ((i6 & 1) != 0) {
            r2 = innerEffectTextLayoutConfig.layoutType;
        }
        if ((i6 & 2) != 0) {
            i = innerEffectTextLayoutConfig.orientation;
        }
        if ((i6 & 4) != 0) {
            f = innerEffectTextLayoutConfig.rotation;
        }
        if ((i6 & 8) != 0) {
            i2 = innerEffectTextLayoutConfig.paddingStart;
        }
        if ((i6 & 16) != 0) {
            i3 = innerEffectTextLayoutConfig.paddingEnd;
        }
        if ((i6 & 32) != 0) {
            i4 = innerEffectTextLayoutConfig.paddingTop;
        }
        if ((i6 & 64) != 0) {
            i5 = innerEffectTextLayoutConfig.paddingBottom;
        }
        if ((i6 & 128) != 0) {
            list = innerEffectTextLayoutConfig.textConfigs;
        }
        if ((i6 & 256) != 0) {
            innerEffectExtraConfig = innerEffectTextLayoutConfig.extraConfig;
        }
        return innerEffectTextLayoutConfig.copy(r2, i, f, i2, i3, i4, i5, list, innerEffectExtraConfig);
    }

    private Object[] getObjects() {
        return new Object[]{this.layoutType, Integer.valueOf(this.orientation), Float.valueOf(this.rotation), Integer.valueOf(this.paddingStart), Integer.valueOf(this.paddingEnd), Integer.valueOf(this.paddingTop), Integer.valueOf(this.paddingBottom), this.textConfigs, this.extraConfig};
    }

    public final InnerEffectTextLayoutConfig copy(C37946dk r11, int i, float f, int i2, int i3, int i4, int i5, List<InnerEffectTextConfig> list, InnerEffectExtraConfig innerEffectExtraConfig) {
        List<InnerEffectTextConfig> list2 = list;
        C37946dk r1 = r11;
        InnerEffectExtraConfig innerEffectExtraConfig2 = innerEffectExtraConfig;
        M12.LIZ(r1, list2, innerEffectExtraConfig2);
        return new InnerEffectTextLayoutConfig(r1, i, f, i2, i3, i4, i5, list2, innerEffectExtraConfig2);
    }

    public final int describeContents() {
        return 0;
    }

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

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

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

    public final void writeToParcel(Parcel parcel, int i) {
        M12.LIZ(parcel);
        parcel.writeString(this.layoutType.name());
        parcel.writeInt(this.orientation);
        parcel.writeFloat(this.rotation);
        parcel.writeInt(this.paddingStart);
        parcel.writeInt(this.paddingEnd);
        parcel.writeInt(this.paddingTop);
        parcel.writeInt(this.paddingBottom);
        List<InnerEffectTextConfig> list = this.textConfigs;
        parcel.writeInt(list.size());
        for (InnerEffectTextConfig writeToParcel : list) {
            writeToParcel.writeToParcel(parcel, 0);
        }
        this.extraConfig.writeToParcel(parcel, 0);
    }

    public final InnerEffectExtraConfig getExtraConfig() {
        return this.extraConfig;
    }

    public final C37946dk getLayoutType() {
        return this.layoutType;
    }

    public final int getOrientation() {
        return this.orientation;
    }

    public final int getPaddingBottom() {
        return this.paddingBottom;
    }

    public final int getPaddingEnd() {
        return this.paddingEnd;
    }

    public final int getPaddingStart() {
        return this.paddingStart;
    }

    public final int getPaddingTop() {
        return this.paddingTop;
    }

    public final float getRotation() {
        return this.rotation;
    }

    public final List<InnerEffectTextConfig> getTextConfigs() {
        return this.textConfigs;
    }

    public static int INVOKESTATIC_com_ss_android_ugc_aweme_editSticker_text_bean_InnerEffectTextLayoutConfig_com_ss_android_ugc_aweme_lancet_HashCodeLancet_hashCode(float f) {
        return Float.floatToIntBits(f);
    }

    public InnerEffectTextLayoutConfig(C37946dk r1, int i, float f, int i2, int i3, int i4, int i5, List<InnerEffectTextConfig> list, InnerEffectExtraConfig innerEffectExtraConfig) {
        M12.LIZ(r1, list, innerEffectExtraConfig);
        this.layoutType = r1;
        this.orientation = i;
        this.rotation = f;
        this.paddingStart = i2;
        this.paddingEnd = i3;
        this.paddingTop = i4;
        this.paddingBottom = i5;
        this.textConfigs = list;
        this.extraConfig = innerEffectExtraConfig;
    }

    /* JADX WARNING: Illegal instructions before constructor call */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public /* synthetic */ InnerEffectTextLayoutConfig(X.C37946dk r14, int r15, float r16, int r17, int r18, int r19, int r20, java.util.List r21, com.ss.android.ugc.aweme.editSticker.text.bean.InnerEffectExtraConfig r22, int r23, X.2HN r24) {
        /*
            r13 = this;
            r3 = r23
            r12 = r22
            r11 = r21
            r10 = r20
            r5 = r15
            r8 = r18
            r4 = r14
            r6 = r16
            r9 = r19
            r7 = r17
            r0 = r3 & 1
            if (r0 == 0) goto L_0x0018
            X.6dk r4 = X.C37946dk.LINEAR
        L_0x0018:
            r0 = r3 & 2
            r2 = 1
            if (r0 == 0) goto L_0x001e
            r5 = 1
        L_0x001e:
            r0 = r3 & 4
            if (r0 == 0) goto L_0x0023
            r6 = 0
        L_0x0023:
            r0 = r3 & 8
            r1 = 0
            if (r0 == 0) goto L_0x0029
            r7 = 0
        L_0x0029:
            r0 = r3 & 16
            if (r0 == 0) goto L_0x002e
            r8 = 0
        L_0x002e:
            r0 = r3 & 32
            if (r0 == 0) goto L_0x0033
            r9 = 0
        L_0x0033:
            r0 = r3 & 64
            if (r0 == 0) goto L_0x0038
            r10 = 0
        L_0x0038:
            r0 = r3 & 128(0x80, float:1.794E-43)
            if (r0 == 0) goto L_0x0041
            java.util.ArrayList r11 = new java.util.ArrayList
            r11.<init>()
        L_0x0041:
            r0 = r3 & 256(0x100, float:3.59E-43)
            if (r0 == 0) goto L_0x004b
            com.ss.android.ugc.aweme.editSticker.text.bean.InnerEffectExtraConfig r12 = new com.ss.android.ugc.aweme.editSticker.text.bean.InnerEffectExtraConfig
            r0 = 0
            r12.<init>(r1, r2, r0)
        L_0x004b:
            r3 = r13
            r3.<init>(r4, r5, r6, r7, r8, r9, r10, r11, r12)
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.editSticker.text.bean.InnerEffectTextLayoutConfig.<init>(X.6dk, int, float, int, int, int, int, java.util.List, com.ss.android.ugc.aweme.editSticker.text.bean.InnerEffectExtraConfig, int, X.2HN):void");
    }
}
