	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fire_intr_enable
_fire_intr_enable:                      ## @fire_intr_enable
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	(%rdi), %r14
	movq	8(%rdi), %r9
	movq	8(%r9), %rdi
	movq	_FO_PCI_IMAP_V@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	(%rdi), %rcx
	movq	_FIRE_MODE_OBERON@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_OBERON_PCI_IMAP_T_DESTID_SHFT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_FIRE_PCI_IMAP_T_JPID_SHFT@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_OBERON_PCI_IMAP_T_DESTID_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_FIRE_PCI_IMAP_T_JPID_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_mp_ncpus@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	jle	LBB0_7
## %bb.1:
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	%r9, -104(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	(%r15), %rbx
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_pcpu_find
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rcx
	cmpq	(%rax), %rcx
	jne	LBB0_5
## %bb.4:
	movl	8(%rax), %eax
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	andl	$-4, %ecx
	subl	%ecx, %eax
	movslq	%eax, %r10
	movq	-104(%rbp), %r9                 ## 8-byte Reload
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_6:
	movq	-104(%rbp), %r9                 ## 8-byte Reload
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_7:
	xorl	%r10d, %r10d
LBB0_8:
	cmpq	%rsi, %rcx
	cmovel	%edx, %r12d
	cmoveq	%rbx, %rax
	movl	%r12d, %ecx
	shlq	%cl, %r14
	movl	$1, %edx
	movl	%r10d, %ecx
	shlq	%cl, %rdx
	andq	%rax, %r14
	orq	%r8, %r14
	movq	_FO_PCI_IMAP_INT_CTRL_NUM_SHFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shlq	%cl, %rdx
	movq	_FO_PCI_IMAP_INT_CTRL_NUM_MASK@GOTPCREL(%rip), %rax
	andq	(%rax), %rdx
	orq	%r14, %rdx
	movl	(%r9), %esi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_FIRE_PCI_WRITE_8               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FO_PCI_IMAP_V,8,3              ## @FO_PCI_IMAP_V
	.comm	_FIRE_MODE_OBERON,8,3           ## @FIRE_MODE_OBERON
	.comm	_OBERON_PCI_IMAP_T_DESTID_SHFT,8,3 ## @OBERON_PCI_IMAP_T_DESTID_SHFT
	.comm	_OBERON_PCI_IMAP_T_DESTID_MASK,8,3 ## @OBERON_PCI_IMAP_T_DESTID_MASK
	.comm	_FIRE_PCI_IMAP_T_JPID_SHFT,8,3  ## @FIRE_PCI_IMAP_T_JPID_SHFT
	.comm	_FIRE_PCI_IMAP_T_JPID_MASK,8,3  ## @FIRE_PCI_IMAP_T_JPID_MASK
	.comm	_mp_ncpus,8,3                   ## @mp_ncpus
	.comm	_FO_PCI_IMAP_INT_CTRL_NUM_SHFT,8,3 ## @FO_PCI_IMAP_INT_CTRL_NUM_SHFT
	.comm	_FO_PCI_IMAP_INT_CTRL_NUM_MASK,8,3 ## @FO_PCI_IMAP_INT_CTRL_NUM_MASK
	.no_dead_strip	_fire_intr_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fire_intr_enable
_fire_intr_enable:                      ; @fire_intr_enable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldp	x10, x22, [x0]
	ldr	x19, [x22, #8]
Lloh0:
	adrp	x8, _FO_PCI_IMAP_V@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FO_PCI_IMAP_V@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x8]
Lloh3:
	adrp	x8, _FIRE_MODE_OBERON@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FIRE_MODE_OBERON@GOTPAGEOFF]
	ldr	x12, [x19]
Lloh5:
	ldr	x26, [x8]
Lloh6:
	adrp	x8, _OBERON_PCI_IMAP_T_DESTID_SHFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OBERON_PCI_IMAP_T_DESTID_SHFT@GOTPAGEOFF]
Lloh8:
	adrp	x9, _FIRE_PCI_IMAP_T_JPID_SHFT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FIRE_PCI_IMAP_T_JPID_SHFT@GOTPAGEOFF]
