	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mptable_pci_route_interrupt_handler
_mptable_pci_route_interrupt_handler:   ## @mptable_pci_route_interrupt_handler
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_MPCT_ENTRY_INT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movq	%rsi, %r14
	cmpq	(%rsi), %rax
	jne	LBB0_5
## %bb.2:
	movq	%rdi, %rbx
	movl	8(%rdi), %eax
	cmpl	8(%r14), %eax
	jne	LBB0_5
## %bb.3:
	movq	_ioapics@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	16(%rbx), %rsi
	xorl	%edi, %edi
	cmpq	$0, (%rax,%rsi,8)
	setne	%dil
	callq	_KASSERT
	movq	(%r15), %rax
	movq	16(%rbx), %rcx
	movq	(%rax,%rcx,8), %rdi
	movl	24(%rbx), %esi
	callq	_ioapic_get_vector
	movl	%eax, %ebx
	movl	12(%r14), %eax
	cmpl	%ebx, %eax
	je	LBB0_5
## %bb.4:
	xorl	%edi, %edi
	cmpl	$-1, %eax
	sete	%dil
	movslq	%ebx, %rsi
	callq	_KASSERT
	movl	%ebx, 12(%r14)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MPCT_ENTRY_INT,8,3             ## @MPCT_ENTRY_INT
	.comm	_ioapics,8,3                    ## @ioapics
	.no_dead_strip	_mptable_pci_route_interrupt_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mptable_pci_route_interrupt_handler
_mptable_pci_route_interrupt_handler:   ; @mptable_pci_route_interrupt_handler
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _MPCT_ENTRY_INT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MPCT_ENTRY_INT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	mov	x19, x1
	ldr	x9, [x1]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	mov	x20, x0
	ldr	w8, [x0, #8]
	ldr	w9, [x19, #8]
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.3:
Lloh3:
	adrp	x21, _ioapics@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ioapics@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x1, [x20, #16]
	ldr	x8, [x8, x1, lsl #3]
	cmp	x8, #0
	cset	w0, ne
	bl	_KASSERT
	ldr	x8, [x21]
	ldr	x9, [x20, #16]
	ldr	x0, [x8, x9, lsl #3]
	ldr	w1, [x20, #24]
	bl	_ioapic_get_vector
	ldr	w8, [x19, #12]
	cmp	w8, w0
	b.eq	LBB0_5
; %bb.4:
	mov	x20, x0
	cmn	w8, #1
	cset	w0, eq
	sxtw	x1, w20
	bl	_KASSERT
	str	w20, [x19, #12]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MPCT_ENTRY_INT,8,3             ; @MPCT_ENTRY_INT
	.comm	_ioapics,8,3                    ; @ioapics
	.no_dead_strip	_mptable_pci_route_interrupt_handler
.subsections_via_symbols
