	.file	"extr_renderer_rgb.c_rgb_use.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"use render rgb\n"
.LC1:
	.string	"glUseProgram"
	.text
	.p2align 4
	.type	rgb_use, @function
rgb_use:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	lea	rdi, .LC0[rip]
	call	ALOGI@PLT
	mov	edi, DWORD PTR GL_UNPACK_ALIGNMENT[rip]
	mov	esi, 1
	call	glPixelStorei@PLT
	mov	edi, DWORD PTR 16[rbx]
	call	glUseProgram@PLT
	lea	rdi, .LC1[rip]
	call	IJK_GLES2_checkError_TRACE@PLT
	mov	rsi, QWORD PTR [rbx]
	cmp	QWORD PTR [rsi], 0
	je	.L5
.L2:
	mov	rdi, QWORD PTR GL_TEXTURE0[rip]
	call	glActiveTexture@PLT
	mov	rax, QWORD PTR [rbx]
	mov	edi, DWORD PTR GL_TEXTURE_2D[rip]
	mov	rsi, QWORD PTR [rax]
	call	glBindTexture@PLT
	mov	edx, DWORD PTR GL_LINEAR[rip]
	mov	esi, DWORD PTR GL_TEXTURE_MAG_FILTER[rip]
	mov	edi, DWORD PTR GL_TEXTURE_2D[rip]
	call	glTexParameteri@PLT
	mov	edx, DWORD PTR GL_LINEAR[rip]
	mov	esi, DWORD PTR GL_TEXTURE_MIN_FILTER[rip]
	mov	edi, DWORD PTR GL_TEXTURE_2D[rip]
	call	glTexParameteri@PLT
	mov	edx, DWORD PTR GL_CLAMP_TO_EDGE[rip]
	mov	esi, DWORD PTR GL_TEXTURE_WRAP_S[rip]
	mov	edi, DWORD PTR GL_TEXTURE_2D[rip]
	call	glTexParameterf@PLT
	mov	edx, DWORD PTR GL_CLAMP_TO_EDGE[rip]
	mov	esi, DWORD PTR GL_TEXTURE_WRAP_T[rip]
	mov	edi, DWORD PTR GL_TEXTURE_2D[rip]
	call	glTexParameterf@PLT
	mov	rax, QWORD PTR 8[rbx]
	xor	esi, esi
	mov	edi, DWORD PTR [rax]
	call	glUniform1i@PLT
	mov	eax, DWORD PTR GL_TRUE[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edi, 1
	call	glGenTextures@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	rgb_use, .-rgb_use
	.comm	GL_UNPACK_ALIGNMENT,4,4
	.comm	GL_TRUE,4,4
	.comm	GL_TEXTURE_WRAP_T,4,4
	.comm	GL_TEXTURE_WRAP_S,4,4
	.comm	GL_TEXTURE_MIN_FILTER,4,4
	.comm	GL_TEXTURE_MAG_FILTER,4,4
	.comm	GL_TEXTURE_2D,4,4
	.comm	GL_TEXTURE0,8,8
	.comm	GL_LINEAR,4,4
	.comm	GL_CLAMP_TO_EDGE,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_renderer_rgb.c_rgb_use.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"use render rgb\012\000"
	.align	2
.LC1:
	.ascii	"glUseProgram\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rgb_use, %function
rgb_use:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r0, .L6
	bl	ALOGI
	ldr	r3, .L6+4
	mov	r1, #1
	ldr	r0, [r3]
	bl	glPixelStorei
	ldr	r0, [r4, #8]
	bl	glUseProgram
	ldr	r0, .L6+8
	bl	IJK_GLES2_checkError_TRACE
	ldr	r1, [r4]
	ldr	r3, [r1]
	cmp	r3, #0
	beq	.L5
.L2:
	ldr	r3, .L6+12
	ldr	r5, .L6+16
	ldr	r0, [r3]
	bl	glActiveTexture
	ldr	r3, [r4]
	ldr	r0, [r5]
	ldr	r1, [r3]
	bl	glBindTexture
	ldr	r6, .L6+20
	ldr	r3, .L6+24
	ldr	r2, [r6]
	ldr	r1, [r3]
	ldr	r0, [r5]
	bl	glTexParameteri
	ldr	r3, .L6+28
	ldr	r2, [r6]
	ldr	r1, [r3]
	ldr	r0, [r5]
	bl	glTexParameteri
	ldr	r6, .L6+32
	ldr	r3, .L6+36
	ldr	r2, [r6]
	ldr	r1, [r3]
	ldr	r0, [r5]
	bl	glTexParameterf
	ldr	r3, .L6+40
	ldr	r2, [r6]
	ldr	r1, [r3]
	ldr	r0, [r5]
	bl	glTexParameterf
	ldr	r3, [r4, #4]
	mov	r1, #0
	ldr	r0, [r3]
	bl	glUniform1i
	ldr	r3, .L6+44
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L5:
	mov	r0, #1
	bl	glGenTextures
	b	.L2
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	GL_UNPACK_ALIGNMENT
	.word	.LC1
	.word	GL_TEXTURE0
	.word	GL_TEXTURE_2D
	.word	GL_LINEAR
	.word	GL_TEXTURE_MAG_FILTER
	.word	GL_TEXTURE_MIN_FILTER
	.word	GL_CLAMP_TO_EDGE
	.word	GL_TEXTURE_WRAP_S
	.word	GL_TEXTURE_WRAP_T
	.word	GL_TRUE
	.size	rgb_use, .-rgb_use
	.comm	GL_UNPACK_ALIGNMENT,4,4
	.comm	GL_TRUE,4,4
	.comm	GL_TEXTURE_WRAP_T,4,4
	.comm	GL_TEXTURE_WRAP_S,4,4
	.comm	GL_TEXTURE_MIN_FILTER,4,4
	.comm	GL_TEXTURE_MAG_FILTER,4,4
	.comm	GL_TEXTURE_2D,4,4
	.comm	GL_TEXTURE0,4,4
	.comm	GL_LINEAR,4,4
	.comm	GL_CLAMP_TO_EDGE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
