package p138.p176.p278.p279.p287;

import com.google.protobuf.CodedOutputStream;
import com.google.protobuf.InvalidProtocolBufferException;
import java.io.IOException;
import p138.p176.p278.p279.p287.C5360;
import p138.p176.p328.AbstractC6013;
import p138.p176.p328.AbstractC6028;
import p138.p176.p328.C6022;
import p138.p176.p328.C6025;
import p138.p176.p328.InterfaceC6052;

/* JADX INFO: renamed from: ދ.ހ.ހ.֏.ޛ.ࠤ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public final class C5363 extends AbstractC6028<C5363, C5365> implements InterfaceC5251 {

    /* JADX INFO: renamed from: ގ, reason: contains not printable characters */
    public static final C5363 f15649;

    /* JADX INFO: renamed from: ޏ, reason: contains not printable characters */
    public static volatile InterfaceC6052<C5363> f15650;

    /* JADX INFO: renamed from: ކ, reason: contains not printable characters */
    public int f15651;

    /* JADX INFO: renamed from: އ, reason: contains not printable characters */
    public C5360 f15652;

    /* JADX INFO: renamed from: ވ, reason: contains not printable characters */
    public AbstractC6013 f15653;

    /* JADX INFO: renamed from: މ, reason: contains not printable characters */
    public AbstractC6013 f15654;

    /* JADX INFO: renamed from: ފ, reason: contains not printable characters */
    public AbstractC6013 f15655;

    /* JADX INFO: renamed from: ދ, reason: contains not printable characters */
    public AbstractC6013 f15656;

    /* JADX INFO: renamed from: ތ, reason: contains not printable characters */
    public AbstractC6013 f15657;

    /* JADX INFO: renamed from: ލ, reason: contains not printable characters */
    public AbstractC6013 f15658;

    /* JADX INFO: renamed from: ދ.ހ.ހ.֏.ޛ.ࠤ$֏, reason: contains not printable characters */
    public static /* synthetic */ class C5364 {

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public static final /* synthetic */ int[] f15659;

        static {
            int[] iArr = new int[AbstractC6028.EnumC6039.values().length];
            f15659 = iArr;
            try {
                AbstractC6028.EnumC6039 enumC6039 = AbstractC6028.EnumC6039.NEW_MUTABLE_INSTANCE;
                iArr[4] = 1;
            } catch (NoSuchFieldError unused) {
            }
            try {
                int[] iArr2 = f15659;
                AbstractC6028.EnumC6039 enumC60392 = AbstractC6028.EnumC6039.IS_INITIALIZED;
                iArr2[0] = 2;
            } catch (NoSuchFieldError unused2) {
            }
            try {
                int[] iArr3 = f15659;
                AbstractC6028.EnumC6039 enumC60393 = AbstractC6028.EnumC6039.MAKE_IMMUTABLE;
                iArr3[3] = 3;
            } catch (NoSuchFieldError unused3) {
            }
            try {
                int[] iArr4 = f15659;
                AbstractC6028.EnumC6039 enumC60394 = AbstractC6028.EnumC6039.NEW_BUILDER;
                iArr4[5] = 4;
            } catch (NoSuchFieldError unused4) {
            }
            try {
                int[] iArr5 = f15659;
                AbstractC6028.EnumC6039 enumC60395 = AbstractC6028.EnumC6039.VISIT;
                iArr5[1] = 5;
            } catch (NoSuchFieldError unused5) {
            }
            try {
                int[] iArr6 = f15659;
                AbstractC6028.EnumC6039 enumC60396 = AbstractC6028.EnumC6039.MERGE_FROM_STREAM;
                iArr6[2] = 6;
            } catch (NoSuchFieldError unused6) {
            }
            try {
                int[] iArr7 = f15659;
                AbstractC6028.EnumC6039 enumC60397 = AbstractC6028.EnumC6039.GET_DEFAULT_INSTANCE;
                iArr7[6] = 7;
            } catch (NoSuchFieldError unused7) {
            }
            try {
                int[] iArr8 = f15659;
                AbstractC6028.EnumC6039 enumC60398 = AbstractC6028.EnumC6039.GET_PARSER;
                iArr8[7] = 8;
            } catch (NoSuchFieldError unused8) {
            }
        }
    }

    /* JADX INFO: renamed from: ދ.ހ.ހ.֏.ޛ.ࠤ$ؠ, reason: contains not printable characters */
    public static final class C5365 extends AbstractC6028.AbstractC6030<C5363, C5365> implements InterfaceC5251 {
        public C5365() {
            super(C5363.f15649);
        }

        public /* synthetic */ C5365(C5364 c5364) {
            super(C5363.f15649);
        }
    }

    static {
        C5363 c5363 = new C5363();
        f15649 = c5363;
        c5363.mo9398();
    }

    public C5363() {
        AbstractC6013 abstractC6013 = AbstractC6013.f16886;
        this.f15653 = abstractC6013;
        this.f15654 = abstractC6013;
        this.f15655 = abstractC6013;
        this.f15656 = abstractC6013;
        this.f15657 = abstractC6013;
        this.f15658 = abstractC6013;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static /* synthetic */ void m8782(C5363 c5363, C5360 c5360) {
        if (c5360 == null) {
            throw null;
        }
        c5363.f15652 = c5360;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static /* synthetic */ void m8783(C5363 c5363, AbstractC6013 abstractC6013) {
        if (abstractC6013 == null) {
            throw null;
        }
        c5363.f15655 = abstractC6013;
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public static /* synthetic */ void m8784(C5363 c5363, AbstractC6013 abstractC6013) {
        if (abstractC6013 == null) {
            throw null;
        }
        c5363.f15656 = abstractC6013;
    }

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public static /* synthetic */ void m8785(C5363 c5363, AbstractC6013 abstractC6013) {
        if (abstractC6013 == null) {
            throw null;
        }
        c5363.f15657 = abstractC6013;
    }

    /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
    public static /* synthetic */ void m8786(C5363 c5363, AbstractC6013 abstractC6013) {
        if (abstractC6013 == null) {
            throw null;
        }
        c5363.f15658 = abstractC6013;
    }

    /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
    public static /* synthetic */ void m8787(C5363 c5363, AbstractC6013 abstractC6013) {
        if (abstractC6013 == null) {
            throw null;
        }
        c5363.f15653 = abstractC6013;
    }

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public static /* synthetic */ void m8788(C5363 c5363, AbstractC6013 abstractC6013) {
        if (abstractC6013 == null) {
            throw null;
        }
        c5363.f15654 = abstractC6013;
    }

    @Override // p138.p176.p328.AbstractC6028
    /* JADX INFO: renamed from: ֏ */
    public final Object mo8727(AbstractC6028.EnumC6039 enumC6039, Object obj, Object obj2) {
        C5364 c5364 = null;
        switch (enumC6039) {
            case IS_INITIALIZED:
                return f15649;
            case VISIT:
                AbstractC6028.InterfaceC6040 interfaceC6040 = (AbstractC6028.InterfaceC6040) obj;
                C5363 c5363 = (C5363) obj2;
                this.f15651 = interfaceC6040.mo9409(this.f15651 != 0, this.f15651, c5363.f15651 != 0, c5363.f15651);
                this.f15652 = (C5360) interfaceC6040.mo9414(this.f15652, c5363.f15652);
                this.f15653 = interfaceC6040.mo9411(this.f15653 != AbstractC6013.f16886, this.f15653, c5363.f15653 != AbstractC6013.f16886, c5363.f15653);
                this.f15654 = interfaceC6040.mo9411(this.f15654 != AbstractC6013.f16886, this.f15654, c5363.f15654 != AbstractC6013.f16886, c5363.f15654);
                this.f15655 = interfaceC6040.mo9411(this.f15655 != AbstractC6013.f16886, this.f15655, c5363.f15655 != AbstractC6013.f16886, c5363.f15655);
                this.f15656 = interfaceC6040.mo9411(this.f15656 != AbstractC6013.f16886, this.f15656, c5363.f15656 != AbstractC6013.f16886, c5363.f15656);
                this.f15657 = interfaceC6040.mo9411(this.f15657 != AbstractC6013.f16886, this.f15657, c5363.f15657 != AbstractC6013.f16886, c5363.f15657);
                this.f15658 = interfaceC6040.mo9411(this.f15658 != AbstractC6013.f16886, this.f15658, c5363.f15658 != AbstractC6013.f16886, c5363.f15658);
                return this;
            case MERGE_FROM_STREAM:
                C6022 c6022 = (C6022) obj;
                C6025 c6025 = (C6025) obj2;
                while (!z) {
                    try {
                        int iM9377 = c6022.m9377();
                        if (iM9377 != 0) {
                            if (iM9377 == 8) {
                                this.f15651 = c6022.m9371();
                            } else if (iM9377 == 18) {
                                C5360.C5362 c5362Mo9401 = this.f15652 != null ? this.f15652.mo9401() : null;
                                C5360 c5360 = (C5360) c6022.m9364(C5360.f15642.mo9402(), c6025);
                                this.f15652 = c5360;
                                if (c5362Mo9401 != null) {
                                    c5362Mo9401.m9404(c5360);
                                    this.f15652 = c5362Mo9401.m9406();
                                }
                            } else if (iM9377 == 26) {
                                this.f15653 = c6022.m9368();
                            } else if (iM9377 == 34) {
                                this.f15654 = c6022.m9368();
                            } else if (iM9377 == 42) {
                                this.f15655 = c6022.m9368();
                            } else if (iM9377 == 50) {
                                this.f15656 = c6022.m9368();
                            } else if (iM9377 == 58) {
                                this.f15657 = c6022.m9368();
                            } else if (iM9377 == 66) {
                                this.f15658 = c6022.m9368();
                            } else if (!c6022.m9374(iM9377)) {
                            }
                        }
                        z = true;
                    } catch (InvalidProtocolBufferException e) {
                        throw new RuntimeException(e);
                    } catch (IOException e2) {
                        throw new RuntimeException(new InvalidProtocolBufferException(e2.getMessage()));
                    }
                }
                break;
            case MAKE_IMMUTABLE:
                return null;
            case NEW_MUTABLE_INSTANCE:
                return new C5363();
            case NEW_BUILDER:
                return new C5365(c5364);
            case GET_DEFAULT_INSTANCE:
                break;
            case GET_PARSER:
                if (f15650 == null) {
                    synchronized (C5363.class) {
                        if (f15650 == null) {
                            f15650 = new AbstractC6028.C6031(f15649);
                        }
                        break;
                    }
                }
                return f15650;
            default:
                throw new UnsupportedOperationException();
        }
        return f15649;
    }

    @Override // p138.p176.p328.InterfaceC6049
    /* JADX INFO: renamed from: ֏ */
    public void mo8728(CodedOutputStream codedOutputStream) {
        int i = this.f15651;
        if (i != 0) {
            codedOutputStream.mo1455(1, i);
        }
        if (this.f15652 != null) {
            codedOutputStream.mo1454(2, m8789());
        }
        if (!this.f15653.isEmpty()) {
            codedOutputStream.mo1453(3, this.f15653);
        }
        if (!this.f15654.isEmpty()) {
            codedOutputStream.mo1453(4, this.f15654);
        }
        if (!this.f15655.isEmpty()) {
            codedOutputStream.mo1453(5, this.f15655);
        }
        if (!this.f15656.isEmpty()) {
            codedOutputStream.mo1453(6, this.f15656);
        }
        if (!this.f15657.isEmpty()) {
            codedOutputStream.mo1453(7, this.f15657);
        }
        if (this.f15658.isEmpty()) {
            return;
        }
        codedOutputStream.mo1453(8, this.f15658);
    }

    @Override // p138.p176.p328.InterfaceC6049
    /* JADX INFO: renamed from: ؠ */
    public int mo8729() {
        int i = this.f16914;
        if (i != -1) {
            return i;
        }
        int i2 = this.f15651;
        int iM1448 = i2 != 0 ? 0 + CodedOutputStream.m1448(1, i2) : 0;
        if (this.f15652 != null) {
            iM1448 += CodedOutputStream.m1444(2, m8789());
        }
        if (!this.f15653.isEmpty()) {
            iM1448 += CodedOutputStream.m1443(3, this.f15653);
        }
        if (!this.f15654.isEmpty()) {
            iM1448 += CodedOutputStream.m1443(4, this.f15654);
        }
        if (!this.f15655.isEmpty()) {
            iM1448 += CodedOutputStream.m1443(5, this.f15655);
        }
        if (!this.f15656.isEmpty()) {
            iM1448 += CodedOutputStream.m1443(6, this.f15656);
        }
        if (!this.f15657.isEmpty()) {
            iM1448 += CodedOutputStream.m1443(7, this.f15657);
        }
        if (!this.f15658.isEmpty()) {
            iM1448 += CodedOutputStream.m1443(8, this.f15658);
        }
        this.f16914 = iM1448;
        return iM1448;
    }

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public C5360 m8789() {
        C5360 c5360 = this.f15652;
        return c5360 == null ? C5360.f15642 : c5360;
    }
}
