	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function thunderx_lmc_err_isr
_thunderx_lmc_err_isr:                  ## @thunderx_lmc_err_isr
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rbx
	movl	12(%rbx), %r14d
	movq	16(%rbx), %rdi
	callq	_ARRAY_SIZE
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ring_pos
	movq	%rax, %r14
	movq	16(%rbx), %r15
	movq	_LMC_CHAR_MASK0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writeq
	movq	_LMC_CHAR_MASK2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writeq
	movq	_LMC_ECC_PARITY_TEST@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movl	$2, %edi
	callq	_writeq
	movq	_LMC_INT@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	(%rbx), %rdi
	callq	_readq
	leaq	(%r14,%r14,4), %r14
	movl	%eax, (%r15,%r14,8)
	movq	_LMC_FADR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rbx), %rdi
	callq	_readq
	movq	%rax, 32(%r15,%r14,8)
	movq	_LMC_NXM_FADR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rbx), %rdi
	callq	_readq
	movq	%rax, 24(%r15,%r14,8)
	movq	_LMC_SCRAM_FADR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rbx), %rdi
	callq	_readq
	movq	%rax, 16(%r15,%r14,8)
	movq	_LMC_ECC_SYND@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rbx), %rdi
	callq	_readq
	movq	%rax, 8(%r15,%r14,8)
	incl	12(%rbx)
	leaq	8(%rbx), %rdi
	movl	$1, %esi
	callq	_atomic_set
	movl	(%r15,%r14,8), %edi
	movq	(%r12), %rsi
	addq	(%rbx), %rsi
	callq	_writeq
	movq	_IRQ_WAKE_THREAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LMC_CHAR_MASK0,8,3             ## @LMC_CHAR_MASK0
	.comm	_LMC_CHAR_MASK2,8,3             ## @LMC_CHAR_MASK2
	.comm	_LMC_ECC_PARITY_TEST,8,3        ## @LMC_ECC_PARITY_TEST
	.comm	_LMC_INT,8,3                    ## @LMC_INT
	.comm	_LMC_FADR,8,3                   ## @LMC_FADR
	.comm	_LMC_NXM_FADR,8,3               ## @LMC_NXM_FADR
	.comm	_LMC_SCRAM_FADR,8,3             ## @LMC_SCRAM_FADR
	.comm	_LMC_ECC_SYND,8,3               ## @LMC_ECC_SYND
	.comm	_IRQ_WAKE_THREAD,4,2            ## @IRQ_WAKE_THREAD
	.no_dead_strip	_thunderx_lmc_err_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function thunderx_lmc_err_isr
_thunderx_lmc_err_isr:                  ; @thunderx_lmc_err_isr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x20, [x1]
	ldr	w19, [x20, #12]
	ldr	x0, [x20, #16]
	bl	_ARRAY_SIZE
	mov	x1, x0
	mov	x0, x19
	bl	_ring_pos
	mov	x19, x0
	ldr	x22, [x20, #16]
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _LMC_CHAR_MASK0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LMC_CHAR_MASK0@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writeq
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _LMC_CHAR_MASK2@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LMC_CHAR_MASK2@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writeq
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _LMC_ECC_PARITY_TEST@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LMC_ECC_PARITY_TEST@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #2
	bl	_writeq
	ldr	x8, [x20]
Lloh9:
	adrp	x21, _LMC_INT@GOTPAGE
Lloh10:
	ldr	x21, [x21, _LMC_INT@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readq
	mov	w8, #40
	madd	x19, x19, x8, x22
	str	w0, [x19]
	ldr	x8, [x20]
Lloh11:
	adrp	x9, _LMC_FADR@GOTPAGE
Lloh12:
	ldr	x9, [x9, _LMC_FADR@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readq
	str	x0, [x19, #32]
	ldr	x8, [x20]
Lloh14:
	adrp	x9, _LMC_NXM_FADR@GOTPAGE
Lloh15:
	ldr	x9, [x9, _LMC_NXM_FADR@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readq
	str	x0, [x19, #24]
	ldr	x8, [x20]
Lloh17:
	adrp	x9, _LMC_SCRAM_FADR@GOTPAGE
Lloh18:
	ldr	x9, [x9, _LMC_SCRAM_FADR@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readq
	str	x0, [x19, #16]
	ldr	x8, [x20]
Lloh20:
	adrp	x9, _LMC_ECC_SYND@GOTPAGE
Lloh21:
	ldr	x9, [x9, _LMC_ECC_SYND@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readq
	str	x0, [x19, #8]
	ldr	w8, [x20, #12]
	add	w8, w8, #1
	str	w8, [x20, #12]
	add	x0, x20, #8
	mov	w1, #1
	bl	_atomic_set
	ldr	w0, [x19]
	ldr	x8, [x20]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_writeq
Lloh23:
	adrp	x8, _IRQ_WAKE_THREAD@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IRQ_WAKE_THREAD@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LMC_CHAR_MASK0,8,3             ; @LMC_CHAR_MASK0
	.comm	_LMC_CHAR_MASK2,8,3             ; @LMC_CHAR_MASK2
	.comm	_LMC_ECC_PARITY_TEST,8,3        ; @LMC_ECC_PARITY_TEST
	.comm	_LMC_INT,8,3                    ; @LMC_INT
	.comm	_LMC_FADR,8,3                   ; @LMC_FADR
	.comm	_LMC_NXM_FADR,8,3               ; @LMC_NXM_FADR
	.comm	_LMC_SCRAM_FADR,8,3             ; @LMC_SCRAM_FADR
	.comm	_LMC_ECC_SYND,8,3               ; @LMC_ECC_SYND
	.comm	_IRQ_WAKE_THREAD,4,2            ; @IRQ_WAKE_THREAD
	.no_dead_strip	_thunderx_lmc_err_isr
.subsections_via_symbols
