	.file	"extr_menu_animation.c_menu_animation_ticker_smooth_loop_fw.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	menu_animation_ticker_smooth_loop_fw, @function
menu_animation_ticker_smooth_loop_fw:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	eax, edi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, r8
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, esi
	mov	esi, r9d
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	r8, QWORD PTR 136[rsp]
	mov	r9, QWORD PTR 144[rsp]
	mov	r15, QWORD PTR 152[rsp]
	mov	r13, QWORD PTR 160[rsp]
	mov	r10, QWORD PTR 168[rsp]
	mov	r11, QWORD PTR 176[rsp]
	mov	rdi, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rdi
	xor	edi, edi
	mov	r14, QWORD PTR 184[rsp]
	mov	DWORD PTR [r8], 0
	mov	DWORD PTR [r9], 0
	mov	DWORD PTR [r15], 0
	mov	DWORD PTR 0[r13], 0
	mov	DWORD PTR [r10], 0
	mov	DWORD PTR [r11], 0
	mov	DWORD PTR [r14], 0
	test	rdx, rdx
	je	.L1
	test	r12, r12
	je	.L1
	lea	edi, 0[rbp+rcx]
	mov	rbx, rdx
	xor	edx, edx
	div	edi
	mov	ecx, edx
	cmp	ebp, edx
	ja	.L15
	cmp	DWORD PTR 128[rsp], esi
	ja	.L16
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L17
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	DWORD PTR 52[rsp], 0
	mov	QWORD PTR 24[rsp], r11
	mov	QWORD PTR 16[rsp], r10
	cmp	ebp, ecx
	jb	.L18
	sub	rsp, 8
	.cfi_def_cfa_offset 136
	xor	ecx, ecx
	mov	r9, r13
	mov	r8, r15
	lea	rax, 60[rsp]
	mov	rdi, r12
	push	rax
	.cfi_def_cfa_offset 144
	mov	edx, DWORD PTR 144[rsp]
	mov	DWORD PTR 28[rsp], esi
	call	ticker_smooth_scan_string_fw@PLT
	mov	esi, DWORD PTR 28[rsp]
	mov	eax, DWORD PTR 0[r13]
	mov	edx, DWORD PTR 144[rsp]
	imul	eax, esi
	add	eax, DWORD PTR 68[rsp]
	sub	edx, eax
	mov	eax, edx
	pop	rdx
	.cfi_def_cfa_offset 136
	pop	rcx
	.cfi_def_cfa_offset 128
	mov	r10, QWORD PTR 16[rsp]
	mov	r11, QWORD PTR 24[rsp]
