	.file	"16303.c"
	.intel_syntax noprefix
	.text
	.globl	n_default
	.section	.rodata
	.align 8
	.type	n_default, @object
	.size	n_default, 8
n_default:
	.quad	100
	.text
	.globl	solve
	.type	solve, @function
solve:
.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 -40[rbp], rdi
	mov	QWORD PTR -24[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -40[rbp]
	imul	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	QWORD PTR -16[rbp], 1
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	imul	rax, QWORD PTR -16[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, rdx
	imul	rax, QWORD PTR -16[rbp]
	add	QWORD PTR -24[rbp], rax
	add	QWORD PTR -16[rbp], 1
.L2:
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -40[rbp]
	jb	.L3
	mov	rax, QWORD PTR -24[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	solve, .-solve
	.section	.rodata
.LC0:
	.string	"solve(%lu) = %lu\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
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	cmp	DWORD PTR -20[rbp], 1
	jg	.L6
	mov	eax, 100
	mov	rdi, rax
	call	solve
	mov	ecx, 100
	mov	rdx, rax
	mov	rsi, rcx
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L7
.L6:
	mov	DWORD PTR -12[rbp], 1
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtoul@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	solve
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -12[rbp], 1
.L8:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L9
.L7:
	mov	eax, 0
	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	"16303.c"
	.text
	.global	n_default
	.section	.rodata
	.align	3
	.type	n_default, %object
	.size	n_default, 8
n_default:
	.word	100
	.word	0
	.text
	.align	2
	.global	solve
	.syntax unified
	.arm
	.fpu softvfp
	.type	solve, %function
solve:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #40
	str	r0, [fp, #-60]
	str	r1, [fp, #-56]
	mov	r0, #0
	mov	r1, #0
	str	r0, [fp, #-52]
	str	r1, [fp, #-48]
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	adds	r6, r0, #1
	adc	r7, r1, #0
	ldr	r1, [fp, #-56]
	mul	r0, r6, r1
	ldr	r1, [fp, #-60]
	mul	r1, r7, r1
	add	ip, r0, r1
	ldr	lr, [fp, #-60]
	umull	r0, r1, lr, r6
	add	ip, ip, r1
	mov	r1, ip
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	mov	r0, #1
	mov	r1, #0
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	b	.L2
.L3:
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	adds	r2, r0, #1
	adc	r3, r1, #0
	ldr	r1, [fp, #-44]
	mul	r0, r3, r1
	ldr	r1, [fp, #-40]
	mul	r1, r2, r1
	add	ip, r0, r1
	ldr	lr, [fp, #-44]
	umull	r0, r1, lr, r2
	add	ip, ip, r1
	mov	r1, ip
	sub	r7, fp, #36
	ldmia	r7, {r6-r7}
	subs	r4, r6, r0
	sbc	r5, r7, r1
	ldr	r1, [fp, #-44]
	mul	r0, r5, r1
	ldr	r1, [fp, #-40]
	mul	r1, r4, r1
	add	ip, r0, r1
	ldr	lr, [fp, #-44]
	umull	r0, r1, lr, r4
	add	ip, ip, r1
	mov	r1, ip
	sub	r7, fp, #52
	ldmia	r7, {r6-r7}
	adds	r8, r6, r0
	adc	r9, r7, r1
	str	r8, [fp, #-52]
	str	r9, [fp, #-48]
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	adds	ip, r0, #1
	str	ip, [fp, #-68]
	adc	r1, r1, #0
	str	r1, [fp, #-64]
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
.L2:
	sub	r7, fp, #44
	ldmia	r7, {r6-r7}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	cmp	r7, r1
	cmpeq	r6, r0
	bcc	.L3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
	.size	solve, .-solve
	.section	.rodata
	.align	2
.LC0:
	.ascii	"solve(%lu) = %lu\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, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	bgt	.L6
	mov	r4, #100
	mov	r5, #0
	mov	r2, #100
	mov	r3, #0
	mov	r0, r2
	mov	r1, r3
	bl	solve
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L11
	bl	printf
	b	.L7
.L6:
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L8
.L9:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtoul
	mov	r3, r0
	mov	r2, r3
	mov	r3, #0
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	solve
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r0, .L11
	bl	printf
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L8:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L9
.L7:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, 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
