	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TableForFunc
_TableForFunc:                          ## @TableForFunc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %edx
	leal	-128(%rdx), %eax
	cmpl	$5, %eax
	ja	LBB0_7
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	movq	_tr@GOTPCREL(%rip), %rax
	movq	8(%rax), %rax
	popq	%rbp
	retq
LBB0_4:
	movq	_tr@GOTPCREL(%rip), %rax
	movq	16(%rax), %rax
	popq	%rbp
	retq
LBB0_2:
	movq	_tr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	popq	%rbp
	retq
LBB0_5:
	movq	_tr@GOTPCREL(%rip), %rax
	movq	24(%rax), %rax
	popq	%rbp
	retq
LBB0_7:
	movq	_ri@GOTPCREL(%rip), %rax
	movq	_ERR_DROP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_tess@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %ecx
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	*(%rax)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_6:
	movq	_tr@GOTPCREL(%rip), %rax
	movq	32(%rax), %rax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_tr,40,3                        ## @tr
	.comm	_ri,8,3                         ## @ri
	.comm	_ERR_DROP,4,2                   ## @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TableForFunc called with invalid function '%d' in shader '%s'\n"

	.comm	_tess,8,3                       ## @tess
	.no_dead_strip	_TableForFunc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TableForFunc
_TableForFunc:                          ; @TableForFunc
	.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
	mov	x2, x0
	sub	w8, w0, #128
	cmp	w8, #5
	b.hi	LBB0_6
; %bb.1:
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:
Lloh2:
	adrp	x8, _tr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _tr@GOTPAGEOFF]
Lloh4:
	ldr	x0, [x8, #8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh5:
	adrp	x8, _tr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _tr@GOTPAGEOFF]
Lloh7:
	ldr	x0, [x8, #16]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh8:
	adrp	x8, _tr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _tr@GOTPAGEOFF]
Lloh10:
	ldr	x0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh11:
	adrp	x8, _tr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _tr@GOTPAGEOFF]
Lloh13:
	ldr	x0, [x8, #24]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh14:
	adrp	x8, _ri@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ri@GOTPAGEOFF]
Lloh16:
	adrp	x9, _ERR_DROP@GOTPAGE
Lloh17:
	ldr	x9, [x9, _ERR_DROP@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
Lloh19:
	ldr	w0, [x9]
Lloh20:
	adrp	x9, _tess@GOTPAGE
Lloh21:
	ldr	x9, [x9, _tess@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	ldr	w3, [x9]
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	blr	x8
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh25:
	adrp	x8, _tr@GOTPAGE
Lloh26:
	ldr	x8, [x8, _tr@GOTPAGEOFF]
Lloh27:
	ldr	x0, [x8, #32]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh18
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_tr,40,3                        ; @tr
	.comm	_ri,8,3                         ; @ri
	.comm	_ERR_DROP,4,2                   ; @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TableForFunc called with invalid function '%d' in shader '%s'\n"

	.comm	_tess,8,3                       ; @tess
	.no_dead_strip	_TableForFunc
.subsections_via_symbols
