	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_can_stat_update                ## -- Begin function can_stat_update
	.p2align	4, 0x90
_can_stat_update:                       ## @can_stat_update
	.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), %r14
	movslq	(%r14), %r15
	movq	_user_reset@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_can_init_stats
LBB0_2:
	movq	_can_stats@GOTPCREL(%rip), %rbx
	cmpq	%r15, (%rbx)
	jbe	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_can_init_stats
LBB0_4:
	movl	8(%rbx), %esi
	movq	_ULONG_MAX@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	_HZ@GOTPCREL(%rip), %r12
	movl	%ecx, %eax
	cltd
	idivl	(%r12)
	cmpl	%eax, %esi
	jle	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	callq	_can_init_stats
	movl	(%r13), %ecx
	movl	%ecx, %eax
	cltd
	idivl	(%r12)
LBB0_6:
	cmpl	%eax, 12(%rbx)
	jle	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	callq	_can_init_stats
	movl	(%r13), %ecx
LBB0_8:
	movslq	%ecx, %rax
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$37, %rax
	addl	%ecx, %eax
	cmpl	%eax, 16(%rbx)
	jle	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	callq	_can_init_stats
LBB0_10:
	movl	8(%rbx), %ecx
	testl	%ecx, %ecx
	je	LBB0_12
## %bb.11:
	imull	$100, 16(%rbx), %eax
	cltd
	idivl	%ecx
	movl	%eax, 20(%rbx)
LBB0_12:
	movq	(%rbx), %rdi
	movl	12(%rbx), %edx
	movl	%r15d, %esi
	callq	_calc_rate
	movq	%rax, 96(%rbx)
	movq	(%rbx), %rdi
	movl	8(%rbx), %edx
	movl	%r15d, %esi
	callq	_calc_rate
	movq	%rax, 88(%rbx)
	movl	24(%rbx), %ecx
	testl	%ecx, %ecx
	je	LBB0_14
## %bb.13:
	imull	$100, 32(%rbx), %eax
	cltd
	idivl	%ecx
	movl	%eax, 28(%rbx)
LBB0_14:
	movl	(%r12), %esi
	movl	48(%rbx), %edx
	xorl	%edi, %edi
	callq	_calc_rate
	movq	%rax, 40(%rbx)
	movl	(%r12), %esi
	movl	24(%rbx), %edx
	xorl	%edi, %edi
	callq	_calc_rate
	movq	%rax, 56(%rbx)
	movq	40(%rbx), %rcx
	cmpq	%rcx, 64(%rbx)
	jge	LBB0_16
## %bb.15:
	movq	%rcx, 64(%rbx)
LBB0_16:
	cmpq	%rax, 72(%rbx)
	jge	LBB0_18
## %bb.17:
	movq	%rax, 72(%rbx)
LBB0_18:
	movl	28(%rbx), %eax
	cmpl	%eax, 80(%rbx)
	jge	LBB0_20
## %bb.19:
	movl	%eax, 80(%rbx)
LBB0_20:
	movl	$0, 48(%rbx)
	movl	$0, 24(%rbx)
	movl	$0, 32(%rbx)
	movl	(%r12), %edi
	addl	(%r14), %edi
	callq	_round_jiffies
	movq	_can_stattimer@GOTPCREL(%rip), %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mod_timer                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_user_reset,8,3                 ## @user_reset
	.comm	_can_stats,104,3                ## @can_stats
	.comm	_ULONG_MAX,4,2                  ## @ULONG_MAX
	.comm	_HZ,4,2                         ## @HZ
	.comm	_can_stattimer,4,2              ## @can_stattimer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_can_stat_update                ; -- Begin function can_stat_update
	.p2align	2
_can_stat_update:                       ; @can_stat_update
	.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
Lloh0:
	adrp	x20, _jiffies@GOTPAGE
Lloh1:
	ldr	x20, [x20, _jiffies@GOTPAGEOFF]
	ldrsw	x19, [x20]
Lloh2:
	adrp	x8, _user_reset@GOTPAGE
