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.C5253;
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 C5245 extends AbstractC6028<C5245, C5247> implements InterfaceC5252 {

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

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

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

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

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

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

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

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

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

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

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

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

        static {
            int[] iArr = new int[AbstractC6028.EnumC6039.values().length];
            f15483 = iArr;
            try {
                AbstractC6028.EnumC6039 enumC6039 = AbstractC6028.EnumC6039.NEW_MUTABLE_INSTANCE;
                iArr[4] = 1;
            } catch (NoSuchFieldError unused) {
            }
            try {
                int[] iArr2 = f15483;
                AbstractC6028.EnumC6039 enumC60392 = AbstractC6028.EnumC6039.IS_INITIALIZED;
                iArr2[0] = 2;
            } catch (NoSuchFieldError unused2) {
            }
            try {
                int[] iArr3 = f15483;
                AbstractC6028.EnumC6039 enumC60393 = AbstractC6028.EnumC6039.MAKE_IMMUTABLE;
                iArr3[3] = 3;
            } catch (NoSuchFieldError unused3) {
            }
            try {
                int[] iArr4 = f15483;
                AbstractC6028.EnumC6039 enumC60394 = AbstractC6028.EnumC6039.NEW_BUILDER;
                iArr4[5] = 4;
            } catch (NoSuchFieldError unused4) {
            }
            try {
                int[] iArr5 = f15483;
                AbstractC6028.EnumC6039 enumC60395 = AbstractC6028.EnumC6039.VISIT;
                iArr5[1] = 5;
            } catch (NoSuchFieldError unused5) {
            }
            try {
                int[] iArr6 = f15483;
                AbstractC6028.EnumC6039 enumC60396 = AbstractC6028.EnumC6039.MERGE_FROM_STREAM;
                iArr6[2] = 6;
            } catch (NoSuchFieldError unused6) {
            }
            try {
                int[] iArr7 = f15483;
                AbstractC6028.EnumC6039 enumC60397 = AbstractC6028.EnumC6039.GET_DEFAULT_INSTANCE;
                iArr7[6] = 7;
            } catch (NoSuchFieldError unused7) {
            }
            try {
                int[] iArr8 = f15483;
                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 C5247 extends AbstractC6028.AbstractC6030<C5245, C5247> implements InterfaceC5252 {
        public C5247() {
            super(C5245.f15473);
        }

        public /* synthetic */ C5247(C5246 c5246) {
            super(C5245.f15473);
        }
    }

    static {
        C5245 c5245 = new C5245();
        f15473 = c5245;
        c5245.mo9398();
    }

    public C5245() {
        AbstractC6013 abstractC6013 = AbstractC6013.f16886;
        this.f15477 = abstractC6013;
        this.f15478 = abstractC6013;
        this.f15479 = abstractC6013;
        this.f15480 = abstractC6013;
        this.f15481 = abstractC6013;
        this.f15482 = abstractC6013;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static /* synthetic */ void m8720(C5245 c5245, C5253 c5253) {
        if (c5253 == null) {
            throw null;
        }
        c5245.f15476 = c5253;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static /* synthetic */ void m8721(C5245 c5245, AbstractC6013 abstractC6013) {
        if (abstractC6013 == null) {
            throw null;
        }
        c5245.f15479 = abstractC6013;
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public static /* synthetic */ void m8722(C5245 c5245, AbstractC6013 abstractC6013) {
        if (abstractC6013 == null) {
            throw null;
        }
        c5245.f15480 = abstractC6013;
    }

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public static /* synthetic */ void m8723(C5245 c5245, AbstractC6013 abstractC6013) {
        if (abstractC6013 == null) {
            throw null;
        }
        c5245.f15481 = abstractC6013;
    }

    /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
    public static /* synthetic */ void m8724(C5245 c5245, AbstractC6013 abstractC6013) {
        if (abstractC6013 == null) {
            throw null;
        }
        c5245.f15482 = abstractC6013;
    }

    /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
    public static /* synthetic */ void m8725(C5245 c5245, AbstractC6013 abstractC6013) {
        if (abstractC6013 == null) {
            throw null;
        }
        c5245.f15477 = abstractC6013;
    }

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public static /* synthetic */ void m8726(C5245 c5245, AbstractC6013 abstractC6013) {
        if (abstractC6013 == null) {
            throw null;
        }
        c5245.f15478 = abstractC6013;
    }

    @Override // p138.p176.p328.AbstractC6028
    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final Object mo8727(AbstractC6028.EnumC6039 enumC6039, Object obj, Object obj2) {
        C5246 c5246 = null;
        switch (enumC6039) {
            case IS_INITIALIZED:
                return f15473;
            case VISIT:
                AbstractC6028.InterfaceC6040 interfaceC6040 = (AbstractC6028.InterfaceC6040) obj;
                C5245 c5245 = (C5245) obj2;
                this.f15475 = interfaceC6040.mo9409(this.f15475 != 0, this.f15475, c5245.f15475 != 0, c5245.f15475);
                this.f15476 = (C5253) interfaceC6040.mo9414(this.f15476, c5245.f15476);
                this.f15477 = interfaceC6040.mo9411(this.f15477 != AbstractC6013.f16886, this.f15477, c5245.f15477 != AbstractC6013.f16886, c5245.f15477);
                this.f15478 = interfaceC6040.mo9411(this.f15478 != AbstractC6013.f16886, this.f15478, c5245.f15478 != AbstractC6013.f16886, c5245.f15478);
                this.f15479 = interfaceC6040.mo9411(this.f15479 != AbstractC6013.f16886, this.f15479, c5245.f15479 != AbstractC6013.f16886, c5245.f15479);
                this.f15480 = interfaceC6040.mo9411(this.f15480 != AbstractC6013.f16886, this.f15480, c5245.f15480 != AbstractC6013.f16886, c5245.f15480);
                this.f15481 = interfaceC6040.mo9411(this.f15481 != AbstractC6013.f16886, this.f15481, c5245.f15481 != AbstractC6013.f16886, c5245.f15481);
                this.f15482 = interfaceC6040.mo9411(this.f15482 != AbstractC6013.f16886, this.f15482, c5245.f15482 != AbstractC6013.f16886, c5245.f15482);
                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.f15475 = c6022.m9371();
                            } else if (iM9377 == 18) {
                                C5253.C5255 c5255Mo9401 = this.f15476 != null ? this.f15476.mo9401() : null;
                                C5253 c5253 = (C5253) c6022.m9364(C5253.f15484.mo9402(), c6025);
                                this.f15476 = c5253;
                                if (c5255Mo9401 != null) {
                                    c5255Mo9401.m9404(c5253);
                                    this.f15476 = c5255Mo9401.m9406();
                                }
                            } else if (iM9377 == 26) {
                                this.f15477 = c6022.m9368();
                            } else if (iM9377 == 34) {
                                this.f15478 = c6022.m9368();
                            } else if (iM9377 == 42) {
                                this.f15479 = c6022.m9368();
                            } else if (iM9377 == 50) {
                                this.f15480 = c6022.m9368();
                            } else if (iM9377 == 58) {
                                this.f15481 = c6022.m9368();
                            } else if (iM9377 == 66) {
                                this.f15482 = 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 C5245();
            case NEW_BUILDER:
                return new C5247(c5246);
            case GET_DEFAULT_INSTANCE:
                break;
            case GET_PARSER:
                if (f15474 == null) {
                    synchronized (C5245.class) {
                        if (f15474 == null) {
                            f15474 = new AbstractC6028.C6031(f15473);
                        }
                        break;
                    }
                }
                return f15474;
            default:
                throw new UnsupportedOperationException();
        }
        return f15473;
    }

    @Override // p138.p176.p328.InterfaceC6049
    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void mo8728(CodedOutputStream codedOutputStream) {
        int i = this.f15475;
        if (i != 0) {
            codedOutputStream.mo1455(1, i);
        }
        if (this.f15476 != null) {
            codedOutputStream.mo1454(2, m8730());
        }
        if (!this.f15477.isEmpty()) {
            codedOutputStream.mo1453(3, this.f15477);
        }
        if (!this.f15478.isEmpty()) {
            codedOutputStream.mo1453(4, this.f15478);
        }
        if (!this.f15479.isEmpty()) {
            codedOutputStream.mo1453(5, this.f15479);
        }
        if (!this.f15480.isEmpty()) {
            codedOutputStream.mo1453(6, this.f15480);
        }
        if (!this.f15481.isEmpty()) {
            codedOutputStream.mo1453(7, this.f15481);
        }
        if (this.f15482.isEmpty()) {
            return;
        }
        codedOutputStream.mo1453(8, this.f15482);
    }

    @Override // p138.p176.p328.InterfaceC6049
    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public int mo8729() {
        int i = this.f16914;
        if (i != -1) {
            return i;
        }
        int i2 = this.f15475;
        int iM1448 = i2 != 0 ? 0 + CodedOutputStream.m1448(1, i2) : 0;
        if (this.f15476 != null) {
            iM1448 += CodedOutputStream.m1444(2, m8730());
        }
        if (!this.f15477.isEmpty()) {
            iM1448 += CodedOutputStream.m1443(3, this.f15477);
        }
        if (!this.f15478.isEmpty()) {
            iM1448 += CodedOutputStream.m1443(4, this.f15478);
        }
        if (!this.f15479.isEmpty()) {
            iM1448 += CodedOutputStream.m1443(5, this.f15479);
        }
        if (!this.f15480.isEmpty()) {
            iM1448 += CodedOutputStream.m1443(6, this.f15480);
        }
        if (!this.f15481.isEmpty()) {
            iM1448 += CodedOutputStream.m1443(7, this.f15481);
        }
        if (!this.f15482.isEmpty()) {
            iM1448 += CodedOutputStream.m1443(8, this.f15482);
        }
        this.f16914 = iM1448;
        return iM1448;
    }

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public C5253 m8730() {
        C5253 c5253 = this.f15476;
        return c5253 == null ? C5253.f15484 : c5253;
    }
}
