	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cap_debug
_cap_debug:                             ## @cap_debug
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_PCIR_DEBUG_PORT@GOTPCREL(%rip), %rax
	addq	(%rax), %rdx
	movl	$2, %ecx
	callq	_read_config
	movq	_PCIM_DEBUG_PORT_OFFSET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	andl	%eax, %ebx
	sarl	$13, %eax
	movl	%eax, %edi
	callq	_PCIR_BAR
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_printf                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCIR_DEBUG_PORT,8,3            ## @PCIR_DEBUG_PORT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EHCI Debug Port at offset 0x%x in map 0x%x"

	.comm	_PCIM_DEBUG_PORT_OFFSET,4,2     ## @PCIM_DEBUG_PORT_OFFSET
	.no_dead_strip	_cap_debug
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cap_debug
_cap_debug:                             ; @cap_debug
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _PCIR_DEBUG_PORT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCIR_DEBUG_PORT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x2, x8, x2
	mov	w3, #2
	bl	_read_config
Lloh3:
	adrp	x8, _PCIM_DEBUG_PORT_OFFSET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCIM_DEBUG_PORT_OFFSET@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w19, w8, w0
	asr	w0, w0, #13
	bl	_PCIR_BAR
	mov	x2, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_printf
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PCIR_DEBUG_PORT,8,3            ; @PCIR_DEBUG_PORT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EHCI Debug Port at offset 0x%x in map 0x%x"

	.comm	_PCIM_DEBUG_PORT_OFFSET,4,2     ; @PCIM_DEBUG_PORT_OFFSET
	.no_dead_strip	_cap_debug
.subsections_via_symbols
