	.file	"extr_glsl_shader.c_shader_glsl_ffp_vertex_lighting_footer.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"diffuse += clamp(dot(dir, normal), 0.0, 1.0) * ffp_light[%u].diffuse.xyz * att;\n"
	.align 8
.LC1:
	.string	"t = dot(normal, normalize(dir - normalize(ec_pos.xyz)));\n"
	.align 8
.LC2:
	.string	"t = dot(normal, normalize(dir + vec3(0.0, 0.0, -1.0)));\n"
	.align 8
.LC3:
	.string	"if (dot(dir, normal) > 0.0 && t > 0.0) specular += pow(t, ffp_material.shininess) * ffp_light[%u].specular * att;\n"
	.text
	.p2align 4
	.type	shader_glsl_ffp_vertex_lighting_footer, @function
shader_glsl_ffp_vertex_lighting_footer:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	eax, eax
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	lea	rsi, .LC0[rip]
	call	shader_addline@PLT
	cmp	QWORD PTR [rbx], 0
	je	.L2
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	shader_addline@PLT
.L3:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	edx, r12d
	mov	rdi, rbp
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	lea	rsi, .LC3[rip]
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	shader_addline@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	shader_addline@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	shader_glsl_ffp_vertex_lighting_footer, .-shader_glsl_ffp_vertex_lighting_footer
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_glsl_shader.c_shader_glsl_ffp_vertex_lighting_footer.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"diffuse += clamp(dot(dir, normal), 0.0, 1.0) * ffp_"
	.ascii	"light[%u].diffuse.xyz * att;\012\000"
	.align	2
.LC1:
	.ascii	"t = dot(normal, normalize(dir - normalize(ec_pos.xy"
	.ascii	"z)));\012\000"
	.align	2
.LC2:
	.ascii	"t = dot(normal, normalize(dir + vec3(0.0, 0.0, -1.0"
	.ascii	")));\012\000"
	.align	2
.LC3:
	.ascii	"if (dot(dir, normal) > 0.0 && t > 0.0) specular += "
	.ascii	"pow(t, ffp_material.shininess) * ffp_light[%u].spec"
	.ascii	"ular * att;\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	shader_glsl_ffp_vertex_lighting_footer, %function
shader_glsl_ffp_vertex_lighting_footer:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r1
	mov	r4, r0
	mov	r5, r2
	ldr	r1, .L6
	bl	shader_addline
	ldr	r3, [r6]
	mov	r0, r4
	cmp	r3, #0
	ldrne	r1, .L6+4
	ldreq	r1, .L6+8
	bl	shader_addline
	mov	r2, r5
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, .L6+12
	b	shader_addline
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	shader_glsl_ffp_vertex_lighting_footer, .-shader_glsl_ffp_vertex_lighting_footer
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
