	.file	"83771.c"
	.intel_syntax noprefix
	.text
	.globl	test_function
	.type	test_function, @function
test_function:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	cmp	QWORD PTR -24[rbp], 0
	jne	.L2
	add	QWORD PTR -24[rbp], 1
.L2:
	cmp	QWORD PTR -8[rbp], 0
	je	.L3
	mov	rax, QWORD PTR -16[rbp]
	cqo
	idiv	QWORD PTR -24[rbp]
	jmp	.L4
.L3:
	mov	rax, QWORD PTR -16[rbp]
	cqo
	idiv	QWORD PTR -24[rbp]
	mov	rax, rdx
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	test_function, .-test_function
	.section	.rodata
	.align 8
.LC0:
	.string	"success,%d\nerrors,%d\ntotal,%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	QWORD PTR -32[rbp], -2
	mov	QWORD PTR -24[rbp], 10
	jmp	.L6
.L9:
	cmp	QWORD PTR -24[rbp], 2
	setg	al
	movzx	eax, al
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	test_09@PLT
	mov	rbx, rax
	cmp	QWORD PTR -24[rbp], 2
	setg	al
	movzx	eax, al
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	test_function
	cmp	rbx, rax
	je	.L7
	add	DWORD PTR -40[rbp], 1
	jmp	.L8
.L7:
	add	DWORD PTR -36[rbp], 1
.L8:
	add	QWORD PTR -32[rbp], 1
	sub	QWORD PTR -24[rbp], 1
.L6:
	cmp	QWORD PTR -32[rbp], 19
	jle	.L9
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -40[rbp]
	lea	ecx, [rdx+rax]
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"83771.c"
	.text
	.global	__aeabi_ldivmod
	.align	2
	.global	test_function
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_function, %function
test_function:
	@ args = 8, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldmib	fp, {r2-r3}
	orrs	r3, r2, r3
	bne	.L2
	ldmib	fp, {r2-r3}
	adds	r4, r2, #1
	adc	r5, r3, #0
	stmib	fp, {r4-r5}
.L2:
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	beq	.L3
	ldmib	fp, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	b	.L4
.L3:
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	ldmib	fp, {r2-r3}
	bl	__aeabi_ldivmod
.L4:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	test_function, .-test_function
	.section	.rodata
	.align	2
.LC0:
	.ascii	"success,%d\012errors,%d\012total,%d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #32
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-48]
	mvn	r2, #1
	mvn	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r2, #10
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	b	.L6
.L9:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	cmp	r2, #3
	sbcs	r3, r3, #0
	movge	r3, #1
	movlt	r3, #0
	and	r3, r3, #255
	and	r0, r3, #255
	mov	r1, #0
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	test_09
	mov	r8, r0
	mov	r9, r1
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	cmp	r2, #3
	sbcs	r3, r3, #0
	movge	r3, #1
	movlt	r3, #0
	and	r3, r3, #255
	and	r0, r3, #255
	mov	r1, #0
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	test_function
	mov	r2, r0
	mov	r3, r1
	cmp	r9, r3
	cmpeq	r8, r2
	beq	.L7
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
	b	.L8
.L7:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L8:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	adds	r4, r2, #1
	adc	r5, r3, #0
	str	r4, [fp, #-44]
	str	r5, [fp, #-40]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	subs	r6, r2, #1
	sbc	r7, r3, #0
	str	r6, [fp, #-36]
	str	r7, [fp, #-32]
.L6:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	cmp	r2, #20
	sbcs	r3, r3, #0
	blt	.L9
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [fp, #-52]
	ldr	r1, [fp, #-48]
	ldr	r0, .L11
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
