package p138.p329.p346;

import com.hierynomus.protocol.commons.buffer.Buffer;
import p138.p139.p143.p144.C2803;
import p138.p176.p177.p242.p246.p251.C4303;
import p138.p329.p361.AbstractC6334;
import p138.p329.p361.C6332;

/* JADX INFO: renamed from: ދ.ށ.ބ.ތ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public class C6237 extends AbstractC6334<C6238, C6231> {

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

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

    /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
    public C6223 f17439;

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

    public C6237() {
        super(new C6231());
    }

    public C6237(int i, EnumC6222 enumC6222, EnumC6233 enumC6233, long j, long j2) {
        super(new C6231());
        this.f17437 = i;
        C6231 c6231 = (C6231) this.f17677;
        c6231.f17385 = enumC6222;
        c6231.f17389 = enumC6233;
        c6231.f17392 = j;
        c6231.f17393 = j2;
    }

    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(((C6231) this.f17677).f17389);
        sb.append(" with message id << ");
        return C2803.m4883(sb, ((C6231) this.f17677).f17390, " >>");
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void mo9506(C6332 c6332) {
        throw new UnsupportedOperationException("Should be implemented by specific message type");
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public int m9507() {
        return mo9556().f17386;
    }

    @Override // p138.p329.p351.InterfaceC6285
    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters and merged with bridge method [inline-methods] */
    public void mo9493(C6332 c6332) {
        C6231 c6231 = (C6231) this.f17677;
        if (c6231 == null) {
            throw null;
        }
        c6231.f17398 = c6332.f2171;
        c6332.m1463(new byte[]{-2, 83, 77, 66});
        c6332.f2169.mo9532((Buffer) c6332, 64);
        int iOrdinal = c6231.f17385.ordinal();
        if (iOrdinal == 0 || iOrdinal == 1) {
            c6332.m9555(2);
        } else {
            c6332.f2169.mo9532((Buffer) c6332, c6231.f17386);
        }
        if (c6231.f17385.m9498()) {
            c6332.m1463(new byte[]{0, 0});
            c6332.m9555(2);
            throw new UnsupportedOperationException("SMB 3.x not yet implemented");
        }
        c6332.m1463(C6332.f17676);
        c6332.f2169.mo9532((Buffer) c6332, c6231.f17389.f17426);
        c6332.f2169.mo9532((Buffer) c6332, c6231.f17387 + c6231.f17386);
        c6332.f2169.mo9533(c6332, c6231.f17395);
        c6332.f2169.mo9533(c6332, c6231.f17396);
        c6332.f2169.mo9529(c6332, c6231.f17390);
        if (C4303.m7122(c6231.f17395, EnumC6235.SMB2_FLAGS_ASYNC_COMMAND)) {
            c6332.f2169.mo9529(c6332, c6231.f17391);
        } else {
            c6332.m1463(C6332.f17676);
            c6332.f2169.mo9533(c6332, c6231.f17393);
        }
        c6332.f2169.mo9529(c6332, c6231.f17392);
        c6332.m1463(C6231.f17384);
        mo9509(c6332);
    }

    /* JADX INFO: renamed from: ހ */
    public int mo9504() {
        return 65536;
    }

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public void mo9509(C6332 c6332) {
        throw new UnsupportedOperationException("Should be implemented by specific message type");
    }

    /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
    public C6237 mo9510() {
        return this;
    }
}
