	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ParseSort                      ## -- Begin function ParseSort
	.p2align	4, 0x90
_ParseSort:                             ## @ParseSort
	.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	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_COM_ParseExt
	cmpb	$0, (%rax)
	je	LBB0_11
## %bb.1:
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	callq	_Q_stricmp
	testl	%eax, %eax
	je	LBB0_12
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	testl	%eax, %eax
	je	LBB0_13
## %bb.3:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	testl	%eax, %eax
	je	LBB0_14
## %bb.4:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	testl	%eax, %eax
	je	LBB0_15
## %bb.5:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	testl	%eax, %eax
	je	LBB0_16
## %bb.6:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	testl	%eax, %eax
	je	LBB0_17
## %bb.7:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	testl	%eax, %eax
	je	LBB0_18
## %bb.8:
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	testl	%eax, %eax
	je	LBB0_19
## %bb.9:
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	testl	%eax, %eax
	je	LBB0_20
## %bb.10:
	movq	%rbx, %rdi
	callq	_atof
	jmp	LBB0_22
LBB0_11:
	movq	_ri@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_PRINT_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_shader@GOTPCREL(%rip), %rcx
	movl	4(%rcx), %edx
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_12:
	movq	_SS_PORTAL@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_13:
	movq	_SS_ENVIRONMENT@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_14:
	movq	_SS_OPAQUE@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_15:
	movq	_SS_DECAL@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_16:
	movq	_SS_SEE_THROUGH@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_17:
	movq	_SS_BANNER@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_18:
	movq	_SS_BLEND1@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_19:
	movq	_SS_NEAREST@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_20:
	movq	_SS_UNDERWATER@GOTPCREL(%rip), %rax
LBB0_21:
	movl	(%rax), %eax
LBB0_22:
	movq	_shader@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_ri,8,3                         ## @ri
	.comm	_PRINT_WARNING,4,2              ## @PRINT_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WARNING: missing sort parameter in shader '%s'\n"

	.comm	_shader,8,2                     ## @shader
L_.str.1:                               ## @.str.1
	.asciz	"portal"

	.comm	_SS_PORTAL,4,2                  ## @SS_PORTAL
L_.str.2:                               ## @.str.2
	.asciz	"sky"

	.comm	_SS_ENVIRONMENT,4,2             ## @SS_ENVIRONMENT
L_.str.3:                               ## @.str.3
	.asciz	"opaque"

	.comm	_SS_OPAQUE,4,2                  ## @SS_OPAQUE
L_.str.4:                               ## @.str.4
	.asciz	"decal"

	.comm	_SS_DECAL,4,2                   ## @SS_DECAL
L_.str.5:                               ## @.str.5
	.asciz	"seeThrough"

	.comm	_SS_SEE_THROUGH,4,2             ## @SS_SEE_THROUGH
L_.str.6:                               ## @.str.6
	.asciz	"banner"

	.comm	_SS_BANNER,4,2                  ## @SS_BANNER
L_.str.7:                               ## @.str.7
	.asciz	"additive"

	.comm	_SS_BLEND1,4,2                  ## @SS_BLEND1
L_.str.8:                               ## @.str.8
	.asciz	"nearest"

	.comm	_SS_NEAREST,4,2                 ## @SS_NEAREST
L_.str.9:                               ## @.str.9
	.asciz	"underwater"

	.comm	_SS_UNDERWATER,4,2              ## @SS_UNDERWATER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ParseSort                      ; -- Begin function ParseSort
	.p2align	2
_ParseSort:                             ; @ParseSort
	.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
Lloh0:
	adrp	x8, _qfalse@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_COM_ParseExt
	ldrb	w8, [x0]
	cbz	w8, LBB0_11
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_Q_stricmp
	cbz	w0, LBB0_12
; %bb.2:
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_Q_stricmp
	cbz	w0, LBB0_13
; %bb.3:
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_Q_stricmp
	cbz	w0, LBB0_14
; %bb.4:
Lloh9:
	adrp	x1, l_.str.4@PAGE
Lloh10:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_Q_stricmp
	cbz	w0, LBB0_15
; %bb.5:
Lloh11:
	adrp	x1, l_.str.5@PAGE
Lloh12:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_Q_stricmp
	cbz	w0, LBB0_16
; %bb.6:
Lloh13:
	adrp	x1, l_.str.6@PAGE
Lloh14:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_Q_stricmp
	cbz	w0, LBB0_17
; %bb.7:
Lloh15:
	adrp	x1, l_.str.7@PAGE
Lloh16:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_Q_stricmp
	cbz	w0, LBB0_18
; %bb.8:
Lloh17:
	adrp	x1, l_.str.8@PAGE
Lloh18:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_Q_stricmp
	cbz	w0, LBB0_19
; %bb.9:
Lloh19:
	adrp	x1, l_.str.9@PAGE
