	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function radeon_atom_encoder_dpms_dig
_radeon_atom_encoder_dpms_dig:          ## @radeon_atom_encoder_dpms_dig
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r13
	movq	(%rdi), %rax
	movq	(%rax), %r12
	callq	_to_radeon_encoder
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_radeon_get_external_encoder
	movq	%rax, %r15
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rbx
	movq	%r13, %rdi
	callq	_radeon_get_connector_for_encoder
	testq	%rax, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	movq	%rax, %rdi
	callq	_to_radeon_connector
	movq	(%rax), %rcx
	jmp	LBB0_3
LBB0_2:
	xorl	%ecx, %ecx
LBB0_3:
	leal	-128(%r14), %eax
	cmpl	$2, %eax
	jb	LBB0_10
## %bb.4:
	cmpl	$131, %r14d
	je	LBB0_10
## %bb.5:
	cmpl	$130, %r14d
	jne	LBB0_45
## %bb.6:
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %r14
	movq	%r12, %rdi
	callq	_ASIC_IS_DCE41
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	callq	_ASIC_IS_DCE5
	testl	%eax, %eax
	je	LBB0_29
LBB0_8:
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_23
## %bb.9:
	movq	%r13, %rdi
	callq	_radeon_dp_get_panel_mode
	jmp	LBB0_24
LBB0_10:
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_ASIC_IS_DCE41
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:
	movq	%r12, %rdi
	callq	_ASIC_IS_DCE5
	testl	%eax, %eax
	je	LBB0_21
LBB0_12:
	movq	_ATOM_TRANSMITTER_ACTION_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_atombios_dig_transmitter_setup
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_13:
	movq	%r13, %rdi
	callq	_atombios_get_encoder_mode
	movl	%eax, %edi
	callq	_ENCODER_MODE_IS_DP
	testl	%eax, %eax
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_19
## %bb.14:
	testq	%r15, %r15
	je	LBB0_19
## %bb.15:
	movq	%r12, %rdi
	callq	_ASIC_IS_DCE4
	testl	%eax, %eax
	je	LBB0_17
## %bb.16:
	movq	_ATOM_ENCODER_CMD_DP_VIDEO_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_atombios_dig_encoder_setup
LBB0_17:
	movl	(%r15), %eax
	movq	_DRM_MODE_CONNECTOR_eDP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_19
## %bb.18:
	movq	%r15, %rdi
	movq	_ATOM_TRANSMITTER_ACTION_POWER_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_atombios_set_edp_panel_power
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
LBB0_19:
	movq	_ATOM_DEVICE_LCD_SUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_45
## %bb.20:
	movq	_ATOM_TRANSMITTER_ACTION_LCD_BLOFF@GOTPCREL(%rip), %rax
	jmp	LBB0_44
LBB0_21:
	movq	%r12, %rdi
	callq	_ASIC_IS_DCE4
	movl	%eax, %r14d
	movq	_ATOM_TRANSMITTER_ACTION_DISABLE_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_atombios_dig_transmitter_setup
	movq	_ATOM_TRANSMITTER_ACTION_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_atombios_dig_transmitter_setup
	testl	%r14d, %r14d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_13
## %bb.22:
	movq	_ATOM_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_atombios_dig_encoder_setup
	jmp	LBB0_13
LBB0_23:
	movq	_DP_PANEL_MODE_EXTERNAL_DP_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_24:
	movl	%eax, (%rbx)
	movq	_ATOM_ENCODER_CMD_SETUP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_atombios_dig_encoder_setup
	movq	_ATOM_ENCODER_CMD_SETUP_PANEL_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%r13, %rdi
	callq	_atombios_dig_encoder_setup
	movq	_ATOM_TRANSMITTER_ACTION_ENABLE@GOTPCREL(%rip), %r14
	testq	%r15, %r15
	je	LBB0_28
## %bb.25:
	movq	%r12, %rdi
	callq	_ASIC_IS_DCE41
	testl	%eax, %eax
	jne	LBB0_27
