	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function octeon_l2c_poll_oct1
_octeon_l2c_poll_oct1:                  ## @octeon_l2c_poll_oct1
	.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	%rdi, %r14
	movq	_CVMX_L2T_ERR@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_cvmx_read_csr
	movq	%rax, %rbx
	movabsq	$4294967296, %r15               ## imm = 0x100000000
	testl	%ebx, %ebx
	je	LBB0_1
## %bb.3:
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_edac_device_handle_ce
	shrq	$32, %rbx
	movl	$1, %ebx
	jne	LBB0_4
	jmp	LBB0_5
LBB0_1:
	shrq	$32, %rbx
	je	LBB0_6
## %bb.2:
	xorl	%ebx, %ebx
LBB0_4:
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_edac_device_handle_ue
	orq	%r15, %rbx
LBB0_5:
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_cvmx_write_csr
LBB0_6:
	movq	_CVMX_L2D_ERR@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_cvmx_read_csr
	movq	%rax, %rbx
	testl	%ebx, %ebx
	je	LBB0_7
## %bb.9:
	leaq	L_.str.2(%rip), %rcx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_edac_device_handle_ce
	shrq	$32, %rbx
	movl	$1, %ebx
	jne	LBB0_10
	jmp	LBB0_11
LBB0_7:
	shrq	$32, %rbx
	jne	LBB0_8
## %bb.12:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	xorl	%ebx, %ebx
LBB0_10:
	leaq	L_.str.3(%rip), %rcx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_edac_device_handle_ue
	orq	%r15, %rbx
LBB0_11:
	movl	(%r12), %edi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cvmx_write_csr                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CVMX_L2T_ERR,4,2               ## @CVMX_L2T_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Tag Single bit error (corrected)"

L_.str.1:                               ## @.str.1
	.asciz	"Tag Double bit error (detected)"

	.comm	_CVMX_L2D_ERR,4,2               ## @CVMX_L2D_ERR
L_.str.2:                               ## @.str.2
	.asciz	"Data Single bit error (corrected)"

L_.str.3:                               ## @.str.3
	.asciz	"Data Double bit error (detected)"

	.no_dead_strip	_octeon_l2c_poll_oct1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function octeon_l2c_poll_oct1
_octeon_l2c_poll_oct1:                  ; @octeon_l2c_poll_oct1
	.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
	mov	x19, x0
Lloh0:
	adrp	x22, _CVMX_L2T_ERR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _CVMX_L2T_ERR@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_cvmx_read_csr
	mov	x21, x0
	cbz	w21, LBB0_2
; %bb.1:
Lloh2:
	adrp	x3, l_.str@PAGE
Lloh3:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_edac_device_handle_ce
	mov	w20, #1
	lsr	x8, x21, #32
	cbnz	x8, LBB0_4
	b	LBB0_5
LBB0_2:
	lsr	x8, x21, #32
	cbz	x8, LBB0_6
; %bb.3:
	mov	x20, #0
LBB0_4:
Lloh4:
	adrp	x3, l_.str.1@PAGE
Lloh5:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_edac_device_handle_ue
	orr	x20, x20, #0x100000000
LBB0_5:
	ldr	w0, [x22]
	mov	x1, x20
	bl	_cvmx_write_csr
LBB0_6:
Lloh6:
	adrp	x22, _CVMX_L2D_ERR@GOTPAGE
Lloh7:
	ldr	x22, [x22, _CVMX_L2D_ERR@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_cvmx_read_csr
	mov	x21, x0
	cbz	w21, LBB0_8
; %bb.7:
Lloh8:
	adrp	x3, l_.str.2@PAGE
Lloh9:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	w20, #1
	mov	x0, x19
	mov	w1, #0
	mov	w2, #1
	bl	_edac_device_handle_ce
	lsr	x8, x21, #32
	cbnz	x8, LBB0_11
	b	LBB0_12
LBB0_8:
	lsr	x8, x21, #32
	cbnz	x8, LBB0_10
; %bb.9:
	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
LBB0_10:
	mov	x20, #0
LBB0_11:
Lloh10:
	adrp	x3, l_.str.3@PAGE
Lloh11:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	mov	w2, #1
	bl	_edac_device_handle_ue
	orr	x20, x20, #0x100000000
LBB0_12:
	ldr	w0, [x22]
	mov	x1, x20
	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
	b	_cvmx_write_csr
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_CVMX_L2T_ERR,4,2               ; @CVMX_L2T_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Tag Single bit error (corrected)"

l_.str.1:                               ; @.str.1
	.asciz	"Tag Double bit error (detected)"

	.comm	_CVMX_L2D_ERR,4,2               ; @CVMX_L2D_ERR
l_.str.2:                               ; @.str.2
	.asciz	"Data Single bit error (corrected)"

l_.str.3:                               ; @.str.3
	.asciz	"Data Double bit error (detected)"

	.no_dead_strip	_octeon_l2c_poll_oct1
.subsections_via_symbols
