	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpufreq_stat_notifier_trans
_cpufreq_stat_notifier_trans:           ## @cpufreq_stat_notifier_trans
	.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	_CPUFREQ_POSTCHANGE@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_6
## %bb.1:
	movq	%rdx, %rbx
	movq	_cpufreq_stats_table@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rdx), %esi
	callq	_per_cpu
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, %r14
	movl	(%rax), %r12d
	movl	4(%rbx), %esi
	movq	%rax, %rdi
	callq	_freq_table_get_index
	movl	%eax, %r15d
	movl	(%rbx), %edi
	callq	_cpufreq_stats_update
	cmpl	%r15d, %r12d
	je	LBB0_6
## %bb.3:
	cmpl	$-1, %r12d
	je	LBB0_6
## %bb.4:
	cmpl	$-1, %r15d
	je	LBB0_6
## %bb.5:
	movq	_cpufreq_stats_lock@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock
	movl	%r15d, (%r14)
	incl	8(%r14)
	movq	%rbx, %rdi
	callq	_spin_unlock
LBB0_6:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CPUFREQ_POSTCHANGE,8,3         ## @CPUFREQ_POSTCHANGE
	.comm	_cpufreq_stats_table,4,2        ## @cpufreq_stats_table
	.comm	_cpufreq_stats_lock,4,2         ## @cpufreq_stats_lock
	.no_dead_strip	_cpufreq_stat_notifier_trans
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpufreq_stat_notifier_trans
_cpufreq_stat_notifier_trans:           ; @cpufreq_stat_notifier_trans
	.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
Lloh0:
	adrp	x8, _CPUFREQ_POSTCHANGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CPUFREQ_POSTCHANGE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_4
; %bb.1:
	mov	x20, x2
Lloh3:
	adrp	x8, _cpufreq_stats_table@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cpufreq_stats_table@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x2]
	bl	_per_cpu
	cbz	x0, LBB0_4
; %bb.2:
	mov	x19, x0
	ldr	w22, [x0]
	ldr	w1, [x20, #4]
	bl	_freq_table_get_index
	mov	x21, x0
	ldr	w0, [x20]
	bl	_cpufreq_stats_update
	cmp	w22, w21
	ccmn	w22, #1, #4, ne
	ccmn	w21, #1, #4, ne
	b.eq	LBB0_4
; %bb.3:
Lloh6:
	adrp	x20, _cpufreq_stats_lock@GOTPAGE
Lloh7:
	ldr	x20, [x20, _cpufreq_stats_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_spin_lock
	str	w21, [x19]
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	mov	x0, x20
	bl	_spin_unlock
LBB0_4:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CPUFREQ_POSTCHANGE,8,3         ; @CPUFREQ_POSTCHANGE
	.comm	_cpufreq_stats_table,4,2        ; @cpufreq_stats_table
	.comm	_cpufreq_stats_lock,4,2         ; @cpufreq_stats_lock
	.no_dead_strip	_cpufreq_stat_notifier_trans
.subsections_via_symbols