## %bb.26:
	movq	%r12, %rdi
	callq	_ASIC_IS_DCE61
	testl	%eax, %eax
	je	LBB0_28
LBB0_27:
	movq	_EXTERNAL_ENCODER_ACTION_V3_ENCODER_SETUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_atombios_external_encoder_setup
LBB0_28:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
LBB0_35:
	movl	(%r14), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_atombios_dig_transmitter_setup
LBB0_36:
	movq	%r13, %rdi
	callq	_atombios_get_encoder_mode
	movl	%eax, %edi
	callq	_ENCODER_MODE_IS_DP
	testl	%eax, %eax
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_42
## %bb.37:
	testq	%rdx, %rdx
	je	LBB0_42
## %bb.38:
	movl	(%rdx), %eax
	movq	_DRM_MODE_CONNECTOR_eDP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_40
## %bb.39:
	movq	_ATOM_TRANSMITTER_ACTION_POWER_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdx, %rdi
	movq	%rdx, %rbx
	callq	_atombios_set_edp_panel_power
	movq	%rbx, %rdx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
LBB0_40:
	movq	%r13, %rdi
	movq	%rdx, %rsi
	callq	_radeon_dp_link_train
	movq	%r12, %rdi
	callq	_ASIC_IS_DCE4
	testl	%eax, %eax
	je	LBB0_42
## %bb.41:
	movq	_ATOM_ENCODER_CMD_DP_VIDEO_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_atombios_dig_encoder_setup
LBB0_42:
	movq	_ATOM_DEVICE_LCD_SUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_45
## %bb.43:
	movq	_ATOM_TRANSMITTER_ACTION_LCD_BLON@GOTPCREL(%rip), %rax
LBB0_44:
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_atombios_dig_transmitter_setup ## TAILCALL
LBB0_45:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	movq	%r14, %rdi
	callq	_ASIC_IS_DCE4
	testl	%eax, %eax
	movq	%r14, %r12
	je	LBB0_32
## %bb.30:
	movq	_ATOM_ENCODER_CMD_SETUP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_atombios_dig_encoder_setup
	movq	_ATOM_TRANSMITTER_ACTION_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_atombios_dig_transmitter_setup
	movq	_ATOM_TRANSMITTER_ACTION_ENABLE_OUTPUT@GOTPCREL(%rip), %r14
	jmp	LBB0_28
LBB0_32:
	movq	_ATOM_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_atombios_dig_encoder_setup
	movq	_ATOM_TRANSMITTER_ACTION_SETUP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_atombios_dig_transmitter_setup
	movq	_ATOM_TRANSMITTER_ACTION_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_atombios_dig_transmitter_setup
	movl	(%r12), %eax
	movq	_CHIP_RV710@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_36
## %bb.33:
	movq	_CHIP_RV730@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_36
