	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pci_xhci_assert_interrupt
_pci_xhci_assert_interrupt:             ## @pci_xhci_assert_interrupt
	.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	_XHCI_ERDP_LO_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%rdi)
	movq	_XHCI_IMAN_INTR_PEND@GOTPCREL(%rip), %rcx
	movl	4(%rdi), %eax
	orl	(%rcx), %eax
	movl	%eax, 4(%rdi)
	movq	_XHCI_STS_EINT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 16(%rdi)
	movq	_XHCI_CMD_INTE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 12(%rdi)
	je	LBB0_4
## %bb.1:
	movq	_XHCI_IMAN_INTR_ENA@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.2:
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_pci_msi_enabled
	movl	(%rbx), %edi
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_pci_generate_msi               ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_pci_lintr_assert               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XHCI_ERDP_LO_BUSY,4,2          ## @XHCI_ERDP_LO_BUSY
	.comm	_XHCI_IMAN_INTR_PEND,4,2        ## @XHCI_IMAN_INTR_PEND
	.comm	_XHCI_STS_EINT,4,2              ## @XHCI_STS_EINT
	.comm	_XHCI_CMD_INTE,4,2              ## @XHCI_CMD_INTE
	.comm	_XHCI_IMAN_INTR_ENA,4,2         ## @XHCI_IMAN_INTR_ENA
	.no_dead_strip	_pci_xhci_assert_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pci_xhci_assert_interrupt
_pci_xhci_assert_interrupt:             ; @pci_xhci_assert_interrupt
	.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, _XHCI_ERDP_LO_BUSY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XHCI_ERDP_LO_BUSY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w10, w9, [x0, #4]
	orr	w9, w9, w8
Lloh3:
	adrp	x8, _XHCI_IMAN_INTR_PEND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XHCI_IMAN_INTR_PEND@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x11, _XHCI_STS_EINT@GOTPAGE
Lloh7:
	ldr	x11, [x11, _XHCI_STS_EINT@GOTPAGEOFF]
	orr	w8, w10, w8
Lloh8:
	ldr	w10, [x11]
	ldp	w12, w11, [x0, #12]
	orr	w10, w11, w10
	stp	w8, w9, [x0, #4]
	str	w10, [x0, #16]
Lloh9:
	adrp	x9, _XHCI_CMD_INTE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _XHCI_CMD_INTE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w12
	b.eq	LBB0_4
; %bb.1:
Lloh12:
	adrp	x9, _XHCI_IMAN_INTR_ENA@GOTPAGE
Lloh13:
	ldr	x9, [x9, _XHCI_IMAN_INTR_ENA@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
	mov	x19, x0
	ldr	w0, [x0]
	bl	_pci_msi_enabled
	mov	x8, x0
	ldr	w0, [x19]
	cbz	x8, LBB0_5
; %bb.3:
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pci_generate_msi
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pci_lintr_assert
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_XHCI_ERDP_LO_BUSY,4,2          ; @XHCI_ERDP_LO_BUSY
	.comm	_XHCI_IMAN_INTR_PEND,4,2        ; @XHCI_IMAN_INTR_PEND
	.comm	_XHCI_STS_EINT,4,2              ; @XHCI_STS_EINT
	.comm	_XHCI_CMD_INTE,4,2              ; @XHCI_CMD_INTE
	.comm	_XHCI_IMAN_INTR_ENA,4,2         ; @XHCI_IMAN_INTR_ENA
	.no_dead_strip	_pci_xhci_assert_interrupt
.subsections_via_symbols
