	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ti_pipe3_dpll_program
_ti_pipe3_dpll_program:                 ## @ti_pipe3_dpll_program
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_ti_pipe3_get_dpll_params
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movl	(%rbx), %edi
	movq	_PLL_CONFIGURATION1@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_ti_pipe3_readl
	movq	_PLL_REGN_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	movq	_PLL_REGN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	(%r14), %edx
	shll	%cl, %edx
	andl	%eax, %esi
	orl	%esi, %edx
	movl	(%rbx), %edi
	movl	(%r15), %esi
	callq	_ti_pipe3_writel
	movl	(%rbx), %edi
	movq	_PLL_CONFIGURATION2@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_ti_pipe3_readl
	movq	_PLL_SELFREQDCO_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	movq	_PLL_SELFREQDCO_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	4(%r14), %edx
	shll	%cl, %edx
	andl	%eax, %esi
	orl	%esi, %edx
	movl	(%rbx), %edi
	movl	(%r12), %esi
	callq	_ti_pipe3_writel
	movl	(%rbx), %edi
	movl	(%r15), %esi
	callq	_ti_pipe3_readl
	movq	_PLL_REGM_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	movq	_PLL_REGM_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	8(%r14), %edx
	shll	%cl, %edx
	andl	%eax, %esi
	orl	%esi, %edx
	movl	(%rbx), %edi
	movl	(%r15), %esi
	callq	_ti_pipe3_writel
	movl	(%rbx), %edi
	movq	_PLL_CONFIGURATION4@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_ti_pipe3_readl
	movq	_PLL_REGM_F_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	movq	_PLL_REGM_F_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	12(%r14), %edx
	shll	%cl, %edx
	andl	%eax, %esi
	orl	%esi, %edx
	movl	(%rbx), %edi
	movl	(%r15), %esi
	callq	_ti_pipe3_writel
	movl	(%rbx), %edi
	movq	_PLL_CONFIGURATION3@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_ti_pipe3_readl
	movq	_PLL_SD_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	_PLL_SD_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	notl	%esi
	movl	16(%r14), %edx
	shll	%cl, %edx
	andl	%eax, %esi
	orl	%esi, %edx
	movl	(%rbx), %edi
	movl	(%r15), %esi
	callq	_ti_pipe3_writel
	movl	(%rbx), %edi
	movq	_PLL_GO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SET_PLL_GO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_ti_pipe3_writel
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ti_pipe3_dpll_wait_lock        ## TAILCALL
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_PLL_CONFIGURATION1,4,2         ## @PLL_CONFIGURATION1
	.comm	_PLL_REGN_MASK,4,2              ## @PLL_REGN_MASK
	.comm	_PLL_REGN_SHIFT,4,2             ## @PLL_REGN_SHIFT
	.comm	_PLL_CONFIGURATION2,4,2         ## @PLL_CONFIGURATION2
	.comm	_PLL_SELFREQDCO_MASK,4,2        ## @PLL_SELFREQDCO_MASK
	.comm	_PLL_SELFREQDCO_SHIFT,4,2       ## @PLL_SELFREQDCO_SHIFT
	.comm	_PLL_REGM_MASK,4,2              ## @PLL_REGM_MASK
	.comm	_PLL_REGM_SHIFT,4,2             ## @PLL_REGM_SHIFT
	.comm	_PLL_CONFIGURATION4,4,2         ## @PLL_CONFIGURATION4
	.comm	_PLL_REGM_F_MASK,4,2            ## @PLL_REGM_F_MASK
	.comm	_PLL_REGM_F_SHIFT,4,2           ## @PLL_REGM_F_SHIFT
	.comm	_PLL_CONFIGURATION3,4,2         ## @PLL_CONFIGURATION3
	.comm	_PLL_SD_MASK,4,2                ## @PLL_SD_MASK
	.comm	_PLL_SD_SHIFT,4,2               ## @PLL_SD_SHIFT
	.comm	_PLL_GO,4,2                     ## @PLL_GO
	.comm	_SET_PLL_GO,4,2                 ## @SET_PLL_GO
	.no_dead_strip	_ti_pipe3_dpll_program
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ti_pipe3_dpll_program
_ti_pipe3_dpll_program:                 ; @ti_pipe3_dpll_program
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	bl	_ti_pipe3_get_dpll_params
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	w0, [x19]
Lloh0:
	adrp	x21, _PLL_CONFIGURATION1@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PLL_CONFIGURATION1@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_ti_pipe3_readl
Lloh2:
	adrp	x8, _PLL_REGN_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PLL_REGN_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh5:
	adrp	x9, _PLL_REGN_SHIFT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PLL_REGN_SHIFT@GOTPAGEOFF]
	ldr	w10, [x20]
Lloh7:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	orr	w2, w9, w8
	ldr	w0, [x19]
	ldr	w1, [x21]
	bl	_ti_pipe3_writel
	ldr	w0, [x19]
Lloh8:
	adrp	x22, _PLL_CONFIGURATION2@GOTPAGE
