	.file	"extr_trackbar.c_TRACKBAR_RecalculateTics.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	TRACKBAR_RecalculateTics, @function
TRACKBAR_RecalculateTics:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR [rdi]
	test	esi, esi
	je	.L2
	mov	eax, DWORD PTR 4[rdi]
	mov	ecx, DWORD PTR 8[rdi]
	cmp	eax, ecx
	jb	.L2
	sub	eax, ecx
	xor	edx, edx
	mov	edi, eax
	div	esi
	mov	ebx, eax
	cmp	esi, edi
	ja	.L3
	lea	eax, -1[rax]
	test	edx, edx
	cmove	ebx, eax
.L3:
	cmp	DWORD PTR 24[rbp], ebx
	jne	.L16
	lea	edx, [rcx+rsi]
	test	ebx, ebx
	je	.L1
.L19:
	mov	rcx, QWORD PTR 16[rbp]
	lea	esi, -1[rbx]
	lea	rax, 4[rcx]
	lea	rsi, [rax+rsi*4]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L17:
	add	rax, 4
.L8:
	mov	DWORD PTR [rcx], edx
	mov	rcx, rax
	add	edx, DWORD PTR 0[rbp]
	cmp	rsi, rax
	jne	.L17
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	rdi, QWORD PTR 16[rbp]
	lea	esi, 4[0+rbx*4]
	call	ReAlloc@PLT
	mov	QWORD PTR 16[rbp], rax
	test	rax, rax
	je	.L18
	mov	ecx, DWORD PTR 8[rbp]
	mov	esi, DWORD PTR 0[rbp]
	mov	DWORD PTR 24[rbp], ebx
	lea	edx, [rcx+rsi]
	test	ebx, ebx
	jne	.L19
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdi, QWORD PTR 16[rbp]
	call	Free@PLT
	mov	QWORD PTR 16[rbp], 0
	mov	DWORD PTR 24[rbp], 0
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L18:
	.cfi_restore_state
	mov	DWORD PTR 24[rbp], 0
	mov	esi, DWORD PTR NM_OUTOFMEMORY[rip]
	mov	rdi, rbp
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	notify@PLT
	.cfi_endproc
.LFE0:
	.size	TRACKBAR_RecalculateTics, .-TRACKBAR_RecalculateTics
	.comm	NM_OUTOFMEMORY,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_trackbar.c_TRACKBAR_RecalculateTics.c"
	.text
	.global	__aeabi_uidivmod
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	TRACKBAR_RecalculateTics, %function
TRACKBAR_RecalculateTics:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r4, [r0]
	mov	r5, r0
	cmp	r4, #0
	beq	.L2
	ldmib	r0, {r0, r8}
	cmp	r0, r8
	bcc	.L2
	sub	r7, r0, r8
	mov	r0, r7
	mov	r1, r4
	bl	__aeabi_uidivmod
	cmp	r4, r7
	mov	r6, r0
	bhi	.L3
	cmp	r1, #0
	subeq	r6, r0, #1
.L3:
	ldr	r3, [r5, #16]
	cmp	r3, r6
	bne	.L16
.L5:
	cmp	r6, #0
	add	r3, r4, r8
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r2, [r5, #12]
	sub	r2, r2, #4
	add	r0, r2, r6, lsl #2
.L8:
	str	r3, [r2, #4]!
	ldr	r1, [r5]
	cmp	r0, r2
	add	r3, r3, r1
	bne	.L8
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	add	r1, r6, #1
	ldr	r0, [r5, #12]
	lsl	r1, r1, #2
	bl	ReAlloc
	cmp	r0, #0
	str	r0, [r5, #12]
	beq	.L17
	ldr	r8, [r5, #8]
	ldr	r4, [r5]
	str	r6, [r5, #16]
	b	.L5
.L2:
	ldr	r0, [r5, #12]
	bl	Free
	mov	r3, #0
	str	r3, [r5, #12]
	str	r3, [r5, #16]
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	ldr	r3, .L18
	str	r0, [r5, #16]
	ldr	r1, [r3]
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	notify
.L19:
	.align	2
.L18:
	.word	NM_OUTOFMEMORY
	.size	TRACKBAR_RecalculateTics, .-TRACKBAR_RecalculateTics
	.comm	NM_OUTOFMEMORY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
