	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ia64_mode_to_int
_ia64_mode_to_int:                      ## @ia64_mode_to_int
	.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_9
## %bb.1:
	xorl	%eax, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rdi,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_8:
	movl	$7, %eax
	popq	%rbp
	retq
LBB0_9:
	movq	_SPEC_MODE_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
	popq	%rbp
	retq
LBB0_4:
	movl	$3, %eax
	popq	%rbp
	retq
LBB0_6:
	movl	$5, %eax
	popq	%rbp
	retq
LBB0_2:
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_3:
	movl	$2, %eax
	popq	%rbp
	retq
LBB0_5:
	movl	$4, %eax
	popq	%rbp
	retq
LBB0_7:
	movl	$6, %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_SPEC_MODE_INVALID,4,2          ## @SPEC_MODE_INVALID
	.no_dead_strip	_ia64_mode_to_int
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ia64_mode_to_int
_ia64_mode_to_int:                      ; @ia64_mode_to_int
	.cfi_startproc
; %bb.0:
	sub	w8, w0, #128
	cmp	w8, #8
	b.hi	LBB0_3
; %bb.1:
	mov	w0, #0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	w0, #7
	ret
LBB0_3:
Lloh2:
	adrp	x8, _SPEC_MODE_INVALID@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SPEC_MODE_INVALID@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
LBB0_4:
	ret
LBB0_5:
	mov	w0, #3
	ret
LBB0_6:
	mov	w0, #5
	ret
LBB0_7:
	mov	w0, #1
	ret
LBB0_8:
	mov	w0, #2
	ret
LBB0_9:
	mov	w0, #4
	ret
LBB0_10:
	mov	w0, #6
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.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_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
                                        ; -- End function
	.comm	_SPEC_MODE_INVALID,4,2          ; @SPEC_MODE_INVALID
	.no_dead_strip	_ia64_mode_to_int
.subsections_via_symbols
