package defpackage;

import com.hierynomus.protocol.commons.buffer.Buffer$BufferException;
import java.util.ArrayList;

/* renamed from: ᵩᵻˎ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C3842 {

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public ArrayList f14303 = new ArrayList(20);

    /* renamed from: ˇʼʤˎ, reason: contains not printable characters */
    public void m8492(String str, String str2) {
        ᵕˏᵛ.ˁˑᵰ(str);
        ᵕˏᵛ.ﾞⁱ(str2, str);
        m8496(str);
        ᵕˏᵛ.ᵹᵝᵶ(this, str, str2);
    }

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public void m8493(C0663 c0663, C3702 c3702) throws Buffer$BufferException {
        String strM9337;
        ArrayList arrayList = this.f14303;
        long j = c0663.f3293;
        if (j == 3221225507L) {
            C4545 c4545 = new C4545();
            c3702.f16316.m7615(c3702);
            arrayList.add(c4545);
            return;
        }
        if (j == 2147483693L) {
            C4009 c4009 = new C4009();
            int iM9342 = c3702.f16314 + c3702.m9342();
            c3702.m9344(4);
            c3702.m9344(4);
            c3702.m9344(2);
            C3253 c3253 = c3702.f16316;
            c4009.f15074 = c3253.m7618(c3702);
            int iM7618 = c3253.m7618(c3702);
            int iM76182 = c3253.m7618(c3702);
            int iM76183 = c3253.m7618(c3702);
            int iM76184 = c3253.m7618(c3702);
            c4009.f15073 = c3253.m7615(c3702) == 0;
            int i = c3702.f16314;
            if (iM76182 > 0) {
                c3702.f16314 = iM7618 + i;
                strM9337 = c3702.m9337(iM76182 / 2, AbstractC5005.f18587);
            } else {
                strM9337 = null;
            }
            c3702.f16314 = i;
            c4009.f15072 = strM9337;
            if (iM76184 > 0) {
                c3702.f16314 = i + iM76183;
                c3702.m9337(iM76184 / 2, AbstractC5005.f18587);
            }
            c3702.f16314 = iM9342;
            arrayList.add(c4009);
        }
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public void m8494(String str, String str2) {
        ᵕˏᵛ.ˁˑᵰ(str);
        ᵕˏᵛ.ﾞⁱ(str2, str);
        ᵕˏᵛ.ᵹᵝᵶ(this, str, str2);
    }

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public C2609 m8495() {
        return new C2609((String[]) this.f14303.toArray(new String[0]));
    }

    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public void m8496(String str) {
        ArrayList arrayList = this.f14303;
        int i = 0;
        while (i < arrayList.size()) {
            if (str.equalsIgnoreCase((String) arrayList.get(i))) {
                arrayList.remove(i);
                arrayList.remove(i);
                i -= 2;
            }
            i += 2;
        }
    }
}
