	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smb_rq_reply
_smb_rq_reply:                          ## @smb_rq_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_smb_iod_waitrq
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.1:
	leaq	44(%r14), %r15
	leaq	-40(%rbp), %rsi
	movq	%r15, %rdi
	callq	_md_get_uint32
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.2:
	leaq	-36(%rbp), %rsi
	movq	%r15, %rdi
	callq	_md_get_uint8
	movq	24(%r14), %rax
	movq	_SMB_FLAGS2_ERR_STATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_4
## %bb.3:
	leaq	40(%r14), %rsi
	movq	%r15, %rdi
	callq	_md_get_uint32le
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_4:
	leaq	4(%r14), %rsi
	movq	%r15, %rdi
	callq	_md_get_uint8
	leaq	-36(%rbp), %rsi
	movq	%r15, %rdi
	callq	_md_get_uint8
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_md_get_uint16le
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movl	(%r14), %esi
	movl	4(%r14), %edi
	callq	_smb_maperror
	movl	%eax, %ebx
LBB0_6:
	leaq	36(%r14), %rsi
	movq	%r15, %rdi
	callq	_md_get_uint8
	leaq	32(%r14), %rsi
	movq	%r15, %rdi
	callq	_md_get_uint16le
	leaq	-40(%rbp), %r12
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_md_get_uint32
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_md_get_uint32
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_md_get_uint32
	leaq	8(%r14), %rsi
	movq	%r15, %rdi
	callq	_md_get_uint16le
	leaq	16(%r14), %rsi
	movq	%r15, %rdi
	callq	_md_get_uint16le
	leaq	12(%r14), %rsi
	movq	%r15, %rdi
	callq	_md_get_uint16le
	leaq	20(%r14), %rsi
	movq	%r15, %rdi
	callq	_md_get_uint16le
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	movq	24(%r14), %rax
	movq	_SMB_FLAGS2_SECURITY_SIGNATURE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_8
## %bb.9:
	movq	%r14, %rdi
	callq	_smb_rq_verify
	movl	%eax, %r15d
	jmp	LBB0_10
LBB0_8:
	xorl	%r15d, %r15d
LBB0_10:
	movl	20(%r14), %esi
	movl	16(%r14), %edx
	movl	12(%r14), %ecx
	movl	8(%r14), %r8d
	movl	(%r14), %eax
	movl	4(%r14), %r9d
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rdi
	callq	_SMBSDEBUG
	testl	%r15d, %r15d
	cmovnel	%r15d, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SMB_FLAGS2_ERR_STATUS,4,2      ## @SMB_FLAGS2_ERR_STATUS
	.comm	_SMB_FLAGS2_SECURITY_SIGNATURE,4,2 ## @SMB_FLAGS2_SECURITY_SIGNATURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"M:%04x, P:%04x, U:%04x, T:%04x, E: %d:%d\n"

	.no_dead_strip	_smb_rq_reply
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smb_rq_reply
_smb_rq_reply:                          ; @smb_rq_reply
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	bl	_smb_iod_waitrq
	cbnz	w0, LBB0_12
; %bb.1:
	add	x20, x19, #44
	add	x1, sp, #12
	mov	x0, x20
	bl	_md_get_uint32
	cbnz	w0, LBB0_12
; %bb.2:
	add	x1, sp, #8
	mov	x0, x20
	bl	_md_get_uint8
	ldr	x8, [x19, #24]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _SMB_FLAGS2_ERR_STATUS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SMB_FLAGS2_ERR_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	add	x1, x19, #40
	mov	x0, x20
	bl	_md_get_uint32le
	mov	w21, #0
	b	LBB0_7
LBB0_4:
	add	x1, x19, #4
	mov	x0, x20
	bl	_md_get_uint8
	add	x1, sp, #8
	mov	x0, x20
	bl	_md_get_uint8
	mov	x0, x20
	mov	x1, x19
	bl	_md_get_uint16le
	cbz	w0, LBB0_6
; %bb.5:
	mov	w21, #0
	b	LBB0_7
LBB0_6:
	ldp	w1, w0, [x19]
	bl	_smb_maperror
	mov	x21, x0
LBB0_7:
	add	x1, x19, #36
	mov	x0, x20
	bl	_md_get_uint8
	add	x1, x19, #32
	mov	x0, x20
	bl	_md_get_uint16le
	add	x1, sp, #12
	mov	x0, x20
	bl	_md_get_uint32
	add	x1, sp, #12
	mov	x0, x20
	bl	_md_get_uint32
	add	x1, sp, #12
	mov	x0, x20
	bl	_md_get_uint32
	add	x1, x19, #8
	mov	x0, x20
	bl	_md_get_uint16le
	add	x1, x19, #16
	mov	x0, x20
	bl	_md_get_uint16le
	add	x1, x19, #12
	mov	x0, x20
	bl	_md_get_uint16le
	add	x1, x19, #20
	mov	x0, x20
	bl	_md_get_uint16le
	mov	x20, x0
	cbnz	w0, LBB0_11
; %bb.8:
	ldr	x8, [x19, #24]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SMB_FLAGS2_SECURITY_SIGNATURE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SMB_FLAGS2_SECURITY_SIGNATURE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_smb_rq_verify
	mov	x20, x0
	b	LBB0_11
LBB0_10:
	mov	w20, #0
LBB0_11:
	ldp	w2, w1, [x19, #16]
	ldp	w4, w3, [x19, #8]
	ldp	w6, w5, [x19]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_SMBSDEBUG
	cmp	w20, #0
	csel	w0, w21, w20, eq
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SMB_FLAGS2_ERR_STATUS,4,2      ; @SMB_FLAGS2_ERR_STATUS
	.comm	_SMB_FLAGS2_SECURITY_SIGNATURE,4,2 ; @SMB_FLAGS2_SECURITY_SIGNATURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"M:%04x, P:%04x, U:%04x, T:%04x, E: %d:%d\n"

	.no_dead_strip	_smb_rq_reply
.subsections_via_symbols
