	.file	"extr_menu_thumbnail.c_menu_thumbnail_reset.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	menu_thumbnail_reset
	.type	menu_thumbnail_reset, @function
menu_thumbnail_reset:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	je	.L1
	cmp	QWORD PTR 24[rdi], 0
	mov	rbx, rdi
	jne	.L10
.L3:
	mov	eax, DWORD PTR MENU_THUMBNAIL_STATUS_UNKNOWN[rip]
	mov	QWORD PTR 8[rbx], 0
	mov	QWORD PTR [rbx], 0
	mov	DWORD PTR 32[rbx], eax
	mov	QWORD PTR 16[rbx], 0
	mov	QWORD PTR 24[rbx], 0
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	QWORD PTR [rsp], rdi
	lea	rdi, 24[rdi]
	call	video_driver_texture_unload@PLT
	mov	rdi, rsp
	call	menu_animation_kill_by_tag@PLT
	jmp	.L3
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	menu_thumbnail_reset, .-menu_thumbnail_reset
	.comm	MENU_THUMBNAIL_STATUS_UNKNOWN,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_menu_thumbnail.c_menu_thumbnail_reset.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	menu_thumbnail_reset
	.syntax unified
	.arm
	.fpu softvfp
	.type	menu_thumbnail_reset, %function
menu_thumbnail_reset:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L15
	sub	sp, sp, #8
	subs	r4, r0, #0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	beq	.L1
	ldr	r3, [r4, #16]
	cmp	r3, #0
	bne	.L13
.L3:
	mov	r3, #0
	mov	r2, #0
	ldr	r1, .L15+4
	str	r3, [r4, #16]
	ldr	r1, [r1]
	str	r3, [r4, #12]
	str	r1, [r4, #20]
	str	r3, [r4, #8]
	str	r2, [r4]	@ float
	str	r2, [r4, #4]	@ float
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L13:
	add	r0, r4, #16
	str	r4, [sp]
	bl	video_driver_texture_unload
	mov	r0, sp
	bl	menu_animation_kill_by_tag
	b	.L3
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	MENU_THUMBNAIL_STATUS_UNKNOWN
	.size	menu_thumbnail_reset, .-menu_thumbnail_reset
	.comm	MENU_THUMBNAIL_STATUS_UNKNOWN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
