	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_cur_freq_on_cpu
_get_cur_freq_on_cpu:                   ## @get_cur_freq_on_cpu
	.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
	movl	%edi, %r14d
	movq	_drv_data@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	callq	_per_cpu
	movq	%rax, %r15
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	callq	_dprintk
	movl	$1, %edi
	testq	%r15, %r15
	je	LBB0_3
## %bb.1:
	cmpq	$0, 8(%r15)
	je	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	cmpq	$0, 16(%r15)
	sete	%dil
LBB0_3:
	callq	_unlikely
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	movq	8(%r15), %rax
	movq	16(%r15), %rcx
	movq	(%rax), %rax
	movl	(%rcx,%rax,4), %r12d
	movl	%r14d, %edi
	callq	_cpumask_of
	movl	%eax, %edi
	callq	_get_cur_val
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_extract_freq
	movl	%eax, %ebx
	cmpl	%r12d, %eax
	je	LBB0_6
## %bb.5:
	movl	$1, (%r15)
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	callq	_dprintk
LBB0_7:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_drv_data,4,2                   ## @drv_data
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"get_cur_freq_on_cpu (%d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"cur freq = %u\n"

	.no_dead_strip	_get_cur_freq_on_cpu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_cur_freq_on_cpu
_get_cur_freq_on_cpu:                   ; @get_cur_freq_on_cpu
	.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
Lloh0:
	adrp	x8, _drv_data@GOTPAGE
Lloh1:
	ldr	x8, [x8, _drv_data@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_per_cpu
	mov	x19, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_dprintk
	cbz	x19, LBB0_6
; %bb.1:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
; %bb.2:
	ldr	x8, [x19, #16]
	cmp	x8, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_7
LBB0_3:
	ldp	x9, x8, [x19, #8]
	ldr	x9, [x9]
	ldr	w21, [x8, x9, lsl #2]
	mov	x0, x20
	bl	_cpumask_of
	bl	_get_cur_val
	mov	x1, x19
	bl	_extract_freq
	mov	x20, x0
	cmp	w0, w21
	b.eq	LBB0_5
; %bb.4:
	mov	w8, #1
	str	w8, [x19]
LBB0_5:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_dprintk
	b	LBB0_8
LBB0_6:
	mov	w0, #1
	bl	_unlikely
	cbz	x0, LBB0_3
LBB0_7:
	mov	w20, #0
LBB0_8:
	mov	x0, x20
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_drv_data,4,2                   ; @drv_data
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"get_cur_freq_on_cpu (%d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"cur freq = %u\n"

	.no_dead_strip	_get_cur_freq_on_cpu
.subsections_via_symbols