## %bb.34:
	movq	_ATOM_TRANSMITTER_ACTION_ENABLE_OUTPUT@GOTPCREL(%rip), %r14
	jmp	LBB0_35
	.cfi_endproc
                                        ## -- End function
	.comm	_DP_PANEL_MODE_EXTERNAL_DP_MODE,4,2 ## @DP_PANEL_MODE_EXTERNAL_DP_MODE
	.comm	_ATOM_ENCODER_CMD_SETUP,4,2     ## @ATOM_ENCODER_CMD_SETUP
	.comm	_ATOM_ENCODER_CMD_SETUP_PANEL_MODE,4,2 ## @ATOM_ENCODER_CMD_SETUP_PANEL_MODE
	.comm	_EXTERNAL_ENCODER_ACTION_V3_ENCODER_SETUP,4,2 ## @EXTERNAL_ENCODER_ACTION_V3_ENCODER_SETUP
	.comm	_ATOM_TRANSMITTER_ACTION_ENABLE,4,2 ## @ATOM_TRANSMITTER_ACTION_ENABLE
	.comm	_ATOM_TRANSMITTER_ACTION_ENABLE_OUTPUT,4,2 ## @ATOM_TRANSMITTER_ACTION_ENABLE_OUTPUT
	.comm	_ATOM_ENABLE,4,2                ## @ATOM_ENABLE
	.comm	_ATOM_TRANSMITTER_ACTION_SETUP,4,2 ## @ATOM_TRANSMITTER_ACTION_SETUP
	.comm	_CHIP_RV710,4,2                 ## @CHIP_RV710
	.comm	_CHIP_RV730,4,2                 ## @CHIP_RV730
	.comm	_DRM_MODE_CONNECTOR_eDP,4,2     ## @DRM_MODE_CONNECTOR_eDP
	.comm	_ATOM_TRANSMITTER_ACTION_POWER_ON,4,2 ## @ATOM_TRANSMITTER_ACTION_POWER_ON
	.comm	_ATOM_ENCODER_CMD_DP_VIDEO_ON,4,2 ## @ATOM_ENCODER_CMD_DP_VIDEO_ON
	.comm	_ATOM_DEVICE_LCD_SUPPORT,4,2    ## @ATOM_DEVICE_LCD_SUPPORT
	.comm	_ATOM_TRANSMITTER_ACTION_LCD_BLON,4,2 ## @ATOM_TRANSMITTER_ACTION_LCD_BLON
	.comm	_ATOM_TRANSMITTER_ACTION_DISABLE,4,2 ## @ATOM_TRANSMITTER_ACTION_DISABLE
	.comm	_ATOM_TRANSMITTER_ACTION_DISABLE_OUTPUT,4,2 ## @ATOM_TRANSMITTER_ACTION_DISABLE_OUTPUT
	.comm	_ATOM_DISABLE,4,2               ## @ATOM_DISABLE
	.comm	_ATOM_ENCODER_CMD_DP_VIDEO_OFF,4,2 ## @ATOM_ENCODER_CMD_DP_VIDEO_OFF
	.comm	_ATOM_TRANSMITTER_ACTION_POWER_OFF,4,2 ## @ATOM_TRANSMITTER_ACTION_POWER_OFF
	.comm	_ATOM_TRANSMITTER_ACTION_LCD_BLOFF,4,2 ## @ATOM_TRANSMITTER_ACTION_LCD_BLOFF
	.no_dead_strip	_radeon_atom_encoder_dpms_dig
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function radeon_atom_encoder_dpms_dig
_radeon_atom_encoder_dpms_dig:          ; @radeon_atom_encoder_dpms_dig
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x24, x1
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x22, [x8]
	bl	_to_radeon_encoder
	mov	x20, x0
	mov	x0, x19
	bl	_radeon_get_external_encoder
	mov	x23, x0
	ldr	x26, [x20, #8]
	mov	x0, x19
	bl	_radeon_get_connector_for_encoder
	mov	x21, x0
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_to_radeon_connector
	ldr	x25, [x0]
	b	LBB0_3
LBB0_2:
	mov	x25, #0
LBB0_3:
	sub	w8, w24, #128
	cmp	w8, #2
	b.lo	LBB0_10
; %bb.4:
	cmp	w24, #131
	b.eq	LBB0_10
; %bb.5:
	cmp	w24, #130
	b.ne	LBB0_39
; %bb.6:
	mov	x0, x22
	bl	_ASIC_IS_DCE41
	cbnz	w0, LBB0_8
; %bb.7:
	mov	x0, x22
	bl	_ASIC_IS_DCE5
	cbz	w0, LBB0_40
LBB0_8:
	cbz	x21, LBB0_23
; %bb.9:
	mov	x0, x19
	mov	x1, x21
	bl	_radeon_dp_get_panel_mode
	b	LBB0_24
LBB0_10:
	mov	x0, x22
	bl	_ASIC_IS_DCE41
	cbnz	w0, LBB0_12
; %bb.11:
	mov	x0, x22
	bl	_ASIC_IS_DCE5
	cbz	w0, LBB0_21
LBB0_12:
Lloh0:
	adrp	x8, _ATOM_TRANSMITTER_ACTION_DISABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATOM_TRANSMITTER_ACTION_DISABLE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_atombios_dig_transmitter_setup
LBB0_13:
	mov	x0, x19
	bl	_atombios_get_encoder_mode
	bl	_ENCODER_MODE_IS_DP
	cbz	w0, LBB0_19
; %bb.14:
	cbz	x21, LBB0_19
; %bb.15:
	mov	x0, x22
	bl	_ASIC_IS_DCE4
	cbz	w0, LBB0_17
; %bb.16:
Lloh3:
	adrp	x8, _ATOM_ENCODER_CMD_DP_VIDEO_OFF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATOM_ENCODER_CMD_DP_VIDEO_OFF@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_atombios_dig_encoder_setup
LBB0_17:
	ldr	w8, [x21]
Lloh6:
	adrp	x9, _DRM_MODE_CONNECTOR_eDP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DRM_MODE_CONNECTOR_eDP@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_19
; %bb.18:
Lloh9:
	adrp	x8, _ATOM_TRANSMITTER_ACTION_POWER_OFF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ATOM_TRANSMITTER_ACTION_POWER_OFF@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_atombios_set_edp_panel_power
	str	wzr, [x25]
LBB0_19:
	ldr	w8, [x20]
Lloh12:
	adrp	x9, _ATOM_DEVICE_LCD_SUPPORT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ATOM_DEVICE_LCD_SUPPORT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_39
; %bb.20:
Lloh15:
	adrp	x8, _ATOM_TRANSMITTER_ACTION_LCD_BLOFF@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ATOM_TRANSMITTER_ACTION_LCD_BLOFF@GOTPAGEOFF]
	b	LBB0_38
