	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ofw_pci_route_interrupt_common ## -- Begin function ofw_pci_route_interrupt_common
	.p2align	4, 0x90
_ofw_pci_route_interrupt_common:        ## @ofw_pci_route_interrupt_common
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r14d
	callq	_device_get_softc
	movq	%rax, %r15
	movl	%ebx, -28(%rbp)
	movl	%r14d, %edi
	callq	_ofw_bus_get_node
	subq	$8, %rsp
	leaq	-36(%rbp), %rbx
	leaq	-32(%rbp), %rdx
	leaq	-28(%rbp), %r8
	movl	%eax, %edi
	movq	%r15, %rsi
	movl	$4, %ecx
	movl	$4, %r9d
	pushq	$0
	pushq	$4
	pushq	%rbx
	callq	_ofw_bus_lookup_imap
	addq	$32, %rsp
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_PCI_INVALID_IRQ@GOTPCREL(%rip), %rbx
LBB0_2:
	movl	(%rbx), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_INVALID_IRQ,4,2            ## @PCI_INVALID_IRQ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ofw_pci_route_interrupt_common ; -- Begin function ofw_pci_route_interrupt_common
	.p2align	2
_ofw_pci_route_interrupt_common:        ; @ofw_pci_route_interrupt_common
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	bl	_device_get_softc
	mov	x21, x0
	str	w19, [sp, #20]
	mov	x0, x20
	bl	_ofw_bus_get_node
	str	xzr, [sp]
	add	x19, sp, #16
	add	x2, sp, #24
	add	x4, sp, #20
	add	x6, sp, #16
	mov	x1, x21
	mov	w3, #4
	mov	w5, #4
	mov	w7, #4
	bl	_ofw_bus_lookup_imap
Lloh0:
	adrp	x8, _PCI_INVALID_IRQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCI_INVALID_IRQ@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x19, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_INVALID_IRQ,4,2            ; @PCI_INVALID_IRQ
.subsections_via_symbols
