	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpi_get_clk_src_dra7xx
_dpi_get_clk_src_dra7xx:                ## @dpi_get_clk_src_dra7xx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	cmpl	$128, %esi
	je	LBB0_6
## %bb.1:
	cmpl	$129, %esi
	je	LBB0_4
## %bb.2:
	cmpl	$130, %esi
	jne	LBB0_9
## %bb.3:
	movl	(%r14), %edi
	movq	_DSS_CLK_SRC_PLL1_1@GOTPCREL(%rip), %rbx
	jmp	LBB0_8
LBB0_6:
	movl	(%r14), %edi
	movq	_DSS_CLK_SRC_PLL2_1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_dss_pll_find_by_src
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	movl	(%r14), %edi
	movq	_DSS_CLK_SRC_PLL1_3@GOTPCREL(%rip), %rbx
	jmp	LBB0_8
LBB0_4:
	movl	(%r14), %edi
	movq	_DSS_CLK_SRC_PLL1_3@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_dss_pll_find_by_src
	testl	%eax, %eax
	jne	LBB0_10
## %bb.5:
	movl	(%r14), %edi
	movq	_DSS_CLK_SRC_PLL2_3@GOTPCREL(%rip), %rbx
LBB0_8:
	movl	(%rbx), %esi
	callq	_dss_pll_find_by_src
	testl	%eax, %eax
	jne	LBB0_10
LBB0_9:
	movq	_DSS_CLK_SRC_FCK@GOTPCREL(%rip), %rbx
LBB0_10:
	movl	(%rbx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DSS_CLK_SRC_PLL1_1,4,2         ## @DSS_CLK_SRC_PLL1_1
	.comm	_DSS_CLK_SRC_PLL1_3,4,2         ## @DSS_CLK_SRC_PLL1_3
	.comm	_DSS_CLK_SRC_PLL2_3,4,2         ## @DSS_CLK_SRC_PLL2_3
	.comm	_DSS_CLK_SRC_PLL2_1,4,2         ## @DSS_CLK_SRC_PLL2_1
	.comm	_DSS_CLK_SRC_FCK,4,2            ## @DSS_CLK_SRC_FCK
	.no_dead_strip	_dpi_get_clk_src_dra7xx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpi_get_clk_src_dra7xx
_dpi_get_clk_src_dra7xx:                ; @dpi_get_clk_src_dra7xx
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cmp	w1, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w1, #130
	b.ne	LBB0_9
; %bb.3:
	ldr	w0, [x19]
Lloh0:
	adrp	x20, _DSS_CLK_SRC_PLL1_1@GOTPAGE
Lloh1:
	ldr	x20, [x20, _DSS_CLK_SRC_PLL1_1@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
	ldr	w0, [x19]
Lloh2:
	adrp	x20, _DSS_CLK_SRC_PLL2_1@GOTPAGE
Lloh3:
	ldr	x20, [x20, _DSS_CLK_SRC_PLL2_1@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_dss_pll_find_by_src
	cbnz	w0, LBB0_10
; %bb.5:
	ldr	w0, [x19]
Lloh4:
	adrp	x20, _DSS_CLK_SRC_PLL1_3@GOTPAGE
Lloh5:
	ldr	x20, [x20, _DSS_CLK_SRC_PLL1_3@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	ldr	w0, [x19]
Lloh6:
	adrp	x20, _DSS_CLK_SRC_PLL1_3@GOTPAGE
Lloh7:
	ldr	x20, [x20, _DSS_CLK_SRC_PLL1_3@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_dss_pll_find_by_src
	cbnz	w0, LBB0_10
; %bb.7:
	ldr	w0, [x19]
Lloh8:
	adrp	x20, _DSS_CLK_SRC_PLL2_3@GOTPAGE
Lloh9:
	ldr	x20, [x20, _DSS_CLK_SRC_PLL2_3@GOTPAGEOFF]
LBB0_8:
	ldr	w1, [x20]
	bl	_dss_pll_find_by_src
	cbnz	w0, LBB0_10
LBB0_9:
Lloh10:
	adrp	x20, _DSS_CLK_SRC_FCK@GOTPAGE
Lloh11:
	ldr	x20, [x20, _DSS_CLK_SRC_FCK@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_DSS_CLK_SRC_PLL1_1,4,2         ; @DSS_CLK_SRC_PLL1_1
	.comm	_DSS_CLK_SRC_PLL1_3,4,2         ; @DSS_CLK_SRC_PLL1_3
	.comm	_DSS_CLK_SRC_PLL2_3,4,2         ; @DSS_CLK_SRC_PLL2_3
	.comm	_DSS_CLK_SRC_PLL2_1,4,2         ; @DSS_CLK_SRC_PLL2_1
	.comm	_DSS_CLK_SRC_FCK,4,2            ; @DSS_CLK_SRC_FCK
	.no_dead_strip	_dpi_get_clk_src_dra7xx
.subsections_via_symbols
