	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_psr_setup_vsc
_intel_psr_setup_vsc:                   ## @intel_psr_setup_vsc
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_dp_to_dig_port
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_dp_to_i915
	movq	%rax, %rbx
	movq	8(%rax), %r12
	leaq	-56(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	$0, -40(%rbp)
	movl	$7, -56(%rbp)
	testq	%r12, %r12
	je	LBB0_4
## %bb.1:
	cmpq	$0, (%rbx)
	je	LBB0_3
## %bb.2:
	movl	$5, -52(%rbp)
	movl	$19, %eax
	jmp	LBB0_5
LBB0_4:
	movl	$2, -52(%rbp)
	movl	$8, %eax
	jmp	LBB0_5
LBB0_3:
	movl	$4, -52(%rbp)
	movl	$14, %eax
LBB0_5:
	movl	%eax, -48(%rbp)
	movq	_DP_SDP_VSC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-56(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$24, %r8d
	callq	*8(%r15)
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DP_SDP_VSC,4,2                 ## @DP_SDP_VSC
	.no_dead_strip	_intel_psr_setup_vsc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_psr_setup_vsc
_intel_psr_setup_vsc:                   ; @intel_psr_setup_vsc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x0
	bl	_dp_to_dig_port
	mov	x20, x0
	mov	x0, x21
	bl	_dp_to_i915
	mov	x21, x0
	ldr	x22, [x0, #8]
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	str	xzr, [sp, #24]
	mov	w8, #7
	str	w8, [sp, #8]
	cbz	x22, LBB0_3
; %bb.1:
	ldr	x8, [x21]
	cbz	x8, LBB0_4
; %bb.2:
	mov	w8, #5
	str	w8, [sp, #12]
	mov	w8, #19
	b	LBB0_5
LBB0_3:
	mov	w8, #2
	str	w8, [sp, #12]
	mov	w8, #8
	b	LBB0_5
LBB0_4:
	mov	w8, #4
	str	w8, [sp, #12]
	mov	w8, #14
LBB0_5:
	str	w8, [sp, #16]
	ldr	x8, [x20, #8]
Lloh0:
	adrp	x9, _DP_SDP_VSC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DP_SDP_VSC@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x9]
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x19
	mov	w4, #24
	blr	x8
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DP_SDP_VSC,4,2                 ; @DP_SDP_VSC
	.no_dead_strip	_intel_psr_setup_vsc
.subsections_via_symbols
