	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aw_clk_frac_init
_aw_clk_frac_init:                      ## @aw_clk_frac_init
	.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
	movq	%rdi, %r14
	callq	_clknode_get_softc
	movq	%rax, %r15
	movq	_AW_CLK_HAS_MUX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_DEVICE_LOCK
	movl	12(%r15), %esi
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	callq	_READ4
	movq	%r14, %rdi
	callq	_DEVICE_UNLOCK
	movl	4(%r15), %ebx
	andl	-28(%rbp), %ebx
	movb	8(%r15), %cl
	sarl	%cl, %ebx
	jmp	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
LBB0_3:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_dprintf
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_clknode_init_parent_idx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AW_CLK_HAS_MUX,4,2             ## @AW_CLK_HAS_MUX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"init parent idx %d\n"

	.no_dead_strip	_aw_clk_frac_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aw_clk_frac_init
_aw_clk_frac_init:                      ; @aw_clk_frac_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	bl	_clknode_get_softc
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _AW_CLK_HAS_MUX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AW_CLK_HAS_MUX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	bl	_DEVICE_LOCK
	ldr	w1, [x20, #12]
	add	x2, sp, #12
	mov	x0, x19
	bl	_READ4
	mov	x0, x19
	bl	_DEVICE_UNLOCK
	ldr	w8, [sp, #12]
	ldp	w9, w10, [x20, #4]
	and	w8, w9, w8
	asr	w20, w8, w10
	b	LBB0_3
LBB0_2:
	mov	w20, #0
LBB0_3:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_dprintf
	mov	x0, x19
	mov	x1, x20
	bl	_clknode_init_parent_idx
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AW_CLK_HAS_MUX,4,2             ; @AW_CLK_HAS_MUX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"init parent idx %d\n"

	.no_dead_strip	_aw_clk_frac_init
.subsections_via_symbols
