	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pci_xhci_rtsregs_read
_pci_xhci_rtsregs_read:                 ## @pci_xhci_rtsregs_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	subl	8(%rdi), %ebx
	movq	_XHCI_MFINDEX@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_2
## %bb.1:
	movl	(%r14), %eax
	jmp	LBB0_4
LBB0_2:
	xorl	%eax, %eax
	cmpl	$32, %ebx
	jl	LBB0_4
## %bb.3:
	movl	%ebx, %eax
	andl	$-4, %eax
	xorl	%edi, %edi
	cmpl	$32, %eax
	sete	%dil
	callq	_assert
	shrl	$2, %ebx
	andl	$7, %ebx
	movl	4(%r14,%rbx,4), %eax
LBB0_4:
	movslq	%eax, %rbx
	movq	%rbx, %rdi
	callq	_DPRINTF
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XHCI_MFINDEX,4,2               ## @XHCI_MFINDEX
	.no_dead_strip	_pci_xhci_rtsregs_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pci_xhci_rtsregs_read
_pci_xhci_rtsregs_read:                 ; @pci_xhci_rtsregs_read
	.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
	mov	x19, x0
	ldr	w8, [x0, #8]
Lloh0:
	adrp	x9, _XHCI_MFINDEX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XHCI_MFINDEX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sub	w20, w1, w8
	cmp	w20, w9
	b.ne	LBB0_2
; %bb.1:
	ldr	w19, [x19]
	b	LBB0_5
LBB0_2:
	cmp	w20, #32
	b.lt	LBB0_4
; %bb.3:
	and	w8, w20, #0xfffffffc
	cmp	w8, #32
	cset	w0, eq
	bl	_assert
	ubfx	w8, w20, #2, #3
	add	x8, x19, w8, uxtw #2
	ldr	w19, [x8, #4]
	b	LBB0_5
LBB0_4:
	mov	w19, #0
LBB0_5:
	sxtw	x0, w19
	bl	_DPRINTF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_XHCI_MFINDEX,4,2               ; @XHCI_MFINDEX
	.no_dead_strip	_pci_xhci_rtsregs_read
.subsections_via_symbols