Lloh20:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_Q_stricmp
	cbz	w0, LBB0_20
; %bb.10:
	mov	x0, x19
	bl	_atof
Lloh21:
	adrp	x8, _shader@GOTPAGE
Lloh22:
	ldr	x8, [x8, _shader@GOTPAGEOFF]
Lloh23:
	str	w0, [x8]
	b	LBB0_22
LBB0_11:
Lloh24:
	adrp	x8, _ri@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ri@GOTPAGEOFF]
Lloh26:
	ldr	x3, [x8]
Lloh27:
	adrp	x8, _PRINT_WARNING@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PRINT_WARNING@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x8, _shader@GOTPAGE
Lloh31:
	ldr	x8, [x8, _shader@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8, #4]
Lloh33:
	adrp	x1, l_.str@PAGE
Lloh34:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x3
LBB0_12:
Lloh35:
	adrp	x8, _SS_PORTAL@GOTPAGE
Lloh36:
	ldr	x8, [x8, _SS_PORTAL@GOTPAGEOFF]
	b	LBB0_21
LBB0_13:
Lloh37:
	adrp	x8, _SS_ENVIRONMENT@GOTPAGE
Lloh38:
	ldr	x8, [x8, _SS_ENVIRONMENT@GOTPAGEOFF]
	b	LBB0_21
LBB0_14:
Lloh39:
	adrp	x8, _SS_OPAQUE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _SS_OPAQUE@GOTPAGEOFF]
	b	LBB0_21
LBB0_15:
Lloh41:
	adrp	x8, _SS_DECAL@GOTPAGE
Lloh42:
	ldr	x8, [x8, _SS_DECAL@GOTPAGEOFF]
	b	LBB0_21
LBB0_16:
Lloh43:
	adrp	x8, _SS_SEE_THROUGH@GOTPAGE
Lloh44:
	ldr	x8, [x8, _SS_SEE_THROUGH@GOTPAGEOFF]
	b	LBB0_21
LBB0_17:
Lloh45:
	adrp	x8, _SS_BANNER@GOTPAGE
Lloh46:
	ldr	x8, [x8, _SS_BANNER@GOTPAGEOFF]
	b	LBB0_21
LBB0_18:
Lloh47:
	adrp	x8, _SS_BLEND1@GOTPAGE
Lloh48:
	ldr	x8, [x8, _SS_BLEND1@GOTPAGEOFF]
	b	LBB0_21
LBB0_19:
Lloh49:
	adrp	x8, _SS_NEAREST@GOTPAGE
Lloh50:
	ldr	x8, [x8, _SS_NEAREST@GOTPAGEOFF]
	b	LBB0_21
LBB0_20:
Lloh51:
	adrp	x8, _SS_UNDERWATER@GOTPAGE
Lloh52:
	ldr	x8, [x8, _SS_UNDERWATER@GOTPAGEOFF]
LBB0_21:
	ldr	w8, [x8]
Lloh53:
	adrp	x9, _shader@GOTPAGE
Lloh54:
	ldr	x9, [x9, _shader@GOTPAGEOFF]
Lloh55:
	str	w8, [x9]
LBB0_22:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotStr	Lloh53, Lloh54, Lloh55
	.cfi_endproc
                                        ; -- End function
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_ri,8,3                         ; @ri
	.comm	_PRINT_WARNING,4,2              ; @PRINT_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WARNING: missing sort parameter in shader '%s'\n"

	.comm	_shader,8,2                     ; @shader
l_.str.1:                               ; @.str.1
	.asciz	"portal"

	.comm	_SS_PORTAL,4,2                  ; @SS_PORTAL
l_.str.2:                               ; @.str.2
	.asciz	"sky"

	.comm	_SS_ENVIRONMENT,4,2             ; @SS_ENVIRONMENT
l_.str.3:                               ; @.str.3
	.asciz	"opaque"

	.comm	_SS_OPAQUE,4,2                  ; @SS_OPAQUE
l_.str.4:                               ; @.str.4
	.asciz	"decal"

	.comm	_SS_DECAL,4,2                   ; @SS_DECAL
l_.str.5:                               ; @.str.5
	.asciz	"seeThrough"

	.comm	_SS_SEE_THROUGH,4,2             ; @SS_SEE_THROUGH
l_.str.6:                               ; @.str.6
	.asciz	"banner"

	.comm	_SS_BANNER,4,2                  ; @SS_BANNER
l_.str.7:                               ; @.str.7
	.asciz	"additive"

	.comm	_SS_BLEND1,4,2                  ; @SS_BLEND1
l_.str.8:                               ; @.str.8
	.asciz	"nearest"

	.comm	_SS_NEAREST,4,2                 ; @SS_NEAREST
l_.str.9:                               ; @.str.9
	.asciz	"underwater"

	.comm	_SS_UNDERWATER,4,2              ; @SS_UNDERWATER
.subsections_via_symbols
