	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vop_dev_remove
_vop_dev_remove:                        ## @vop_dev_remove
	.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, %r14
	movq	%rsi, %r12
	movq	(%rdx), %rax
	movq	%rdx, %rdi
	callq	*8(%rax)
	movq	%rax, %r15
	movq	_wake@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_DECLARE_WAIT_QUEUE_HEAD_ONSTACK
	movq	_MIC_VIRTIO_PARAM_DEV_REMOVE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r12)
	movl	(%r15), %esi
	cmpl	$-1, %esi
	je	LBB0_4
## %bb.1:
	movq	(%r14), %rax
	movq	%r14, %rdi
	callq	*(%rax)
	movl	$-16, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %r15d
	movq	(%r12), %r14
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_msecs_to_jiffies
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_wait_event_timeout
	testl	%eax, %eax
	je	LBB0_2
LBB0_4:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wake,4,2                       ## @wake
	.comm	_MIC_VIRTIO_PARAM_DEV_REMOVE,8,3 ## @MIC_VIRTIO_PARAM_DEV_REMOVE
	.no_dead_strip	_vop_dev_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vop_dev_remove
_vop_dev_remove:                        ; @vop_dev_remove
	.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	x20, x2
	mov	x19, x1
	ldr	x8, [x2]
	ldr	x8, [x8, #8]
	mov	x0, x2
	blr	x8
	mov	x21, x0
Lloh0:
	adrp	x22, _wake@GOTPAGE
Lloh1:
	ldr	x22, [x22, _wake@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_DECLARE_WAIT_QUEUE_HEAD_ONSTACK
Lloh2:
	adrp	x8, _MIC_VIRTIO_PARAM_DEV_REMOVE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MIC_VIRTIO_PARAM_DEV_REMOVE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	ldr	w1, [x21]
	cmn	w1, #1
	b.eq	LBB0_4
; %bb.1:
	ldr	x8, [x20]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
	mov	w23, #-16
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	adds	w23, w23, #1
	b.hs	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w20, [x22]
	ldr	x21, [x19]
	mov	w0, #1000
	bl	_msecs_to_jiffies
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_wait_event_timeout
	cbz	w0, LBB0_2
LBB0_4:
	stp	xzr, xzr, [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	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_wake,4,2                       ; @wake
	.comm	_MIC_VIRTIO_PARAM_DEV_REMOVE,8,3 ; @MIC_VIRTIO_PARAM_DEV_REMOVE
	.no_dead_strip	_vop_dev_remove
.subsections_via_symbols
