	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dal_cmd_table_helper_encoder_mode_bp_to_atom2 ## -- Begin function dal_cmd_table_helper_encoder_mode_bp_to_atom2
	.p2align	4, 0x90
_dal_cmd_table_helper_encoder_mode_bp_to_atom2: ## @dal_cmd_table_helper_encoder_mode_bp_to_atom2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	addl	$-128, %edi
	cmpl	$8, %edi
	ja	LBB0_7
## %bb.1:
	movq	_ATOM_ENCODER_MODE_DVI@GOTPCREL(%rip), %rax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rdi,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_4:
	testl	%esi, %esi
	jne	LBB0_5
## %bb.6:
	movq	_ATOM_ENCODER_MODE_DP@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_ATOM_ENCODER_MODE_DP_AUDIO@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_ATOM_ENCODER_MODE_CRT@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	movq	_ATOM_ENCODER_MODE_LVDS@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_2:
	movq	_ATOM_ENCODER_MODE_HDMI@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_4
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_ATOM_ENCODER_MODE_DVI,4,2      ## @ATOM_ENCODER_MODE_DVI
	.comm	_ATOM_ENCODER_MODE_HDMI,4,2     ## @ATOM_ENCODER_MODE_HDMI
	.comm	_ATOM_ENCODER_MODE_LVDS,4,2     ## @ATOM_ENCODER_MODE_LVDS
	.comm	_ATOM_ENCODER_MODE_DP_AUDIO,4,2 ## @ATOM_ENCODER_MODE_DP_AUDIO
	.comm	_ATOM_ENCODER_MODE_DP,4,2       ## @ATOM_ENCODER_MODE_DP
	.comm	_ATOM_ENCODER_MODE_CRT,4,2      ## @ATOM_ENCODER_MODE_CRT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dal_cmd_table_helper_encoder_mode_bp_to_atom2 ; -- Begin function dal_cmd_table_helper_encoder_mode_bp_to_atom2
	.p2align	2
_dal_cmd_table_helper_encoder_mode_bp_to_atom2: ; @dal_cmd_table_helper_encoder_mode_bp_to_atom2
	.cfi_startproc
; %bb.0:
	sub	w9, w0, #128
	cmp	w9, #8
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _ATOM_ENCODER_MODE_DVI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATOM_ENCODER_MODE_DVI@GOTPAGEOFF]
Lloh2:
	adrp	x10, lJTI0_0@PAGE
Lloh3:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh4:
	adrp	x8, _ATOM_ENCODER_MODE_DP_AUDIO@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ATOM_ENCODER_MODE_DP_AUDIO@GOTPAGEOFF]
Lloh6:
	adrp	x9, _ATOM_ENCODER_MODE_DP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ATOM_ENCODER_MODE_DP@GOTPAGEOFF]
	cmp	w1, #0
	csel	x8, x9, x8, eq
	ldr	w0, [x8]
	ret
LBB0_3:
Lloh8:
	adrp	x8, _ATOM_ENCODER_MODE_CRT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ATOM_ENCODER_MODE_CRT@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ret
LBB0_5:
Lloh10:
	adrp	x8, _ATOM_ENCODER_MODE_LVDS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ATOM_ENCODER_MODE_LVDS@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ret
LBB0_6:
Lloh13:
	adrp	x8, _ATOM_ENCODER_MODE_HDMI@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ATOM_ENCODER_MODE_HDMI@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_ATOM_ENCODER_MODE_DVI,4,2      ; @ATOM_ENCODER_MODE_DVI
	.comm	_ATOM_ENCODER_MODE_HDMI,4,2     ; @ATOM_ENCODER_MODE_HDMI
	.comm	_ATOM_ENCODER_MODE_LVDS,4,2     ; @ATOM_ENCODER_MODE_LVDS
	.comm	_ATOM_ENCODER_MODE_DP_AUDIO,4,2 ; @ATOM_ENCODER_MODE_DP_AUDIO
	.comm	_ATOM_ENCODER_MODE_DP,4,2       ; @ATOM_ENCODER_MODE_DP
	.comm	_ATOM_ENCODER_MODE_CRT,4,2      ; @ATOM_ENCODER_MODE_CRT
.subsections_via_symbols
