package p138.p329.p346;

import com.hierynomus.protocol.commons.buffer.Buffer;
import java.util.ArrayList;
import java.util.List;
import p138.p329.p341.EnumC6158;
import p138.p329.p351.p352.C6288;
import p138.p329.p361.C6332;

/* JADX INFO: renamed from: ދ.ށ.ބ.ނ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public class C6223 {

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public List<InterfaceC6226> f17368 = new ArrayList();

    /* JADX INFO: renamed from: ދ.ށ.ބ.ނ$ؠ, reason: contains not printable characters */
    public static class C6225 implements InterfaceC6226 {
        public /* synthetic */ C6225(C6224 c6224) {
        }
    }

    /* JADX INFO: renamed from: ދ.ށ.ބ.ނ$ހ, reason: contains not printable characters */
    public interface InterfaceC6226 {
    }

    /* JADX INFO: renamed from: ދ.ށ.ބ.ނ$ށ, reason: contains not printable characters */
    public static class C6227 implements InterfaceC6226 {

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public boolean f17369;

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

        /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
        public String f17371;

        public C6227() {
        }

        public /* synthetic */ C6227(C6224 c6224) {
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public final String m9500(C6332 c6332, int i, int i2) throws Buffer.BufferException {
            int i3 = c6332.f2170;
            String strM1466 = null;
            if (i2 > 0) {
                c6332.f2170 = i + i3;
                strM1466 = c6332.m1466(C6288.f17630, i2 / 2);
            }
            c6332.f2170 = i3;
            return strM1466;
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final void m9499(C6231 c6231, C6332 c6332) throws Buffer.BufferException {
        long j = c6231.f17394;
        C6224 c6224 = null;
        if (j == EnumC6158.STATUS_BUFFER_TOO_SMALL.f17193) {
            List<InterfaceC6226> list = this.f17368;
            C6225 c6225 = new C6225(c6224);
            c6332.m1476();
            list.add(c6225);
            return;
        }
        if (j == EnumC6158.STATUS_STOPPED_ON_SYMLINK.f17193) {
            List<InterfaceC6226> list2 = this.f17368;
            C6227 c6227 = new C6227(c6224);
            int iM1477 = c6332.f2170 + c6332.m1477();
            c6332.m1473(4);
            c6332.m1473(4);
            c6332.m1473(2);
            c6227.f17370 = c6332.m1475();
            int iM1475 = c6332.m1475();
            int iM14752 = c6332.m1475();
            int iM14753 = c6332.m1475();
            int iM14754 = c6332.m1475();
            c6227.f17369 = c6332.m1476() == 0;
            c6227.f17371 = c6227.m9500(c6332, iM1475, iM14752);
            c6227.m9500(c6332, iM14753, iM14754);
            c6332.f2170 = iM1477;
            list2.add(c6227);
        }
    }
}
