	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smb_t2_request_int
_smb_t2_request_int:                    ## @smb_t2_request_int
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	96(%rdi), %r14
	movq	104(%rdi), %r12
	movq	88(%rdi), %rsi
	movq	%rsi, -64(%rbp)
	xorl	%ebx, %ebx
	movl	$0, %r15d
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	leaq	-128(%rbp), %rdi
	callq	_md_initm
	movq	-64(%rbp), %rdi
	callq	_m_fixhdr
	movl	%eax, %r15d
	cmpl	$65536, %eax                    ## imm = 0x10000
	jge	LBB0_4
LBB0_2:
	movq	80(%r13), %rsi
	movq	%rsi, -64(%rbp)
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.3:
	leaq	-120(%rbp), %rdi
	callq	_md_initm
	movq	-64(%rbp), %rdi
	callq	_m_fixhdr
	movl	%eax, %ebx
	cmpl	$65536, %eax                    ## imm = 0x10000
	jl	LBB0_5
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_30
LBB0_5:
	movl	72(%r13), %edi
	cmpq	$0, 56(%r13)
	movl	%ebx, -76(%rbp)                 ## 4-byte Spill
	jne	LBB0_7
## %bb.6:
	movq	_SMB_COM_TRANSACTION2@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_SMB_COM_TRANSACTION@GOTPCREL(%rip), %rax
