	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_frequent_errors
_handle_frequent_errors:                ## @handle_frequent_errors
	.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	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	_handle_frequent_errors.nmsgs(%rip), %eax
	cmpl	$11, %eax
	jb	LBB0_6
## %bb.1:
	movq	%r8, %r13
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rdi, %r12
	movq	_handle_frequent_errors.nextmsg_time(%rip), %rsi
	movq	%rbx, %rdi
	callq	_time_before
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movl	$1, (%r13)
	movl	_handle_frequent_errors.supp_msgs(%rip), %eax
	leal	1(%rax), %ecx
	movl	%ecx, _handle_frequent_errors.supp_msgs(%rip)
	testl	%eax, %eax
	jne	LBB0_10
## %bb.3:
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rax,%rax,2), %rax
	jmp	LBB0_9
LBB0_6:
	leal	1(%rax), %ecx
	movl	%ecx, _handle_frequent_errors.nmsgs(%rip)
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movq	_handle_frequent_errors.nextmsg_time(%rip), %rsi
	movq	%rbx, %rdi
	callq	_time_after
	testq	%rax, %rax
	je	LBB0_10
LBB0_8:
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movslq	%ecx, %rax
LBB0_9:
	addq	%rax, %rbx
	movq	%rbx, _handle_frequent_errors.nextmsg_time(%rip)
	jmp	LBB0_10
LBB0_4:
	movl	_handle_frequent_errors.supp_msgs(%rip), %esi
	testl	%esi, %esi
	je	LBB0_10
## %bb.5:
	movq	%r12, %rdi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	callq	_handle_supp_msgs
	movl	$0, _handle_frequent_errors.supp_msgs(%rip)
	movl	$0, _handle_frequent_errors.nmsgs(%rip)
LBB0_10:
	movl	_handle_frequent_errors.supp_msgs(%rip), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_handle_frequent_errors.nextmsg_time,8,3 ## @handle_frequent_errors.nextmsg_time
.zerofill __DATA,__bss,_handle_frequent_errors.nmsgs,4,2 ## @handle_frequent_errors.nmsgs
.zerofill __DATA,__bss,_handle_frequent_errors.supp_msgs,4,2 ## @handle_frequent_errors.supp_msgs
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_handle_frequent_errors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_frequent_errors
_handle_frequent_errors:                ; @handle_frequent_errors
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	adrp	x25, _handle_frequent_errors.nmsgs@PAGE
	ldr	w8, [x25, _handle_frequent_errors.nmsgs@PAGEOFF]
	adrp	x24, _handle_frequent_errors.supp_msgs@PAGE
	cmp	w8, #11
	b.lo	LBB0_4
; %bb.1:
	mov	x23, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x0
	adrp	x26, _handle_frequent_errors.nextmsg_time@PAGE
	ldr	x1, [x26, _handle_frequent_errors.nextmsg_time@PAGEOFF]
	mov	x0, x19
	bl	_time_before
	cbz	x0, LBB0_7
; %bb.2:
	mov	w8, #1
	str	w8, [x23]
	ldr	w8, [x24, _handle_frequent_errors.supp_msgs@PAGEOFF]
	add	w9, w8, #1
	str	w9, [x24, _handle_frequent_errors.supp_msgs@PAGEOFF]
	cbnz	w8, LBB0_9
; %bb.3:
Lloh3:
	adrp	x8, _HZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh5:
	ldrsw	x8, [x8]
	add	x8, x8, x8, lsl #1
	add	x8, x19, x8
	str	x8, [x26, _handle_frequent_errors.nextmsg_time@PAGEOFF]
	b	LBB0_9
LBB0_4:
	add	w9, w8, #1
	str	w9, [x25, _handle_frequent_errors.nmsgs@PAGEOFF]
	adrp	x20, _handle_frequent_errors.nextmsg_time@PAGE
	cbz	w8, LBB0_6
; %bb.5:
	ldr	x1, [x20, _handle_frequent_errors.nextmsg_time@PAGEOFF]
	mov	x0, x19
	bl	_time_after
	cbz	x0, LBB0_9
LBB0_6:
Lloh6:
	adrp	x8, _HZ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	add	x8, x19, w8, sxtw
	str	x8, [x20, _handle_frequent_errors.nextmsg_time@PAGEOFF]
	b	LBB0_9
LBB0_7:
	ldr	w1, [x24, _handle_frequent_errors.supp_msgs@PAGEOFF]
	cbz	w1, LBB0_9
; %bb.8:
	mov	x0, x22
	mov	x2, x21
	mov	x3, x20
	bl	_handle_supp_msgs
	str	wzr, [x24, _handle_frequent_errors.supp_msgs@PAGEOFF]
	str	wzr, [x25, _handle_frequent_errors.nmsgs@PAGEOFF]
LBB0_9:
	ldr	w0, [x24, _handle_frequent_errors.supp_msgs@PAGEOFF]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_handle_frequent_errors.nextmsg_time,8,3 ; @handle_frequent_errors.nextmsg_time
.zerofill __DATA,__bss,_handle_frequent_errors.nmsgs,4,2 ; @handle_frequent_errors.nmsgs
.zerofill __DATA,__bss,_handle_frequent_errors.supp_msgs,4,2 ; @handle_frequent_errors.supp_msgs
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_handle_frequent_errors
.subsections_via_symbols