Lloh3:
	ldr	x8, [x8, _user_reset@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_can_init_stats
LBB0_2:
Lloh5:
	adrp	x21, _can_stats@GOTPAGE
Lloh6:
	ldr	x21, [x21, _can_stats@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x8, x19
	b.ls	LBB0_4
; %bb.3:
	bl	_can_init_stats
LBB0_4:
	ldr	w10, [x21, #8]
Lloh7:
	adrp	x23, _ULONG_MAX@GOTPAGE
Lloh8:
	ldr	x23, [x23, _ULONG_MAX@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh9:
	adrp	x22, _HZ@GOTPAGE
Lloh10:
	ldr	x22, [x22, _HZ@GOTPAGEOFF]
	ldr	w9, [x22]
	sdiv	w9, w8, w9
	cmp	w10, w9
	b.le	LBB0_6
; %bb.5:
	bl	_can_init_stats
	ldr	w8, [x23]
	ldr	w9, [x22]
	sdiv	w9, w8, w9
LBB0_6:
	ldr	w10, [x21, #12]
	cmp	w10, w9
	b.le	LBB0_8
; %bb.7:
	bl	_can_init_stats
	ldr	w8, [x23]
LBB0_8:
	ldr	w9, [x21, #16]
	mov	w10, #34079
	movk	w10, #20971, lsl #16
	smull	x8, w8, w10
	lsr	x10, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w10
	cmp	w9, w8
	b.le	LBB0_10
; %bb.9:
	bl	_can_init_stats
LBB0_10:
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_12
; %bb.11:
	ldr	w9, [x21, #16]
	mov	w10, #100
	mul	w9, w9, w10
	sdiv	w8, w9, w8
	str	w8, [x21, #20]
LBB0_12:
	ldr	x0, [x21]
	ldr	w2, [x21, #12]
	mov	x1, x19
	bl	_calc_rate
	str	x0, [x21, #96]
	ldr	x0, [x21]
	ldr	w2, [x21, #8]
	mov	x1, x19
	bl	_calc_rate
	str	x0, [x21, #88]
	ldr	w8, [x21, #24]
	cbz	w8, LBB0_14
; %bb.13:
	ldr	w9, [x21, #32]
	mov	w10, #100
	mul	w9, w9, w10
	sdiv	w8, w9, w8
	str	w8, [x21, #28]
LBB0_14:
	ldr	w1, [x22]
	ldr	w2, [x21, #48]
	mov	x0, #0
	bl	_calc_rate
	str	x0, [x21, #40]
	ldr	w1, [x22]
	ldr	w2, [x21, #24]
	mov	x0, #0
	bl	_calc_rate
	str	x0, [x21, #56]
	ldr	x9, [x21, #64]
	ldr	x8, [x21, #40]
	cmp	x9, x8
	b.ge	LBB0_16
; %bb.15:
	str	x8, [x21, #64]
LBB0_16:
	ldr	x8, [x21, #72]
	cmp	x8, x0
	b.ge	LBB0_18
; %bb.17:
	str	x0, [x21, #72]
LBB0_18:
	ldr	w9, [x21, #80]
	ldr	w8, [x21, #28]
	cmp	w9, w8
	b.ge	LBB0_20
; %bb.19:
	str	w8, [x21, #80]
LBB0_20:
	str	wzr, [x21, #48]
	str	wzr, [x21, #24]
	str	wzr, [x21, #32]
	ldr	w8, [x20]
	ldr	w9, [x22]
	add	w0, w9, w8
	bl	_round_jiffies
	mov	x1, x0
Lloh11:
	adrp	x0, _can_stattimer@GOTPAGE
Lloh12:
	ldr	x0, [x0, _can_stattimer@GOTPAGEOFF]
	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
	b	_mod_timer
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_user_reset,8,3                 ; @user_reset
	.comm	_can_stats,104,3                ; @can_stats
	.comm	_ULONG_MAX,4,2                  ; @ULONG_MAX
	.comm	_HZ,4,2                         ; @HZ
	.comm	_can_stattimer,4,2              ; @can_stattimer
.subsections_via_symbols
