	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function NameToGenFunc
_NameToGenFunc:                         ## @NameToGenFunc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_Q_stricmp
	movq	_GF_SIN@GOTPCREL(%rip), %r14
	testl	%eax, %eax
	je	LBB0_12
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	movq	_ri@GOTPCREL(%rip), %rax
	movq	_PRINT_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_shader@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdx
	callq	*(%rax)
	jmp	LBB0_12
LBB0_2:
	movq	_GF_SQUARE@GOTPCREL(%rip), %r14
	jmp	LBB0_12
LBB0_4:
	movq	_GF_TRIANGLE@GOTPCREL(%rip), %r14
	jmp	LBB0_12
LBB0_6:
	movq	_GF_SAWTOOTH@GOTPCREL(%rip), %r14
	jmp	LBB0_12
LBB0_8:
	movq	_GF_INVERSE_SAWTOOTH@GOTPCREL(%rip), %r14
	jmp	LBB0_12
LBB0_10:
	movq	_GF_NOISE@GOTPCREL(%rip), %r14
LBB0_12:
	movl	(%r14), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sin"

	.comm	_GF_SIN,4,2                     ## @GF_SIN
L_.str.1:                               ## @.str.1
	.asciz	"square"

	.comm	_GF_SQUARE,4,2                  ## @GF_SQUARE
L_.str.2:                               ## @.str.2
	.asciz	"triangle"

	.comm	_GF_TRIANGLE,4,2                ## @GF_TRIANGLE
L_.str.3:                               ## @.str.3
	.asciz	"sawtooth"

	.comm	_GF_SAWTOOTH,4,2                ## @GF_SAWTOOTH
L_.str.4:                               ## @.str.4
	.asciz	"inversesawtooth"

	.comm	_GF_INVERSE_SAWTOOTH,4,2        ## @GF_INVERSE_SAWTOOTH
L_.str.5:                               ## @.str.5
	.asciz	"noise"

	.comm	_GF_NOISE,4,2                   ## @GF_NOISE
	.comm	_ri,8,3                         ## @ri
	.comm	_PRINT_WARNING,4,2              ## @PRINT_WARNING
L_.str.6:                               ## @.str.6
	.asciz	"WARNING: invalid genfunc name '%s' in shader '%s'\n"

	.comm	_shader,4,2                     ## @shader
	.no_dead_strip	_NameToGenFunc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function NameToGenFunc
_NameToGenFunc:                         ; @NameToGenFunc
	.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, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Q_stricmp
	cbz	w0, LBB0_7
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_Q_stricmp
	cbz	w0, LBB0_8
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_Q_stricmp
	cbz	w0, LBB0_9
; %bb.3:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_Q_stricmp
	cbz	w0, LBB0_10
; %bb.4:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_Q_stricmp
	cbz	w0, LBB0_11
; %bb.5:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_Q_stricmp
	cbz	w0, LBB0_12
; %bb.6:
Lloh12:
	adrp	x8, _ri@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ri@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _PRINT_WARNING@GOTPAGE
Lloh16:
	ldr	x9, [x9, _PRINT_WARNING@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x9]
Lloh18:
	adrp	x9, _shader@GOTPAGE
Lloh19:
	ldr	x9, [x9, _shader@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x9]
Lloh21:
	adrp	x1, l_.str.6@PAGE
Lloh22:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x2, x19
	blr	x8
LBB0_7:
Lloh23:
	adrp	x8, _GF_SIN@GOTPAGE
Lloh24:
	ldr	x8, [x8, _GF_SIN@GOTPAGEOFF]
	b	LBB0_13
LBB0_8:
Lloh25:
	adrp	x8, _GF_SQUARE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _GF_SQUARE@GOTPAGEOFF]
	b	LBB0_13
LBB0_9:
Lloh27:
	adrp	x8, _GF_TRIANGLE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _GF_TRIANGLE@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:
Lloh29:
	adrp	x8, _GF_SAWTOOTH@GOTPAGE
Lloh30:
	ldr	x8, [x8, _GF_SAWTOOTH@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
Lloh31:
	adrp	x8, _GF_INVERSE_SAWTOOTH@GOTPAGE
Lloh32:
	ldr	x8, [x8, _GF_INVERSE_SAWTOOTH@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh33:
	adrp	x8, _GF_NOISE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _GF_NOISE@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sin"

	.comm	_GF_SIN,4,2                     ; @GF_SIN
l_.str.1:                               ; @.str.1
	.asciz	"square"

	.comm	_GF_SQUARE,4,2                  ; @GF_SQUARE
l_.str.2:                               ; @.str.2
	.asciz	"triangle"

	.comm	_GF_TRIANGLE,4,2                ; @GF_TRIANGLE
l_.str.3:                               ; @.str.3
	.asciz	"sawtooth"

	.comm	_GF_SAWTOOTH,4,2                ; @GF_SAWTOOTH
l_.str.4:                               ; @.str.4
	.asciz	"inversesawtooth"

	.comm	_GF_INVERSE_SAWTOOTH,4,2        ; @GF_INVERSE_SAWTOOTH
l_.str.5:                               ; @.str.5
	.asciz	"noise"

	.comm	_GF_NOISE,4,2                   ; @GF_NOISE
	.comm	_ri,8,3                         ; @ri
	.comm	_PRINT_WARNING,4,2              ; @PRINT_WARNING
l_.str.6:                               ; @.str.6
	.asciz	"WARNING: invalid genfunc name '%s' in shader '%s'\n"

	.comm	_shader,4,2                     ; @shader
	.no_dead_strip	_NameToGenFunc
.subsections_via_symbols
