	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function altr_edac_device_handler
_altr_edac_device_handler:              ## @altr_edac_device_handler
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	(%rsi), %rbx
	movq	16(%rbx), %rax
	cmpl	%edi, (%rbx)
	jne	LBB0_5
## %bb.1:
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	movl	12(%rbx), %esi
	callq	_writel
LBB0_3:
	movl	8(%rbx), %ecx
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_edac_device_handle_ce
	jmp	LBB0_4
LBB0_5:
	cmpl	%edi, 4(%rbx)
	jne	LBB0_9
## %bb.6:
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	movl	12(%rbx), %esi
	callq	_writel
LBB0_8:
	movl	8(%rbx), %ecx
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_edac_device_handle_ue
	leaq	L_.str(%rip), %rdi
	callq	_panic
LBB0_4:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_10
LBB0_9:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$1, %edi
	callq	_WARN_ON
LBB0_10:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\nEDAC:ECC_DEVICE[Uncorrectable errors]\n"

	.no_dead_strip	_altr_edac_device_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function altr_edac_device_handler
_altr_edac_device_handler:              ; @altr_edac_device_handler
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	x20, [x1]
	ldr	x8, [x20, #16]
	ldr	w9, [x20]
	cmp	w9, w0
	b.ne	LBB0_4
; %bb.1:
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w1, [x20, #12]
	bl	_writel
LBB0_3:
	ldr	w3, [x20, #8]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_edac_device_handle_ce
	b	LBB0_8
LBB0_4:
	ldr	w9, [x20, #4]
	cmp	w9, w0
	b.ne	LBB0_9
; %bb.5:
	ldr	x0, [x8]
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w1, [x20, #12]
	bl	_writel
LBB0_7:
	ldr	w3, [x20, #8]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_edac_device_handle_ue
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_panic
LBB0_8:
Lloh2:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
	b	LBB0_10
LBB0_9:
Lloh5:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
	mov	w0, #1
	bl	_WARN_ON
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\nEDAC:ECC_DEVICE[Uncorrectable errors]\n"

	.no_dead_strip	_altr_edac_device_handler
.subsections_via_symbols
