	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ofw_pcibus_assign_interrupt
_ofw_pcibus_assign_interrupt:           ## @ofw_pcibus_assign_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movl	%edi, %r14d
	movl	%esi, %edi
	callq	_ofw_bus_get_node
	leaq	L_.str(%rip), %rsi
	leaq	-20(%rbp), %rdx
	movl	%eax, %edi
	movl	$4, %ecx
	callq	_OF_getprop
	cmpl	$4, %eax
	jne	LBB0_1
## %bb.3:
	movl	-20(%rbp), %edi
	cmpl	$255, %edi
	jl	LBB0_2
## %bb.4:
	callq	_INTINO
	jmp	LBB0_5
LBB0_1:
	movl	%ebx, %edi
	callq	_pci_get_intpin
	movl	%eax, -20(%rbp)
LBB0_2:
	movl	%r14d, %edi
	callq	_device_get_parent
	movl	-20(%rbp), %edx
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_PCIB_ROUTE_INTERRUPT
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"interrupts"

	.no_dead_strip	_ofw_pcibus_assign_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ofw_pcibus_assign_interrupt
_ofw_pcibus_assign_interrupt:           ; @ofw_pcibus_assign_interrupt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_ofw_bus_get_node
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	mov	w3, #4
	bl	_OF_getprop
	cmp	w0, #4
	b.ne	LBB0_3
; %bb.1:
	ldr	w0, [sp, #12]
	cmp	w0, #255
	b.lt	LBB0_4
; %bb.2:
	bl	_INTINO
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_pci_get_intpin
	str	w0, [sp, #12]
LBB0_4:
	mov	x0, x20
	bl	_device_get_parent
	ldr	w2, [sp, #12]
	mov	x1, x19
	bl	_PCIB_ROUTE_INTERRUPT
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"interrupts"

	.no_dead_strip	_ofw_pcibus_assign_interrupt
.subsections_via_symbols
