	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smiapp_pll_configure
_smiapp_pll_configure:                  ## @smiapp_pll_configure
	.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, %rbx
	movq	_SMIAPP_REG_U16_VT_PIX_CLK_DIV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	32(%rdi), %edx
	callq	_smiapp_write
	testl	%eax, %eax
	js	LBB0_7
## %bb.1:
	movq	_SMIAPP_REG_U16_VT_SYS_CLK_DIV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	28(%rbx), %edx
	movq	%rbx, %rdi
	callq	_smiapp_write
	testl	%eax, %eax
	js	LBB0_7
## %bb.2:
	movq	_SMIAPP_REG_U16_PRE_PLL_CLK_DIV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%rbx), %edx
	movq	%rbx, %rdi
	callq	_smiapp_write
	testl	%eax, %eax
	js	LBB0_7
## %bb.3:
	movq	_SMIAPP_REG_U16_PLL_MULTIPLIER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	20(%rbx), %edx
	movq	%rbx, %rdi
	callq	_smiapp_write
	testl	%eax, %eax
	js	LBB0_7
## %bb.4:
	movq	_SMIAPP_REG_U32_REQUESTED_LINK_BIT_RATE_MBPS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	16(%rbx), %edi
	movl	$15, %esi
	callq	_DIV_ROUND_UP
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_smiapp_write
	testl	%eax, %eax
	js	LBB0_7
## %bb.5:
	movq	(%rbx), %rcx
	movq	_SMIAPP_PROFILE_0@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_7
## %bb.6:
	movq	_SMIAPP_REG_U16_OP_PIX_CLK_DIV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%rbx), %edx
	movq	%rbx, %rdi
	callq	_smiapp_write
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:
	movq	_SMIAPP_REG_U16_OP_SYS_CLK_DIV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_smiapp_write                   ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SMIAPP_REG_U16_VT_PIX_CLK_DIV,4,2 ## @SMIAPP_REG_U16_VT_PIX_CLK_DIV
	.comm	_SMIAPP_REG_U16_VT_SYS_CLK_DIV,4,2 ## @SMIAPP_REG_U16_VT_SYS_CLK_DIV
	.comm	_SMIAPP_REG_U16_PRE_PLL_CLK_DIV,4,2 ## @SMIAPP_REG_U16_PRE_PLL_CLK_DIV
	.comm	_SMIAPP_REG_U16_PLL_MULTIPLIER,4,2 ## @SMIAPP_REG_U16_PLL_MULTIPLIER
	.comm	_SMIAPP_REG_U32_REQUESTED_LINK_BIT_RATE_MBPS,4,2 ## @SMIAPP_REG_U32_REQUESTED_LINK_BIT_RATE_MBPS
	.comm	_SMIAPP_PROFILE_0,8,3           ## @SMIAPP_PROFILE_0
	.comm	_SMIAPP_REG_U16_OP_PIX_CLK_DIV,4,2 ## @SMIAPP_REG_U16_OP_PIX_CLK_DIV
	.comm	_SMIAPP_REG_U16_OP_SYS_CLK_DIV,4,2 ## @SMIAPP_REG_U16_OP_SYS_CLK_DIV
	.no_dead_strip	_smiapp_pll_configure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smiapp_pll_configure
_smiapp_pll_configure:                  ; @smiapp_pll_configure
	.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
Lloh0:
	adrp	x8, _SMIAPP_REG_U16_VT_PIX_CLK_DIV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SMIAPP_REG_U16_VT_PIX_CLK_DIV@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x0, #32]
	bl	_smiapp_write
	tbnz	w0, #31, LBB0_8
; %bb.1:
Lloh3:
	adrp	x8, _SMIAPP_REG_U16_VT_SYS_CLK_DIV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SMIAPP_REG_U16_VT_SYS_CLK_DIV@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x19, #28]
	mov	x0, x19
	bl	_smiapp_write
	tbnz	w0, #31, LBB0_8
; %bb.2:
Lloh6:
	adrp	x8, _SMIAPP_REG_U16_PRE_PLL_CLK_DIV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SMIAPP_REG_U16_PRE_PLL_CLK_DIV@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w2, [x19, #24]
	mov	x0, x19
	bl	_smiapp_write
	tbnz	w0, #31, LBB0_8
; %bb.3:
Lloh9:
	adrp	x8, _SMIAPP_REG_U16_PLL_MULTIPLIER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SMIAPP_REG_U16_PLL_MULTIPLIER@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w2, [x19, #20]
	mov	x0, x19
	bl	_smiapp_write
	tbnz	w0, #31, LBB0_8
; %bb.4:
Lloh12:
	adrp	x8, _SMIAPP_REG_U32_REQUESTED_LINK_BIT_RATE_MBPS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SMIAPP_REG_U32_REQUESTED_LINK_BIT_RATE_MBPS@GOTPAGEOFF]
Lloh14:
	ldr	w20, [x8]
	ldr	w0, [x19, #16]
	mov	w1, #15
	bl	_DIV_ROUND_UP
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_smiapp_write
	tbnz	w0, #31, LBB0_8
; %bb.5:
	ldr	x8, [x19]
Lloh15:
	adrp	x9, _SMIAPP_PROFILE_0@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SMIAPP_PROFILE_0@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.6:
Lloh18:
	adrp	x8, _SMIAPP_REG_U16_OP_PIX_CLK_DIV@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SMIAPP_REG_U16_OP_PIX_CLK_DIV@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldr	w2, [x19, #12]
	mov	x0, x19
	bl	_smiapp_write
	tbnz	w0, #31, LBB0_8
; %bb.7:
Lloh21:
	adrp	x8, _SMIAPP_REG_U16_OP_SYS_CLK_DIV@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SMIAPP_REG_U16_OP_SYS_CLK_DIV@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ldr	w2, [x19, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_smiapp_write
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_SMIAPP_REG_U16_VT_PIX_CLK_DIV,4,2 ; @SMIAPP_REG_U16_VT_PIX_CLK_DIV
	.comm	_SMIAPP_REG_U16_VT_SYS_CLK_DIV,4,2 ; @SMIAPP_REG_U16_VT_SYS_CLK_DIV
	.comm	_SMIAPP_REG_U16_PRE_PLL_CLK_DIV,4,2 ; @SMIAPP_REG_U16_PRE_PLL_CLK_DIV
	.comm	_SMIAPP_REG_U16_PLL_MULTIPLIER,4,2 ; @SMIAPP_REG_U16_PLL_MULTIPLIER
	.comm	_SMIAPP_REG_U32_REQUESTED_LINK_BIT_RATE_MBPS,4,2 ; @SMIAPP_REG_U32_REQUESTED_LINK_BIT_RATE_MBPS
	.comm	_SMIAPP_PROFILE_0,8,3           ; @SMIAPP_PROFILE_0
	.comm	_SMIAPP_REG_U16_OP_PIX_CLK_DIV,4,2 ; @SMIAPP_REG_U16_OP_PIX_CLK_DIV
	.comm	_SMIAPP_REG_U16_OP_SYS_CLK_DIV,4,2 ; @SMIAPP_REG_U16_OP_SYS_CLK_DIV
	.no_dead_strip	_smiapp_pll_configure
.subsections_via_symbols
