	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pci_vtcon_notify_tx
_pci_vtcon_notify_tx:                   ## @pci_vtcon_notify_tx
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_pci_vtcon_vq_to_port
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_vq_has_descs
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	leaq	-84(%rbp), %r15
	leaq	-88(%rbp), %r12
	leaq	-80(%rbp), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-84(%rbp), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_vq_relchain
	movq	%r14, %rdi
	callq	_vq_has_descs
	testq	%rax, %rax
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movl	$1, %ecx
	movq	%r13, %r8
	callq	_vq_getchain
	xorl	%edi, %edi
	testl	%eax, %eax
	setg	%dil
	callq	_assert
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	movl	$1, %ecx
	callq	*8(%rbx)
	jmp	LBB0_4
LBB0_5:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_vq_endchains
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pci_vtcon_notify_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pci_vtcon_notify_tx
_pci_vtcon_notify_tx:                   ; @pci_vtcon_notify_tx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	bl	_pci_vtcon_vq_to_port
	mov	x20, x0
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [sp, #12]
	mov	x0, x19
	mov	w2, #0
	bl	_vq_relchain
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_vq_has_descs
	cbz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x1, sp, #12
	add	x2, sp, #16
	add	x4, sp, #24
	mov	x0, x19
	mov	w3, #1
	bl	_vq_getchain
	cmp	w0, #0
	cset	w0, gt
	bl	_assert
	cbz	x20, LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x20, #8]
	ldr	w1, [x20]
	add	x2, sp, #16
	mov	x0, x20
	mov	w3, #1
	blr	x8
	b	LBB0_1
LBB0_5:
	mov	x0, x19
	mov	w1, #1
	bl	_vq_endchains
	ldur	x8, [x29, #-24]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pci_vtcon_notify_tx
.subsections_via_symbols
