	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_ecc_sec
_xgbe_ecc_sec:                          ## @xgbe_ecc_sec
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_jiffies@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	movq	(%rsi), %rsi
	callq	_time_before
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r12), %ecx
	incl	%ecx
	jmp	LBB0_3
LBB0_2:
	movq	_ecc_sec_period@GOTPCREL(%rip), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	imulq	(%rax), %rcx
	addq	(%r13), %rcx
	movq	%rcx, (%rbx)
	movl	$1, %ecx
LBB0_3:
	movl	%ecx, (%r12)
	movq	_ecc_sec_info_threshold@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jbe	LBB0_5
## %bb.4:
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	callq	_dev_warn_once
	movl	(%r12), %ecx
LBB0_5:
	movq	_ecc_sec_warn_threshold@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpl	(%rdx), %ecx
	jbe	LBB0_7
## %bb.6:
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	callq	_dev_warn_once
	movl	$1, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_ecc_sec_period,8,3             ## @ecc_sec_period
	.comm	_HZ,8,3                         ## @HZ
	.comm	_ecc_sec_info_threshold,4,2     ## @ecc_sec_info_threshold
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s ECC corrected errors exceed informational threshold\n"

	.comm	_ecc_sec_warn_threshold,4,2     ## @ecc_sec_warn_threshold
L_.str.1:                               ## @.str.1
	.asciz	"%s ECC corrected errors exceed warning threshold\n"

	.no_dead_strip	_xgbe_ecc_sec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_ecc_sec
_xgbe_ecc_sec:                          ; @xgbe_ecc_sec
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _jiffies@GOTPAGE
Lloh1:
	ldr	x23, [x23, _jiffies@GOTPAGEOFF]
	ldr	x0, [x23]
	ldr	x1, [x1]
	bl	_time_before
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x21]
	add	w8, w8, #1
	b	LBB0_3
LBB0_2:
	ldr	x8, [x23]
Lloh2:
	adrp	x9, _ecc_sec_period@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ecc_sec_period@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _HZ@GOTPAGE
Lloh6:
	ldr	x10, [x10, _HZ@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	madd	x8, x10, x9, x8
	str	x8, [x22]
	mov	w8, #1
LBB0_3:
	str	w8, [x21]
Lloh8:
	adrp	x9, _ecc_sec_info_threshold@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ecc_sec_info_threshold@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ls	LBB0_5
; %bb.4:
	ldr	w0, [x20]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_dev_warn_once
	ldr	w8, [x21]
LBB0_5:
Lloh13:
	adrp	x9, _ecc_sec_warn_threshold@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ecc_sec_warn_threshold@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ls	LBB0_7
; %bb.6:
	ldr	w0, [x20]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_dev_warn_once
	mov	w0, #1
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_ecc_sec_period,8,3             ; @ecc_sec_period
	.comm	_HZ,8,3                         ; @HZ
	.comm	_ecc_sec_info_threshold,4,2     ; @ecc_sec_info_threshold
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s ECC corrected errors exceed informational threshold\n"

	.comm	_ecc_sec_warn_threshold,4,2     ; @ecc_sec_warn_threshold
l_.str.1:                               ; @.str.1
	.asciz	"%s ECC corrected errors exceed warning threshold\n"

	.no_dead_strip	_xgbe_ecc_sec
.subsections_via_symbols
