	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function available_frequencies_show
_available_frequencies_show:            ## @available_frequencies_show
	.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	%rdx, %r14
	callq	_to_devfreq
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_mutex_lock
	movq	8(%r15), %rax
	cmpl	$0, (%rax)
	jle	LBB0_6
## %bb.1:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r12
	leaq	(%r14,%rbx), %rdi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	subq	%rbx, %rsi
	addq	$-2, %rsi
	movq	8(%rax), %rax
	movl	(%rax,%r13,4), %ecx
	leaq	L_.str(%rip), %rdx
	callq	_scnprintf
	movq	%rax, %rbx
	addq	%r12, %rbx
	incq	%r13
	movq	8(%r15), %rax
	movslq	(%rax), %rcx
	cmpq	%rcx, %r13
	jl	LBB0_2
## %bb.3:
	movq	%r15, %rdi
	callq	_mutex_unlock
	subq	$1, %rbx
	jb	LBB0_4
	jmp	LBB0_5
LBB0_6:
	movq	%r15, %rdi
	callq	_mutex_unlock
LBB0_4:
	xorl	%ebx, %ebx
LBB0_5:
	addq	%rbx, %r14
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_sprintf
	addq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%lu "

L_.str.1:                               ## @.str.1
	.asciz	"\n"

	.no_dead_strip	_available_frequencies_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function available_frequencies_show
_available_frequencies_show:            ; @available_frequencies_show
	.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
	mov	x19, x2
	bl	_to_devfreq
	mov	x20, x0
	bl	_mutex_lock
	ldr	x8, [x20, #8]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x23, #0
	mov	x22, #0
Lloh0:
	adrp	x24, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x19, x22
	ldr	x9, [x24]
	sub	x9, x9, x22
	sub	x1, x9, #2
	ldr	x8, [x8, #8]
	ldr	w3, [x8, x23, lsl #2]
	mov	x2, x21
	bl	_scnprintf
	add	x22, x0, x22
	add	x23, x23, #1
	ldr	x8, [x20, #8]
	ldrsw	x9, [x8]
	cmp	x23, x9
	b.lt	LBB0_2
; %bb.3:
	mov	x0, x20
	bl	_mutex_unlock
	cbz	x22, LBB0_6
; %bb.4:
	sub	x20, x22, #1
	b	LBB0_7
LBB0_5:
	mov	x0, x20
	bl	_mutex_unlock
LBB0_6:
	mov	x20, #0
LBB0_7:
	add	x0, x19, x20
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_sprintf
	add	x0, x0, x20
	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
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%lu "

l_.str.1:                               ; @.str.1
	.asciz	"\n"

	.no_dead_strip	_available_frequencies_show
.subsections_via_symbols
