	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function NameToAFunc
_NameToAFunc:                           ## @NameToAFunc
	.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
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_Q_stricmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	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.3(%rip), %rsi
	movq	%rbx, %rdx
	callq	*(%rax)
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_4:
	movq	_GLS_ATEST_GT_0@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_GLS_ATEST_LT_80@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_GLS_ATEST_GE_80@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GT0"

	.comm	_GLS_ATEST_GT_0,4,2             ## @GLS_ATEST_GT_0
L_.str.1:                               ## @.str.1
	.asciz	"LT128"

	.comm	_GLS_ATEST_LT_80,4,2            ## @GLS_ATEST_LT_80
L_.str.2:                               ## @.str.2
	.asciz	"GE128"

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

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function NameToAFunc
_NameToAFunc:                           ; @NameToAFunc
	.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_4
; %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_5
; %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_6
; %bb.3:
Lloh6:
	adrp	x8, _ri@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ri@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _PRINT_WARNING@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PRINT_WARNING@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x9]
Lloh12:
	adrp	x9, _shader@GOTPAGE
Lloh13:
	ldr	x9, [x9, _shader@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x9]
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x19
	blr	x8
	mov	w0, #0
	b	LBB0_8
LBB0_4:
Lloh17:
	adrp	x8, _GLS_ATEST_GT_0@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GLS_ATEST_GT_0@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh19:
	adrp	x8, _GLS_ATEST_LT_80@GOTPAGE
Lloh20:
	ldr	x8, [x8, _GLS_ATEST_LT_80@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh21:
	adrp	x8, _GLS_ATEST_GE_80@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GLS_ATEST_GE_80@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
LBB0_8:
	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	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GT0"

	.comm	_GLS_ATEST_GT_0,4,2             ; @GLS_ATEST_GT_0
l_.str.1:                               ; @.str.1
	.asciz	"LT128"

	.comm	_GLS_ATEST_LT_80,4,2            ; @GLS_ATEST_LT_80
l_.str.2:                               ; @.str.2
	.asciz	"GE128"

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

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