	.file	"extr_ui_players.c_UI_SetLerpFrameAnimation.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Bad animation number: %i"
	.text
	.p2align 4
	.type	UI_SetLerpFrameAnimation, @function
UI_SetLerpFrameAnimation:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, DWORD PTR ANIM_TOGGLEBIT[rip]
	mov	DWORD PTR [rsi], edx
	not	ebx
	and	ebx, edx
	js	.L2
	cmp	DWORD PTR MAX_ANIMATIONS[rip], ebx
	jg	.L3
.L2:
	lea	rdi, .LC0[rip]
	mov	esi, ebx
	call	va@PLT
	mov	edi, eax
	call	trap_Error@PLT
.L3:
	mov	rax, QWORD PTR [r12]
	movsx	rbx, ebx
	lea	rax, [rax+rbx*8]
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	QWORD PTR 24[rbp], rax
	mov	rax, QWORD PTR [rax]
	add	rax, QWORD PTR 8[rbp]
	mov	QWORD PTR 16[rbp], rax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	UI_SetLerpFrameAnimation, .-UI_SetLerpFrameAnimation
	.comm	MAX_ANIMATIONS,4,4
	.comm	ANIM_TOGGLEBIT,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_ui_players.c_UI_SetLerpFrameAnimation.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Bad animation number: %i\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	UI_SetLerpFrameAnimation, %function
UI_SetLerpFrameAnimation:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L6
	push	{r4, r5, r6, lr}
	ldr	r4, [r3]
	mov	r5, r1
	bics	r4, r2, r4
	mov	r6, r0
	str	r2, [r1]
	bmi	.L2
	ldr	r3, .L6+4
	ldr	r3, [r3]
	cmp	r3, r4
	bgt	.L3
.L2:
	mov	r1, r4
	ldr	r0, .L6+8
	bl	va
	bl	trap_Error
.L3:
	ldr	r1, [r6]
	ldr	r3, [r5, #4]
	ldr	r2, [r1, r4, lsl #2]
	add	r1, r1, r4, lsl #2
	add	r3, r3, r2
	str	r1, [r5, #12]
	str	r3, [r5, #8]
	pop	{r4, r5, r6, pc}
.L7:
	.align	2
.L6:
	.word	ANIM_TOGGLEBIT
	.word	MAX_ANIMATIONS
	.word	.LC0
	.size	UI_SetLerpFrameAnimation, .-UI_SetLerpFrameAnimation
	.comm	MAX_ANIMATIONS,4,4
	.comm	ANIM_TOGGLEBIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
