	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vlv_get_cck_clock              ## -- Begin function vlv_get_cck_clock
	.p2align	4, 0x90
_vlv_get_cck_clock:                     ## @vlv_get_cck_clock
	.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	%ecx, %r15d
	movq	%rsi, %r14
	movl	%edx, %esi
	callq	_vlv_cck_read
	movq	_CCK_FREQUENCY_VALUES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	andl	%eax, %ebx
	movq	_CCK_FREQUENCY_STATUS@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_CCK_FREQUENCY_STATUS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%ebx, %edx
	shll	%cl, %edx
	xorl	%edi, %edi
	cmpl	%edx, %eax
	setne	%dil
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	callq	_WARN
	addl	%r15d, %r15d
	incl	%ebx
	movl	%r15d, %edi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DIV_ROUND_CLOSEST              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CCK_FREQUENCY_VALUES,4,2       ## @CCK_FREQUENCY_VALUES
	.comm	_CCK_FREQUENCY_STATUS,4,2       ## @CCK_FREQUENCY_STATUS
	.comm	_CCK_FREQUENCY_STATUS_SHIFT,4,2 ## @CCK_FREQUENCY_STATUS_SHIFT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s change in progress\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vlv_get_cck_clock              ; -- Begin function vlv_get_cck_clock
	.p2align	2
_vlv_get_cck_clock:                     ; @vlv_get_cck_clock
	.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	x19, x3
	mov	x20, x1
	mov	x1, x2
	bl	_vlv_cck_read
Lloh0:
	adrp	x8, _CCK_FREQUENCY_VALUES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CCK_FREQUENCY_VALUES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w21, w8, w0
Lloh3:
	adrp	x8, _CCK_FREQUENCY_STATUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CCK_FREQUENCY_STATUS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh6:
	adrp	x9, _CCK_FREQUENCY_STATUS_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CCK_FREQUENCY_STATUS_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	lsl	w9, w21, w9
	cmp	w8, w9
	cset	w0, ne
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_WARN
	lsl	w0, w19, #1
	add	w1, w21, #1
	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
	b	_DIV_ROUND_CLOSEST
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CCK_FREQUENCY_VALUES,4,2       ; @CCK_FREQUENCY_VALUES
	.comm	_CCK_FREQUENCY_STATUS,4,2       ; @CCK_FREQUENCY_STATUS
	.comm	_CCK_FREQUENCY_STATUS_SHIFT,4,2 ; @CCK_FREQUENCY_STATUS_SHIFT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s change in progress\n"

.subsections_via_symbols
