	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unit_to_type
_unit_to_type:                          ## @unit_to_type
	.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
	movl	%esi, %ebx
	callq	_IA64_OP
	movl	%ebx, %ecx
	andl	$-3, %ecx
	cmpl	$129, %ecx
	jne	LBB0_3
## %bb.1:
	cmpl	$8, %eax
	jl	LBB0_3
## %bb.2:
	movq	_IA64_TYPE_A@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_3:
	addl	$-128, %ebx
	cmpl	$5, %ebx
	ja	LBB0_4
## %bb.5:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_10:
	movq	_IA64_TYPE_X@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_4:
	movl	$-1, %eax
	jmp	LBB0_12
LBB0_7:
	movq	_IA64_TYPE_M@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_6:
	movq	_IA64_TYPE_I@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movq	_IA64_TYPE_F@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_8:
	movq	_IA64_TYPE_B@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
LBB0_12:
	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_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_7
	.long	L0_0_set_10
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_IA64_TYPE_A,4,2                ## @IA64_TYPE_A
	.comm	_IA64_TYPE_I,4,2                ## @IA64_TYPE_I
	.comm	_IA64_TYPE_M,4,2                ## @IA64_TYPE_M
	.comm	_IA64_TYPE_B,4,2                ## @IA64_TYPE_B
	.comm	_IA64_TYPE_F,4,2                ## @IA64_TYPE_F
	.comm	_IA64_TYPE_X,4,2                ## @IA64_TYPE_X
	.no_dead_strip	_unit_to_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unit_to_type
_unit_to_type:                          ; @unit_to_type
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_IA64_OP
	and	w8, w19, #0xfffffffd
	cmp	w8, #129
	b.ne	LBB0_3
; %bb.1:
	cmp	w0, #8
	b.lt	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _IA64_TYPE_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IA64_TYPE_A@GOTPAGEOFF]
	b	LBB0_11
LBB0_3:
	sub	w8, w19, #128
	cmp	w8, #5
	b.hi	LBB0_6
; %bb.4:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
Lloh4:
	adrp	x8, _IA64_TYPE_X@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IA64_TYPE_X@GOTPAGEOFF]
	b	LBB0_11
LBB0_6:
	mov	w0, #-1
	b	LBB0_12
LBB0_7:
Lloh6:
	adrp	x8, _IA64_TYPE_M@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IA64_TYPE_M@GOTPAGEOFF]
	b	LBB0_11
LBB0_8:
Lloh8:
	adrp	x8, _IA64_TYPE_I@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IA64_TYPE_I@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
Lloh10:
	adrp	x8, _IA64_TYPE_F@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IA64_TYPE_F@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh12:
	adrp	x8, _IA64_TYPE_B@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IA64_TYPE_B@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
                                        ; -- End function
	.comm	_IA64_TYPE_A,4,2                ; @IA64_TYPE_A
	.comm	_IA64_TYPE_I,4,2                ; @IA64_TYPE_I
	.comm	_IA64_TYPE_M,4,2                ; @IA64_TYPE_M
	.comm	_IA64_TYPE_B,4,2                ; @IA64_TYPE_B
	.comm	_IA64_TYPE_F,4,2                ; @IA64_TYPE_F
	.comm	_IA64_TYPE_X,4,2                ; @IA64_TYPE_X
	.no_dead_strip	_unit_to_type
.subsections_via_symbols
