	.file	"extr_tr_shade.c_DrawTris.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	DrawTris, @function
DrawTris:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	esi, DWORD PTR TB_COLORMAP[rip]
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	lea	rbp, tr[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	edi, DWORD PTR tr[rip+4]
	call	GL_BindToTMU@PLT
	mov	edi, DWORD PTR GLS_POLYMODE_LINE[rip]
	or	edi, DWORD PTR GLS_DEPTHMASK_TRUE[rip]
	call	GL_State@PLT
	xor	esi, esi
	xor	edi, edi
	call	qglDepthRange@PLT
	mov	rdi, rbp
	call	GLSL_BindProgram@PLT
	mov	edx, DWORD PTR glState[rip]
	mov	esi, DWORD PTR UNIFORM_MODELVIEWPROJECTIONMATRIX[rip]
	mov	rdi, rbp
	call	GLSL_SetUniformMat4@PLT
	mov	r8d, 1
	mov	ecx, 1
	mov	edi, r12d
	mov	edx, 1
	mov	esi, 1
	call	VectorSet4@PLT
	mov	esi, DWORD PTR UNIFORM_COLOR[rip]
	mov	edx, r12d
	mov	rdi, rbp
	call	GLSL_SetUniformVec4@PLT
	mov	esi, DWORD PTR UNIFORM_ALPHATEST[rip]
	mov	rdi, rbp
	xor	edx, edx
	call	GLSL_SetUniformInt@PLT
	mov	edi, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR [rbx]
	call	R_DrawElements@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	esi, 1
	pop	rbp
	.cfi_def_cfa_offset 16
	xor	edi, edi
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	qglDepthRange@PLT
	.cfi_endproc
.LFE0:
	.size	DrawTris, .-DrawTris
	.comm	tr,8,8
	.comm	glState,4,4
	.comm	UNIFORM_MODELVIEWPROJECTIONMATRIX,4,4
	.comm	UNIFORM_COLOR,4,4
	.comm	UNIFORM_ALPHATEST,4,4
	.comm	TB_COLORMAP,4,4
	.comm	GLS_POLYMODE_LINE,4,4
	.comm	GLS_DEPTHMASK_TRUE,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_tr_shade.c_DrawTris.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	DrawTris, %function
DrawTris:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L4
	ldr	r5, .L4+4
	sub	sp, sp, #12
	mov	r6, r0
	ldr	r1, [r3]
	ldr	r0, [r5, #4]
	bl	GL_BindToTMU
	ldr	r2, .L4+8
	ldr	r3, .L4+12
	ldr	r0, [r2]
	ldr	r3, [r3]
	mov	r4, #1
	orr	r0, r0, r3
	bl	GL_State
	mov	r1, #0
	mov	r7, r1
	mov	r0, r1
	bl	qglDepthRange
	mov	r0, r5
	bl	GLSL_BindProgram
	ldr	r3, .L4+16
	ldr	r2, .L4+20
	ldr	r1, [r3]
	mov	r0, r5
	ldr	r2, [r2]
	bl	GLSL_SetUniformMat4
	mov	r3, r4
	mov	r2, r4
	mov	r1, r4
	mov	r0, r7
	str	r4, [sp]
	bl	VectorSet4
	ldr	r3, .L4+24
	mov	r2, r7
	ldr	r1, [r3]
	mov	r0, r5
	bl	GLSL_SetUniformVec4
	ldr	r3, .L4+28
	mov	r2, r7
	ldr	r1, [r3]
	mov	r0, r5
	bl	GLSL_SetUniformInt
	ldr	r1, [r6]
	ldr	r0, [r6, #4]
	bl	R_DrawElements
	mov	r1, r4
	mov	r0, r7
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	qglDepthRange
.L5:
	.align	2
.L4:
	.word	TB_COLORMAP
	.word	tr
	.word	GLS_POLYMODE_LINE
	.word	GLS_DEPTHMASK_TRUE
	.word	UNIFORM_MODELVIEWPROJECTIONMATRIX
	.word	glState
	.word	UNIFORM_COLOR
	.word	UNIFORM_ALPHATEST
	.size	DrawTris, .-DrawTris
	.comm	tr,8,4
	.comm	glState,4,4
	.comm	UNIFORM_MODELVIEWPROJECTIONMATRIX,4,4
	.comm	UNIFORM_COLOR,4,4
	.comm	UNIFORM_ALPHATEST,4,4
	.comm	TB_COLORMAP,4,4
	.comm	GLS_POLYMODE_LINE,4,4
	.comm	GLS_DEPTHMASK_TRUE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
