	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_fixeds
_init_fixeds:                           ## @init_fixeds
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	4(%rdi), %edi
	movq	_OSC_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %rdx
	callq	_CLKDEV_READ_4
	movl	-36(%rbp), %eax
	movq	_OSC_CTRL_OSC_FREQ_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movq	_osc_freqs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	movq	(%rcx,%rax,8), %rax
	movq	_fixed_clk_m@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_panic
LBB0_2:
	movl	(%r14), %edi
	movq	_fixed_clk_m@GOTPCREL(%rip), %rsi
	callq	_clknode_fixed_register
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_panic
LBB0_4:
	movl	-36(%rbp), %eax
	movq	_OSC_CTRL_PLL_REF_DIV_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	andl	$3, %eax
	movl	$1, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	movl	%eax, -36(%rbp)
	movq	_fixed_osc_div_clk@GOTPCREL(%rip), %rsi
	movl	%edx, 8(%rsi)
	movl	(%r14), %edi
	callq	_clknode_fixed_register
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	callq	_panic
LBB0_6:
	testl	%r15d, %r15d
	jle	LBB0_11
## %bb.7:
	movl	%r15d, %ebx
	leaq	L_.str.1(%rip), %r15
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	addq	$16, %r12
	decq	%rbx
	je	LBB0_11
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movq	%r12, %rsi
	callq	_clknode_fixed_register
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	callq	_panic
	jmp	LBB0_10
LBB0_11:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OSC_CTRL,4,2                   ## @OSC_CTRL
	.comm	_OSC_CTRL_OSC_FREQ_SHIFT,4,2    ## @OSC_CTRL_OSC_FREQ_SHIFT
	.comm	_osc_freqs,8,3                  ## @osc_freqs
	.comm	_fixed_clk_m,16,3               ## @fixed_clk_m
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Undefined input frequency"

L_.str.1:                               ## @.str.1
	.asciz	"clk_fixed_register failed"

	.comm	_OSC_CTRL_PLL_REF_DIV_SHIFT,4,2 ## @OSC_CTRL_PLL_REF_DIV_SHIFT
	.comm	_fixed_osc_div_clk,16,3         ## @fixed_osc_div_clk
	.no_dead_strip	_init_fixeds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_fixeds
_init_fixeds:                           ; @init_fixeds
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0, #4]
Lloh0:
	adrp	x8, _OSC_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OSC_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_CLKDEV_READ_4
	ldr	w8, [sp, #12]
Lloh3:
	adrp	x9, _OSC_CTRL_OSC_FREQ_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OSC_CTRL_OSC_FREQ_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	asr	w8, w8, w9
Lloh6:
	adrp	x9, _osc_freqs@GOTPAGE
Lloh7:
	ldr	x9, [x9, _osc_freqs@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	x8, [x9, w8, sxtw #3]
Lloh9:
	adrp	x9, _fixed_clk_m@GOTPAGE
Lloh10:
	ldr	x9, [x9, _fixed_clk_m@GOTPAGEOFF]
Lloh11:
	str	x8, [x9]
	cbnz	x8, LBB0_2
; %bb.1:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_panic
LBB0_2:
	ldr	w0, [x20]
Lloh14:
	adrp	x1, _fixed_clk_m@GOTPAGE
Lloh15:
	ldr	x1, [x1, _fixed_clk_m@GOTPAGEOFF]
	bl	_clknode_fixed_register
	cbz	w0, LBB0_4
; %bb.3:
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_panic
LBB0_4:
	ldr	w8, [sp, #12]
Lloh18:
	adrp	x9, _OSC_CTRL_PLL_REF_DIV_SHIFT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _OSC_CTRL_PLL_REF_DIV_SHIFT@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	asr	w8, w8, w9
	and	w8, w8, #0x3
	str	w8, [sp, #12]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh21:
	adrp	x1, _fixed_osc_div_clk@GOTPAGE
Lloh22:
	ldr	x1, [x1, _fixed_osc_div_clk@GOTPAGEOFF]
	str	w8, [x1, #8]
	ldr	w0, [x20]
	bl	_clknode_fixed_register
	cbz	w0, LBB0_6
; %bb.5:
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_panic
LBB0_6:
	cmp	w21, #1
	b.lt	LBB0_11
; %bb.7:
	mov	w22, w21
Lloh25:
	adrp	x21, l_.str.1@PAGE
Lloh26:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x19, x19, #16
	subs	x22, x22, #1
	b.eq	LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	mov	x1, x19
	bl	_clknode_fixed_register
	cbz	w0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x21
	bl	_panic
	b	LBB0_8
LBB0_11:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_OSC_CTRL,4,2                   ; @OSC_CTRL
	.comm	_OSC_CTRL_OSC_FREQ_SHIFT,4,2    ; @OSC_CTRL_OSC_FREQ_SHIFT
	.comm	_osc_freqs,8,3                  ; @osc_freqs
	.comm	_fixed_clk_m,16,3               ; @fixed_clk_m
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Undefined input frequency"

l_.str.1:                               ; @.str.1
	.asciz	"clk_fixed_register failed"

	.comm	_OSC_CTRL_PLL_REF_DIV_SHIFT,4,2 ; @OSC_CTRL_PLL_REF_DIV_SHIFT
	.comm	_fixed_osc_div_clk,16,3         ; @fixed_osc_div_clk
	.no_dead_strip	_init_fixeds
.subsections_via_symbols
