	.file	"extr_glsl_shader.c_shader_glsl_ffp_vertex_texmatrix_uniform.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"glUniformMatrix4fv"
	.text
	.p2align 4
	.type	shader_glsl_ffp_vertex_texmatrix_uniform, @function
shader_glsl_ffp_vertex_texmatrix_uniform:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	DWORD PTR MAX_TEXTURES[rip], edx
	jbe	.L1
	mov	rax, QWORD PTR [rcx]
	mov	ebp, edx
	mov	rbx, rcx
	cmp	DWORD PTR [rax+rbp*4], -1
	je	.L1
	lea	r12, 4[rsp]
	mov	rcx, r12
	call	get_texture_matrix@PLT
	mov	rax, QWORD PTR [rbx]
	mov	rcx, r12
	mov	esi, 1
	mov	edx, DWORD PTR FALSE[rip]
	mov	edi, DWORD PTR [rax+rbp*4]
	call	glUniformMatrix4fv@PLT
	mov	edi, eax
	call	GL_EXTCALL@PLT
	lea	rdi, .LC0[rip]
	call	checkGLcall@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	shader_glsl_ffp_vertex_texmatrix_uniform, .-shader_glsl_ffp_vertex_texmatrix_uniform
	.comm	MAX_TEXTURES,4,4
	.comm	FALSE,4,4
	.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_texmatrix_uniform.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"glUniformMatrix4fv\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	shader_glsl_ffp_vertex_texmatrix_uniform, %function
shader_glsl_ffp_vertex_texmatrix_uniform:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	ip, .L11
	mov	r5, r3
	ldr	r3, [ip]
	ldr	ip, .L11+4
	sub	sp, sp, #12
	cmp	r3, r2
	ldr	ip, [ip]
	str	ip, [sp, #4]
	mov	ip,#0
	bls	.L1
	ldr	r3, [r5]
	mov	r4, r2
	ldr	r3, [r3, r2, lsl #2]
	cmn	r3, #1
	beq	.L1
	mov	r3, sp
	bl	get_texture_matrix
	ldr	r1, [r5]
	ldr	r2, .L11+8
	mov	r3, sp
	ldr	r0, [r1, r4, lsl #2]
	ldr	r2, [r2]
	mov	r1, #1
	bl	glUniformMatrix4fv
	bl	GL_EXTCALL
	ldr	r0, .L11+12
	bl	checkGLcall
.L1:
	ldr	r3, .L11+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	MAX_TEXTURES
	.word	.LC1
	.word	FALSE
	.word	.LC0
	.size	shader_glsl_ffp_vertex_texmatrix_uniform, .-shader_glsl_ffp_vertex_texmatrix_uniform
	.comm	MAX_TEXTURES,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
