	.file	"extr_ui_qmenu.c_SpinControl_Init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	SpinControl_Init, @function
SpinControl_Init:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rdi, QWORD PTR 16[rdi]
	test	rdi, rdi
	je	.L12
	call	strlen@PLT
	mov	ebp, DWORD PTR SMALLCHAR_WIDTH[rip]
	imul	eax, ebp
	mov	ecx, eax
.L3:
	mov	edx, DWORD PTR 28[rbx]
	mov	DWORD PTR [rbx], 0
	mov	eax, edx
	sub	eax, ebp
	sub	eax, ecx
	mov	DWORD PTR 24[rbx], eax
	mov	rax, QWORD PTR 8[rbx]
	mov	rdi, QWORD PTR [rax]
	test	rdi, rdi
	je	.L4
	xor	ebp, ebp
	.p2align 4,,10
	.p2align 3
.L5:
	call	strlen@PLT
	mov	rdx, QWORD PTR 8[rbx]
	cmp	ebp, eax
	cmovl	ebp, eax
	mov	eax, DWORD PTR [rbx]
	add	eax, 1
	mov	DWORD PTR [rbx], eax
	cdqe
	mov	rdi, QWORD PTR [rdx+rax*8]
	test	rdi, rdi
	jne	.L5
	add	ebp, 1
	imul	ebp, DWORD PTR SMALLCHAR_WIDTH[rip]
	mov	edx, DWORD PTR 28[rbx]
.L4:
	mov	rax, QWORD PTR 40[rbx]
	add	ebp, edx
	mov	DWORD PTR 32[rbx], ebp
	mov	QWORD PTR 56[rbx], rax
	add	rax, QWORD PTR SMALLCHAR_HEIGHT[rip]
	mov	QWORD PTR 48[rbx], rax
	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
.L12:
	.cfi_restore_state
	mov	ebp, DWORD PTR SMALLCHAR_WIDTH[rip]
	xor	ecx, ecx
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	SpinControl_Init, .-SpinControl_Init
	.comm	SMALLCHAR_WIDTH,4,4
	.comm	SMALLCHAR_HEIGHT,8,8
	.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_qmenu.c_SpinControl_Init.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	SpinControl_Init, %function
SpinControl_Init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r8, r0
	ldr	r0, [r0, #8]
	ldr	r3, .L12
	cmp	r0, #0
	ldr	r6, [r3]
	beq	.L2
	bl	strlen
	mul	r0, r6, r0
.L2:
	mov	r4, #0
	ldr	r9, [r8, #4]
	ldr	r7, [r8, #16]
	ldr	r3, [r9]
	sub	r2, r7, r6
	sub	r0, r2, r0
	cmp	r3, r4
	str	r0, [r8, #12]
	str	r4, [r8]
	beq	.L3
	mov	r5, #1
.L4:
	mov	r0, r3
	bl	strlen
	ldr	r3, [r9, #4]!
	cmp	r4, r0
	movlt	r4, r0
	cmp	r3, #0
	str	r5, [r8]
	add	r5, r5, #1
	bne	.L4
	add	r4, r4, #1
	mul	r6, r4, r6
.L3:
	ldr	r3, .L12+4
	ldr	r2, [r8, #24]
	ldr	r3, [r3]
	add	r6, r7, r6
	add	r3, r3, r2
	str	r6, [r8, #20]
	str	r3, [r8, #28]
	str	r2, [r8, #32]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L13:
	.align	2
.L12:
	.word	SMALLCHAR_WIDTH
	.word	SMALLCHAR_HEIGHT
	.size	SpinControl_Init, .-SpinControl_Init
	.comm	SMALLCHAR_WIDTH,4,4
	.comm	SMALLCHAR_HEIGHT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