LBB0_21:
	mov	x0, x22
	bl	_ASIC_IS_DCE4
	mov	x23, x0
Lloh17:
	adrp	x8, _ATOM_TRANSMITTER_ACTION_DISABLE_OUTPUT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ATOM_TRANSMITTER_ACTION_DISABLE_OUTPUT@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_atombios_dig_transmitter_setup
Lloh20:
	adrp	x8, _ATOM_TRANSMITTER_ACTION_DISABLE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ATOM_TRANSMITTER_ACTION_DISABLE@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_atombios_dig_transmitter_setup
	cbnz	w23, LBB0_13
; %bb.22:
Lloh23:
	adrp	x8, _ATOM_DISABLE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ATOM_DISABLE@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_atombios_dig_encoder_setup
	b	LBB0_13
LBB0_23:
Lloh26:
	adrp	x8, _DP_PANEL_MODE_EXTERNAL_DP_MODE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _DP_PANEL_MODE_EXTERNAL_DP_MODE@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
LBB0_24:
	str	w0, [x26]
Lloh29:
	adrp	x8, _ATOM_ENCODER_CMD_SETUP@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ATOM_ENCODER_CMD_SETUP@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_atombios_dig_encoder_setup
Lloh32:
	adrp	x8, _ATOM_ENCODER_CMD_SETUP_PANEL_MODE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ATOM_ENCODER_CMD_SETUP_PANEL_MODE@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	ldr	w2, [x26]
	mov	x0, x19
	bl	_atombios_dig_encoder_setup
	cbz	x23, LBB0_28
; %bb.25:
	mov	x0, x22
	bl	_ASIC_IS_DCE41
	cbnz	w0, LBB0_27
; %bb.26:
	mov	x0, x22
	bl	_ASIC_IS_DCE61
	cbz	w0, LBB0_28
LBB0_27:
Lloh35:
	adrp	x8, _EXTERNAL_ENCODER_ACTION_V3_ENCODER_SETUP@GOTPAGE
