package com.ss.android.ugc.aweme.ecommerce.widget.regionpicker.viewmodel;

import X.2HN;
import X.5Am;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.aweme.ecommerce.widget.regionpicker.model.District;
import java.util.List;
import java.util.Objects;

public final class DistrictPickerState implements 5Am {
    public final List<Object> districtList;
    public final District selectedDistrict;
    public final int status;
    public final String title;
    public final String titleEn;

    static {
        Covode.recordClassIndex(73021);
    }

    public DistrictPickerState() {
        this((String) null, (String) null, (List) null, (District) null, 0, 31, (2HN) null);
    }

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

    public static /* synthetic */ DistrictPickerState copy$default(DistrictPickerState districtPickerState, String str, String str2, List<Object> list, District district, int i, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            str = districtPickerState.title;
        }
        if ((i2 & 2) != 0) {
            str2 = districtPickerState.titleEn;
        }
        if ((i2 & 4) != 0) {
            list = districtPickerState.districtList;
        }
        if ((i2 & 8) != 0) {
            district = districtPickerState.selectedDistrict;
        }
        if ((i2 & 16) != 0) {
            i = districtPickerState.status;
        }
        return districtPickerState.copy(str, str2, list, district, i);
    }

    private Object[] getObjects() {
        return new Object[]{this.title, this.titleEn, this.districtList, this.selectedDistrict, Integer.valueOf(this.status)};
    }

    public final DistrictPickerState copy(String str, String str2, List<? extends Object> list, District district, int i) {
        String str3 = str2;
        String str4 = str;
        List<? extends Object> list2 = list;
        M12.LIZ(str4, str3, list2);
        return new DistrictPickerState(str4, str3, list2, district, i);
    }

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

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

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

    public final List<Object> getDistrictList() {
        return this.districtList;
    }

    public final District getSelectedDistrict() {
        return this.selectedDistrict;
    }

    public final int getStatus() {
        return this.status;
    }

    public final String getTitle() {
        return this.title;
    }

    public final String getTitleEn() {
        return this.titleEn;
    }

    public DistrictPickerState(String str, String str2, List<? extends Object> list, District district, int i) {
        M12.LIZ(str, str2, list);
        this.title = str;
        this.titleEn = str2;
        this.districtList = list;
        this.selectedDistrict = district;
        this.status = i;
    }

    /* JADX WARNING: Illegal instructions before constructor call */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public /* synthetic */ DistrictPickerState(java.lang.String r7, java.lang.String r8, java.util.List r9, com.ss.android.ugc.aweme.ecommerce.widget.regionpicker.model.District r10, int r11, int r12, X.2HN r13) {
        /*
            r6 = this;
            r5 = r11
            r4 = r10
            r1 = r7
            r3 = r9
            r0 = r12 & 1
            java.lang.String r2 = ""
            if (r0 == 0) goto L_0x000b
            r1 = r2
        L_0x000b:
            r0 = r12 & 2
            if (r0 == 0) goto L_0x0025
        L_0x000f:
            r0 = r12 & 4
            if (r0 == 0) goto L_0x0015
            X.Lel r3 = X.Lel.INSTANCE
        L_0x0015:
            r0 = r12 & 8
            if (r0 == 0) goto L_0x001a
            r4 = 0
        L_0x001a:
            r0 = r12 & 16
            if (r0 == 0) goto L_0x0020
            r0 = -1
            r5 = -1
        L_0x0020:
            r0 = r6
            r0.<init>(r1, r2, r3, r4, r5)
            return
        L_0x0025:
            r2 = r8
            goto L_0x000f
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.ecommerce.widget.regionpicker.viewmodel.DistrictPickerState.<init>(java.lang.String, java.lang.String, java.util.List, com.ss.android.ugc.aweme.ecommerce.widget.regionpicker.model.District, int, int, X.2HN):void");
    }
}
