	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcn10_get_dig_mode             ## -- Begin function dcn10_get_dig_mode
	.p2align	4, 0x90
_dcn10_get_dig_mode:                    ## @dcn10_get_dig_mode
	.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
	callq	_TO_DCN10_LINK_ENC
	movq	_DIG_BE_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DIG_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-4(%rbp), %rdx
	callq	_REG_GET
	movl	-4(%rbp), %eax
	decl	%eax
	cmpl	$4, %eax
	ja	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.dcn10_get_dig_mode(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_SIGNAL_TYPE_NONE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DIG_BE_CNTL,4,2                ## @DIG_BE_CNTL
	.comm	_DIG_MODE,4,2                   ## @DIG_MODE
	.comm	_SIGNAL_TYPE_DISPLAY_PORT,4,2   ## @SIGNAL_TYPE_DISPLAY_PORT
	.comm	_SIGNAL_TYPE_DVI_SINGLE_LINK,4,2 ## @SIGNAL_TYPE_DVI_SINGLE_LINK
	.comm	_SIGNAL_TYPE_HDMI_TYPE_A,4,2    ## @SIGNAL_TYPE_HDMI_TYPE_A
	.comm	_SIGNAL_TYPE_DISPLAY_PORT_MST,4,2 ## @SIGNAL_TYPE_DISPLAY_PORT_MST
	.comm	_SIGNAL_TYPE_NONE,4,2           ## @SIGNAL_TYPE_NONE
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.dcn10_get_dig_mode
l_switch.table.dcn10_get_dig_mode:
	.quad	_SIGNAL_TYPE_DISPLAY_PORT
	.quad	_SIGNAL_TYPE_DVI_SINGLE_LINK
	.quad	_SIGNAL_TYPE_HDMI_TYPE_A
	.quad	_SIGNAL_TYPE_NONE
	.quad	_SIGNAL_TYPE_DISPLAY_PORT_MST

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcn10_get_dig_mode             ; -- Begin function dcn10_get_dig_mode
	.p2align	2
_dcn10_get_dig_mode:                    ; @dcn10_get_dig_mode
	.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
	bl	_TO_DCN10_LINK_ENC
Lloh0:
	adrp	x8, _DIG_BE_CNTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DIG_BE_CNTL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _DIG_MODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DIG_MODE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	sub	x2, x29, #4
	bl	_REG_GET
	ldur	w8, [x29, #-4]
	sub	w8, w8, #1
	cmp	w8, #4
	b.hi	LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, l_switch.table.dcn10_get_dig_mode@PAGE
Lloh7:
	add	x9, x9, l_switch.table.dcn10_get_dig_mode@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _SIGNAL_TYPE_NONE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SIGNAL_TYPE_NONE@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_DIG_BE_CNTL,4,2                ; @DIG_BE_CNTL
	.comm	_DIG_MODE,4,2                   ; @DIG_MODE
	.comm	_SIGNAL_TYPE_DISPLAY_PORT,4,2   ; @SIGNAL_TYPE_DISPLAY_PORT
	.comm	_SIGNAL_TYPE_DVI_SINGLE_LINK,4,2 ; @SIGNAL_TYPE_DVI_SINGLE_LINK
	.comm	_SIGNAL_TYPE_HDMI_TYPE_A,4,2    ; @SIGNAL_TYPE_HDMI_TYPE_A
	.comm	_SIGNAL_TYPE_DISPLAY_PORT_MST,4,2 ; @SIGNAL_TYPE_DISPLAY_PORT_MST
	.comm	_SIGNAL_TYPE_NONE,4,2           ; @SIGNAL_TYPE_NONE
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.dcn10_get_dig_mode
l_switch.table.dcn10_get_dig_mode:
	.quad	_SIGNAL_TYPE_DISPLAY_PORT
	.quad	_SIGNAL_TYPE_DVI_SINGLE_LINK
	.quad	_SIGNAL_TYPE_HDMI_TYPE_A
	.quad	_SIGNAL_TYPE_NONE
	.quad	_SIGNAL_TYPE_DISPLAY_PORT_MST

.subsections_via_symbols