Lloh36:
	ldr	x8, [x8, _EXTERNAL_ENCODER_ACTION_V3_ENCODER_SETUP@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x23
	bl	_atombios_external_encoder_setup
LBB0_28:
Lloh38:
	adrp	x8, _ATOM_TRANSMITTER_ACTION_ENABLE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ATOM_TRANSMITTER_ACTION_ENABLE@GOTPAGEOFF]
LBB0_29:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_atombios_dig_transmitter_setup
LBB0_30:
	mov	x0, x19
	bl	_atombios_get_encoder_mode
	bl	_ENCODER_MODE_IS_DP
	cbz	w0, LBB0_36
; %bb.31:
	cbz	x21, LBB0_36
; %bb.32:
	ldr	w8, [x21]
Lloh40:
	adrp	x9, _DRM_MODE_CONNECTOR_eDP@GOTPAGE
Lloh41:
	ldr	x9, [x9, _DRM_MODE_CONNECTOR_eDP@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_34
; %bb.33:
Lloh43:
	adrp	x8, _ATOM_TRANSMITTER_ACTION_POWER_ON@GOTPAGE
Lloh44:
	ldr	x8, [x8, _ATOM_TRANSMITTER_ACTION_POWER_ON@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_atombios_set_edp_panel_power
	mov	w8, #1
	str	w8, [x25]
LBB0_34:
	mov	x0, x19
	mov	x1, x21
	bl	_radeon_dp_link_train
	mov	x0, x22
	bl	_ASIC_IS_DCE4
	cbz	w0, LBB0_36
; %bb.35:
Lloh46:
	adrp	x8, _ATOM_ENCODER_CMD_DP_VIDEO_ON@GOTPAGE
Lloh47:
	ldr	x8, [x8, _ATOM_ENCODER_CMD_DP_VIDEO_ON@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_atombios_dig_encoder_setup
LBB0_36:
	ldr	w8, [x20]
Lloh49:
	adrp	x9, _ATOM_DEVICE_LCD_SUPPORT@GOTPAGE
Lloh50:
	ldr	x9, [x9, _ATOM_DEVICE_LCD_SUPPORT@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_39
; %bb.37:
Lloh52:
	adrp	x8, _ATOM_TRANSMITTER_ACTION_LCD_BLON@GOTPAGE
Lloh53:
	ldr	x8, [x8, _ATOM_TRANSMITTER_ACTION_LCD_BLON@GOTPAGEOFF]
LBB0_38:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_atombios_dig_transmitter_setup
LBB0_39:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_40:
	mov	x0, x22
	bl	_ASIC_IS_DCE4
	cbz	w0, LBB0_42
; %bb.41:
Lloh54:
	adrp	x8, _ATOM_ENCODER_CMD_SETUP@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ATOM_ENCODER_CMD_SETUP@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_atombios_dig_encoder_setup
Lloh57:
	adrp	x8, _ATOM_TRANSMITTER_ACTION_ENABLE@GOTPAGE
Lloh58:
	ldr	x8, [x8, _ATOM_TRANSMITTER_ACTION_ENABLE@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_atombios_dig_transmitter_setup
	b	LBB0_44
LBB0_42:
Lloh60:
	adrp	x8, _ATOM_ENABLE@GOTPAGE
Lloh61:
	ldr	x8, [x8, _ATOM_ENABLE@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_atombios_dig_encoder_setup
Lloh63:
	adrp	x8, _ATOM_TRANSMITTER_ACTION_SETUP@GOTPAGE
Lloh64:
	ldr	x8, [x8, _ATOM_TRANSMITTER_ACTION_SETUP@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_atombios_dig_transmitter_setup
Lloh66:
	adrp	x8, _ATOM_TRANSMITTER_ACTION_ENABLE@GOTPAGE
Lloh67:
	ldr	x8, [x8, _ATOM_TRANSMITTER_ACTION_ENABLE@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_atombios_dig_transmitter_setup
	ldr	w8, [x22]
Lloh69:
	adrp	x9, _CHIP_RV710@GOTPAGE
Lloh70:
	ldr	x9, [x9, _CHIP_RV710@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_30
; %bb.43:
Lloh72:
	adrp	x9, _CHIP_RV730@GOTPAGE
Lloh73:
	ldr	x9, [x9, _CHIP_RV730@GOTPAGEOFF]
Lloh74:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_30
LBB0_44:
Lloh75:
	adrp	x8, _ATOM_TRANSMITTER_ACTION_ENABLE_OUTPUT@GOTPAGE
Lloh76:
	ldr	x8, [x8, _ATOM_TRANSMITTER_ACTION_ENABLE_OUTPUT@GOTPAGEOFF]
	b	LBB0_29
	.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 AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh75, Lloh76
	.cfi_endproc
                                        ; -- End function
	.comm	_DP_PANEL_MODE_EXTERNAL_DP_MODE,4,2 ; @DP_PANEL_MODE_EXTERNAL_DP_MODE
	.comm	_ATOM_ENCODER_CMD_SETUP,4,2     ; @ATOM_ENCODER_CMD_SETUP
	.comm	_ATOM_ENCODER_CMD_SETUP_PANEL_MODE,4,2 ; @ATOM_ENCODER_CMD_SETUP_PANEL_MODE
	.comm	_EXTERNAL_ENCODER_ACTION_V3_ENCODER_SETUP,4,2 ; @EXTERNAL_ENCODER_ACTION_V3_ENCODER_SETUP
	.comm	_ATOM_TRANSMITTER_ACTION_ENABLE,4,2 ; @ATOM_TRANSMITTER_ACTION_ENABLE
	.comm	_ATOM_TRANSMITTER_ACTION_ENABLE_OUTPUT,4,2 ; @ATOM_TRANSMITTER_ACTION_ENABLE_OUTPUT
	.comm	_ATOM_ENABLE,4,2                ; @ATOM_ENABLE
	.comm	_ATOM_TRANSMITTER_ACTION_SETUP,4,2 ; @ATOM_TRANSMITTER_ACTION_SETUP
	.comm	_CHIP_RV710,4,2                 ; @CHIP_RV710
	.comm	_CHIP_RV730,4,2                 ; @CHIP_RV730
	.comm	_DRM_MODE_CONNECTOR_eDP,4,2     ; @DRM_MODE_CONNECTOR_eDP
	.comm	_ATOM_TRANSMITTER_ACTION_POWER_ON,4,2 ; @ATOM_TRANSMITTER_ACTION_POWER_ON
	.comm	_ATOM_ENCODER_CMD_DP_VIDEO_ON,4,2 ; @ATOM_ENCODER_CMD_DP_VIDEO_ON
	.comm	_ATOM_DEVICE_LCD_SUPPORT,4,2    ; @ATOM_DEVICE_LCD_SUPPORT
	.comm	_ATOM_TRANSMITTER_ACTION_LCD_BLON,4,2 ; @ATOM_TRANSMITTER_ACTION_LCD_BLON
	.comm	_ATOM_TRANSMITTER_ACTION_DISABLE,4,2 ; @ATOM_TRANSMITTER_ACTION_DISABLE
	.comm	_ATOM_TRANSMITTER_ACTION_DISABLE_OUTPUT,4,2 ; @ATOM_TRANSMITTER_ACTION_DISABLE_OUTPUT
	.comm	_ATOM_DISABLE,4,2               ; @ATOM_DISABLE
	.comm	_ATOM_ENCODER_CMD_DP_VIDEO_OFF,4,2 ; @ATOM_ENCODER_CMD_DP_VIDEO_OFF
	.comm	_ATOM_TRANSMITTER_ACTION_POWER_OFF,4,2 ; @ATOM_TRANSMITTER_ACTION_POWER_OFF
	.comm	_ATOM_TRANSMITTER_ACTION_LCD_BLOFF,4,2 ; @ATOM_TRANSMITTER_ACTION_LCD_BLOFF
	.no_dead_strip	_radeon_atom_encoder_dpms_dig
.subsections_via_symbols
