	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function serdes_am654_clk_mux_get_parent
_serdes_am654_clk_mux_get_parent:       ## @serdes_am654_clk_mux_get_parent
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_to_serdes_am654_clk_mux
	movq	%rax, %rbx
	movq	16(%rax), %rdi
	movl	(%rax), %esi
	leaq	-12(%rbp), %rdx
	callq	_regmap_read
	movq	_AM654_SERDES_CTRL_CLKSEL_MASK@GOTPCREL(%rip), %rax
	movl	-12(%rbp), %edx
	andl	(%rax), %edx
	movq	_AM654_SERDES_CTRL_CLKSEL_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrq	%cl, %rdx
	movl	%edx, -12(%rbp)
	movq	_serdes_am654_mux_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rdx,8), %rax
	movq	8(%rbx), %rcx
	movl	(%rax,%rcx,4), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AM654_SERDES_CTRL_CLKSEL_MASK,4,2 ## @AM654_SERDES_CTRL_CLKSEL_MASK
	.comm	_AM654_SERDES_CTRL_CLKSEL_SHIFT,4,2 ## @AM654_SERDES_CTRL_CLKSEL_SHIFT
	.comm	_serdes_am654_mux_table,8,3     ## @serdes_am654_mux_table
	.no_dead_strip	_serdes_am654_clk_mux_get_parent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function serdes_am654_clk_mux_get_parent
_serdes_am654_clk_mux_get_parent:       ; @serdes_am654_clk_mux_get_parent
	.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
	bl	_to_serdes_am654_clk_mux
	mov	x19, x0
	ldr	x0, [x0, #16]
	ldr	w1, [x19]
	add	x2, sp, #12
	bl	_regmap_read
Lloh0:
	adrp	x8, _AM654_SERDES_CTRL_CLKSEL_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AM654_SERDES_CTRL_CLKSEL_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	and	w8, w9, w8
Lloh3:
	adrp	x9, _AM654_SERDES_CTRL_CLKSEL_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AM654_SERDES_CTRL_CLKSEL_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsr	x8, x8, x9
	str	w8, [sp, #12]
Lloh6:
	adrp	x9, _serdes_am654_mux_table@GOTPAGE
Lloh7:
	ldr	x9, [x9, _serdes_am654_mux_table@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	x8, [x9, x8, lsl #3]
	ldr	x9, [x19, #8]
	ldr	w0, [x8, x9, lsl #2]
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AM654_SERDES_CTRL_CLKSEL_MASK,4,2 ; @AM654_SERDES_CTRL_CLKSEL_MASK
	.comm	_AM654_SERDES_CTRL_CLKSEL_SHIFT,4,2 ; @AM654_SERDES_CTRL_CLKSEL_SHIFT
	.comm	_serdes_am654_mux_table,8,3     ; @serdes_am654_mux_table
	.no_dead_strip	_serdes_am654_clk_mux_get_parent
.subsections_via_symbols
