	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dp_receiver_power_ctrl         ## -- Begin function dp_receiver_power_ctrl
	.p2align	4, 0x90
_dp_receiver_power_ctrl:                ## @dp_receiver_power_ctrl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	testl	%esi, %esi
	jne	LBB0_1
## %bb.2:
	movq	_DP_POWER_STATE_D3@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_DP_POWER_STATE_D0@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, -4(%rbp)
	cmpq	$0, (%rdi)
	jne	LBB0_5
## %bb.4:
	movq	_DP_SET_POWER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-4(%rbp), %rdx
	movl	$4, %ecx
	callq	_core_link_write_dpcd
LBB0_5:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DP_POWER_STATE_D0,4,2          ## @DP_POWER_STATE_D0
	.comm	_DP_POWER_STATE_D3,4,2          ## @DP_POWER_STATE_D3
	.comm	_DP_SET_POWER,4,2               ## @DP_SET_POWER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dp_receiver_power_ctrl         ; -- Begin function dp_receiver_power_ctrl
	.p2align	2
_dp_receiver_power_ctrl:                ; @dp_receiver_power_ctrl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _DP_POWER_STATE_D0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DP_POWER_STATE_D0@GOTPAGEOFF]
Lloh2:
	adrp	x9, _DP_POWER_STATE_D3@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DP_POWER_STATE_D3@GOTPAGEOFF]
	cmp	w1, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	stur	w8, [x29, #-4]
	ldr	x8, [x0]
	cbnz	x8, LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _DP_SET_POWER@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DP_SET_POWER@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	sub	x2, x29, #4
	mov	w3, #4
	bl	_core_link_write_dpcd
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_DP_POWER_STATE_D0,4,2          ; @DP_POWER_STATE_D0
	.comm	_DP_POWER_STATE_D3,4,2          ; @DP_POWER_STATE_D3
	.comm	_DP_SET_POWER,4,2               ; @DP_SET_POWER
.subsections_via_symbols
