	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vlv_setup_wm_latency
_vlv_setup_wm_latency:                  ## @vlv_setup_wm_latency
	.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
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_VLV_WM_LEVEL_PM2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$3, (%rax,%rcx,4)
	movq	%rcx, 8(%rdi)
	callq	_IS_CHERRYVIEW
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rax
	movq	_VLV_WM_LEVEL_PM5@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$12, (%rax,%rcx,4)
	movq	_VLV_WM_LEVEL_DDR_DVFS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$33, (%rax,%rcx,4)
	movq	%rcx, 8(%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VLV_WM_LEVEL_PM2,8,3           ## @VLV_WM_LEVEL_PM2
	.comm	_VLV_WM_LEVEL_PM5,8,3           ## @VLV_WM_LEVEL_PM5
	.comm	_VLV_WM_LEVEL_DDR_DVFS,8,3      ## @VLV_WM_LEVEL_DDR_DVFS
	.no_dead_strip	_vlv_setup_wm_latency
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vlv_setup_wm_latency
_vlv_setup_wm_latency:                  ; @vlv_setup_wm_latency
	.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, _VLV_WM_LEVEL_PM2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VLV_WM_LEVEL_PM2@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh2:
	ldr	x8, [x8]
	mov	w10, #3
	str	w10, [x9, x8, lsl #2]
	str	x8, [x0, #8]
	bl	_IS_CHERRYVIEW
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _VLV_WM_LEVEL_PM5@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VLV_WM_LEVEL_PM5@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	mov	w10, #12
	str	w10, [x8, x9, lsl #2]
Lloh6:
	adrp	x9, _VLV_WM_LEVEL_DDR_DVFS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VLV_WM_LEVEL_DDR_DVFS@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	mov	w10, #33
	str	w10, [x8, x9, lsl #2]
	str	x9, [x19, #8]
LBB0_2:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_VLV_WM_LEVEL_PM2,8,3           ; @VLV_WM_LEVEL_PM2
	.comm	_VLV_WM_LEVEL_PM5,8,3           ; @VLV_WM_LEVEL_PM5
	.comm	_VLV_WM_LEVEL_DDR_DVFS,8,3      ; @VLV_WM_LEVEL_DDR_DVFS
	.no_dead_strip	_vlv_setup_wm_latency
.subsections_via_symbols
