	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pci_vtrnd_notify
_pci_vtrnd_notify:                      ## @pci_vtrnd_notify
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	cmpq	$0, (%rdi)
	js	LBB0_5
## %bb.1:
	movq	%rdi, %r14
	movq	%r13, %rdi
	callq	_vq_has_descs
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	leaq	-44(%rbp), %r15
	leaq	-56(%rbp), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_vq_getchain
	movq	(%r14), %rdi
	movl	-56(%rbp), %edx
	movl	-52(%rbp), %esi
	callq	_read
	movslq	%eax, %rbx
	movq	%rbx, %rdi
	callq	_DPRINTF
	xorl	%edi, %edi
	testl	%ebx, %ebx
	setg	%dil
	callq	_assert
	movl	-44(%rbp), %esi
	movq	%r13, %rdi
	movl	%ebx, %edx
	callq	_vq_relchain
	movq	%r13, %rdi
	callq	_vq_has_descs
	testq	%rax, %rax
	jne	LBB0_3
LBB0_4:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_vq_endchains
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r13, %rdi
	xorl	%esi, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vq_endchains                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pci_vtrnd_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pci_vtrnd_notify
_pci_vtrnd_notify:                      ; @pci_vtrnd_notify
	.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, x1
	ldr	x8, [x0]
	tbnz	x8, #63, LBB0_5
; %bb.1:
	mov	x20, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_vq_has_descs
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x1, sp, #4
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #1
	mov	x4, #0
	bl	_vq_getchain
	ldr	x0, [x20]
	ldp	w2, w1, [sp, #8]
	bl	_read
	mov	x21, x0
	sxtw	x0, w21
	bl	_DPRINTF
	cmp	w21, #0
	cset	w0, gt
	bl	_assert
	ldr	w1, [sp, #4]
	mov	x0, x19
	mov	x2, x21
	bl	_vq_relchain
	b	LBB0_2
LBB0_4:
	mov	x0, x19
	mov	w1, #1
	bl	_vq_endchains
	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
LBB0_5:
	mov	x0, x19
	mov	w1, #0
	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
	b	_vq_endchains
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pci_vtrnd_notify
.subsections_via_symbols
