	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function GLSL_GetShaderHeader
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_GLSL_GetShaderHeader:                  ## @GLSL_GetShaderHeader
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movb	$0, (%rdx)
	movq	_glRefConfig@GOTPCREL(%rip), %rax
	cmpl	$1, (%rax)
	jle	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_5
LBB0_2:
	leaq	L_.str.11(%rip), %r13
	leaq	L_.str.10(%rip), %rdx
	jne	LBB0_8
## %bb.3:
	movl	4(%rax), %eax
	cmpl	$30, %eax
	jl	LBB0_8
## %bb.4:
	cmpl	$50, %eax
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmovaeq	%rax, %rdx
LBB0_5:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_Q_strcat
	movq	_GL_VERTEX_SHADER@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.3(%rip), %r13
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str.4(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_Q_strcat
	leaq	L_.str.5(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_Q_strcat
	leaq	L_.str.6(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_Q_strcat
	leaq	L_.str.7(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_Q_strcat
	leaq	L_.str.9(%rip), %r13
	leaq	L_.str.8(%rip), %rdx
LBB0_8:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_Q_strcat
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%r13, %rdx
	callq	_Q_strcat
	leaq	L_.str.12(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_Q_strcat
	movq	_DGEN_WAVE_SIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DGEN_WAVE_SQUARE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DGEN_WAVE_TRIANGLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_DGEN_WAVE_SAWTOOTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_DGEN_WAVE_INVERSE_SAWTOOTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_DGEN_BULGE@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_DGEN_MOVE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.13(%rip), %rdi
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r10
	callq	_va
	addq	$16, %rsp
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%rax, %rdx
	callq	_Q_strcat
	movq	_TCGEN_LIGHTMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TCGEN_TEXTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_TCGEN_ENVIRONMENT_MAPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_TCGEN_FOG@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_TCGEN_VECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str.14(%rip), %rdi
	xorl	%eax, %eax
	callq	_va
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%rax, %rdx
	callq	_Q_strcat
	movq	_CGEN_LIGHTING_DIFFUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.15(%rip), %rdi
	xorl	%eax, %eax
	callq	_va
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%rax, %rdx
	callq	_Q_strcat
	movq	_AGEN_LIGHTING_SPECULAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AGEN_PORTAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.16(%rip), %rdi
	xorl	%eax, %eax
	callq	_va
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%rax, %rdx
	callq	_Q_strcat
	movq	_glConfig@GOTPCREL(%rip), %rax
	cvtsi2ssq	8(%rax), %xmm0
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movaps	%xmm1, %xmm2
	divss	%xmm0, %xmm2
	xorps	%xmm0, %xmm0
	cvtsi2ssq	(%rax), %xmm0
	divss	%xmm0, %xmm1
	cvttss2si	%xmm2, %esi
	xorps	%xmm0, %xmm0
	cvtss2sd	%xmm1, %xmm0
	leaq	L_.str.17(%rip), %rdi
	movb	$1, %al
	callq	_va
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%rax, %rdx
	callq	_Q_strcat
	movq	_r_pbr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.9:
	leaq	L_.str.18(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_Q_strcat
LBB0_10:
	movq	_r_cubeMapping@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_15
## %bb.11:
	movq	_r_cubemapSize@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	$-2, %esi
	testl	%eax, %eax
	je	LBB0_14
## %bb.12:
	movl	%eax, %ecx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	sarl	%ecx
	incl	%esi
	cmpl	$1, %eax
	movl	%ecx, %eax
	ja	LBB0_13
LBB0_14:
	movl	$1, %edi
	callq	_MAX
	leaq	L_.str.19(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_va
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%rax, %rdx
	callq	_Q_strcat
LBB0_15:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	je	LBB0_17
## %bb.16:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_Q_strcat
LBB0_17:
	leaq	L_.str.20(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Q_strcat                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_glRefConfig,8,2                ## @glRefConfig
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"#version 150\n"

L_.str.1:                               ## @.str.1
	.asciz	"#version 130\n"

	.comm	_GL_VERTEX_SHADER,8,3           ## @GL_VERTEX_SHADER
L_.str.2:                               ## @.str.2
	.asciz	"#define attribute in\n"

L_.str.3:                               ## @.str.3
	.asciz	"#define varying out\n"

L_.str.4:                               ## @.str.4
	.asciz	"#define varying in\n"

L_.str.5:                               ## @.str.5
	.asciz	"out vec4 out_Color;\n"

L_.str.6:                               ## @.str.6
	.asciz	"#define gl_FragColor out_Color\n"

L_.str.7:                               ## @.str.7
	.asciz	"#define texture2D texture\n"

L_.str.8:                               ## @.str.8
	.asciz	"#define textureCubeLod textureLod\n"

L_.str.9:                               ## @.str.9
	.asciz	"#define shadow2D texture\n"

L_.str.10:                              ## @.str.10
	.asciz	"#version 120\n"

L_.str.11:                              ## @.str.11
	.asciz	"#define shadow2D(a,b) shadow2D(a,b).r \n"

L_.str.12:                              ## @.str.12
	.asciz	"#ifndef M_PI\n#define M_PI 3.14159265358979323846\n#endif\n"

L_.str.13:                              ## @.str.13
	.asciz	"#ifndef deformGen_t\n#define deformGen_t\n#define DGEN_WAVE_SIN %i\n#define DGEN_WAVE_SQUARE %i\n#define DGEN_WAVE_TRIANGLE %i\n#define DGEN_WAVE_SAWTOOTH %i\n#define DGEN_WAVE_INVERSE_SAWTOOTH %i\n#define DGEN_BULGE %i\n#define DGEN_MOVE %i\n#endif\n"

	.comm	_DGEN_WAVE_SIN,4,2              ## @DGEN_WAVE_SIN
	.comm	_DGEN_WAVE_SQUARE,4,2           ## @DGEN_WAVE_SQUARE
	.comm	_DGEN_WAVE_TRIANGLE,4,2         ## @DGEN_WAVE_TRIANGLE
	.comm	_DGEN_WAVE_SAWTOOTH,4,2         ## @DGEN_WAVE_SAWTOOTH
	.comm	_DGEN_WAVE_INVERSE_SAWTOOTH,4,2 ## @DGEN_WAVE_INVERSE_SAWTOOTH
	.comm	_DGEN_BULGE,4,2                 ## @DGEN_BULGE
	.comm	_DGEN_MOVE,4,2                  ## @DGEN_MOVE
L_.str.14:                              ## @.str.14
	.asciz	"#ifndef tcGen_t\n#define tcGen_t\n#define TCGEN_LIGHTMAP %i\n#define TCGEN_TEXTURE %i\n#define TCGEN_ENVIRONMENT_MAPPED %i\n#define TCGEN_FOG %i\n#define TCGEN_VECTOR %i\n#endif\n"

	.comm	_TCGEN_LIGHTMAP,4,2             ## @TCGEN_LIGHTMAP
	.comm	_TCGEN_TEXTURE,4,2              ## @TCGEN_TEXTURE
	.comm	_TCGEN_ENVIRONMENT_MAPPED,4,2   ## @TCGEN_ENVIRONMENT_MAPPED
	.comm	_TCGEN_FOG,4,2                  ## @TCGEN_FOG
	.comm	_TCGEN_VECTOR,4,2               ## @TCGEN_VECTOR
L_.str.15:                              ## @.str.15
	.asciz	"#ifndef colorGen_t\n#define colorGen_t\n#define CGEN_LIGHTING_DIFFUSE %i\n#endif\n"

	.comm	_CGEN_LIGHTING_DIFFUSE,4,2      ## @CGEN_LIGHTING_DIFFUSE
L_.str.16:                              ## @.str.16
	.asciz	"#ifndef alphaGen_t\n#define alphaGen_t\n#define AGEN_LIGHTING_SPECULAR %i\n#define AGEN_PORTAL %i\n#endif\n"

	.comm	_AGEN_LIGHTING_SPECULAR,4,2     ## @AGEN_LIGHTING_SPECULAR
	.comm	_AGEN_PORTAL,4,2                ## @AGEN_PORTAL
	.comm	_glConfig,16,3                  ## @glConfig
L_.str.17:                              ## @.str.17
	.asciz	"#ifndef r_FBufScale\n#define r_FBufScale vec2(%f, %f)\n#endif\n"

	.comm	_r_pbr,8,3                      ## @r_pbr
L_.str.18:                              ## @.str.18
	.asciz	"#define USE_PBR\n"

	.comm	_r_cubeMapping,8,3              ## @r_cubeMapping
	.comm	_r_cubemapSize,8,3              ## @r_cubemapSize
L_.str.19:                              ## @.str.19
	.asciz	"#define ROUGHNESS_MIPS float(%d)\n"

L_.str.20:                              ## @.str.20
	.asciz	"#line 0\n"

	.no_dead_strip	_GLSL_GetShaderHeader
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GLSL_GetShaderHeader
_GLSL_GetShaderHeader:                  ; @GLSL_GetShaderHeader
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	strb	wzr, [x2]
Lloh0:
	adrp	x8, _glRefConfig@GOTPAGE
Lloh1:
	ldr	x8, [x8, _glRefConfig@GOTPAGEOFF]
	ldr	w9, [x8]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	cmp	w9, #1
	b.gt	LBB0_4
; %bb.1:
	ldr	w8, [x8, #4]
	cmp	w9, #1
	ccmp	w8, #30, #8, eq
	b.ge	LBB0_3
; %bb.2:
Lloh4:
	adrp	x22, l_.str.11@PAGE
Lloh5:
	add	x22, x22, l_.str.11@PAGEOFF
Lloh6:
	adrp	x2, l_.str.10@PAGE
Lloh7:
	add	x2, x2, l_.str.10@PAGEOFF
	b	LBB0_7
LBB0_3:
Lloh8:
	adrp	x9, l_.str.1@PAGE
Lloh9:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	w8, #49
	csel	x2, x2, x9, hi
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	bl	_Q_strcat
Lloh10:
	adrp	x8, _GL_VERTEX_SHADER@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GL_VERTEX_SHADER@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x8, x22
	b.ne	LBB0_6
; %bb.5:
Lloh13:
	adrp	x22, l_.str.3@PAGE
Lloh14:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh15:
	adrp	x2, l_.str.2@PAGE
Lloh16:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh17:
	adrp	x2, l_.str.4@PAGE
Lloh18:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_Q_strcat
Lloh19:
	adrp	x2, l_.str.5@PAGE
Lloh20:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_Q_strcat
Lloh21:
	adrp	x2, l_.str.6@PAGE
Lloh22:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_Q_strcat
Lloh23:
	adrp	x2, l_.str.7@PAGE
Lloh24:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_Q_strcat
Lloh25:
	adrp	x22, l_.str.9@PAGE
Lloh26:
	add	x22, x22, l_.str.9@PAGEOFF
Lloh27:
	adrp	x2, l_.str.8@PAGE
Lloh28:
	add	x2, x2, l_.str.8@PAGEOFF
LBB0_7:
	mov	x0, x20
	mov	x1, x19
	bl	_Q_strcat
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_Q_strcat
Lloh29:
	adrp	x2, l_.str.12@PAGE
Lloh30:
	add	x2, x2, l_.str.12@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_Q_strcat
Lloh31:
	adrp	x8, _DGEN_WAVE_SIN@GOTPAGE
Lloh32:
	ldr	x8, [x8, _DGEN_WAVE_SIN@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
Lloh34:
	adrp	x8, _DGEN_WAVE_SQUARE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _DGEN_WAVE_SQUARE@GOTPAGEOFF]
Lloh36:
	adrp	x9, _DGEN_WAVE_TRIANGLE@GOTPAGE
Lloh37:
	ldr	x9, [x9, _DGEN_WAVE_TRIANGLE@GOTPAGEOFF]
Lloh38:
	adrp	x10, _DGEN_WAVE_SAWTOOTH@GOTPAGE
Lloh39:
	ldr	x10, [x10, _DGEN_WAVE_SAWTOOTH@GOTPAGEOFF]
Lloh40:
	adrp	x11, _DGEN_WAVE_INVERSE_SAWTOOTH@GOTPAGE
Lloh41:
	ldr	x11, [x11, _DGEN_WAVE_INVERSE_SAWTOOTH@GOTPAGEOFF]
Lloh42:
	adrp	x12, _DGEN_BULGE@GOTPAGE
Lloh43:
	ldr	x12, [x12, _DGEN_BULGE@GOTPAGEOFF]
Lloh44:
	adrp	x13, _DGEN_MOVE@GOTPAGE
Lloh45:
	ldr	x13, [x13, _DGEN_MOVE@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
Lloh47:
	ldr	w9, [x9]
Lloh48:
	ldr	w10, [x10]
Lloh49:
	ldr	w11, [x11]
Lloh50:
	ldr	w12, [x12]
Lloh51:
	ldr	w13, [x13]
	stp	x12, x13, [sp, #32]
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
Lloh52:
	adrp	x0, l_.str.13@PAGE
Lloh53:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_va
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_Q_strcat
Lloh54:
	adrp	x8, _TCGEN_LIGHTMAP@GOTPAGE
Lloh55:
	ldr	x8, [x8, _TCGEN_LIGHTMAP@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
Lloh57:
	adrp	x8, _TCGEN_TEXTURE@GOTPAGE
Lloh58:
	ldr	x8, [x8, _TCGEN_TEXTURE@GOTPAGEOFF]
Lloh59:
	adrp	x9, _TCGEN_ENVIRONMENT_MAPPED@GOTPAGE
Lloh60:
	ldr	x9, [x9, _TCGEN_ENVIRONMENT_MAPPED@GOTPAGEOFF]
Lloh61:
	adrp	x10, _TCGEN_FOG@GOTPAGE
Lloh62:
	ldr	x10, [x10, _TCGEN_FOG@GOTPAGEOFF]
Lloh63:
	adrp	x11, _TCGEN_VECTOR@GOTPAGE
Lloh64:
	ldr	x11, [x11, _TCGEN_VECTOR@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
Lloh66:
	ldr	w9, [x9]
Lloh67:
	ldr	w10, [x10]
Lloh68:
	ldr	w11, [x11]
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
Lloh69:
	adrp	x0, l_.str.14@PAGE
Lloh70:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_va
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_Q_strcat
Lloh71:
	adrp	x8, _CGEN_LIGHTING_DIFFUSE@GOTPAGE
Lloh72:
	ldr	x8, [x8, _CGEN_LIGHTING_DIFFUSE@GOTPAGEOFF]
Lloh73:
	ldr	w1, [x8]
Lloh74:
	adrp	x0, l_.str.15@PAGE
Lloh75:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_va
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_Q_strcat
Lloh76:
	adrp	x8, _AGEN_LIGHTING_SPECULAR@GOTPAGE
Lloh77:
	ldr	x8, [x8, _AGEN_LIGHTING_SPECULAR@GOTPAGEOFF]
Lloh78:
	ldr	w1, [x8]
Lloh79:
	adrp	x8, _AGEN_PORTAL@GOTPAGE
Lloh80:
	ldr	x8, [x8, _AGEN_PORTAL@GOTPAGEOFF]
Lloh81:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh82:
	adrp	x0, l_.str.16@PAGE
Lloh83:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_va
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_Q_strcat
Lloh84:
	adrp	x8, _glConfig@GOTPAGE
Lloh85:
	ldr	x8, [x8, _glConfig@GOTPAGEOFF]
	ldp	x8, x9, [x8]
	scvtf	s0, x9
	fmov	s1, #1.00000000
	fdiv	s0, s1, s0
	scvtf	s2, x8
	fdiv	s1, s1, s2
	fcvtzs	w1, s0
	fcvt	d0, s1
	str	d0, [sp]
Lloh86:
	adrp	x0, l_.str.17@PAGE
Lloh87:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_va
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_Q_strcat
Lloh88:
	adrp	x8, _r_pbr@GOTPAGE
Lloh89:
	ldr	x8, [x8, _r_pbr@GOTPAGEOFF]
Lloh90:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.8:
Lloh91:
	adrp	x2, l_.str.18@PAGE
Lloh92:
	add	x2, x2, l_.str.18@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_Q_strcat
LBB0_9:
Lloh93:
	adrp	x8, _r_cubeMapping@GOTPAGE
Lloh94:
	ldr	x8, [x8, _r_cubeMapping@GOTPAGEOFF]
Lloh95:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_15
; %bb.10:
Lloh96:
	adrp	x8, _r_cubemapSize@GOTPAGE
Lloh97:
	ldr	x8, [x8, _r_cubemapSize@GOTPAGEOFF]
Lloh98:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_13
; %bb.11:
	mov	w1, #-2
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	asr	w9, w8, #1
	add	w1, w1, #1
	cmp	w8, #1
	mov	x8, x9
	b.hi	LBB0_12
	b	LBB0_14
LBB0_13:
	mov	w1, #-2
LBB0_14:
	mov	w0, #1
	bl	_MAX
	mov	x1, x0
Lloh99:
	adrp	x0, l_.str.19@PAGE
Lloh100:
	add	x0, x0, l_.str.19@PAGEOFF
	bl	_va
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_Q_strcat
LBB0_15:
	cbz	x21, LBB0_17
; %bb.16:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_Q_strcat
LBB0_17:
Lloh101:
	adrp	x2, l_.str.20@PAGE
Lloh102:
	add	x2, x2, l_.str.20@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_Q_strcat
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpLdrGot	Lloh84, Lloh85
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh68
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh67
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh66
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh65
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh51
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh50
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh49
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh48
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh47
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh46
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpAdd	Lloh101, Lloh102
	.cfi_endproc
                                        ; -- End function
	.comm	_glRefConfig,8,2                ; @glRefConfig
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"#version 150\n"

l_.str.1:                               ; @.str.1
	.asciz	"#version 130\n"

	.comm	_GL_VERTEX_SHADER,8,3           ; @GL_VERTEX_SHADER
l_.str.2:                               ; @.str.2
	.asciz	"#define attribute in\n"

l_.str.3:                               ; @.str.3
	.asciz	"#define varying out\n"

l_.str.4:                               ; @.str.4
	.asciz	"#define varying in\n"

l_.str.5:                               ; @.str.5
	.asciz	"out vec4 out_Color;\n"

l_.str.6:                               ; @.str.6
	.asciz	"#define gl_FragColor out_Color\n"

l_.str.7:                               ; @.str.7
	.asciz	"#define texture2D texture\n"

l_.str.8:                               ; @.str.8
	.asciz	"#define textureCubeLod textureLod\n"

l_.str.9:                               ; @.str.9
	.asciz	"#define shadow2D texture\n"

l_.str.10:                              ; @.str.10
	.asciz	"#version 120\n"

l_.str.11:                              ; @.str.11
	.asciz	"#define shadow2D(a,b) shadow2D(a,b).r \n"

l_.str.12:                              ; @.str.12
	.asciz	"#ifndef M_PI\n#define M_PI 3.14159265358979323846\n#endif\n"

l_.str.13:                              ; @.str.13
	.asciz	"#ifndef deformGen_t\n#define deformGen_t\n#define DGEN_WAVE_SIN %i\n#define DGEN_WAVE_SQUARE %i\n#define DGEN_WAVE_TRIANGLE %i\n#define DGEN_WAVE_SAWTOOTH %i\n#define DGEN_WAVE_INVERSE_SAWTOOTH %i\n#define DGEN_BULGE %i\n#define DGEN_MOVE %i\n#endif\n"

	.comm	_DGEN_WAVE_SIN,4,2              ; @DGEN_WAVE_SIN
	.comm	_DGEN_WAVE_SQUARE,4,2           ; @DGEN_WAVE_SQUARE
	.comm	_DGEN_WAVE_TRIANGLE,4,2         ; @DGEN_WAVE_TRIANGLE
	.comm	_DGEN_WAVE_SAWTOOTH,4,2         ; @DGEN_WAVE_SAWTOOTH
	.comm	_DGEN_WAVE_INVERSE_SAWTOOTH,4,2 ; @DGEN_WAVE_INVERSE_SAWTOOTH
	.comm	_DGEN_BULGE,4,2                 ; @DGEN_BULGE
	.comm	_DGEN_MOVE,4,2                  ; @DGEN_MOVE
l_.str.14:                              ; @.str.14
	.asciz	"#ifndef tcGen_t\n#define tcGen_t\n#define TCGEN_LIGHTMAP %i\n#define TCGEN_TEXTURE %i\n#define TCGEN_ENVIRONMENT_MAPPED %i\n#define TCGEN_FOG %i\n#define TCGEN_VECTOR %i\n#endif\n"

	.comm	_TCGEN_LIGHTMAP,4,2             ; @TCGEN_LIGHTMAP
	.comm	_TCGEN_TEXTURE,4,2              ; @TCGEN_TEXTURE
	.comm	_TCGEN_ENVIRONMENT_MAPPED,4,2   ; @TCGEN_ENVIRONMENT_MAPPED
	.comm	_TCGEN_FOG,4,2                  ; @TCGEN_FOG
	.comm	_TCGEN_VECTOR,4,2               ; @TCGEN_VECTOR
l_.str.15:                              ; @.str.15
	.asciz	"#ifndef colorGen_t\n#define colorGen_t\n#define CGEN_LIGHTING_DIFFUSE %i\n#endif\n"

	.comm	_CGEN_LIGHTING_DIFFUSE,4,2      ; @CGEN_LIGHTING_DIFFUSE
l_.str.16:                              ; @.str.16
	.asciz	"#ifndef alphaGen_t\n#define alphaGen_t\n#define AGEN_LIGHTING_SPECULAR %i\n#define AGEN_PORTAL %i\n#endif\n"

	.comm	_AGEN_LIGHTING_SPECULAR,4,2     ; @AGEN_LIGHTING_SPECULAR
	.comm	_AGEN_PORTAL,4,2                ; @AGEN_PORTAL
	.comm	_glConfig,16,3                  ; @glConfig
l_.str.17:                              ; @.str.17
	.asciz	"#ifndef r_FBufScale\n#define r_FBufScale vec2(%f, %f)\n#endif\n"

	.comm	_r_pbr,8,3                      ; @r_pbr
l_.str.18:                              ; @.str.18
	.asciz	"#define USE_PBR\n"

	.comm	_r_cubeMapping,8,3              ; @r_cubeMapping
	.comm	_r_cubemapSize,8,3              ; @r_cubemapSize
l_.str.19:                              ; @.str.19
	.asciz	"#define ROUGHNESS_MIPS float(%d)\n"

l_.str.20:                              ; @.str.20
	.asciz	"#line 0\n"

	.no_dead_strip	_GLSL_GetShaderHeader
.subsections_via_symbols
