	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atombios_set_encoder_crtc_source
_atombios_set_encoder_crtc_source:      ## @atombios_set_encoder_crtc_source
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r14
	callq	_to_radeon_encoder
	movq	%rax, %r13
	movl	(%rbx), %edi
	callq	_to_radeon_crtc
	movq	%rax, %r15
	movq	_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SelectCRTC_Source@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetIndexIntoMasterTable
	movl	%eax, %r12d
	leaq	-72(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movl	(%r14), %edi
	leaq	-48(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movl	%r12d, %esi
	callq	_atom_parse_cmd_header
	testl	%eax, %eax
	je	LBB0_43
## %bb.1:
	movl	-48(%rbp), %esi
	movl	-44(%rbp), %edx
	cmpl	$1, %esi
	jne	LBB0_6
## %bb.2:
	cmpl	$2, %edx
	jne	LBB0_7
## %bb.3:
	movl	(%r15), %eax
	movl	%eax, -72(%rbp)
	movq	%rbx, %rdi
	callq	_radeon_encoder_get_dp_bridge_encoder_id
	movq	_ENCODER_OBJECT_ID_NONE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.4:
	movq	_ATOM_DEVICE_LCD_SUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r13)
	jne	LBB0_10
	jmp	LBB0_5
LBB0_6:
	leaq	L_.str(%rip), %rdi
	callq	_DRM_ERROR
	jmp	LBB0_43
LBB0_7:
	movq	%r14, %rdi
	callq	_ASIC_IS_AVIVO
	testl	%eax, %eax
	je	LBB0_11
## %bb.8:
	movl	(%r15), %eax
	jmp	LBB0_13
LBB0_9:
	movq	%rbx, %rdi
	callq	_radeon_get_connector_for_encoder
	movl	(%rax), %eax
	movq	_DRM_MODE_CONNECTOR_LVDS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_16
LBB0_10:
	movq	_ATOM_ENCODER_MODE_LVDS@GOTPCREL(%rip), %rax
LBB0_18:
	movq	(%rax), %rax
	jmp	LBB0_19
LBB0_11:
	cmpl	$143, (%r13)
	movl	(%r15), %eax
	je	LBB0_13
## %bb.12:
	shll	$2, %eax
LBB0_13:
	movl	%eax, -72(%rbp)
	movl	$-132, %ecx
	addl	(%r13), %ecx
	cmpl	$11, %ecx
	ja	LBB0_42
## %bb.14:
	movq	_ATOM_DEVICE_DFP1_INDEX@GOTPCREL(%rip), %rax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_15:
	movq	_ATOM_DEVICE_DFP2_INDEX@GOTPCREL(%rip), %rax
	jmp	LBB0_41
LBB0_16:
	movq	_DRM_MODE_CONNECTOR_VGA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.17:
	movq	_ATOM_ENCODER_MODE_CRT@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_5:
	movq	%rbx, %rdi
	callq	_atombios_get_encoder_mode
LBB0_19:
	movq	%rax, -56(%rbp)
	movl	(%r13), %ecx
	addl	$-128, %ecx
	cmpl	$11, %ecx
	ja	LBB0_42
## %bb.20:
	movq	_ASIC_INT_DVO_ENCODER_ID@GOTPCREL(%rip), %rax
	leaq	LJTI0_1(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_21:
	movq	16(%r13), %rax
	movslq	(%rax), %rax
	cmpq	$7, %rax
	jae	LBB0_42
## %bb.22:
	leaq	l_switch.table.atombios_set_encoder_crtc_source(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_41
LBB0_23:
	movq	_ATOM_DEVICE_LCD1_SUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r13)
	jne	LBB0_36
## %bb.24:
	movq	_ATOM_DEVICE_DFP3_INDEX@GOTPCREL(%rip), %rax
	jmp	LBB0_41
LBB0_25:
	movl	8(%r13), %eax
	movq	_ATOM_DEVICE_TV_SUPPORT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_29
## %bb.26:
	movq	_ATOM_DEVICE_CV_SUPPORT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_39
## %bb.27:
	movq	_ATOM_DEVICE_CRT2_INDEX@GOTPCREL(%rip), %rax
	jmp	LBB0_41
LBB0_28:
	movl	8(%r13), %eax
	movq	_ATOM_DEVICE_TV_SUPPORT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_37
LBB0_29:
	movq	_ATOM_DEVICE_TV1_INDEX@GOTPCREL(%rip), %rax
	jmp	LBB0_41
LBB0_30:
	movl	8(%r13), %eax
	movq	_ATOM_DEVICE_TV_SUPPORT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_40
## %bb.31:
	movq	_ATOM_DEVICE_CV_SUPPORT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_40
## %bb.32:
	movq	_ASIC_INT_DAC2_ENCODER_ID@GOTPCREL(%rip), %rax
	jmp	LBB0_41
LBB0_33:
	movl	8(%r13), %eax
	movq	_ATOM_DEVICE_TV_SUPPORT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_40
## %bb.34:
	movq	_ATOM_DEVICE_CV_SUPPORT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_40
## %bb.35:
	movq	_ASIC_INT_DAC1_ENCODER_ID@GOTPCREL(%rip), %rax
	jmp	LBB0_41
LBB0_40:
	movq	_ASIC_INT_TV_ENCODER_ID@GOTPCREL(%rip), %rax
	jmp	LBB0_41
LBB0_36:
	movq	_ATOM_DEVICE_LCD1_INDEX@GOTPCREL(%rip), %rax
	jmp	LBB0_41
LBB0_37:
	movq	_ATOM_DEVICE_CV_SUPPORT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_39
## %bb.38:
	movq	_ATOM_DEVICE_CRT1_INDEX@GOTPCREL(%rip), %rax
	jmp	LBB0_41
LBB0_39:
	movq	_ATOM_DEVICE_CV_INDEX@GOTPCREL(%rip), %rax
LBB0_41:
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
LBB0_42:
	movl	(%r14), %edi
	leaq	-72(%rbp), %rdx
	movl	%r12d, %esi
	callq	_atom_execute_table
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_radeon_atombios_encoder_crtc_scratch_regs
LBB0_43:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_41, LBB0_41-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_42, LBB0_42-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
LJTI0_0:
	.long	L0_0_set_41
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_41
	.long	L0_0_set_42
	.long	L0_0_set_15
	.long	L0_0_set_25
	.long	L0_0_set_28
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_25
	.long	L0_0_set_28
.set L0_1_set_21, LBB0_21-LJTI0_1
.set L0_1_set_42, LBB0_42-LJTI0_1
.set L0_1_set_41, LBB0_41-LJTI0_1
.set L0_1_set_30, LBB0_30-LJTI0_1
.set L0_1_set_33, LBB0_33-LJTI0_1
LJTI0_1:
	.long	L0_1_set_21
	.long	L0_1_set_21
	.long	L0_1_set_21
	.long	L0_1_set_21
	.long	L0_1_set_42
	.long	L0_1_set_42
	.long	L0_1_set_42
	.long	L0_1_set_42
	.long	L0_1_set_21
	.long	L0_1_set_41
	.long	L0_1_set_30
	.long	L0_1_set_33
	.end_data_region
                                        ## -- End function
	.comm	_COMMAND,4,2                    ## @COMMAND
	.comm	_SelectCRTC_Source,4,2          ## @SelectCRTC_Source
	.comm	_ATOM_DEVICE_DFP1_INDEX,8,3     ## @ATOM_DEVICE_DFP1_INDEX
	.comm	_ATOM_DEVICE_LCD1_SUPPORT,4,2   ## @ATOM_DEVICE_LCD1_SUPPORT
	.comm	_ATOM_DEVICE_LCD1_INDEX,8,3     ## @ATOM_DEVICE_LCD1_INDEX
	.comm	_ATOM_DEVICE_DFP3_INDEX,8,3     ## @ATOM_DEVICE_DFP3_INDEX
	.comm	_ATOM_DEVICE_DFP2_INDEX,8,3     ## @ATOM_DEVICE_DFP2_INDEX
	.comm	_ATOM_DEVICE_TV_SUPPORT,4,2     ## @ATOM_DEVICE_TV_SUPPORT
	.comm	_ATOM_DEVICE_TV1_INDEX,8,3      ## @ATOM_DEVICE_TV1_INDEX
	.comm	_ATOM_DEVICE_CV_SUPPORT,4,2     ## @ATOM_DEVICE_CV_SUPPORT
	.comm	_ATOM_DEVICE_CV_INDEX,8,3       ## @ATOM_DEVICE_CV_INDEX
	.comm	_ATOM_DEVICE_CRT1_INDEX,8,3     ## @ATOM_DEVICE_CRT1_INDEX
	.comm	_ATOM_DEVICE_CRT2_INDEX,8,3     ## @ATOM_DEVICE_CRT2_INDEX
	.comm	_ENCODER_OBJECT_ID_NONE,4,2     ## @ENCODER_OBJECT_ID_NONE
	.comm	_DRM_MODE_CONNECTOR_LVDS,4,2    ## @DRM_MODE_CONNECTOR_LVDS
	.comm	_ATOM_ENCODER_MODE_LVDS,8,3     ## @ATOM_ENCODER_MODE_LVDS
	.comm	_DRM_MODE_CONNECTOR_VGA,4,2     ## @DRM_MODE_CONNECTOR_VGA
	.comm	_ATOM_ENCODER_MODE_CRT,8,3      ## @ATOM_ENCODER_MODE_CRT
	.comm	_ATOM_DEVICE_LCD_SUPPORT,4,2    ## @ATOM_DEVICE_LCD_SUPPORT
	.comm	_ASIC_INT_DIG1_ENCODER_ID,8,3   ## @ASIC_INT_DIG1_ENCODER_ID
	.comm	_ASIC_INT_DIG2_ENCODER_ID,8,3   ## @ASIC_INT_DIG2_ENCODER_ID
	.comm	_ASIC_INT_DIG3_ENCODER_ID,8,3   ## @ASIC_INT_DIG3_ENCODER_ID
	.comm	_ASIC_INT_DIG4_ENCODER_ID,8,3   ## @ASIC_INT_DIG4_ENCODER_ID
	.comm	_ASIC_INT_DIG5_ENCODER_ID,8,3   ## @ASIC_INT_DIG5_ENCODER_ID
	.comm	_ASIC_INT_DIG6_ENCODER_ID,8,3   ## @ASIC_INT_DIG6_ENCODER_ID
	.comm	_ASIC_INT_DIG7_ENCODER_ID,8,3   ## @ASIC_INT_DIG7_ENCODER_ID
	.comm	_ASIC_INT_DVO_ENCODER_ID,8,3    ## @ASIC_INT_DVO_ENCODER_ID
	.comm	_ASIC_INT_TV_ENCODER_ID,8,3     ## @ASIC_INT_TV_ENCODER_ID
	.comm	_ASIC_INT_DAC1_ENCODER_ID,8,3   ## @ASIC_INT_DAC1_ENCODER_ID
	.comm	_ASIC_INT_DAC2_ENCODER_ID,8,3   ## @ASIC_INT_DAC2_ENCODER_ID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown table version: %d, %d\n"

	.no_dead_strip	_atombios_set_encoder_crtc_source
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.atombios_set_encoder_crtc_source
l_switch.table.atombios_set_encoder_crtc_source:
	.quad	_ASIC_INT_DIG1_ENCODER_ID
	.quad	_ASIC_INT_DIG2_ENCODER_ID
	.quad	_ASIC_INT_DIG3_ENCODER_ID
	.quad	_ASIC_INT_DIG4_ENCODER_ID
	.quad	_ASIC_INT_DIG5_ENCODER_ID
	.quad	_ASIC_INT_DIG6_ENCODER_ID
	.quad	_ASIC_INT_DIG7_ENCODER_ID

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atombios_set_encoder_crtc_source
_atombios_set_encoder_crtc_source:      ; @atombios_set_encoder_crtc_source
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x20, [x8]
	bl	_to_radeon_encoder
	mov	x23, x0
	ldr	w0, [x19]
	bl	_to_radeon_crtc
	mov	x21, x0
Lloh0:
	adrp	x8, _COMMAND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COMMAND@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SelectCRTC_Source@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SelectCRTC_Source@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_GetIndexIntoMasterTable
	mov	x22, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	w0, [x20]
	add	x2, sp, #4
	mov	x3, sp
	mov	x1, x22
	bl	_atom_parse_cmd_header
	cbz	w0, LBB0_37
; %bb.1:
	ldp	w2, w1, [sp]
	cmp	w1, #1
	b.ne	LBB0_5
; %bb.2:
	cmp	w2, #2
	b.ne	LBB0_6
; %bb.3:
	ldr	w8, [x21]
	str	w8, [sp, #8]
	mov	x0, x19
	bl	_radeon_encoder_get_dp_bridge_encoder_id
Lloh6:
	adrp	x8, _ENCODER_OBJECT_ID_NONE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENCODER_OBJECT_ID_NONE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_8
; %bb.4:
	ldr	w8, [x23, #4]
Lloh9:
	adrp	x9, _ATOM_DEVICE_LCD_SUPPORT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ATOM_DEVICE_LCD_SUPPORT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_9
	b	LBB0_18
LBB0_5:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_ERROR
	b	LBB0_37
LBB0_6:
	mov	x0, x20
	bl	_ASIC_IS_AVIVO
	cbz	w0, LBB0_11
; %bb.7:
	ldr	w8, [x21]
	b	LBB0_13
LBB0_8:
	mov	x0, x19
	bl	_radeon_get_connector_for_encoder
	ldr	w8, [x0]
Lloh14:
	adrp	x9, _DRM_MODE_CONNECTOR_LVDS@GOTPAGE
Lloh15:
	ldr	x9, [x9, _DRM_MODE_CONNECTOR_LVDS@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_16
LBB0_9:
Lloh17:
	adrp	x8, _ATOM_ENCODER_MODE_LVDS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ATOM_ENCODER_MODE_LVDS@GOTPAGEOFF]
LBB0_10:
	ldr	x0, [x8]
	b	LBB0_19
LBB0_11:
	ldr	w9, [x23]
	ldr	w8, [x21]
	cmp	w9, #143
	b.eq	LBB0_13
; %bb.12:
	lsl	w8, w8, #2
LBB0_13:
	str	w8, [sp, #8]
	ldr	w8, [x23]
	sub	w9, w8, #132
	cmp	w9, #11
	b.hi	LBB0_36
; %bb.14:
Lloh19:
	adrp	x8, _ATOM_DEVICE_DFP1_INDEX@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ATOM_DEVICE_DFP1_INDEX@GOTPAGEOFF]
Lloh21:
	adrp	x10, lJTI0_0@PAGE
Lloh22:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_15
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_15:
Lloh23:
	adrp	x8, _ATOM_DEVICE_DFP2_INDEX@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ATOM_DEVICE_DFP2_INDEX@GOTPAGEOFF]
	b	LBB0_35
LBB0_16:
Lloh25:
	adrp	x9, _DRM_MODE_CONNECTOR_VGA@GOTPAGE
Lloh26:
	ldr	x9, [x9, _DRM_MODE_CONNECTOR_VGA@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_18
; %bb.17:
Lloh28:
	adrp	x8, _ATOM_ENCODER_MODE_CRT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ATOM_ENCODER_MODE_CRT@GOTPAGEOFF]
	b	LBB0_10
LBB0_18:
	mov	x0, x19
	bl	_atombios_get_encoder_mode
LBB0_19:
	str	x0, [sp, #24]
	ldr	w8, [x23]
	sub	w9, w8, #128
	cmp	w9, #11
	b.hi	LBB0_36
; %bb.20:
Lloh30:
	adrp	x8, _ASIC_INT_DVO_ENCODER_ID@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ASIC_INT_DVO_ENCODER_ID@GOTPAGEOFF]
Lloh32:
	adrp	x10, lJTI0_1@PAGE
Lloh33:
	add	x10, x10, lJTI0_1@PAGEOFF
	adr	x11, LBB0_21
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_21:
	ldr	x8, [x23, #16]
	ldrsw	x8, [x8]
	cmp	w8, #7
	b.hs	LBB0_36
; %bb.22:
Lloh34:
	adrp	x9, l_switch.table.atombios_set_encoder_crtc_source@PAGE
Lloh35:
	add	x9, x9, l_switch.table.atombios_set_encoder_crtc_source@PAGEOFF
	ldr	x8, [x9, x8, lsl #3]
	b	LBB0_35
LBB0_23:
	ldr	w8, [x23, #4]
Lloh36:
	adrp	x9, _ATOM_DEVICE_LCD1_SUPPORT@GOTPAGE
Lloh37:
	ldr	x9, [x9, _ATOM_DEVICE_LCD1_SUPPORT@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
Lloh39:
	adrp	x10, _ATOM_DEVICE_LCD1_INDEX@GOTPAGE
Lloh40:
	ldr	x10, [x10, _ATOM_DEVICE_LCD1_INDEX@GOTPAGEOFF]
Lloh41:
	adrp	x11, _ATOM_DEVICE_DFP3_INDEX@GOTPAGE
Lloh42:
	ldr	x11, [x11, _ATOM_DEVICE_DFP3_INDEX@GOTPAGEOFF]
	b	LBB0_34
LBB0_24:
	ldr	w8, [x23, #8]
Lloh43:
	adrp	x9, _ATOM_DEVICE_TV_SUPPORT@GOTPAGE
Lloh44:
	ldr	x9, [x9, _ATOM_DEVICE_TV_SUPPORT@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_27
; %bb.25:
Lloh46:
	adrp	x9, _ATOM_DEVICE_CV_SUPPORT@GOTPAGE
Lloh47:
	ldr	x9, [x9, _ATOM_DEVICE_CV_SUPPORT@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
Lloh49:
	adrp	x10, _ATOM_DEVICE_CV_INDEX@GOTPAGE
Lloh50:
	ldr	x10, [x10, _ATOM_DEVICE_CV_INDEX@GOTPAGEOFF]
Lloh51:
	adrp	x11, _ATOM_DEVICE_CRT2_INDEX@GOTPAGE
Lloh52:
	ldr	x11, [x11, _ATOM_DEVICE_CRT2_INDEX@GOTPAGEOFF]
	b	LBB0_34
LBB0_26:
	ldr	w8, [x23, #8]
Lloh53:
	adrp	x9, _ATOM_DEVICE_TV_SUPPORT@GOTPAGE
Lloh54:
	ldr	x9, [x9, _ATOM_DEVICE_TV_SUPPORT@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_33
LBB0_27:
Lloh56:
	adrp	x8, _ATOM_DEVICE_TV1_INDEX@GOTPAGE
Lloh57:
	ldr	x8, [x8, _ATOM_DEVICE_TV1_INDEX@GOTPAGEOFF]
	b	LBB0_35
LBB0_28:
	ldr	w9, [x23, #8]
Lloh58:
	adrp	x8, _ATOM_DEVICE_TV_SUPPORT@GOTPAGE
Lloh59:
	ldr	x8, [x8, _ATOM_DEVICE_TV_SUPPORT@GOTPAGEOFF]
Lloh60:
	ldr	w10, [x8]
Lloh61:
	adrp	x8, _ASIC_INT_TV_ENCODER_ID@GOTPAGE
Lloh62:
	ldr	x8, [x8, _ASIC_INT_TV_ENCODER_ID@GOTPAGEOFF]
	tst	w10, w9
	b.ne	LBB0_35
; %bb.29:
Lloh63:
	adrp	x10, _ATOM_DEVICE_CV_SUPPORT@GOTPAGE
Lloh64:
	ldr	x10, [x10, _ATOM_DEVICE_CV_SUPPORT@GOTPAGEOFF]
Lloh65:
	ldr	w10, [x10]
Lloh66:
	adrp	x11, _ASIC_INT_DAC2_ENCODER_ID@GOTPAGE
Lloh67:
	ldr	x11, [x11, _ASIC_INT_DAC2_ENCODER_ID@GOTPAGEOFF]
	b	LBB0_32
LBB0_30:
	ldr	w9, [x23, #8]
Lloh68:
	adrp	x8, _ATOM_DEVICE_TV_SUPPORT@GOTPAGE
Lloh69:
	ldr	x8, [x8, _ATOM_DEVICE_TV_SUPPORT@GOTPAGEOFF]
Lloh70:
	ldr	w10, [x8]
Lloh71:
	adrp	x8, _ASIC_INT_TV_ENCODER_ID@GOTPAGE
Lloh72:
	ldr	x8, [x8, _ASIC_INT_TV_ENCODER_ID@GOTPAGEOFF]
	tst	w10, w9
	b.ne	LBB0_35
; %bb.31:
Lloh73:
	adrp	x10, _ATOM_DEVICE_CV_SUPPORT@GOTPAGE
Lloh74:
	ldr	x10, [x10, _ATOM_DEVICE_CV_SUPPORT@GOTPAGEOFF]
Lloh75:
	ldr	w10, [x10]
Lloh76:
	adrp	x11, _ASIC_INT_DAC1_ENCODER_ID@GOTPAGE
Lloh77:
	ldr	x11, [x11, _ASIC_INT_DAC1_ENCODER_ID@GOTPAGEOFF]
LBB0_32:
	tst	w10, w9
	csel	x8, x11, x8, eq
	b	LBB0_35
LBB0_33:
Lloh78:
	adrp	x9, _ATOM_DEVICE_CV_SUPPORT@GOTPAGE
Lloh79:
	ldr	x9, [x9, _ATOM_DEVICE_CV_SUPPORT@GOTPAGEOFF]
Lloh80:
	ldr	w9, [x9]
Lloh81:
	adrp	x10, _ATOM_DEVICE_CV_INDEX@GOTPAGE
Lloh82:
	ldr	x10, [x10, _ATOM_DEVICE_CV_INDEX@GOTPAGEOFF]
Lloh83:
	adrp	x11, _ATOM_DEVICE_CRT1_INDEX@GOTPAGE
Lloh84:
	ldr	x11, [x11, _ATOM_DEVICE_CRT1_INDEX@GOTPAGEOFF]
LBB0_34:
	tst	w9, w8
	csel	x8, x11, x10, eq
LBB0_35:
	ldr	x8, [x8]
	str	x8, [sp, #16]
LBB0_36:
	ldr	w0, [x20]
	add	x2, sp, #8
	mov	x1, x22
	bl	_atom_execute_table
	ldr	w1, [x21]
	mov	x0, x19
	bl	_radeon_atombios_encoder_crtc_scratch_regs
LBB0_37:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_35-LBB0_15)>>2
	.byte	(LBB0_23-LBB0_15)>>2
	.byte	(LBB0_23-LBB0_15)>>2
	.byte	(LBB0_35-LBB0_15)>>2
	.byte	(LBB0_36-LBB0_15)>>2
	.byte	(LBB0_15-LBB0_15)>>2
	.byte	(LBB0_24-LBB0_15)>>2
	.byte	(LBB0_26-LBB0_15)>>2
	.byte	(LBB0_15-LBB0_15)>>2
	.byte	(LBB0_15-LBB0_15)>>2
	.byte	(LBB0_24-LBB0_15)>>2
	.byte	(LBB0_26-LBB0_15)>>2
lJTI0_1:
	.byte	(LBB0_21-LBB0_21)>>2
	.byte	(LBB0_21-LBB0_21)>>2
	.byte	(LBB0_21-LBB0_21)>>2
	.byte	(LBB0_21-LBB0_21)>>2
	.byte	(LBB0_36-LBB0_21)>>2
	.byte	(LBB0_36-LBB0_21)>>2
	.byte	(LBB0_36-LBB0_21)>>2
	.byte	(LBB0_36-LBB0_21)>>2
	.byte	(LBB0_21-LBB0_21)>>2
	.byte	(LBB0_35-LBB0_21)>>2
	.byte	(LBB0_28-LBB0_21)>>2
	.byte	(LBB0_30-LBB0_21)>>2
                                        ; -- End function
	.comm	_COMMAND,4,2                    ; @COMMAND
	.comm	_SelectCRTC_Source,4,2          ; @SelectCRTC_Source
	.comm	_ATOM_DEVICE_DFP1_INDEX,8,3     ; @ATOM_DEVICE_DFP1_INDEX
	.comm	_ATOM_DEVICE_LCD1_SUPPORT,4,2   ; @ATOM_DEVICE_LCD1_SUPPORT
	.comm	_ATOM_DEVICE_LCD1_INDEX,8,3     ; @ATOM_DEVICE_LCD1_INDEX
	.comm	_ATOM_DEVICE_DFP3_INDEX,8,3     ; @ATOM_DEVICE_DFP3_INDEX
	.comm	_ATOM_DEVICE_DFP2_INDEX,8,3     ; @ATOM_DEVICE_DFP2_INDEX
	.comm	_ATOM_DEVICE_TV_SUPPORT,4,2     ; @ATOM_DEVICE_TV_SUPPORT
	.comm	_ATOM_DEVICE_TV1_INDEX,8,3      ; @ATOM_DEVICE_TV1_INDEX
	.comm	_ATOM_DEVICE_CV_SUPPORT,4,2     ; @ATOM_DEVICE_CV_SUPPORT
	.comm	_ATOM_DEVICE_CV_INDEX,8,3       ; @ATOM_DEVICE_CV_INDEX
	.comm	_ATOM_DEVICE_CRT1_INDEX,8,3     ; @ATOM_DEVICE_CRT1_INDEX
	.comm	_ATOM_DEVICE_CRT2_INDEX,8,3     ; @ATOM_DEVICE_CRT2_INDEX
	.comm	_ENCODER_OBJECT_ID_NONE,4,2     ; @ENCODER_OBJECT_ID_NONE
	.comm	_DRM_MODE_CONNECTOR_LVDS,4,2    ; @DRM_MODE_CONNECTOR_LVDS
	.comm	_ATOM_ENCODER_MODE_LVDS,8,3     ; @ATOM_ENCODER_MODE_LVDS
	.comm	_DRM_MODE_CONNECTOR_VGA,4,2     ; @DRM_MODE_CONNECTOR_VGA
	.comm	_ATOM_ENCODER_MODE_CRT,8,3      ; @ATOM_ENCODER_MODE_CRT
	.comm	_ATOM_DEVICE_LCD_SUPPORT,4,2    ; @ATOM_DEVICE_LCD_SUPPORT
	.comm	_ASIC_INT_DIG1_ENCODER_ID,8,3   ; @ASIC_INT_DIG1_ENCODER_ID
	.comm	_ASIC_INT_DIG2_ENCODER_ID,8,3   ; @ASIC_INT_DIG2_ENCODER_ID
	.comm	_ASIC_INT_DIG3_ENCODER_ID,8,3   ; @ASIC_INT_DIG3_ENCODER_ID
	.comm	_ASIC_INT_DIG4_ENCODER_ID,8,3   ; @ASIC_INT_DIG4_ENCODER_ID
	.comm	_ASIC_INT_DIG5_ENCODER_ID,8,3   ; @ASIC_INT_DIG5_ENCODER_ID
	.comm	_ASIC_INT_DIG6_ENCODER_ID,8,3   ; @ASIC_INT_DIG6_ENCODER_ID
	.comm	_ASIC_INT_DIG7_ENCODER_ID,8,3   ; @ASIC_INT_DIG7_ENCODER_ID
	.comm	_ASIC_INT_DVO_ENCODER_ID,8,3    ; @ASIC_INT_DVO_ENCODER_ID
	.comm	_ASIC_INT_TV_ENCODER_ID,8,3     ; @ASIC_INT_TV_ENCODER_ID
	.comm	_ASIC_INT_DAC1_ENCODER_ID,8,3   ; @ASIC_INT_DAC1_ENCODER_ID
	.comm	_ASIC_INT_DAC2_ENCODER_ID,8,3   ; @ASIC_INT_DAC2_ENCODER_ID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown table version: %d, %d\n"

	.no_dead_strip	_atombios_set_encoder_crtc_source
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.atombios_set_encoder_crtc_source
l_switch.table.atombios_set_encoder_crtc_source:
	.quad	_ASIC_INT_DIG1_ENCODER_ID
	.quad	_ASIC_INT_DIG2_ENCODER_ID
	.quad	_ASIC_INT_DIG3_ENCODER_ID
	.quad	_ASIC_INT_DIG4_ENCODER_ID
	.quad	_ASIC_INT_DIG5_ENCODER_ID
	.quad	_ASIC_INT_DIG6_ENCODER_ID
	.quad	_ASIC_INT_DIG7_ENCODER_ID

.subsections_via_symbols
