	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smb_iod_request                ## -- Begin function smb_iod_request
	.p2align	4, 0x90
_smb_iod_request:                       ## @smb_iod_request
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, %r15d
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_SMBIODEBUG
	movq	_M_SMBIOD@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$16, %edi
	callq	_smb_zmalloc
	movq	%rax, %rbx
	movl	%r15d, (%rax)
	movq	%r12, 8(%rax)
	movq	%r14, %rdi
	callq	_SMB_IOD_EVLOCK
	movq	_ev_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_STAILQ_INSERT_TAIL
	movq	_SMBIOD_EV_SYNC@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_smb_iod_wakeup
	movq	%r14, %rdi
	callq	_SMB_IOD_EVLOCKPTR
	movq	_PWAIT@GOTPCREL(%rip), %rcx
	movq	_PDROP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%r8d, %r8d
	callq	_msleep
	movl	4(%rbx), %r14d
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_3
LBB0_1:
	movq	%r14, %rdi
	callq	_SMB_IOD_EVUNLOCK
	movq	%r14, %rdi
	callq	_smb_iod_wakeup
	xorl	%r14d, %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_M_SMBIOD,4,2                   ## @M_SMBIOD
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_ev_link,4,2                    ## @ev_link
	.comm	_SMBIOD_EV_SYNC,4,2             ## @SMBIOD_EV_SYNC
	.comm	_PWAIT,4,2                      ## @PWAIT
	.comm	_PDROP,4,2                      ## @PDROP
L_.str.1:                               ## @.str.1
	.asciz	"90evw"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smb_iod_request                ; -- Begin function smb_iod_request
	.p2align	2
_smb_iod_request:                       ; @smb_iod_request
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_SMBIODEBUG
Lloh2:
	adrp	x23, _M_SMBIOD@GOTPAGE
Lloh3:
	ldr	x23, [x23, _M_SMBIOD@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh4:
	adrp	x8, _M_WAITOK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _M_WAITOK@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	w0, #16
	bl	_smb_zmalloc
	mov	x20, x0
	str	w22, [x0]
	str	x21, [x0, #8]
	mov	x0, x19
	bl	_SMB_IOD_EVLOCK
Lloh7:
	adrp	x8, _ev_link@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ev_link@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_STAILQ_INSERT_TAIL
Lloh10:
	adrp	x8, _SMBIOD_EV_SYNC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SMBIOD_EV_SYNC@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	mov	x0, x19
	tst	w8, w22
	b.eq	LBB0_2
; %bb.1:
	bl	_smb_iod_wakeup
	mov	x0, x19
	bl	_SMB_IOD_EVLOCKPTR
	mov	x1, x0
Lloh13:
	adrp	x8, _PWAIT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PWAIT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _PDROP@GOTPAGE
Lloh17:
	ldr	x9, [x9, _PDROP@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh19:
	adrp	x3, l_.str.1@PAGE
Lloh20:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	w4, #0
	bl	_msleep
	ldr	w19, [x20, #4]
	ldr	w1, [x23]
	mov	x0, x20
	bl	_free
	b	LBB0_3
LBB0_2:
	bl	_SMB_IOD_EVUNLOCK
	mov	x0, x19
	bl	_smb_iod_wakeup
	mov	w19, #0
LBB0_3:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_M_SMBIOD,4,2                   ; @M_SMBIOD
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_ev_link,4,2                    ; @ev_link
	.comm	_SMBIOD_EV_SYNC,4,2             ; @SMBIOD_EV_SYNC
	.comm	_PWAIT,4,2                      ; @PWAIT
	.comm	_PDROP,4,2                      ; @PDROP
l_.str.1:                               ; @.str.1
	.asciz	"90evw"

.subsections_via_symbols
