	.file	"extr_smb_rq.c_smb_t2_request_int.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d:%d:%d\n"
	.text
	.p2align 4
	.type	smb_t2_request_int, @function
smb_t2_request_int:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 104
	.cfi_def_cfa_offset 160
	mov	rsi, QWORD PTR 88[rdi]
	mov	r12, QWORD PTR 96[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 88[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 104[rdi]
	mov	QWORD PTR 72[rsp], rsi
	mov	QWORD PTR 16[rsp], rax
	test	rsi, rsi
	je	.L38
	lea	rdi, 56[rsp]
	call	md_initm@PLT
	mov	rdi, QWORD PTR 72[rsp]
	call	m_fixhdr@PLT
	mov	DWORD PTR 8[rsp], eax
	cmp	eax, 65535
	jg	.L68
	mov	rsi, QWORD PTR 80[rbx]
	mov	QWORD PTR 72[rsp], rsi
	test	rsi, rsi
	je	.L39
.L73:
	lea	rdi, 64[rsp]
	call	md_initm@PLT
	mov	rdi, QWORD PTR 72[rsp]
	call	m_fixhdr@PLT
	mov	DWORD PTR 12[rsp], eax
	cmp	eax, 65535
	jg	.L68
.L4:
	mov	rax, QWORD PTR 16[rsp]
	cmp	QWORD PTR 56[rbx], 0
	mov	esi, DWORD PTR SMB_COM_TRANSACTION2[rip]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 24[rsp], eax
	je	.L6
	mov	esi, DWORD PTR SMB_COM_TRANSACTION[rip]
.L6:
	mov	edi, DWORD PTR 72[rbx]
	lea	rcx, 80[rsp]
	mov	rdx, r12
	call	smb_rq_alloc@PLT
	mov	r15d, eax
	test	eax, eax
	jne	.L1
	mov	rdi, QWORD PTR 80[rsp]
	mov	eax, DWORD PTR SMBR_MULTIPACKET[rip]
	or	DWORD PTR [rdi], eax
	lea	rbp, 8[rdi]
	mov	QWORD PTR 64[rbx], rdi
	mov	QWORD PTR 16[rdi], rbx
	call	smb_rq_wstart@PLT
	mov	esi, DWORD PTR 8[rsp]
	mov	rdi, rbp
	call	mb_put_uint16le@PLT
	mov	esi, DWORD PTR 12[rsp]
	mov	rdi, rbp
	call	mb_put_uint16le@PLT
	mov	esi, DWORD PTR [rbx]
	mov	rdi, rbp
	call	mb_put_uint16le@PLT
	mov	esi, DWORD PTR 4[rbx]
	mov	rdi, rbp
	call	mb_put_uint16le@PLT
	mov	esi, DWORD PTR 8[rbx]
	mov	rdi, rbp
	call	mb_put_uint8@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	mb_put_uint8@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	mb_put_uint16le@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	mb_put_uint32le@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	mb_put_uint16le@PLT
	mov	rdi, rbp
	call	mb_fixhdr@PLT
	mov	rdi, QWORD PTR 56[rbx]
	mov	DWORD PTR 28[rsp], 0
	mov	r12d, eax
	test	rdi, rdi
	je	.L7
	call	strlen@PLT
	mov	DWORD PTR 28[rsp], eax
.L7:
	mov	eax, DWORD PTR 12[rbx]
	mov	ecx, DWORD PTR 28[rsp]
	lea	eax, 12[r12+rax*2]
	lea	edi, 1[rcx+rax]
	call	ALIGN4@PLT
	mov	r15d, eax
	mov	eax, DWORD PTR 8[rsp]
	lea	edi, [rax+r15]
	cmp	edi, DWORD PTR 24[rsp]
	jg	.L70
	mov	r14d, DWORD PTR 8[rsp]
	mov	eax, 0
	test	r14d, r14d
	cmove	r15d, eax
	call	ALIGN4@PLT
	mov	esi, DWORD PTR 24[rsp]
	mov	r12d, DWORD PTR 12[rsp]
	mov	DWORD PTR 32[rsp], eax
	sub	esi, eax
	mov	edi, r12d
	call	min@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L71
	mov	eax, DWORD PTR 12[rsp]
	mov	r14d, DWORD PTR 8[rsp]
	xor	r12d, r12d
	xor	r8d, r8d
	mov	DWORD PTR 36[rsp], eax
.L9:
	mov	esi, r14d
	mov	rdi, rbp
	mov	DWORD PTR 32[rsp], r8d
	call	mb_put_uint16le@PLT
	mov	esi, r15d
	mov	rdi, rbp
	xor	r15d, r15d
	call	mb_put_uint16le@PLT
	mov	esi, r13d
	mov	rdi, rbp
	call	mb_put_uint16le@PLT
	mov	r8d, DWORD PTR 32[rsp]
	mov	rdi, rbp
	mov	esi, r8d
	call	mb_put_uint16le@PLT
	mov	esi, DWORD PTR 12[rbx]
	mov	rdi, rbp
	call	mb_put_uint8@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	mb_put_uint8@PLT
	mov	eax, DWORD PTR 12[rbx]
	test	eax, eax
	jle	.L14
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rax, QWORD PTR 16[rbx]
	mov	rdi, rbp
	mov	esi, DWORD PTR [rax+r15*4]
	add	r15, 1
	call	mb_put_uint16le@PLT
	cmp	DWORD PTR 12[rbx], r15d
	jg	.L11
.L14:
	mov	rdi, QWORD PTR 80[rsp]
	call	smb_rq_wend@PLT
	mov	rdi, QWORD PTR 80[rsp]
	call	smb_rq_bstart@PLT
	mov	rsi, QWORD PTR 56[rbx]
	test	rsi, rsi
	je	.L13
	mov	ecx, DWORD PTR MB_MSYSTEM[rip]
	mov	edx, DWORD PTR 28[rsp]
	mov	rdi, rbp
	call	mb_put_mem@PLT
.L13:
	xor	esi, esi
	mov	rdi, rbp
	call	mb_put_uint8@PLT
	mov	rdi, rbp
	call	mb_fixhdr@PLT
	mov	r15d, eax
	test	r14d, r14d
	je	.L15
	mov	ecx, DWORD PTR MB_MZERO[rip]
	mov	edi, eax
	mov	DWORD PTR 28[rsp], ecx
	call	ALIGN4@PLT
	mov	ecx, DWORD PTR 28[rsp]
	xor	esi, esi
	mov	rdi, rbp
	sub	eax, r15d
	mov	edx, eax
	call	mb_put_mem@PLT
	lea	rdx, 72[rsp]
	lea	rdi, 56[rsp]
	mov	esi, r14d
	call	md_get_mbuf@PLT
	mov	ecx, DWORD PTR 24[rsp]
	mov	edx, r14d
	lea	rdi, .LC0[rip]
	mov	r15d, eax
	mov	esi, eax
	call	SMBSDEBUG@PLT
	test	r15d, r15d
	jne	.L16
	mov	rsi, QWORD PTR 72[rsp]
	mov	rdi, rbp
	call	mb_put_mbuf@PLT
.L15:
	mov	rdi, rbp
	call	mb_fixhdr@PLT
	mov	r14d, eax
	test	r13d, r13d
	je	.L17
	mov	edi, eax
	mov	r15d, DWORD PTR MB_MZERO[rip]
	call	ALIGN4@PLT
	xor	esi, esi
	mov	rdi, rbp
	sub	eax, r14d
	mov	ecx, r15d
	mov	edx, eax
	call	mb_put_mem@PLT
	lea	rdx, 72[rsp]
	lea	rdi, 64[rsp]
	mov	esi, r13d
	call	md_get_mbuf@PLT
	mov	r15d, eax
	test	eax, eax
	jne	.L16
	mov	rsi, QWORD PTR 72[rsp]
	mov	rdi, rbp
	call	mb_put_mbuf@PLT
.L17:
	mov	rdi, QWORD PTR 80[rsp]
	call	smb_rq_bend@PLT
	mov	rdi, QWORD PTR 80[rsp]
	call	smb_rq_enqueue@PLT
	mov	r15d, eax
	test	eax, eax
	jne	.L16
	mov	eax, DWORD PTR 36[rsp]
	or	eax, r12d
	jne	.L18
	mov	eax, DWORD PTR SMBT2_ALLSENT[rip]
	or	DWORD PTR 48[rbx], eax
	mov	rdi, rbx
	call	smb_t2_reply@PLT
	test	eax, eax
	je	.L33
.L49:
	mov	r15d, eax
.L19:
	mov	rdi, QWORD PTR 80[rsp]
	call	smb_iod_removerq@PLT
.L16:
	mov	rdi, QWORD PTR 80[rsp]
	call	smb_rq_done@PLT
	mov	rax, QWORD PTR 80[rsp]
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR SMBR_RESTART[rip], eax
	je	.L36
	mov	eax, DWORD PTR SMBT2_RESTART[rip]
	or	DWORD PTR 48[rbx], eax
.L36:
	lea	rdi, 40[rbx]
	call	md_done@PLT
	lea	rdi, 32[rbx]
	call	md_done@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L39:
	mov	DWORD PTR 12[rsp], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L68:
	mov	r15d, DWORD PTR EINVAL[rip]
.L1:
	mov	rax, QWORD PTR 88[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L72
	add	rsp, 104
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r15d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L38:
	.cfi_restore_state
	mov	rsi, QWORD PTR 80[rbx]
	mov	DWORD PTR 8[rsp], 0
	mov	QWORD PTR 72[rsp], rsi
	test	rsi, rsi
	jne	.L73
	jmp	.L39
	.p2align 4,,10
	.p2align 3
.L71:
	sub	r12d, eax
	mov	r8d, DWORD PTR 32[rsp]
	mov	DWORD PTR 36[rsp], r12d
	xor	r12d, r12d
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L70:
	mov	esi, DWORD PTR 24[rsp]
	mov	edi, eax
	mov	r13d, eax
	sub	esi, r15d
	call	min@PLT
	xor	r8d, r8d
	sub	r13d, eax
	mov	r14d, eax
	mov	eax, DWORD PTR 12[rsp]
	mov	r12d, r13d
	xor	r13d, r13d
	mov	DWORD PTR 36[rsp], eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdi, rbx
	call	smb_t2_reply@PLT
	test	eax, eax
	jne	.L49
	mov	DWORD PTR 44[rsp], r15d
	mov	r14d, DWORD PTR 36[rsp]
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L78:
	mov	eax, r14d
	mov	r9d, DWORD PTR 36[rsp]
	mov	r15d, r12d
	sub	eax, r13d
	mov	DWORD PTR 40[rsp], eax
.L27:
	mov	esi, r15d
	mov	rdi, rbp
	mov	DWORD PTR 36[rsp], r9d
	mov	DWORD PTR 32[rsp], r8d
	call	mb_put_uint16le@PLT
	mov	r8d, DWORD PTR 32[rsp]
	mov	rdi, rbp
	mov	esi, r8d
	call	mb_put_uint16le@PLT
	mov	esi, DWORD PTR 8[rsp]
	mov	rdi, rbp
	sub	esi, r12d
	call	mb_put_uint16le@PLT
	mov	esi, r13d
	mov	rdi, rbp
	call	mb_put_uint16le@PLT
	mov	r9d, DWORD PTR 36[rsp]
	mov	rdi, rbp
	mov	esi, r9d
	call	mb_put_uint16le@PLT
	mov	esi, DWORD PTR 12[rsp]
	mov	rdi, rbp
	sub	esi, r14d
	call	mb_put_uint16le@PLT
	cmp	QWORD PTR 56[rbx], 0
	je	.L74
.L29:
	mov	rdi, QWORD PTR 80[rsp]
	call	smb_rq_wend@PLT
	mov	rdi, QWORD PTR 80[rsp]
	call	smb_rq_bstart@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	mb_put_uint8@PLT
	mov	rdi, rbp
	call	mb_fixhdr@PLT
	mov	r12d, eax
	test	r15d, r15d
	je	.L30
	mov	edi, eax
	mov	r14d, DWORD PTR MB_MZERO[rip]
	call	ALIGN4@PLT
	xor	esi, esi
	mov	rdi, rbp
	sub	eax, r12d
	mov	ecx, r14d
	mov	edx, eax
	call	mb_put_mem@PLT
	lea	rdx, 72[rsp]
	lea	rdi, 56[rsp]
	mov	esi, r15d
	call	md_get_mbuf@PLT
	test	eax, eax
	jne	.L49
	mov	rsi, QWORD PTR 72[rsp]
	mov	rdi, rbp
	call	mb_put_mbuf@PLT
.L30:
	mov	rdi, rbp
	call	mb_fixhdr@PLT
	mov	r12d, eax
	test	r13d, r13d
	je	.L31
	mov	edi, eax
	mov	r14d, DWORD PTR MB_MZERO[rip]
	call	ALIGN4@PLT
	xor	esi, esi
	mov	rdi, rbp
	sub	eax, r12d
	mov	ecx, r14d
	mov	edx, eax
	call	mb_put_mem@PLT
	lea	rdx, 72[rsp]
	lea	rdi, 64[rsp]
	mov	esi, r13d
	call	md_get_mbuf@PLT
	test	eax, eax
	jne	.L49
	mov	rsi, QWORD PTR 72[rsp]
	mov	rdi, rbp
	call	mb_put_mbuf@PLT
.L31:
	mov	rdi, QWORD PTR 80[rsp]
	call	smb_rq_bend@PLT
	mov	rax, QWORD PTR 80[rsp]
	mov	edx, DWORD PTR SMBRQ_NOTSENT[rip]
	mov	esi, DWORD PTR SMBIOD_EV_NEWRQ[rip]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR 16[rsp]
	xor	edx, edx
	mov	edi, DWORD PTR 4[rax]
	call	smb_iod_request@PLT
	test	eax, eax
	jne	.L49
	mov	r14d, DWORD PTR 40[rsp]
	mov	r12d, DWORD PTR 28[rsp]
.L22:
	mov	ecx, r12d
	mov	eax, DWORD PTR 48[rbx]
	or	ecx, r14d
	je	.L75
	or	eax, DWORD PTR SMBT2_SECONDARY[rip]
	cmp	QWORD PTR 56[rbx], 0
	mov	DWORD PTR 48[rbx], eax
	mov	esi, DWORD PTR SMB_COM_TRANSACTION2_SECONDARY[rip]
	je	.L24
	mov	esi, DWORD PTR SMB_COM_TRANSACTION_SECONDARY[rip]
.L24:
	mov	rdi, QWORD PTR 80[rsp]
	call	smb_rq_new@PLT
	mov	DWORD PTR 28[rsp], eax
	test	eax, eax
	jne	.L45
	mov	rdi, QWORD PTR 80[rsp]
	lea	rbp, 8[rdi]
	call	smb_rq_wstart@PLT
	mov	esi, DWORD PTR 8[rsp]
	mov	rdi, rbp
	call	mb_put_uint16le@PLT
	mov	esi, DWORD PTR 12[rsp]
	mov	rdi, rbp
	call	mb_put_uint16le@PLT
	mov	rdi, rbp
	call	mb_fixhdr@PLT
	lea	edi, 14[rax]
	call	ALIGN4@PLT
	cmp	QWORD PTR 56[rbx], 0
	mov	r8d, eax
	je	.L76
.L25:
	lea	edi, [r12+r8]
	cmp	edi, DWORD PTR 24[rsp]
	jg	.L77
	test	r12d, r12d
	mov	eax, 0
	cmove	r8d, eax
	mov	DWORD PTR 32[rsp], r8d
	call	ALIGN4@PLT
	mov	esi, DWORD PTR 24[rsp]
	mov	edi, r14d
	mov	DWORD PTR 36[rsp], eax
	sub	esi, eax
	call	min@PLT
	mov	r8d, DWORD PTR 32[rsp]
	test	eax, eax
	mov	r13d, eax
	jne	.L78
	mov	DWORD PTR 40[rsp], r14d
	mov	r15d, r12d
	xor	r9d, r9d
	mov	DWORD PTR 28[rsp], 0
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L77:
	mov	esi, DWORD PTR 24[rsp]
	mov	edi, r12d
	mov	DWORD PTR 32[rsp], r8d
	xor	r13d, r13d
	sub	esi, r8d
	call	min@PLT
	mov	DWORD PTR 40[rsp], r14d
	mov	r8d, DWORD PTR 32[rsp]
	xor	r9d, r9d
	mov	r15d, eax
	mov	eax, r12d
	sub	eax, r15d
	mov	DWORD PTR 28[rsp], eax
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L76:
	add	r8d, 2
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L74:
	mov	esi, DWORD PTR 24[rbx]
	mov	rdi, rbp
	call	mb_put_uint16le@PLT
	jmp	.L29
.L75:
	mov	r15d, DWORD PTR 44[rsp]
.L33:
	mov	rdi, QWORD PTR 32[rbx]
	mov	eax, DWORD PTR SMBT2_ALLSENT[rip]
	or	DWORD PTR 48[rbx], eax
	test	rdi, rdi
	je	.L21
	call	m_fixhdr@PLT
	mov	rsi, QWORD PTR 32[rbx]
	lea	rdi, 32[rbx]
	call	md_initm@PLT
.L21:
	mov	rdi, QWORD PTR 40[rbx]
	test	rdi, rdi
	je	.L67
	call	m_fixhdr@PLT
	mov	rsi, QWORD PTR 40[rbx]
	lea	rdi, 40[rbx]
	call	md_initm@PLT
.L67:
	mov	rdi, QWORD PTR 80[rsp]
	call	smb_iod_removerq@PLT
	mov	rdi, QWORD PTR 80[rsp]
	call	smb_rq_done@PLT
	jmp	.L1
.L45:
	mov	r15d, DWORD PTR 28[rsp]
	jmp	.L19
.L72:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	smb_t2_request_int, .-smb_t2_request_int
	.comm	SMB_COM_TRANSACTION_SECONDARY,4,4
	.comm	SMB_COM_TRANSACTION2_SECONDARY,4,4
	.comm	SMB_COM_TRANSACTION2,4,4
	.comm	SMB_COM_TRANSACTION,4,4
	.comm	SMBT2_SECONDARY,4,4
	.comm	SMBT2_RESTART,4,4
	.comm	SMBT2_ALLSENT,4,4
	.comm	SMBR_RESTART,4,4
	.comm	SMBR_MULTIPACKET,4,4
	.comm	SMBRQ_NOTSENT,4,4
	.comm	SMBIOD_EV_NEWRQ,4,4
	.comm	MB_MZERO,4,4
	.comm	MB_MSYSTEM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_smb_rq.c_smb_t2_request_int.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%d:%d:%d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	smb_t2_request_int, %function
smb_t2_request_int:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L75
	sub	sp, sp, #60
	ldr	r1, [r0, #52]
	ldr	r3, [r3]
	str	r3, [sp, #52]
	mov	r3,#0
	ldr	r3, [r0, #60]
	cmp	r1, #0
	mov	r4, r0
	ldr	r5, [r0, #56]
	str	r1, [sp, #44]
	str	r3, [sp, #8]
	beq	.L38
	add	r0, sp, #36
	bl	md_initm
	ldr	r0, [sp, #44]
	bl	m_fixhdr
	cmp	r0, #65536
	mov	fp, r0
	bge	.L66
	ldr	r1, [r4, #48]
	cmp	r1, #0
	str	r1, [sp, #44]
	beq	.L39
.L72:
	add	r0, sp, #40
	bl	md_initm
	ldr	r0, [sp, #44]
	bl	m_fixhdr
	cmp	r0, #65536
	mov	r9, r0
	bge	.L66
.L4:
	ldr	r3, [r4, #36]
	ldr	r2, [sp, #8]
	cmp	r3, #0
	ldrne	r3, .L75+4
	ldreq	r3, .L75+8
	ldr	r2, [r2]
	ldr	r1, [r3]
	str	r2, [sp, #4]
	ldr	r0, [r4, #44]
	mov	r2, r5
	add	r3, sp, #48
	bl	smb_rq_alloc
	subs	r5, r0, #0
	bne	.L1
	ldr	r0, [sp, #48]
	ldr	r2, .L75+12
	ldr	r3, [r0]
	ldr	r2, [r2]
	add	r6, r0, #8
	orr	r3, r3, r2
	str	r3, [r0]
	str	r0, [r4, #40]
	str	r4, [r0, #12]
	bl	smb_rq_wstart
	mov	r1, fp
	mov	r0, r6
	bl	mb_put_uint16le
	mov	r1, r9
	mov	r0, r6
	bl	mb_put_uint16le
	ldr	r1, [r4]
	mov	r0, r6
	bl	mb_put_uint16le
	ldr	r1, [r4, #4]
	mov	r0, r6
	bl	mb_put_uint16le
	ldr	r1, [r4, #8]
	mov	r0, r6
	bl	mb_put_uint8
	mov	r1, r5
	mov	r0, r6
	bl	mb_put_uint8
	mov	r1, r5
	mov	r0, r6
	bl	mb_put_uint16le
	mov	r1, r5
	mov	r0, r6
	bl	mb_put_uint32le
	mov	r1, r5
	mov	r0, r6
	bl	mb_put_uint16le
	mov	r0, r6
	bl	mb_fixhdr
	ldr	r3, [r4, #36]
	mov	r7, r0
	cmp	r3, #0
	streq	r5, [sp, #12]
	beq	.L7
	mov	r0, r3
	bl	strlen
	str	r0, [sp, #12]
.L7:
	ldr	r0, [r4, #12]
	ldr	r3, [sp, #12]
	add	r0, r7, r0, lsl #1
	add	r0, r3, r0
	add	r0, r0, #13
	bl	ALIGN4
	ldr	r2, [sp, #4]
	mov	r3, r0
	add	r0, fp, r0
	cmp	r0, r2
	bgt	.L68
	cmp	fp, #0
	moveq	r3, #0
	str	r3, [sp, #16]
	str	r3, [sp, #20]
	bl	ALIGN4
	mov	r2, r0
	ldr	r3, [sp, #4]
	mov	r0, r9
	sub	r1, r3, r2
	str	r2, [sp, #20]
	bl	min
	subs	r8, r0, #0
	movne	r7, #0
	movne	r10, fp
	moveq	r7, r8
	moveq	r10, fp
	moveq	r2, r8
	subne	r2, r9, r8
	strne	r2, [sp, #24]
	ldr	r3, [sp, #16]
	ldrne	r2, [sp, #20]
	streq	r9, [sp, #24]
.L9:
	mov	r1, r10
	mov	r0, r6
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	bl	mb_put_uint16le
	ldr	r3, [sp, #20]
	mov	r0, r6
	mov	r1, r3
	bl	mb_put_uint16le
	mov	r1, r8
	mov	r0, r6
	bl	mb_put_uint16le
	ldr	r2, [sp, #16]
	mov	r0, r6
	mov	r1, r2
	bl	mb_put_uint16le
	ldr	r1, [r4, #12]
	mov	r0, r6
	bl	mb_put_uint8
	mov	r1, #0
	mov	r0, r6
	bl	mb_put_uint8
	ldr	r3, [r4, #12]
	cmp	r3, #0
	ble	.L14
.L11:
	ldr	r3, [r4, #16]
	mov	r0, r6
	ldr	r1, [r3, r5, lsl #2]
	bl	mb_put_uint16le
	ldr	r3, [r4, #12]
	add	r5, r5, #1
	cmp	r3, r5
	bgt	.L11
.L14:
	ldr	r0, [sp, #48]
	bl	smb_rq_wend
	ldr	r0, [sp, #48]
	bl	smb_rq_bstart
	ldr	r1, [r4, #36]
	cmp	r1, #0
	beq	.L13
	ldr	r3, .L75+16
	mov	r0, r6
	ldr	r2, [sp, #12]
	ldr	r3, [r3]
	bl	mb_put_mem
.L13:
	mov	r1, #0
	mov	r0, r6
	bl	mb_put_uint8
	mov	r0, r6
	bl	mb_fixhdr
	cmp	r10, #0
	mov	r5, r0
	beq	.L15
	bl	ALIGN4
	ldr	r3, .L75+20
	sub	r2, r0, r5
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r6
	bl	mb_put_mem
	mov	r1, r10
	add	r2, sp, #44
	add	r0, sp, #36
	bl	md_get_mbuf
	mov	r5, r0
	mov	r1, r0
	mov	r2, r10
	ldr	r3, [sp, #4]
	ldr	r0, .L75+24
	bl	SMBSDEBUG
	cmp	r5, #0
	bne	.L16
	mov	r0, r6
	ldr	r1, [sp, #44]
	bl	mb_put_mbuf
.L15:
	mov	r0, r6
	bl	mb_fixhdr
	cmp	r8, #0
	mov	r5, r0
	bne	.L69
.L17:
	ldr	r0, [sp, #48]
	bl	smb_rq_bend
	ldr	r0, [sp, #48]
	bl	smb_rq_enqueue
	subs	r5, r0, #0
	bne	.L16
	ldr	r3, [sp, #24]
	orrs	r6, r3, r7
	bne	.L18
	ldr	r6, .L75+28
	ldr	r3, [r4, #32]
	ldr	r2, [r6]
	mov	r0, r4
	orr	r3, r3, r2
	str	r3, [r4, #32]
	bl	smb_t2_reply
	cmp	r0, #0
	beq	.L70
.L48:
	mov	r5, r0
.L19:
	ldr	r0, [sp, #48]
	bl	smb_iod_removerq
.L16:
	ldr	r0, [sp, #48]
	bl	smb_rq_done
	ldr	r2, [sp, #48]
	ldr	r3, .L75+32
	ldr	r2, [r2]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L36
	ldr	r2, .L75+36
	ldr	r3, [r4, #32]
	ldr	r2, [r2]
	orr	r3, r3, r2
	str	r3, [r4, #32]
.L36:
	add	r0, r4, #28
	bl	md_done
	add	r0, r4, #24
	bl	md_done
	b	.L1
.L39:
	mov	r9, r1
	b	.L4
.L66:
	ldr	r3, .L75+40
	ldr	r5, [r3]
.L1:
	ldr	r3, .L75
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L71
	mov	r0, r5
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L38:
	mov	fp, r1
	ldr	r1, [r4, #48]
	cmp	r1, #0
	str	r1, [sp, #44]
	bne	.L72
	b	.L39
.L69:
	bl	ALIGN4
	ldr	r3, .L75+20
	sub	r2, r0, r5
	mov	r1, #0
	ldr	r3, [r3]
	mov	r0, r6
	bl	mb_put_mem
	mov	r1, r8
	add	r2, sp, #44
	add	r0, sp, #40
	bl	md_get_mbuf
	subs	r5, r0, #0
	bne	.L16
	mov	r0, r6
	ldr	r1, [sp, #44]
	bl	mb_put_mbuf
	b	.L17
.L68:
	sub	r1, r2, r3
	mov	r0, fp
	str	r3, [sp, #16]
	mov	r8, #0
	bl	min
	mov	r2, r8
	mov	r10, r0
	ldr	r3, [sp, #16]
	sub	r7, fp, r0
	str	r9, [sp, #24]
	b	.L9
.L18:
	mov	r0, r4
	bl	smb_t2_reply
	cmp	r0, #0
	bne	.L48
	str	r9, [sp, #20]
	str	fp, [sp, #16]
	ldr	r9, [sp, #24]
	str	r5, [sp, #28]
	b	.L22
.L26:
	cmp	r7, #0
	moveq	r8, #0
	bl	ALIGN4
	mov	fp, r0
	ldr	r3, [sp, #4]
	mov	r0, r9
	sub	r1, r3, fp
	bl	min
	subs	r6, r0, #0
	moveq	fp, r6
	mov	r10, r7
	subne	r3, r9, r6
	strne	r3, [sp, #24]
	streq	fp, [sp, #12]
	streq	r9, [sp, #24]
.L27:
	mov	r1, r10
	mov	r0, r5
	bl	mb_put_uint16le
	mov	r1, r8
	mov	r0, r5
	bl	mb_put_uint16le
	ldr	r3, [sp, #16]
	mov	r0, r5
	sub	r1, r3, r7
	bl	mb_put_uint16le
	mov	r1, r6
	mov	r0, r5
	bl	mb_put_uint16le
	mov	r1, fp
	mov	r0, r5
	bl	mb_put_uint16le
	ldr	r3, [sp, #20]
	mov	r0, r5
	sub	r1, r3, r9
	bl	mb_put_uint16le
	ldr	r3, [r4, #36]
	cmp	r3, #0
	beq	.L73
.L29:
	ldr	r0, [sp, #48]
	bl	smb_rq_wend
	ldr	r0, [sp, #48]
	bl	smb_rq_bstart
	mov	r1, #0
	mov	r0, r5
	bl	mb_put_uint8
	mov	r0, r5
	bl	mb_fixhdr
	cmp	r10, #0
	mov	r7, r0
	beq	.L30
	bl	ALIGN4
	ldr	r3, .L75+20
	sub	r2, r0, r7
	mov	r1, #0
	ldr	r3, [r3]
	mov	r0, r5
	bl	mb_put_mem
	mov	r1, r10
	add	r2, sp, #44
	add	r0, sp, #36
	bl	md_get_mbuf
	cmp	r0, #0
	bne	.L48
	mov	r0, r5
	ldr	r1, [sp, #44]
	bl	mb_put_mbuf
.L30:
	mov	r0, r5
	bl	mb_fixhdr
	cmp	r6, #0
	mov	r7, r0
	beq	.L31
	bl	ALIGN4
	ldr	r3, .L75+20
	sub	r2, r0, r7
	mov	r1, #0
	ldr	r3, [r3]
	mov	r0, r5
	bl	mb_put_mem
	mov	r1, r6
	add	r2, sp, #44
	add	r0, sp, #40
	bl	md_get_mbuf
	cmp	r0, #0
	bne	.L48
	mov	r0, r5
	ldr	r1, [sp, #44]
	bl	mb_put_mbuf
.L31:
	ldr	r0, [sp, #48]
	bl	smb_rq_bend
	ldr	r2, .L75+44
	ldr	r3, [sp, #48]
	ldr	r1, [r2]
	mov	r2, #0
	str	r1, [r3, #4]
	ldr	r3, .L75+48
	ldr	r1, [r3]
	ldr	r3, [sp, #8]
	ldr	r0, [r3, #4]
	bl	smb_iod_request
	cmp	r0, #0
	bne	.L48
	ldr	r9, [sp, #24]
	ldr	r7, [sp, #12]
	orr	r6, r9, r7
.L22:
	cmp	r6, #0
	ldr	r2, [r4, #32]
	beq	.L74
	ldr	r3, .L75+52
	ldr	r1, [r4, #36]
	ldr	r3, [r3]
	cmp	r1, #0
	orr	r3, r3, r2
	str	r3, [r4, #32]
	ldrne	r3, .L75+56
	ldreq	r3, .L75+60
	ldr	r0, [sp, #48]
	ldr	r1, [r3]
	bl	smb_rq_new
	subs	r3, r0, #0
	str	r3, [sp, #12]
	bne	.L44
	ldr	r0, [sp, #48]
	add	r5, r0, #8
	bl	smb_rq_wstart
	ldr	r1, [sp, #16]
	mov	r0, r5
	bl	mb_put_uint16le
	ldr	r1, [sp, #20]
	mov	r0, r5
	bl	mb_put_uint16le
	mov	r0, r5
	bl	mb_fixhdr
	add	r0, r0, #14
	bl	ALIGN4
	mov	r8, r0
	ldr	r2, [r4, #36]
	ldr	r3, [sp, #4]
	cmp	r2, #0
	addeq	r8, r0, #2
	add	r0, r7, r8
	cmp	r0, r3
	ble	.L26
	sub	r1, r3, r8
	mov	r0, r7
	bl	min
	mov	r6, #0
	sub	r3, r7, r0
	mov	r10, r0
	mov	fp, r6
	str	r3, [sp, #12]
	str	r9, [sp, #24]
	b	.L27
.L73:
	mov	r0, r5
	ldr	r1, [r4, #20]
	bl	mb_put_uint16le
	b	.L29
.L70:
	ldr	r3, [r4, #32]
.L33:
	ldr	r2, [r6]
	ldr	r0, [r4, #24]
	orr	r3, r3, r2
	cmp	r0, #0
	str	r3, [r4, #32]
	beq	.L21
	bl	m_fixhdr
	mov	r0, r4
	ldr	r1, [r0, #24]!
	bl	md_initm
.L21:
	ldr	r0, [r4, #28]
	cmp	r0, #0
	beq	.L65
	bl	m_fixhdr
	mov	r0, r4
	ldr	r1, [r0, #28]!
	bl	md_initm
.L65:
	ldr	r0, [sp, #48]
	bl	smb_iod_removerq
	ldr	r0, [sp, #48]
	bl	smb_rq_done
	b	.L1
.L44:
	ldr	r5, [sp, #12]
	b	.L19
.L71:
	bl	__stack_chk_fail
.L74:
	mov	r3, r2
	ldr	r5, [sp, #28]
	ldr	r6, .L75+28
	b	.L33
.L76:
	.align	2
.L75:
	.word	.LC1
	.word	SMB_COM_TRANSACTION
	.word	SMB_COM_TRANSACTION2
	.word	SMBR_MULTIPACKET
	.word	MB_MSYSTEM
	.word	MB_MZERO
	.word	.LC0
	.word	SMBT2_ALLSENT
	.word	SMBR_RESTART
	.word	SMBT2_RESTART
	.word	EINVAL
	.word	SMBRQ_NOTSENT
	.word	SMBIOD_EV_NEWRQ
	.word	SMBT2_SECONDARY
	.word	SMB_COM_TRANSACTION_SECONDARY
	.word	SMB_COM_TRANSACTION2_SECONDARY
	.size	smb_t2_request_int, .-smb_t2_request_int
	.comm	SMB_COM_TRANSACTION_SECONDARY,4,4
	.comm	SMB_COM_TRANSACTION2_SECONDARY,4,4
	.comm	SMB_COM_TRANSACTION2,4,4
	.comm	SMB_COM_TRANSACTION,4,4
	.comm	SMBT2_SECONDARY,4,4
	.comm	SMBT2_RESTART,4,4
	.comm	SMBT2_ALLSENT,4,4
	.comm	SMBR_RESTART,4,4
	.comm	SMBR_MULTIPACKET,4,4
	.comm	SMBRQ_NOTSENT,4,4
	.comm	SMBIOD_EV_NEWRQ,4,4
	.comm	MB_MZERO,4,4
	.comm	MB_MSYSTEM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