LBB0_8:
	movq	%r12, %rbx
	movl	(%r12), %r12d
	movl	(%rax), %esi
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdx
	callq	_smb_rq_alloc
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_30
## %bb.9:
	movl	%r12d, -72(%rbp)                ## 4-byte Spill
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	movq	_SMBR_MULTIPACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rdi
	orl	%eax, (%rdi)
	movq	%rdi, 64(%r13)
	movq	%r13, 16(%rdi)
	movq	%r15, %rbx
	leaq	8(%rdi), %r15
	callq	_smb_rq_wstart
	movq	%r15, %rdi
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movl	%ebx, %esi
	callq	_mb_put_uint16le
	movq	%r15, %rdi
	movl	-76(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %esi
	callq	_mb_put_uint16le
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_mb_put_uint16le
	movl	4(%r13), %esi
	movq	%r15, %rdi
	callq	_mb_put_uint16le
	movl	8(%r13), %esi
	movq	%r15, %rdi
	callq	_mb_put_uint8
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_mb_put_uint8
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_mb_put_uint16le
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_mb_put_uint32le
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_mb_put_uint16le
	movq	%r15, %rdi
	callq	_mb_fixhdr
	movl	%eax, %r14d
	movq	56(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	callq	_strlen
	movl	%eax, %ebx
LBB0_11:
	movl	12(%r13), %eax
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	addl	%ebx, %r14d
	leal	(%r14,%rax,2), %edi
	addl	$13, %edi
	callq	_ALIGN4
	movl	%eax, %r14d
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	leal	(%r14,%rbx), %edi
	movl	-72(%rbp), %esi                 ## 4-byte Reload
	cmpl	%esi, %edi
	jle	LBB0_13
## %bb.12:
	subl	%r14d, %esi
	movl	%ebx, %edi
	callq	_min
	movl	%eax, %esi
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_13:
	testl	%ebx, %ebx
	cmovel	%ebx, %r14d
	callq	_ALIGN4
	movl	%r12d, %edi
	movl	%eax, %r12d
	movl	-72(%rbp), %esi                 ## 4-byte Reload
	subl	%eax, %esi
	callq	_min
	testl	%eax, %eax
	cmovel	%eax, %r12d
	movl	%ebx, %esi
	movl	%eax, %ebx
LBB0_14:
	movq	%r15, %rdi
	movl	%esi, -88(%rbp)                 ## 4-byte Spill
	callq	_mb_put_uint16le
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_mb_put_uint16le
	movq	%r15, %rdi
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movl	%ebx, %esi
	callq	_mb_put_uint16le
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_mb_put_uint16le
	movl	12(%r13), %esi
	movq	%r15, %rdi
	callq	_mb_put_uint8
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_mb_put_uint8
	cmpl	$0, 12(%r13)
	jle	LBB0_17
## %bb.15:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r15, %rdi
	callq	_mb_put_uint16le
	incq	%rbx
	movslq	12(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_16
LBB0_17:
	movq	-48(%rbp), %rdi
	callq	_smb_rq_wend
	movq	-48(%rbp), %rdi
	callq	_smb_rq_bstart
	movq	56(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_19
## %bb.18:
	movq	_MB_MSYSTEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	callq	_mb_put_mem
LBB0_19:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_mb_put_uint8
	movq	%r15, %rdi
	callq	_mb_fixhdr
	movl	-88(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, %ebx
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	je	LBB0_22
## %bb.20:
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_ALIGN4
	subl	%r14d, %eax
	movq	_MB_MZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_mb_put_mem
	leaq	-128(%rbp), %rdi
	leaq	-64(%rbp), %rdx
	movl	%ebx, %esi
	callq	_md_get_mbuf
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	callq	_SMBSDEBUG
	testl	%r14d, %r14d
	jne	LBB0_26
## %bb.21:
	movq	-64(%rbp), %rsi
	movq	%r15, %rdi
	callq	_mb_put_mbuf
LBB0_22:
	movq	%r15, %rdi
	callq	_mb_fixhdr
	testl	%r12d, %r12d
	je	LBB0_25
## %bb.23:
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_ALIGN4
	subl	%r14d, %eax
	movq	_MB_MZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_mb_put_mem
	leaq	-120(%rbp), %rdi
	leaq	-64(%rbp), %rdx
	movl	%r12d, %esi
	callq	_md_get_mbuf
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_26
## %bb.24:
	movq	-64(%rbp), %rsi
	movq	%r15, %rdi
	callq	_mb_put_mbuf
LBB0_25:
	movq	-48(%rbp), %rdi
	callq	_smb_rq_bend
	movq	-48(%rbp), %rdi
	callq	_smb_rq_enqueue
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_31
LBB0_26:
	movq	-48(%rbp), %rdi
	callq	_smb_rq_done
LBB0_27:
	movq	-48(%rbp), %rax
	movq	_SMBR_RESTART@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_29
## %bb.28:
	movq	_SMBT2_RESTART@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 48(%r13)
LBB0_29:
	leaq	40(%r13), %rdi
	callq	_md_done
	addq	$32, %r13
	movq	%r13, %rdi
	callq	_md_done
LBB0_30:
	movl	%r14d, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movl	%r15d, %eax
	subl	%ebx, %eax
	movl	-76(%rbp), %ecx                 ## 4-byte Reload
	subl	%r12d, %ecx
	movq	%rax, %r12
                                        ## kill: def $eax killed $eax killed $rax
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	orl	%ecx, %eax
	jne	LBB0_33
## %bb.32:
	movq	_SMBT2_ALLSENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 48(%r13)
LBB0_33:
	movq	%r13, %rdi
	callq	_smb_t2_reply
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_34
## %bb.36:
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_38
LBB0_37:                                ##   in Loop: Header=BB0_38 Depth=1
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	subl	%r15d, %r12d
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	subl	%r14d, %ebx
	movq	-48(%rbp), %rdi
	callq	_smb_rq_bend
	movq	_SMBRQ_NOTSENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx
	movl	%eax, 4(%rcx)
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movl	4(%rax), %edi
	movq	_SMBIOD_EV_NEWRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_smb_iod_request
	testl	%eax, %eax
	movq	-104(%rbp), %r15                ## 8-byte Reload
	jne	LBB0_57
LBB0_38:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movl	%r12d, %eax
	orl	%ebx, %eax
	je	LBB0_53
## %bb.39:                              ##   in Loop: Header=BB0_38 Depth=1
	movq	_SMBT2_SECONDARY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 48(%r13)
	cmpq	$0, 56(%r13)
	movq	_SMB_COM_TRANSACTION_SECONDARY@GOTPCREL(%rip), %rax
	jne	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_38 Depth=1
	movq	_SMB_COM_TRANSACTION2_SECONDARY@GOTPCREL(%rip), %rax
LBB0_41:                                ##   in Loop: Header=BB0_38 Depth=1
	movq	-48(%rbp), %rdi
	movl	(%rax), %esi
	callq	_smb_rq_new
	testl	%eax, %eax
	jne	LBB0_57
## %bb.42:                              ##   in Loop: Header=BB0_38 Depth=1
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movq	-48(%rbp), %rdi
	leaq	8(%rdi), %r12
	callq	_smb_rq_wstart
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_mb_put_uint16le
	movq	%r12, %rdi
	movl	-76(%rbp), %esi                 ## 4-byte Reload
	callq	_mb_put_uint16le
	movq	%r12, %rdi
	callq	_mb_fixhdr
                                        ## kill: def $eax killed $eax def $rax
	leal	14(%rax), %edi
	callq	_ALIGN4
                                        ## kill: def $eax killed $eax def $rax
	leal	2(%rax), %r14d
	cmpq	$0, 56(%r13)
	cmovnel	%eax, %r14d
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	leal	(%r14,%rbx), %edi
	movl	-72(%rbp), %r15d                ## 4-byte Reload
	cmpl	%r15d, %edi
	jle	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_38 Depth=1
	subl	%r14d, %r15d
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_min
	movl	$0, -92(%rbp)                   ## 4-byte Folded Spill
	xorl	%r15d, %r15d
	jmp	LBB0_45
LBB0_44:                                ##   in Loop: Header=BB0_38 Depth=1
	testl	%ebx, %ebx
	cmovel	%ebx, %r14d
	callq	_ALIGN4
	movl	%eax, %ebx
	subl	%eax, %r15d
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	%r15d, %esi
	callq	_min
	movl	%eax, %r15d
	testl	%eax, %eax
	cmovel	%eax, %ebx
	movl	%ebx, -92(%rbp)                 ## 4-byte Spill
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, %rbx
                                        ## kill: def $eax killed $eax killed $rax
LBB0_45:                                ##   in Loop: Header=BB0_38 Depth=1
	movq	%r12, %rdi
	movl	%eax, %esi
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	callq	_mb_put_uint16le
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_mb_put_uint16le
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	%eax, %esi
	subl	%ebx, %esi
	movq	%r12, %rdi
	callq	_mb_put_uint16le
	movq	%r12, %rdi
	movl	%r15d, -68(%rbp)                ## 4-byte Spill
	movl	%r15d, %esi
	callq	_mb_put_uint16le
	movq	%r12, %rdi
	movl	-92(%rbp), %esi                 ## 4-byte Reload
	callq	_mb_put_uint16le
	movl	-76(%rbp), %esi                 ## 4-byte Reload
	subl	-52(%rbp), %esi                 ## 4-byte Folded Reload
	movq	%r12, %rdi
	callq	_mb_put_uint16le
	cmpq	$0, 56(%r13)
	jne	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_38 Depth=1
	movl	24(%r13), %esi
	movq	%r12, %rdi
	callq	_mb_put_uint16le
LBB0_47:                                ##   in Loop: Header=BB0_38 Depth=1
	movq	-48(%rbp), %rdi
	callq	_smb_rq_wend
	movq	-48(%rbp), %rdi
	callq	_smb_rq_bstart
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_mb_put_uint8
	movq	%r12, %rdi
	callq	_mb_fixhdr
	movl	-108(%rbp), %r15d               ## 4-byte Reload
	testl	%r15d, %r15d
	je	LBB0_50
## %bb.48:                              ##   in Loop: Header=BB0_38 Depth=1
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ALIGN4
	subl	%ebx, %eax
	movq	_MB_MZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_mb_put_mem
	leaq	-128(%rbp), %rdi
	movl	%r15d, %esi
	leaq	-64(%rbp), %rdx
	callq	_md_get_mbuf
	testl	%eax, %eax
	jne	LBB0_57
## %bb.49:                              ##   in Loop: Header=BB0_38 Depth=1
	movq	-64(%rbp), %rsi
	movq	%r12, %rdi
	callq	_mb_put_mbuf
LBB0_50:                                ##   in Loop: Header=BB0_38 Depth=1
	movq	%r12, %rdi
	callq	_mb_fixhdr
	movl	-68(%rbp), %r14d                ## 4-byte Reload
	testl	%r14d, %r14d
	je	LBB0_37
## %bb.51:                              ##   in Loop: Header=BB0_38 Depth=1
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ALIGN4
	subl	%ebx, %eax
	movq	_MB_MZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_mb_put_mem
	leaq	-120(%rbp), %rdi
	movl	%r14d, %esi
	leaq	-64(%rbp), %rdx
	callq	_md_get_mbuf
	testl	%eax, %eax
	jne	LBB0_57
## %bb.52:                              ##   in Loop: Header=BB0_38 Depth=1
	movq	-64(%rbp), %rsi
	movq	%r12, %rdi
	callq	_mb_put_mbuf
	movl	-68(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_37
LBB0_57:
	movl	%eax, %r14d
LBB0_34:
	movq	-48(%rbp), %rdi
	callq	_smb_iod_removerq
	movq	-48(%rbp), %rdi
	callq	_smb_rq_done
	testl	%r14d, %r14d
	jne	LBB0_27
## %bb.35:
	xorl	%r14d, %r14d
	jmp	LBB0_30
LBB0_53:
	movq	_SMBT2_ALLSENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 48(%r13)
	movq	32(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_55
## %bb.54:
	leaq	32(%r13), %rbx
	callq	_m_fixhdr
	movq	(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_md_initm
LBB0_55:
	movq	40(%r13), %rdi
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_34
## %bb.56:
	leaq	40(%r13), %rbx
	callq	_m_fixhdr
	movq	(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_md_initm
	jmp	LBB0_34
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SMB_COM_TRANSACTION,4,2        ## @SMB_COM_TRANSACTION
	.comm	_SMB_COM_TRANSACTION2,4,2       ## @SMB_COM_TRANSACTION2
	.comm	_SMBR_MULTIPACKET,4,2           ## @SMBR_MULTIPACKET
	.comm	_MB_MSYSTEM,4,2                 ## @MB_MSYSTEM
	.comm	_MB_MZERO,4,2                   ## @MB_MZERO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d:%d:%d\n"

	.comm	_SMBT2_ALLSENT,4,2              ## @SMBT2_ALLSENT
	.comm	_SMBT2_SECONDARY,4,2            ## @SMBT2_SECONDARY
	.comm	_SMB_COM_TRANSACTION_SECONDARY,4,2 ## @SMB_COM_TRANSACTION_SECONDARY
	.comm	_SMB_COM_TRANSACTION2_SECONDARY,4,2 ## @SMB_COM_TRANSACTION2_SECONDARY
	.comm	_SMBRQ_NOTSENT,4,2              ## @SMBRQ_NOTSENT
	.comm	_SMBIOD_EV_NEWRQ,4,2            ## @SMBIOD_EV_NEWRQ
	.comm	_SMBR_RESTART,4,2               ## @SMBR_RESTART
	.comm	_SMBT2_RESTART,4,2              ## @SMBT2_RESTART
	.no_dead_strip	_smb_t2_request_int
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smb_t2_request_int
_smb_t2_request_int:                    ; @smb_t2_request_int
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldp	x23, x24, [x0, #96]
	ldr	x1, [x0, #88]
	str	x1, [sp, #24]
	cbz	x1, LBB0_2
; %bb.1:
	add	x0, sp, #40
	bl	_md_initm
	ldr	x0, [sp, #24]
	bl	_m_fixhdr
	mov	x20, x0
	cmp	w0, #16, lsl #12                ; =65536
	b.lt	LBB0_3
	b	LBB0_5
LBB0_2:
	mov	w20, #0
LBB0_3:
	ldr	x1, [x19, #80]
	str	x1, [sp, #24]
	cbz	x1, LBB0_6
; %bb.4:
	add	x0, sp, #32
	bl	_md_initm
	ldr	x0, [sp, #24]
	bl	_m_fixhdr
	mov	x21, x0
	cmp	w0, #16, lsl #12                ; =65536
	b.lt	LBB0_7
LBB0_5:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w28, [x8]
	b	LBB0_30
LBB0_6:
	mov	w21, #0
LBB0_7:
	ldr	w25, [x24]
	ldr	w0, [x19, #72]
Lloh3:
	adrp	x8, _SMB_COM_TRANSACTION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SMB_COM_TRANSACTION@GOTPAGEOFF]
	ldr	x9, [x19, #56]
Lloh5:
	adrp	x10, _SMB_COM_TRANSACTION2@GOTPAGE
Lloh6:
	ldr	x10, [x10, _SMB_COM_TRANSACTION2@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	w1, [x8]
	add	x3, sp, #16
	mov	x2, x23
	bl	_smb_rq_alloc
	mov	x28, x0
	cbnz	w0, LBB0_30
; %bb.8:
Lloh7:
	adrp	x8, _SMBR_MULTIPACKET@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SMBR_MULTIPACKET@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	x0, [sp, #16]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
	str	x0, [x19, #64]
	str	x19, [x0, #16]
	add	x23, x0, #8
	bl	_smb_rq_wstart
	mov	x0, x23
	mov	x1, x20
	bl	_mb_put_uint16le
	mov	x0, x23
	mov	x1, x21
	bl	_mb_put_uint16le
	ldr	w1, [x19]
	mov	x0, x23
	bl	_mb_put_uint16le
	ldr	w1, [x19, #4]
	mov	x0, x23
	bl	_mb_put_uint16le
	ldr	w1, [x19, #8]
	mov	x0, x23
	bl	_mb_put_uint8
	mov	x0, x23
	mov	w1, #0
	bl	_mb_put_uint8
	mov	x0, x23
	mov	w1, #0
	bl	_mb_put_uint16le
	mov	x0, x23
	mov	w1, #0
	bl	_mb_put_uint32le
	mov	x0, x23
	mov	w1, #0
	bl	_mb_put_uint16le
	mov	x0, x23
	bl	_mb_fixhdr
	mov	x22, x0
	ldr	x0, [x19, #56]
	cbz	x0, LBB0_10
; %bb.9:
	bl	_strlen
	mov	x26, x0
	b	LBB0_11
LBB0_10:
	mov	w26, #0
LBB0_11:
	ldr	w8, [x19, #12]
	add	w9, w22, w26
	add	w8, w9, w8, lsl #1
	add	w0, w8, #13
	bl	_ALIGN4
	mov	x27, x0
	add	w0, w0, w20
	cmp	w0, w25
	str	x24, [sp]                       ; 8-byte Folded Spill
	str	w25, [sp, #12]                  ; 4-byte Folded Spill
	b.le	LBB0_13
; %bb.12:
	sub	w1, w25, w27
	mov	x0, x20
	bl	_min
	mov	x25, x0
	mov	w22, #0
	mov	w24, #0
	b	LBB0_14
LBB0_13:
	cmp	w20, #0
	csel	w27, wzr, w27, eq
	bl	_ALIGN4
	mov	x22, x0
	sub	w1, w25, w0
	mov	x0, x21
	bl	_min
	mov	x24, x0
	cmp	w0, #0
	csel	w22, wzr, w22, eq
	mov	x25, x20
LBB0_14:
	mov	x0, x23
	mov	x1, x25
	bl	_mb_put_uint16le
	mov	x0, x23
	mov	x1, x27
	bl	_mb_put_uint16le
	mov	x0, x23
	mov	x1, x24
	bl	_mb_put_uint16le
	mov	x0, x23
	mov	x1, x22
	bl	_mb_put_uint16le
	ldr	w1, [x19, #12]
	mov	x0, x23
	bl	_mb_put_uint8
	mov	x0, x23
	mov	w1, #0
	bl	_mb_put_uint8
	ldr	w8, [x19, #12]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.15:
	mov	x22, #0
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	w1, [x8, x22, lsl #2]
	mov	x0, x23
	bl	_mb_put_uint16le
	add	x22, x22, #1
	ldrsw	x8, [x19, #12]
	cmp	x22, x8
	b.lt	LBB0_16
LBB0_17:
	ldr	x0, [sp, #16]
	bl	_smb_rq_wend
	ldr	x0, [sp, #16]
	bl	_smb_rq_bstart
	ldr	x1, [x19, #56]
	cbz	x1, LBB0_19
; %bb.18:
Lloh10:
	adrp	x8, _MB_MSYSTEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MB_MSYSTEM@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	mov	x0, x23
	mov	x2, x26
	bl	_mb_put_mem
LBB0_19:
	mov	x0, x23
	mov	w1, #0
	bl	_mb_put_uint8
	mov	x0, x23
	bl	_mb_fixhdr
Lloh13:
	adrp	x26, _MB_MZERO@GOTPAGE
Lloh14:
	ldr	x26, [x26, _MB_MZERO@GOTPAGEOFF]
	cbz	w25, LBB0_22
; %bb.20:
	mov	x22, x0
	bl	_ALIGN4
	sub	w2, w0, w22
	ldr	w3, [x26]
	mov	x0, x23
	mov	x1, #0
	bl	_mb_put_mem
	add	x0, sp, #40
	add	x2, sp, #24
	mov	x1, x25
	bl	_md_get_mbuf
	mov	x28, x0
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x28
	mov	x2, x25
	ldr	w3, [sp, #12]                   ; 4-byte Folded Reload
	bl	_SMBSDEBUG
	cbnz	w28, LBB0_26
; %bb.21:
	ldr	x1, [sp, #24]
	mov	x0, x23
	bl	_mb_put_mbuf
LBB0_22:
	mov	x0, x23
	bl	_mb_fixhdr
	cbz	w24, LBB0_25
; %bb.23:
	mov	x22, x0
	bl	_ALIGN4
	sub	w2, w0, w22
	ldr	w3, [x26]
	mov	x0, x23
	mov	x1, #0
	bl	_mb_put_mem
	add	x0, sp, #32
	add	x2, sp, #24
	mov	x1, x24
	bl	_md_get_mbuf
	mov	x28, x0
	cbnz	w0, LBB0_26
; %bb.24:
	ldr	x1, [sp, #24]
	mov	x0, x23
	bl	_mb_put_mbuf
LBB0_25:
	ldr	x0, [sp, #16]
	bl	_smb_rq_bend
	ldr	x0, [sp, #16]
	bl	_smb_rq_enqueue
	mov	x28, x0
	cbz	w0, LBB0_31
LBB0_26:
	ldr	x0, [sp, #16]
	bl	_smb_rq_done
LBB0_27:
	ldr	x8, [sp, #16]
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _SMBR_RESTART@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SMBR_RESTART@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_29
; %bb.28:
Lloh20:
	adrp	x8, _SMBT2_RESTART@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SMBT2_RESTART@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	ldr	w9, [x19, #48]
	orr	w8, w9, w8
	str	w8, [x19, #48]
LBB0_29:
	add	x0, x19, #40
	bl	_md_done
	add	x0, x19, #32
	bl	_md_done
LBB0_30:
	mov	x0, x28
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_31:
	sub	w23, w20, w25
	sub	w24, w21, w24
	orr	w8, w23, w24
	cbnz	w8, LBB0_33
; %bb.32:
Lloh23:
	adrp	x8, _SMBT2_ALLSENT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SMBT2_ALLSENT@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	ldr	w9, [x19, #48]
	orr	w8, w9, w8
	str	w8, [x19, #48]
LBB0_33:
	mov	x0, x19
	bl	_smb_t2_reply
	mov	x28, x0
	cbnz	w0, LBB0_54
	b	LBB0_35
LBB0_34:                                ;   in Loop: Header=BB0_35 Depth=1
	sub	w23, w23, w27
	sub	w24, w24, w26
	ldr	x0, [sp, #16]
	bl	_smb_rq_bend
Lloh26:
	adrp	x8, _SMBRQ_NOTSENT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SMBRQ_NOTSENT@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	ldr	x9, [sp, #16]
	str	w8, [x9, #4]
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ldr	w0, [x8, #4]
Lloh29:
	adrp	x8, _SMBIOD_EV_NEWRQ@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SMBIOD_EV_NEWRQ@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_smb_iod_request
	cbnz	w0, LBB0_48
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	orr	w8, w23, w24
	cbz	w8, LBB0_49
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=1
Lloh32:
	adrp	x8, _SMBT2_SECONDARY@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SMBT2_SECONDARY@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	ldr	w9, [x19, #48]
	orr	w8, w9, w8
	str	w8, [x19, #48]
	ldr	x0, [sp, #16]
	ldr	x8, [x19, #56]
	cmp	x8, #0
Lloh35:
	adrp	x8, _SMB_COM_TRANSACTION_SECONDARY@GOTPAGE
Lloh36:
	ldr	x8, [x8, _SMB_COM_TRANSACTION_SECONDARY@GOTPAGEOFF]
Lloh37:
	adrp	x9, _SMB_COM_TRANSACTION2_SECONDARY@GOTPAGE
Lloh38:
	ldr	x9, [x9, _SMB_COM_TRANSACTION2_SECONDARY@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	w1, [x8]
	bl	_smb_rq_new
	cbnz	w0, LBB0_48
; %bb.37:                               ;   in Loop: Header=BB0_35 Depth=1
	ldr	x0, [sp, #16]
	add	x25, x0, #8
	bl	_smb_rq_wstart
	mov	x0, x25
	mov	x1, x20
	bl	_mb_put_uint16le
	mov	x0, x25
	mov	x1, x21
	bl	_mb_put_uint16le
	mov	x0, x25
	bl	_mb_fixhdr
	add	w0, w0, #14
	bl	_ALIGN4
	ldr	x8, [x19, #56]
	add	w9, w0, #2
	cmp	x8, #0
	csel	w28, w9, w0, eq
	add	w0, w28, w23
	ldr	w26, [sp, #12]                  ; 4-byte Folded Reload
	cmp	w0, w26
	b.le	LBB0_39
; %bb.38:                               ;   in Loop: Header=BB0_35 Depth=1
	sub	w1, w26, w28
	mov	x0, x23
	bl	_min
	mov	x27, x0
	mov	w22, #0
	mov	w26, #0
	b	LBB0_40
LBB0_39:                                ;   in Loop: Header=BB0_35 Depth=1
	cmp	w23, #0
	csel	w28, w28, wzr, ne
	bl	_ALIGN4
	mov	x22, x0
	sub	w1, w26, w0
	mov	x0, x24
	bl	_min
	mov	x26, x0
	cmp	w0, #0
	csel	w22, wzr, w22, eq
	mov	x27, x23
LBB0_40:                                ;   in Loop: Header=BB0_35 Depth=1
	mov	x0, x25
	mov	x1, x27
	bl	_mb_put_uint16le
	mov	x0, x25
	mov	x1, x28
	bl	_mb_put_uint16le
	sub	w1, w20, w23
	mov	x0, x25
	bl	_mb_put_uint16le
	mov	x0, x25
	mov	x1, x26
	bl	_mb_put_uint16le
	mov	x0, x25
	mov	x1, x22
	bl	_mb_put_uint16le
	sub	w1, w21, w24
	mov	x0, x25
	bl	_mb_put_uint16le
	ldr	x8, [x19, #56]
	cbnz	x8, LBB0_42
; %bb.41:                               ;   in Loop: Header=BB0_35 Depth=1
	ldr	w1, [x19, #24]
	mov	x0, x25
	bl	_mb_put_uint16le
LBB0_42:                                ;   in Loop: Header=BB0_35 Depth=1
	ldr	x0, [sp, #16]
	bl	_smb_rq_wend
	ldr	x0, [sp, #16]
	bl	_smb_rq_bstart
	mov	x0, x25
	mov	w1, #0
	bl	_mb_put_uint8
	mov	x0, x25
	bl	_mb_fixhdr
	cbz	w27, LBB0_45
; %bb.43:                               ;   in Loop: Header=BB0_35 Depth=1
	mov	x22, x0
	bl	_ALIGN4
	sub	w2, w0, w22
Lloh39:
	adrp	x8, _MB_MZERO@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MB_MZERO@GOTPAGEOFF]
Lloh41:
	ldr	w3, [x8]
	mov	x0, x25
	mov	x1, #0
	bl	_mb_put_mem
	add	x0, sp, #40
	add	x2, sp, #24
	mov	x1, x27
	bl	_md_get_mbuf
	cbnz	w0, LBB0_48
; %bb.44:                               ;   in Loop: Header=BB0_35 Depth=1
	ldr	x1, [sp, #24]
	mov	x0, x25
	bl	_mb_put_mbuf
LBB0_45:                                ;   in Loop: Header=BB0_35 Depth=1
	mov	x0, x25
	bl	_mb_fixhdr
	cbz	w26, LBB0_34
; %bb.46:                               ;   in Loop: Header=BB0_35 Depth=1
	mov	x22, x0
	bl	_ALIGN4
	sub	w2, w0, w22
Lloh42:
	adrp	x8, _MB_MZERO@GOTPAGE
Lloh43:
	ldr	x8, [x8, _MB_MZERO@GOTPAGEOFF]
Lloh44:
	ldr	w3, [x8]
	mov	x0, x25
	mov	x1, #0
	bl	_mb_put_mem
	add	x0, sp, #32
	add	x2, sp, #24
	mov	x1, x26
	bl	_md_get_mbuf
	cbnz	w0, LBB0_48
; %bb.47:                               ;   in Loop: Header=BB0_35 Depth=1
	ldr	x1, [sp, #24]
	mov	x0, x25
	bl	_mb_put_mbuf
	b	LBB0_34
LBB0_48:
	mov	x28, x0
	b	LBB0_54
LBB0_49:
Lloh45:
	adrp	x8, _SMBT2_ALLSENT@GOTPAGE
Lloh46:
	ldr	x8, [x8, _SMBT2_ALLSENT@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	mov	x20, x19
	ldr	x0, [x20, #32]!
	ldr	w9, [x20, #16]
	orr	w8, w9, w8
	str	w8, [x20, #16]
	cbz	x0, LBB0_51
; %bb.50:
	bl	_m_fixhdr
	ldr	x1, [x20]
	mov	x0, x20
	bl	_md_initm
LBB0_51:
	mov	x20, x19
	ldr	x0, [x20, #40]!
	cbz	x0, LBB0_53
; %bb.52:
	bl	_m_fixhdr
	ldr	x1, [x20]
	mov	x0, x20
	bl	_md_initm
LBB0_53:
	mov	w28, #0
LBB0_54:
	ldr	x0, [sp, #16]
	bl	_smb_iod_removerq
	ldr	x0, [sp, #16]
	bl	_smb_rq_done
	cbnz	w28, LBB0_27
	b	LBB0_30
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SMB_COM_TRANSACTION,4,2        ; @SMB_COM_TRANSACTION
	.comm	_SMB_COM_TRANSACTION2,4,2       ; @SMB_COM_TRANSACTION2
	.comm	_SMBR_MULTIPACKET,4,2           ; @SMBR_MULTIPACKET
	.comm	_MB_MSYSTEM,4,2                 ; @MB_MSYSTEM
	.comm	_MB_MZERO,4,2                   ; @MB_MZERO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d:%d:%d\n"

	.comm	_SMBT2_ALLSENT,4,2              ; @SMBT2_ALLSENT
	.comm	_SMBT2_SECONDARY,4,2            ; @SMBT2_SECONDARY
	.comm	_SMB_COM_TRANSACTION_SECONDARY,4,2 ; @SMB_COM_TRANSACTION_SECONDARY
	.comm	_SMB_COM_TRANSACTION2_SECONDARY,4,2 ; @SMB_COM_TRANSACTION2_SECONDARY
	.comm	_SMBRQ_NOTSENT,4,2              ; @SMBRQ_NOTSENT
	.comm	_SMBIOD_EV_NEWRQ,4,2            ; @SMBIOD_EV_NEWRQ
	.comm	_SMBR_RESTART,4,2               ; @SMBR_RESTART
	.comm	_SMBT2_RESTART,4,2              ; @SMBT2_RESTART
	.no_dead_strip	_smb_t2_request_int
.subsections_via_symbols