Lloh9:
	ldr	x22, [x22, _PLL_CONFIGURATION2@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_ti_pipe3_readl
Lloh10:
	adrp	x8, _PLL_SELFREQDCO_MASK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PLL_SELFREQDCO_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh13:
	adrp	x9, _PLL_SELFREQDCO_SHIFT@GOTPAGE
Lloh14:
	ldr	x9, [x9, _PLL_SELFREQDCO_SHIFT@GOTPAGEOFF]
	ldr	w10, [x20, #4]
Lloh15:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	orr	w2, w9, w8
	ldr	w0, [x19]
	ldr	w1, [x22]
	bl	_ti_pipe3_writel
	ldr	w0, [x19]
	ldr	w1, [x21]
	bl	_ti_pipe3_readl
Lloh16:
	adrp	x8, _PLL_REGM_MASK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PLL_REGM_MASK@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh19:
	adrp	x9, _PLL_REGM_SHIFT@GOTPAGE
Lloh20:
	ldr	x9, [x9, _PLL_REGM_SHIFT@GOTPAGEOFF]
	ldr	w10, [x20, #8]
Lloh21:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	orr	w2, w9, w8
	ldr	w0, [x19]
	ldr	w1, [x21]
	bl	_ti_pipe3_writel
	ldr	w0, [x19]
Lloh22:
	adrp	x21, _PLL_CONFIGURATION4@GOTPAGE
Lloh23:
	ldr	x21, [x21, _PLL_CONFIGURATION4@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_ti_pipe3_readl
Lloh24:
	adrp	x8, _PLL_REGM_F_MASK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PLL_REGM_F_MASK@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh27:
	adrp	x9, _PLL_REGM_F_SHIFT@GOTPAGE
Lloh28:
	ldr	x9, [x9, _PLL_REGM_F_SHIFT@GOTPAGEOFF]
	ldr	w10, [x20, #12]
Lloh29:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	orr	w2, w9, w8
	ldr	w0, [x19]
	ldr	w1, [x21]
	bl	_ti_pipe3_writel
	ldr	w0, [x19]
Lloh30:
	adrp	x21, _PLL_CONFIGURATION3@GOTPAGE
Lloh31:
	ldr	x21, [x21, _PLL_CONFIGURATION3@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_ti_pipe3_readl
Lloh32:
	adrp	x8, _PLL_SD_MASK@GOTPAGE
Lloh33:
	ldr	x8, [x8, _PLL_SD_MASK@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh35:
	adrp	x9, _PLL_SD_SHIFT@GOTPAGE
Lloh36:
	ldr	x9, [x9, _PLL_SD_SHIFT@GOTPAGEOFF]
	ldr	w10, [x20, #16]
Lloh37:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	orr	w2, w9, w8
	ldr	w0, [x19]
	ldr	w1, [x21]
	bl	_ti_pipe3_writel
	ldr	w0, [x19]
Lloh38:
	adrp	x8, _PLL_GO@GOTPAGE
Lloh39:
	ldr	x8, [x8, _PLL_GO@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
Lloh41:
	adrp	x8, _SET_PLL_GO@GOTPAGE
Lloh42:
	ldr	x8, [x8, _SET_PLL_GO@GOTPAGEOFF]
Lloh43:
	ldr	w2, [x8]
	bl	_ti_pipe3_writel
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ti_pipe3_dpll_wait_lock
LBB0_2:
Lloh44:
	adrp	x8, _EINVAL@GOTPAGE
Lloh45:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_PLL_CONFIGURATION1,4,2         ; @PLL_CONFIGURATION1
	.comm	_PLL_REGN_MASK,4,2              ; @PLL_REGN_MASK
	.comm	_PLL_REGN_SHIFT,4,2             ; @PLL_REGN_SHIFT
	.comm	_PLL_CONFIGURATION2,4,2         ; @PLL_CONFIGURATION2
	.comm	_PLL_SELFREQDCO_MASK,4,2        ; @PLL_SELFREQDCO_MASK
	.comm	_PLL_SELFREQDCO_SHIFT,4,2       ; @PLL_SELFREQDCO_SHIFT
	.comm	_PLL_REGM_MASK,4,2              ; @PLL_REGM_MASK
	.comm	_PLL_REGM_SHIFT,4,2             ; @PLL_REGM_SHIFT
	.comm	_PLL_CONFIGURATION4,4,2         ; @PLL_CONFIGURATION4
	.comm	_PLL_REGM_F_MASK,4,2            ; @PLL_REGM_F_MASK
	.comm	_PLL_REGM_F_SHIFT,4,2           ; @PLL_REGM_F_SHIFT
	.comm	_PLL_CONFIGURATION3,4,2         ; @PLL_CONFIGURATION3
	.comm	_PLL_SD_MASK,4,2                ; @PLL_SD_MASK
	.comm	_PLL_SD_SHIFT,4,2               ; @PLL_SD_SHIFT
	.comm	_PLL_GO,4,2                     ; @PLL_GO
	.comm	_SET_PLL_GO,4,2                 ; @SET_PLL_GO
	.no_dead_strip	_ti_pipe3_dpll_program
.subsections_via_symbols
