	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iobus_add_intr
_iobus_add_intr:                        ## @iobus_add_intr
	.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	%rsi, %rbx
	movl	$-1, -12(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-12(%rbp), %rdx
	movl	$4, %ecx
	callq	_OF_getprop
	cmpl	$-1, %eax
	je	LBB0_2
## %bb.1:
	leaq	4(%rbx), %rdi
	movq	_SYS_RES_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-12(%rbp), %ecx
	xorl	%edx, %edx
	movl	%ecx, %r8d
	movl	$1, %r9d
	callq	_resource_list_add
LBB0_2:
	movl	-12(%rbp), %eax
	movl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"interrupt"

	.comm	_SYS_RES_IRQ,4,2                ## @SYS_RES_IRQ
	.no_dead_strip	_iobus_add_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iobus_add_intr
_iobus_add_intr:                        ; @iobus_add_intr
	.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	w8, #-1
	str	w8, [sp, #12]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	mov	w3, #4
	bl	_OF_getprop
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.1:
	add	x0, x19, #4
Lloh2:
	adrp	x8, _SYS_RES_IRQ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SYS_RES_IRQ@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w3, [sp, #12]
	mov	w2, #0
	mov	x4, x3
	mov	w5, #1
	bl	_resource_list_add
LBB0_2:
	ldr	w8, [sp, #12]
	str	w8, [x19]
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"interrupt"

	.comm	_SYS_RES_IRQ,4,2                ; @SYS_RES_IRQ
	.no_dead_strip	_iobus_add_intr
.subsections_via_symbols
