	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pci_vtblk_done
_pci_vtblk_done:                        ## @pci_vtblk_done
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r15
	movq	8(%r15), %rax
	movq	16(%r15), %r14
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_ENOSYS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	testl	%esi, %esi
	jne	LBB0_1
## %bb.2:
	movq	_VTBLK_S_OK@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
LBB0_1:
	movq	_VTBLK_S_IOERR@GOTPCREL(%rip), %rdx
LBB0_3:
	cmpl	%esi, %edi
	movq	_VTBLK_S_UNSUPP@GOTPCREL(%rip), %rdi
	cmoveq	%rdi, %rdx
	cmpl	%esi, %ecx
	cmoveq	%rdi, %rdx
	movl	(%rdx), %ecx
	movl	%ecx, (%rax)
	movq	%r14, %rdi
	callq	_pthread_mutex_lock
	leaq	4(%r14), %rbx
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_vq_relchain
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_vq_endchains
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pthread_mutex_unlock           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_VTBLK_S_UNSUPP,4,2             ## @VTBLK_S_UNSUPP
	.comm	_VTBLK_S_IOERR,4,2              ## @VTBLK_S_IOERR
	.comm	_VTBLK_S_OK,4,2                 ## @VTBLK_S_OK
	.no_dead_strip	_pci_vtblk_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pci_vtblk_done
_pci_vtblk_done:                        ; @pci_vtblk_done
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ENOSYS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ENOSYS@GOTPAGEOFF]
Lloh5:
	adrp	x10, _VTBLK_S_OK@GOTPAGE
Lloh6:
	ldr	x10, [x10, _VTBLK_S_OK@GOTPAGEOFF]
Lloh7:
	adrp	x11, _VTBLK_S_IOERR@GOTPAGE
Lloh8:
	ldr	x11, [x11, _VTBLK_S_IOERR@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	cmp	w1, #0
	csel	x10, x10, x11, eq
	cmp	w9, w1
Lloh10:
	adrp	x9, _VTBLK_S_UNSUPP@GOTPAGE
Lloh11:
	ldr	x9, [x9, _VTBLK_S_UNSUPP@GOTPAGEOFF]
	ccmp	w8, w1, #4, ne
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
	ldp	x9, x19, [x21, #8]
	str	w8, [x9]
	mov	x0, x19
	bl	_pthread_mutex_lock
	add	x20, x19, #4
	ldr	w1, [x21]
	mov	x0, x20
	mov	w2, #1
	bl	_vq_relchain
	mov	x0, x20
	mov	w1, #0
	bl	_vq_endchains
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pthread_mutex_unlock
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_VTBLK_S_UNSUPP,4,2             ; @VTBLK_S_UNSUPP
	.comm	_VTBLK_S_IOERR,4,2              ; @VTBLK_S_IOERR
	.comm	_VTBLK_S_OK,4,2                 ; @VTBLK_S_OK
	.no_dead_strip	_pci_vtblk_done
.subsections_via_symbols