.L8:
	cmp	esi, eax
	jnb	.L1
	xor	edx, edx
	mov	DWORD PTR [r10], 0
	div	esi
	cmp	rax, rbx
	cmova	rax, rbx
	mov	DWORD PTR [r11], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	QWORD PTR 40[rsp], r11
	sub	rsp, 8
	.cfi_def_cfa_offset 136
	mov	rdi, rbx
	mov	QWORD PTR 40[rsp], r10
	push	r14
	.cfi_def_cfa_offset 144
	mov	DWORD PTR 32[rsp], edx
	mov	edx, DWORD PTR 144[rsp]
	mov	QWORD PTR 40[rsp], r9
	mov	DWORD PTR 28[rsp], esi
	call	ticker_smooth_scan_string_fw@PLT
	mov	esi, DWORD PTR 28[rsp]
	mov	r9, QWORD PTR 40[rsp]
	mov	edi, DWORD PTR 144[rsp]
	mov	eax, esi
	imul	eax, DWORD PTR [r9]
	sub	edi, eax
	mov	eax, edi
	sub	eax, DWORD PTR [r14]
	mov	DWORD PTR 144[rsp], eax
	pop	r9
	.cfi_def_cfa_offset 136
	pop	r10
	.cfi_def_cfa_offset 128
	mov	r11, QWORD PTR 40[rsp]
	mov	r10, QWORD PTR 32[rsp]
	mov	ecx, DWORD PTR 16[rsp]
	cmp	DWORD PTR 128[rsp], esi
	jbe	.L1
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L18:
	sub	rsp, 8
	.cfi_def_cfa_offset 136
	sub	ecx, ebp
	mov	r8, r15
	mov	rdi, r12
	lea	rax, 60[rsp]
	mov	r9, r13
	mov	ebp, ecx
	push	rax
	.cfi_def_cfa_offset 144
	mov	edx, DWORD PTR 144[rsp]
	mov	DWORD PTR 28[rsp], esi
	call	ticker_smooth_scan_string_fw@PLT
	mov	esi, DWORD PTR 28[rsp]
	mov	eax, DWORD PTR 0[r13]
	mov	edx, DWORD PTR 68[rsp]
	mov	edi, DWORD PTR 144[rsp]
	imul	eax, esi
	add	eax, edx
	sub	edi, eax
	test	ebp, ebp
	mov	eax, edi
	pop	rdi
	.cfi_def_cfa_offset 136
	pop	r8
	.cfi_def_cfa_offset 128
	mov	r10, QWORD PTR 16[rsp]
	mov	r11, QWORD PTR 24[rsp]
	je	.L8
	mov	DWORD PTR [r14], edx
	jmp	.L8
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	menu_animation_ticker_smooth_loop_fw, .-menu_animation_ticker_smooth_loop_fw
	.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_animation.c_menu_animation_ticker_smooth_loop_fw.c"
	.text
	.global	__aeabi_uidivmod
	.global	__aeabi_uidiv
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	menu_animation_ticker_smooth_loop_fw, %function
menu_animation_ticker_smooth_loop_fw:
	@ args = 40, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	ip, #0
	mov	lr, r2
	sub	sp, sp, #36
	ldr	r2, [sp, #72]
	ldr	r7, [sp, #108]
	cmp	r2, ip
	cmpne	lr, ip
	ldr	r4, .L18
	add	r2, sp, #84
	add	r6, sp, #96
	ldr	r4, [r4]
	str	r4, [sp, #28]
	mov	r4,#0
	ldm	r2, {r2, r8, r9}
	ldm	r6, {r6, r10, fp}
	str	ip, [r2]
	ldr	r5, [sp, #76]
	str	ip, [r8]
	str	r2, [sp, #16]
	str	ip, [r9]
	str	lr, [sp, #20]
	str	ip, [r6]
	str	ip, [r10]
	str	ip, [fp]
	str	ip, [r7]
	beq	.L1
	mov	r4, r1
	add	r1, r1, r3
	bl	__aeabi_uidivmod
	cmp	r4, r1
	mov	r3, r1
	ldr	r2, [sp, #16]
	bhi	.L14
	ldr	r2, [sp, #80]
	cmp	r2, r5
	bhi	.L15
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	mov	r2, #0
	cmp	r4, r3
	str	r2, [sp, #24]
	bcc	.L17
	add	r1, sp, #24
	mov	r3, r2
	str	r1, [sp, #8]
	ldr	r0, [sp, #72]
	mov	r1, r5
	ldr	r2, [sp, #80]
	str	r6, [sp, #4]
	str	r9, [sp]
	bl	ticker_smooth_scan_string_fw
	ldr	r3, [sp, #24]
	ldr	r0, [r6]
	mla	r0, r5, r0, r3
	ldr	r3, [sp, #80]
	sub	r0, r3, r0
.L7:
	cmp	r5, r0
	bcs	.L1
	mov	r3, #0
	mov	r1, r5
	str	r3, [r10]
	bl	__aeabi_uidiv
	ldr	r3, [sp, #20]
	cmp	r0, r3
	movcs	r0, r3
	str	r0, [fp]
	b	.L1
.L14:
	stm	sp, {r2, r8}
	str	r1, [sp, #16]
	ldr	r2, [sp, #80]
	mov	r1, r5
	ldr	r0, [sp, #20]
	str	r7, [sp, #8]
	bl	ticker_smooth_scan_string_fw
	ldr	r0, [r8]
	ldr	r3, [sp, #80]
	mul	r0, r5, r0
	ldr	r2, [r7]
	sub	r0, r3, r0
	sub	r3, r0, r2
	str	r3, [sp, #80]
	ldr	r2, [sp, #80]
	ldr	r3, [sp, #16]
	cmp	r2, r5
	bls	.L1
	b	.L15
.L17:
	sub	r4, r3, r4
	add	r2, sp, #24
	mov	r3, r4
	str	r2, [sp, #8]
	mov	r1, r5
	ldr	r2, [sp, #80]
	ldr	r0, [sp, #72]
	str	r6, [sp, #4]
	str	r9, [sp]
	bl	ticker_smooth_scan_string_fw
	ldr	r0, [r6]
	ldr	r3, [sp, #24]
	ldr	r2, [sp, #80]
	mla	r0, r5, r0, r3
	cmp	r4, #0
	sub	r0, r2, r0
	strne	r3, [r7]
	b	.L7
.L16:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC0
	.size	menu_animation_ticker_smooth_loop_fw, .-menu_animation_ticker_smooth_loop_fw
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
