	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pci_vtcon_vq_to_port
_pci_vtcon_vq_to_port:                  ## @pci_vtcon_vq_to_port
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movl	(%rsi), %ecx
	cmpl	$1, %ecx
	ja	LBB0_2
## %bb.1:
	movq	(%rax), %rax
	popq	%rbp
	retq
LBB0_2:
	movl	%ecx, %edx
	andl	$-2, %edx
	cmpl	$2, %edx
	jne	LBB0_4
## %bb.3:
	addq	$8, %rax
	popq	%rbp
	retq
LBB0_4:
	movq	(%rax), %rax
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	movslq	%edx, %rcx
	leaq	(%rax,%rcx,4), %rax
	addq	$-4, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pci_vtcon_vq_to_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pci_vtcon_vq_to_port
_pci_vtcon_vq_to_port:                  ; @pci_vtcon_vq_to_port
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	cmp	w8, #1
	b.hi	LBB0_2
; %bb.1:
	ldr	x0, [x0]
	ret
LBB0_2:
	and	w9, w8, #0xfffffffe
	cmp	w9, #2
	b.ne	LBB0_4
; %bb.3:
	add	x0, x0, #8
	ret
LBB0_4:
	ldr	x9, [x0]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	sub	w8, w8, #1
	add	x0, x9, w8, sxtw #2
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pci_vtcon_vq_to_port
.subsections_via_symbols
