	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fire_teardown_intr
_fire_teardown_intr:                    ## @fire_teardown_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r13
	movl	%esi, %r14d
	movl	%edi, %r12d
	callq	_device_get_softc
	movq	%rax, %r15
	movq	%r13, %rdi
	callq	_rman_get_rid
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	callq	_rman_get_start
	movq	(%r15), %rcx
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movslq	%eax, %rbx
	movq	%rbx, %rax
	subq	8(%r15), %rax
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movslq	(%rcx,%rax,4), %r14
	movl	32(%r15), %edi
	movq	%r14, %rsi
	addq	24(%r15), %rsi
	callq	_INTMAP_VEC
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movl	16(%r15), %r12d
	addl	%r14d, %r12d
	shll	$3, %ebx
	movq	_FO_PCI_MSI_MAP_BASE@GOTPCREL(%rip), %rax
	movslq	%ebx, %r14
	movq	(%rax), %rbx
	addq	%r14, %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_FIRE_PCI_READ_8
	movq	_FO_PCI_MSI_MAP_V@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_FIRE_PCI_WRITE_8
	shll	$3, %r12d
	movq	_FO_PCI_EQ_CTRL_CLR_BASE@GOTPCREL(%rip), %rax
	movslq	%r12d, %r12
	movq	(%rax), %rsi
	movq	_FO_PCI_EQ_CTRL_CLR_COVERR@GOTPCREL(%rip), %rax
	movq	_FO_PCI_EQ_CTRL_CLR_E2I@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	addq	%r12, %rsi
	movq	_FO_PCI_EQ_CTRL_CLR_DIS@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r15, %rdi
	callq	_FIRE_PCI_WRITE_8
	movq	_FO_PCI_EQ_TL_BASE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r12, %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_FIRE_PCI_WRITE_8
	movq	_FO_PCI_EQ_HD_BASE@GOTPCREL(%rip), %rax
	addq	(%rax), %r12
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_FIRE_PCI_WRITE_8
	movq	_intr_vectors@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_fire_ic@GOTPCREL(%rip), %rcx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rcx, (%rax,%rbx,8)
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_rman_set_start
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_rman_set_end
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movq	%r13, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	callq	_bus_generic_teardown_intr
	movl	%eax, %ebx
	sarl	$3, %r14d
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_rman_set_start
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_rman_set_end
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	%r12d, %edi
	movl	%r14d, %esi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bus_generic_teardown_intr      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FO_PCI_MSI_MAP_BASE,8,3        ## @FO_PCI_MSI_MAP_BASE
	.comm	_FO_PCI_MSI_MAP_V,4,2           ## @FO_PCI_MSI_MAP_V
	.comm	_FO_PCI_EQ_CTRL_CLR_BASE,8,3    ## @FO_PCI_EQ_CTRL_CLR_BASE
	.comm	_FO_PCI_EQ_CTRL_CLR_COVERR,4,2  ## @FO_PCI_EQ_CTRL_CLR_COVERR
	.comm	_FO_PCI_EQ_CTRL_CLR_E2I,4,2     ## @FO_PCI_EQ_CTRL_CLR_E2I
	.comm	_FO_PCI_EQ_CTRL_CLR_DIS,4,2     ## @FO_PCI_EQ_CTRL_CLR_DIS
	.comm	_FO_PCI_EQ_TL_BASE,8,3          ## @FO_PCI_EQ_TL_BASE
	.comm	_FO_PCI_EQ_TL_SHFT,4,2          ## @FO_PCI_EQ_TL_SHFT
	.comm	_FO_PCI_EQ_TL_MASK,4,2          ## @FO_PCI_EQ_TL_MASK
	.comm	_FO_PCI_EQ_HD_BASE,8,3          ## @FO_PCI_EQ_HD_BASE
	.comm	_FO_PCI_EQ_HD_SHFT,4,2          ## @FO_PCI_EQ_HD_SHFT
	.comm	_FO_PCI_EQ_HD_MASK,4,2          ## @FO_PCI_EQ_HD_MASK
	.comm	_fire_ic,4,2                    ## @fire_ic
	.comm	_intr_vectors,8,3               ## @intr_vectors
	.no_dead_strip	_fire_teardown_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fire_teardown_intr
