	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dal_cmd_table_helper_controller_id_to_atom ## -- Begin function dal_cmd_table_helper_controller_id_to_atom
	.p2align	4, 0x90
_dal_cmd_table_helper_controller_id_to_atom: ## @dal_cmd_table_helper_controller_id_to_atom
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
                                        ## kill: def $edi killed $edi def $rdi
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.1:
	addl	$-128, %edi
	cmpl	$7, %edi
	ja	LBB0_12
## %bb.2:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_10:
	movq	_ATOM_UNDERLAY_PIPE0@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_12:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_BREAK_TO_DEBUGGER
	jmp	LBB0_13
LBB0_11:
	movq	_ATOM_CRTC_INVALID@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_9:
	movq	_ATOM_CRTC6@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_8:
	movq	_ATOM_CRTC5@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_7:
	movq	_ATOM_CRTC4@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_6:
	movq	_ATOM_CRTC3@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	movq	_ATOM_CRTC2@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_ATOM_CRTC1@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, (%rsi)
	movl	$1, %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_ATOM_CRTC1,4,2                 ## @ATOM_CRTC1
	.comm	_ATOM_CRTC2,4,2                 ## @ATOM_CRTC2
	.comm	_ATOM_CRTC3,4,2                 ## @ATOM_CRTC3
	.comm	_ATOM_CRTC4,4,2                 ## @ATOM_CRTC4
	.comm	_ATOM_CRTC5,4,2                 ## @ATOM_CRTC5
	.comm	_ATOM_CRTC6,4,2                 ## @ATOM_CRTC6
	.comm	_ATOM_UNDERLAY_PIPE0,4,2        ## @ATOM_UNDERLAY_PIPE0
	.comm	_ATOM_CRTC_INVALID,4,2          ## @ATOM_CRTC_INVALID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dal_cmd_table_helper_controller_id_to_atom ; -- Begin function dal_cmd_table_helper_controller_id_to_atom
	.p2align	2
_dal_cmd_table_helper_controller_id_to_atom: ; @dal_cmd_table_helper_controller_id_to_atom
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbz	x1, LBB0_4
; %bb.1:
	sub	w8, w0, #128
	cmp	w8, #7
	b.hi	LBB0_4
; %bb.2:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
Lloh2:
	adrp	x8, _ATOM_UNDERLAY_PIPE0@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ATOM_UNDERLAY_PIPE0@GOTPAGEOFF]
	b	LBB0_12
LBB0_4:
	bl	_BREAK_TO_DEBUGGER
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh4:
	adrp	x8, _ATOM_CRTC_INVALID@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ATOM_CRTC_INVALID@GOTPAGEOFF]
	b	LBB0_12
LBB0_6:
Lloh6:
	adrp	x8, _ATOM_CRTC6@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATOM_CRTC6@GOTPAGEOFF]
	b	LBB0_12
LBB0_7:
Lloh8:
	adrp	x8, _ATOM_CRTC5@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ATOM_CRTC5@GOTPAGEOFF]
	b	LBB0_12
LBB0_8:
Lloh10:
	adrp	x8, _ATOM_CRTC4@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ATOM_CRTC4@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:
Lloh12:
	adrp	x8, _ATOM_CRTC3@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ATOM_CRTC3@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
Lloh14:
	adrp	x8, _ATOM_CRTC2@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ATOM_CRTC2@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh16:
	adrp	x8, _ATOM_CRTC1@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ATOM_CRTC1@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	str	w8, [x1]
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
                                        ; -- End function
	.comm	_ATOM_CRTC1,4,2                 ; @ATOM_CRTC1
	.comm	_ATOM_CRTC2,4,2                 ; @ATOM_CRTC2
	.comm	_ATOM_CRTC3,4,2                 ; @ATOM_CRTC3
	.comm	_ATOM_CRTC4,4,2                 ; @ATOM_CRTC4
	.comm	_ATOM_CRTC5,4,2                 ; @ATOM_CRTC5
	.comm	_ATOM_CRTC6,4,2                 ; @ATOM_CRTC6
	.comm	_ATOM_UNDERLAY_PIPE0,4,2        ; @ATOM_UNDERLAY_PIPE0
	.comm	_ATOM_CRTC_INVALID,4,2          ; @ATOM_CRTC_INVALID
.subsections_via_symbols
