	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpufreq_stats_update
_cpufreq_stats_update:                  ## @cpufreq_stats_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	xorl	%eax, %eax
	callq	_get_jiffies_64
	movq	%rax, %r14
	movq	_cpufreq_stats_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock
	movq	_cpufreq_stats_table@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_per_cpu
	movq	%rax, %rbx
	movq	16(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rcx
	movq	8(%rbx), %rsi
	movl	(%rax,%rcx,4), %r15d
	movq	%r14, %rdi
	callq	_cputime_sub
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_cputime64_add
	movq	(%rbx), %rcx
	movq	16(%rbx), %rdx
	movl	%eax, (%rdx,%rcx,4)
LBB0_2:
	movq	%r14, 8(%rbx)
	movq	_cpufreq_stats_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cpufreq_stats_lock,4,2         ## @cpufreq_stats_lock
	.comm	_cpufreq_stats_table,4,2        ## @cpufreq_stats_table
	.no_dead_strip	_cpufreq_stats_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpufreq_stats_update
_cpufreq_stats_update:                  ; @cpufreq_stats_update
	.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	x20, x0
	bl	_get_jiffies_64
	mov	x19, x0
Lloh0:
	adrp	x0, _cpufreq_stats_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _cpufreq_stats_lock@GOTPAGEOFF]
	bl	_spin_lock
Lloh2:
	adrp	x8, _cpufreq_stats_table@GOTPAGE
Lloh3:
	ldr	x8, [x8, _cpufreq_stats_table@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_per_cpu
	mov	x20, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
	ldp	x9, x1, [x20]
	ldr	w21, [x8, x9, lsl #2]
	mov	x0, x19
	bl	_cputime_sub
	mov	x1, x0
	mov	x0, x21
	bl	_cputime64_add
	ldr	x8, [x20, #16]
	ldr	x9, [x20]
	str	w0, [x8, x9, lsl #2]
LBB0_2:
	str	x19, [x20, #8]
Lloh5:
	adrp	x0, _cpufreq_stats_lock@GOTPAGE
Lloh6:
	ldr	x0, [x0, _cpufreq_stats_lock@GOTPAGEOFF]
	bl	_spin_unlock
	mov	w0, #0
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_cpufreq_stats_lock,4,2         ; @cpufreq_stats_lock
	.comm	_cpufreq_stats_table,4,2        ; @cpufreq_stats_table
	.no_dead_strip	_cpufreq_stats_update
.subsections_via_symbols
