	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smb_t2_reply
_smb_t2_reply:                          ## @smb_t2_reply
	.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, %rbx
	movq	16(%rdi), %r14
	movq	%r14, %rdi
	callq	_smb_rq_reply
	testl	%eax, %eax
	je	LBB0_1
LBB0_35:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_SMBT2_ALLSENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.3:
	leaq	8(%rbx), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	leaq	4(%rbx), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	$65535, %r13d                   ## imm = 0xFFFF
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	-44(%rbp), %r15
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$65535, %r12d                   ## imm = 0xFFFF
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_SMBRQ_SLOCK
	movq	%r14, %rdi
	callq	_md_next_record
	movq	%r14, %rdi
	callq	_SMBRQ_SUNLOCK
	movq	%r14, %rdi
	callq	_smb_rq_reply
	testl	%eax, %eax
	leaq	-44(%rbp), %r15
	jne	LBB0_35
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_23 Depth 2
	movl	(%r14), %edi
	callq	_m_dumpm
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_md_get_uint8
	testl	%eax, %eax
	jne	LBB0_35
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$9, -44(%rbp)
	jle	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_md_get_uint16le
	testl	%eax, %eax
	jne	LBB0_35
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rax
	cmpq	%rax, %r13
	cmovgeq	%rax, %r13
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_md_get_uint16le
	movq	-56(%rbp), %rax
	cmpq	%rax, %r12
	cmovgeq	%rax, %r12
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_md_get_uint16le
	testl	%eax, %eax
	jne	LBB0_35
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	leaq	-72(%rbp), %rsi
	callq	_md_get_uint16le
	testl	%eax, %eax
	jne	LBB0_35
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	leaq	-136(%rbp), %rsi
	callq	_md_get_uint16le
	testl	%eax, %eax
	jne	LBB0_35
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	leaq	-120(%rbp), %rsi
	callq	_md_get_uint16le
	testl	%eax, %eax
	jne	LBB0_35
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, -72(%rbp)
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-120(%rbp), %rsi
	movslq	%r15d, %rax
	cmpq	%rax, %rsi
	jne	LBB0_14
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	leaq	-64(%rbp), %rsi
	callq	_md_get_uint16le
	testl	%eax, %eax
	jne	LBB0_35
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	leaq	-128(%rbp), %rsi
	callq	_md_get_uint16le
	testl	%eax, %eax
	jne	LBB0_35
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	leaq	-112(%rbp), %rsi
	callq	_md_get_uint16le
	testl	%eax, %eax
	jne	LBB0_35
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, -64(%rbp)
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	je	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	movslq	%ebx, %rax
	cmpq	%rax, -112(%rbp)
	jne	LBB0_20
LBB0_22:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	leaq	-44(%rbp), %rsi
	callq	_md_get_uint8
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_md_get_uint8
	movslq	-44(%rbp), %rax
	leaq	-1(%rax), %rcx
	movq	%rcx, -56(%rbp)
	testq	%rax, %rax
	je	LBB0_24
	.p2align	4, 0x90
LBB0_23:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_md_get_uint16
	subq	$1, -56(%rbp)
	jae	LBB0_23
LBB0_24:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	leaq	-144(%rbp), %rsi
	callq	_md_get_uint16le
	testl	%eax, %eax
	jne	LBB0_35
## %bb.25:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r14), %edi
	movq	-128(%rbp), %rsi
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	callq	_smb_t2_placedata
	testl	%eax, %eax
	jne	LBB0_35
