	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgene_phy_pdwn_force_vco
_xgene_phy_pdwn_force_vco:              ## @xgene_phy_pdwn_force_vco
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	_PHY_CMU@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_CMU_REG16@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	leaq	-28(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_cmu_rd
	movl	-28(%rbp), %edi
	movl	$7, %esi
	callq	_CMU_REG16_VCOCAL_WAIT_BTW_CODE_SET
	movl	%eax, -28(%rbp)
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %ecx
	callq	_cmu_wr
LBB0_2:
	movq	_CMU_REG0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CMU_REG0_PDOWN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_cmu_toggle1to0
	movq	_CMU_REG32@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CMU_REG32_FORCE_VCOCAL_START_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_cmu_toggle1to0
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Reset VCO and re-start again\n"

	.comm	_PHY_CMU,4,2                    ## @PHY_CMU
	.comm	_CMU_REG16,4,2                  ## @CMU_REG16
	.comm	_CMU_REG0,4,2                   ## @CMU_REG0
	.comm	_CMU_REG0_PDOWN_MASK,4,2        ## @CMU_REG0_PDOWN_MASK
	.comm	_CMU_REG32,4,2                  ## @CMU_REG32
	.comm	_CMU_REG32_FORCE_VCOCAL_START_MASK,4,2 ## @CMU_REG32_FORCE_VCOCAL_START_MASK
	.no_dead_strip	_xgene_phy_pdwn_force_vco
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgene_phy_pdwn_force_vco
_xgene_phy_pdwn_force_vco:              ; @xgene_phy_pdwn_force_vco
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x20, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
Lloh2:
	adrp	x8, _PHY_CMU@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PHY_CMU@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x21, _CMU_REG16@GOTPAGE
Lloh6:
	ldr	x21, [x21, _CMU_REG16@GOTPAGEOFF]
	ldr	w2, [x21]
	add	x3, sp, #12
	mov	x0, x20
	mov	x1, x19
	bl	_cmu_rd
	ldr	w0, [sp, #12]
	mov	w1, #7
	bl	_CMU_REG16_VCOCAL_WAIT_BTW_CODE_SET
	mov	x3, x0
	str	w0, [sp, #12]
	ldr	w2, [x21]
	mov	x0, x20
	mov	x1, x19
	bl	_cmu_wr
LBB0_2:
Lloh7:
	adrp	x8, _CMU_REG0@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CMU_REG0@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x8, _CMU_REG0_PDOWN_MASK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CMU_REG0_PDOWN_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_cmu_toggle1to0
Lloh13:
	adrp	x8, _CMU_REG32@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CMU_REG32@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x8, _CMU_REG32_FORCE_VCOCAL_START_MASK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CMU_REG32_FORCE_VCOCAL_START_MASK@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_cmu_toggle1to0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Reset VCO and re-start again\n"

	.comm	_PHY_CMU,4,2                    ; @PHY_CMU
	.comm	_CMU_REG16,4,2                  ; @CMU_REG16
	.comm	_CMU_REG0,4,2                   ; @CMU_REG0
	.comm	_CMU_REG0_PDOWN_MASK,4,2        ; @CMU_REG0_PDOWN_MASK
	.comm	_CMU_REG32,4,2                  ; @CMU_REG32
	.comm	_CMU_REG32_FORCE_VCOCAL_START_MASK,4,2 ; @CMU_REG32_FORCE_VCOCAL_START_MASK
	.no_dead_strip	_xgene_phy_pdwn_force_vco
.subsections_via_symbols