Lloh10:
	ldr	x27, [x8]
Lloh11:
	ldr	x28, [x9]
Lloh12:
	adrp	x8, _OBERON_PCI_IMAP_T_DESTID_MASK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OBERON_PCI_IMAP_T_DESTID_MASK@GOTPAGEOFF]
Lloh14:
	adrp	x9, _FIRE_PCI_IMAP_T_JPID_MASK@GOTPAGE
Lloh15:
	ldr	x9, [x9, _FIRE_PCI_IMAP_T_JPID_MASK@GOTPAGEOFF]
Lloh16:
	ldr	x23, [x8]
Lloh17:
	ldr	x24, [x9]
Lloh18:
	adrp	x25, _mp_ncpus@GOTPAGE
Lloh19:
	ldr	x25, [x25, _mp_ncpus@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x20, x0
	stp	x12, x10, [sp, #8]              ; 16-byte Folded Spill
	str	x11, [sp, #24]                  ; 8-byte Folded Spill
	mov	x21, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	ldr	x8, [x25]
	cmp	x21, x8
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_pcpu_find
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20]
	ldr	x9, [x0]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.5:
	ldr	w8, [x0, #8]
	negs	w9, w8
	and	w9, w9, #0x3
	and	w8, w8, #0x3
	csneg	w8, w8, w9, mi
	sxtw	x8, w8
	b	LBB0_8
LBB0_6:
	mov	x8, #0
	b	LBB0_9
LBB0_7:
	mov	x8, #0
LBB0_8:
	ldp	x10, x11, [sp, #16]             ; 16-byte Folded Reload
	ldr	x12, [sp, #8]                   ; 8-byte Folded Reload
LBB0_9:
	cmp	x12, x26
	csel	x9, x27, x28, eq
	lsl	x9, x10, x9
	csel	x10, x23, x24, eq
	and	x9, x9, x10
	orr	x9, x9, x11
	mov	w10, #1
Lloh20:
	adrp	x11, _FO_PCI_IMAP_INT_CTRL_NUM_SHFT@GOTPAGE
Lloh21:
	ldr	x11, [x11, _FO_PCI_IMAP_INT_CTRL_NUM_SHFT@GOTPAGEOFF]
	lsl	x8, x10, x8
Lloh22:
	ldr	x10, [x11]
	lsl	x8, x8, x10
Lloh23:
	adrp	x10, _FO_PCI_IMAP_INT_CTRL_NUM_MASK@GOTPAGE
Lloh24:
	ldr	x10, [x10, _FO_PCI_IMAP_INT_CTRL_NUM_MASK@GOTPAGEOFF]
Lloh25:
	ldr	x10, [x10]
	and	x8, x8, x10
	orr	x2, x9, x8
	ldr	w1, [x22]
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_FIRE_PCI_WRITE_8
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_FO_PCI_IMAP_V,8,3              ; @FO_PCI_IMAP_V
	.comm	_FIRE_MODE_OBERON,8,3           ; @FIRE_MODE_OBERON
	.comm	_OBERON_PCI_IMAP_T_DESTID_SHFT,8,3 ; @OBERON_PCI_IMAP_T_DESTID_SHFT
	.comm	_OBERON_PCI_IMAP_T_DESTID_MASK,8,3 ; @OBERON_PCI_IMAP_T_DESTID_MASK
	.comm	_FIRE_PCI_IMAP_T_JPID_SHFT,8,3  ; @FIRE_PCI_IMAP_T_JPID_SHFT
	.comm	_FIRE_PCI_IMAP_T_JPID_MASK,8,3  ; @FIRE_PCI_IMAP_T_JPID_MASK
	.comm	_mp_ncpus,8,3                   ; @mp_ncpus
	.comm	_FO_PCI_IMAP_INT_CTRL_NUM_SHFT,8,3 ; @FO_PCI_IMAP_INT_CTRL_NUM_SHFT
	.comm	_FO_PCI_IMAP_INT_CTRL_NUM_MASK,8,3 ; @FO_PCI_IMAP_INT_CTRL_NUM_MASK
	.no_dead_strip	_fire_intr_enable
.subsections_via_symbols
