	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fire_get_intrmap
_fire_get_intrmap:                      ## @fire_get_intrmap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movq	_FO_MAX_INO@GOTPCREL(%rip), %rsi
	cmpl	%eax, (%rsi)
	jge	LBB0_2
## %bb.1:
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_device_printf
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	shll	$3, %eax
	movslq	%eax, %rsi
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:
	movq	_FO_PCI_INT_MAP_BASE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	%rsi, %rax
	movq	%rax, (%rdx)
LBB0_4:
	movl	$1, %eax
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.5:
	movq	_FO_PCI_INT_CLR_BASE@GOTPCREL(%rip), %rdx
	addq	(%rdx), %rsi
	movq	%rsi, (%rcx)
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FO_MAX_INO,4,2                 ## @FO_MAX_INO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out of range INO %d requested\n"

	.comm	_FO_PCI_INT_MAP_BASE,8,3        ## @FO_PCI_INT_MAP_BASE
	.comm	_FO_PCI_INT_CLR_BASE,8,3        ## @FO_PCI_INT_CLR_BASE
	.no_dead_strip	_fire_get_intrmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fire_get_intrmap
_fire_get_intrmap:                      ; @fire_get_intrmap
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x1
Lloh0:
	adrp	x9, _FO_MAX_INO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FO_MAX_INO@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, w1
	b.ge	LBB0_2
; %bb.1:
	ldr	w0, [x0]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x8
	bl	_device_printf
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	lsl	w8, w8, #3
	cbz	x2, LBB0_4
; %bb.3:
Lloh5:
	adrp	x9, _FO_PCI_INT_MAP_BASE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _FO_PCI_INT_MAP_BASE@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x9, x9, w8, sxtw
	str	x9, [x2]
LBB0_4:
	cbz	x3, LBB0_6
; %bb.5:
Lloh8:
	adrp	x9, _FO_PCI_INT_CLR_BASE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FO_PCI_INT_CLR_BASE@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	add	x8, x9, w8, sxtw
	str	x8, [x3]
LBB0_6:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_FO_MAX_INO,4,2                 ; @FO_MAX_INO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out of range INO %d requested\n"

	.comm	_FO_PCI_INT_MAP_BASE,8,3        ; @FO_PCI_INT_MAP_BASE
	.comm	_FO_PCI_INT_CLR_BASE,8,3        ; @FO_PCI_INT_CLR_BASE
	.no_dead_strip	_fire_get_intrmap
.subsections_via_symbols