LBB0_27:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-72(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_28
## %bb.29:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r14), %edi
	movq	-136(%rbp), %rsi
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	callq	_smb_t2_placedata
	testl	%eax, %eax
	jne	LBB0_35
## %bb.30:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-72(%rbp), %rax
	jmp	LBB0_31
LBB0_28:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
LBB0_31:                                ##   in Loop: Header=BB0_4 Depth=1
	addl	%eax, %r15d
	addl	-64(%rbp), %ebx
	movslq	%r15d, %rax
	cmpq	%rax, %r13
	jg	LBB0_34
## %bb.32:                              ##   in Loop: Header=BB0_4 Depth=1
	movslq	%ebx, %rax
	cmpq	%rax, %r12
	jg	LBB0_34
## %bb.33:
	movq	_SMBT2_ALLRECV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
	xorl	%eax, %eax
	jmp	LBB0_35
LBB0_2:
	movq	%r14, %rdi
	callq	_SMBRQ_SLOCK
	movq	%r14, %rdi
	callq	_md_next_record
	movq	%r14, %rdi
	callq	_SMBRQ_SUNLOCK
	xorl	%eax, %eax
	jmp	LBB0_35
LBB0_6:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_35
LBB0_14:
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_SMBERROR
	jmp	LBB0_21
LBB0_20:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_SMBERROR
LBB0_21:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_35
	.cfi_endproc
                                        ## -- End function
	.comm	_SMBT2_ALLSENT,4,2              ## @SMBT2_ALLSENT
	.comm	_ENOENT,4,2                     ## @ENOENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't handle disordered parameters %d:%d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Can't handle disordered data\n"

	.comm	_SMBT2_ALLRECV,4,2              ## @SMBT2_ALLRECV
	.no_dead_strip	_smb_t2_reply
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smb_t2_reply
_smb_t2_reply:                          ; @smb_t2_reply
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x20, x0
	ldr	x19, [x0, #16]
	mov	x0, x19
	bl	_smb_rq_reply
	cbz	w0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_2:
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _SMBT2_ALLSENT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SMBT2_ALLSENT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_31
; %bb.3:
	mov	w23, #0
	mov	w24, #0
	add	x21, x20, #8
	add	x22, x20, #4
	mov	w25, #65535
	mov	w26, #65535
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_SMBRQ_SLOCK
	mov	x0, x19
	bl	_md_next_record
	mov	x0, x19
	bl	_SMBRQ_SUNLOCK
	mov	x0, x19
	bl	_smb_rq_reply
	cbnz	w0, LBB0_1
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_20 Depth 2
	ldr	w0, [x19]
	bl	_m_dumpm
	add	x1, sp, #28
	mov	x0, x19
	bl	_md_get_uint8
	cbnz	w0, LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp, #28]
	cmp	w8, #9
	b.le	LBB0_32
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #48
	mov	x0, x19
	bl	_md_get_uint16le
	cbnz	w0, LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #48]
	cmp	x25, x8
	csel	x25, x25, x8, lt
	add	x1, sp, #48
	mov	x0, x19
	bl	_md_get_uint16le
	ldr	x8, [sp, #48]
	cmp	x26, x8
	csel	x26, x26, x8, lt
	add	x1, sp, #48
	mov	x0, x19
	bl	_md_get_uint16le
	cbnz	w0, LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	x1, x29, #72
	mov	x0, x19
	bl	_md_get_uint16le
	cbnz	w0, LBB0_1
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #80
	mov	x0, x19
	bl	_md_get_uint16le
	cbnz	w0, LBB0_1
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #64
	mov	x0, x19
	bl	_md_get_uint16le
	cbnz	w0, LBB0_1
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldur	x8, [x29, #-72]
	cbz	x8, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #64]
	cmp	x8, w23, sxtw
	b.ne	LBB0_33
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #32
	mov	x0, x19
	bl	_md_get_uint16le
	cbnz	w0, LBB0_1
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #72
	mov	x0, x19
	bl	_md_get_uint16le
	cbnz	w0, LBB0_1
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #56
	mov	x0, x19
	bl	_md_get_uint16le
	cbnz	w0, LBB0_1
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #32]
	cbz	x8, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #56]
	cmp	x8, w24, sxtw
	b.ne	LBB0_34
LBB0_19:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #28
	mov	x0, x19
	bl	_md_get_uint8
	mov	x0, x19
	mov	x1, #0
	bl	_md_get_uint8
	ldrsw	x8, [sp, #28]
	sub	x9, x8, #1
	str	x9, [sp, #48]
	cbz	w8, LBB0_21
LBB0_20:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	mov	x1, #0
	bl	_md_get_uint16
	ldr	x8, [sp, #48]
	sub	x9, x8, #1
	str	x9, [sp, #48]
	cbnz	x8, LBB0_20
LBB0_21:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #40
	mov	x0, x19
	bl	_md_get_uint16le
	cbnz	w0, LBB0_1
; %bb.22:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x2, [sp, #32]
	cbz	x2, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19]
	ldr	x1, [sp, #72]
	mov	x3, x21
	bl	_smb_t2_placedata
	cbnz	w0, LBB0_1
LBB0_24:                                ;   in Loop: Header=BB0_5 Depth=1
	ldur	x2, [x29, #-72]
	cbz	x2, LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19]
	ldr	x1, [sp, #80]
	mov	x3, x22
	bl	_smb_t2_placedata
	cbnz	w0, LBB0_1
; %bb.26:                               ;   in Loop: Header=BB0_5 Depth=1
	ldur	x8, [x29, #-72]
	b	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, #0
LBB0_28:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w23, w23, w8
	ldr	w8, [sp, #32]
	add	w24, w24, w8
	cmp	x25, w23, sxtw
	b.gt	LBB0_4
; %bb.29:                               ;   in Loop: Header=BB0_5 Depth=1
	sxtw	x8, w24
	cmp	x26, x8
	b.gt	LBB0_4
; %bb.30:
	mov	w0, #0
Lloh3:
	adrp	x8, _SMBT2_ALLRECV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SMBT2_ALLRECV@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	b	LBB0_1
LBB0_31:
	mov	x0, x19
	bl	_SMBRQ_SLOCK
	mov	x0, x19
	bl	_md_next_record
	mov	x0, x19
	bl	_SMBRQ_SUNLOCK
	mov	w0, #0
	b	LBB0_1
LBB0_32:
Lloh6:
	adrp	x8, _ENOENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_1
LBB0_33:
	stp	x8, x23, [sp]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_35
LBB0_34:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_35:
	bl	_SMBERROR
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_SMBT2_ALLSENT,4,2              ; @SMBT2_ALLSENT
	.comm	_ENOENT,4,2                     ; @ENOENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't handle disordered parameters %d:%d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Can't handle disordered data\n"

	.comm	_SMBT2_ALLRECV,4,2              ; @SMBT2_ALLRECV
	.no_dead_strip	_smb_t2_reply
.subsections_via_symbols
