	.file	"extr_image-file.c_gs_image_file_update_texture.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	gs_image_file_update_texture
	.type	gs_image_file_update_texture, @function
gs_image_file_update_texture:
.LFB0:
	.cfi_startproc
	endbr64
	mov	edx, DWORD PTR 32[rdi]
	test	edx, edx
	je	.L1
	mov	eax, DWORD PTR 28[rdi]
	test	eax, eax
	je	.L1
	sub	rsp, 24
	.cfi_def_cfa_offset 32
	mov	r8, QWORD PTR [rdi]
	mov	rax, QWORD PTR 16[rdi]
	mov	esi, DWORD PTR [rax+r8*4]
	test	esi, esi
	je	.L8
.L3:
	mov	eax, DWORD PTR 8[rdi]
	mov	edi, DWORD PTR 24[rdi]
	xor	ecx, ecx
	add	rsp, 24
	.cfi_def_cfa_offset 8
	lea	edx, 0[0+rax*4]
	jmp	gs_texture_set_image@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_def_cfa_offset 32
	mov	rsi, r8
	mov	QWORD PTR 8[rsp], rdi
	call	decode_new_frame@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	rdx, QWORD PTR [rdi]
	mov	rax, QWORD PTR 16[rdi]
	mov	esi, DWORD PTR [rax+rdx*4]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	gs_image_file_update_texture, .-gs_image_file_update_texture
	.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_image-file.c_gs_image_file_update_texture.c"
	.text
	.align	2
	.global	gs_image_file_update_texture
	.syntax unified
	.arm
	.fpu softvfp
	.type	gs_image_file_update_texture, %function
gs_image_file_update_texture:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #20]
	cmp	r3, #0
	bxeq	lr
	ldr	r3, [r0, #16]
	push	{r4, lr}
	cmp	r3, #0
	mov	r4, r0
	popeq	{r4, pc}
	ldr	r3, [r0]
	ldr	r2, [r0, #8]
	ldr	r1, [r2, r3, lsl #2]
	cmp	r1, #0
	beq	.L15
.L3:
	ldr	r2, [r4, #4]
	ldr	r0, [r4, #12]
	mov	r3, #0
	pop	{r4, lr}
	lsl	r2, r2, #2
	b	gs_texture_set_image
.L15:
	mov	r1, r3
	bl	decode_new_frame
	ldr	r2, [r4]
	ldr	r3, [r4, #8]
	ldr	r1, [r3, r2, lsl #2]
	b	.L3
	.size	gs_image_file_update_texture, .-gs_image_file_update_texture
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