_fire_teardown_intr:                    ; @fire_teardown_intr
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	bl	_device_get_softc
	mov	x24, x0
	mov	x0, x19
	bl	_rman_get_rid
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_rman_get_start
	mov	x23, x0
	sxtw	x8, w23
	ldp	x9, x10, [x24]
	sub	x8, x8, x10
	ldrsw	x26, [x9, x8, lsl #2]
	ldr	w0, [x24, #32]
	ldr	x8, [x24, #24]
	add	x1, x8, x26
	bl	_INTMAP_VEC
	mov	x25, x0
	ldr	w8, [x24, #16]
	add	w27, w26, w8
	lsl	w8, w23, #3
Lloh0:
	adrp	x9, _FO_PCI_MSI_MAP_BASE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FO_PCI_MSI_MAP_BASE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x26, x9, w8, sxtw
	mov	x0, x24
	mov	x1, x26
	bl	_FIRE_PCI_READ_8
Lloh3:
	adrp	x8, _FO_PCI_MSI_MAP_V@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FO_PCI_MSI_MAP_V@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	bic	w2, w0, w8
	mov	x0, x24
	mov	x1, x26
	bl	_FIRE_PCI_WRITE_8
	lsl	w8, w27, #3
Lloh6:
	adrp	x9, _FO_PCI_EQ_CTRL_CLR_BASE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FO_PCI_EQ_CTRL_CLR_BASE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	sxtw	x26, w8
	add	x1, x9, x26
Lloh9:
	adrp	x8, _FO_PCI_EQ_CTRL_CLR_COVERR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FO_PCI_EQ_CTRL_CLR_COVERR@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _FO_PCI_EQ_CTRL_CLR_E2I@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FO_PCI_EQ_CTRL_CLR_E2I@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh15:
	adrp	x9, _FO_PCI_EQ_CTRL_CLR_DIS@GOTPAGE
Lloh16:
	ldr	x9, [x9, _FO_PCI_EQ_CTRL_CLR_DIS@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x24
	bl	_FIRE_PCI_WRITE_8
Lloh18:
	adrp	x8, _FO_PCI_EQ_TL_BASE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FO_PCI_EQ_TL_BASE@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	add	x1, x8, x26
	mov	x0, x24
	mov	w2, #0
	bl	_FIRE_PCI_WRITE_8
Lloh21:
	adrp	x8, _FO_PCI_EQ_HD_BASE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FO_PCI_EQ_HD_BASE@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	add	x1, x8, x26
	mov	x0, x24
	mov	w2, #0
	bl	_FIRE_PCI_WRITE_8
Lloh24:
	adrp	x8, _intr_vectors@GOTPAGE
Lloh25:
	ldr	x8, [x8, _intr_vectors@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
Lloh27:
	adrp	x9, _fire_ic@GOTPAGE
Lloh28:
	ldr	x9, [x9, _fire_ic@GOTPAGEOFF]
	str	x9, [x8, x25, lsl #3]
	mov	x0, x19
	mov	x1, x25
	bl	_rman_set_start
	mov	x0, x19
	mov	x1, x25
	bl	_rman_set_end
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	mov	x3, x20
	bl	_bus_generic_teardown_intr
	mov	x20, x0
	sbfx	w21, w23, #0, #29
	mov	x0, x19
	mov	x1, x21
	bl	_rman_set_start
	mov	x0, x19
	mov	x1, x21
	bl	_rman_set_end
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	mov	x3, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_bus_generic_teardown_intr
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FO_PCI_MSI_MAP_BASE,8,3        ; @FO_PCI_MSI_MAP_BASE
	.comm	_FO_PCI_MSI_MAP_V,4,2           ; @FO_PCI_MSI_MAP_V
	.comm	_FO_PCI_EQ_CTRL_CLR_BASE,8,3    ; @FO_PCI_EQ_CTRL_CLR_BASE
	.comm	_FO_PCI_EQ_CTRL_CLR_COVERR,4,2  ; @FO_PCI_EQ_CTRL_CLR_COVERR
	.comm	_FO_PCI_EQ_CTRL_CLR_E2I,4,2     ; @FO_PCI_EQ_CTRL_CLR_E2I
	.comm	_FO_PCI_EQ_CTRL_CLR_DIS,4,2     ; @FO_PCI_EQ_CTRL_CLR_DIS
	.comm	_FO_PCI_EQ_TL_BASE,8,3          ; @FO_PCI_EQ_TL_BASE
	.comm	_FO_PCI_EQ_TL_SHFT,4,2          ; @FO_PCI_EQ_TL_SHFT
	.comm	_FO_PCI_EQ_TL_MASK,4,2          ; @FO_PCI_EQ_TL_MASK
	.comm	_FO_PCI_EQ_HD_BASE,8,3          ; @FO_PCI_EQ_HD_BASE
	.comm	_FO_PCI_EQ_HD_SHFT,4,2          ; @FO_PCI_EQ_HD_SHFT
	.comm	_FO_PCI_EQ_HD_MASK,4,2          ; @FO_PCI_EQ_HD_MASK
	.comm	_fire_ic,4,2                    ; @fire_ic
	.comm	_intr_vectors,8,3               ; @intr_vectors
	.no_dead_strip	_fire_teardown_intr
.subsections_via_symbols
