	.file	"33816.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Error -- failed to allocate %zu bytes.\n"
	.text
	.globl	alloc_abort
	.type	alloc_abort, @function
alloc_abort:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	call	abort@PLT
	.cfi_endproc
.LFE6:
	.size	alloc_abort, .-alloc_abort
	.globl	fraction_sqrt
	.type	fraction_sqrt, @function
fraction_sqrt:
.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, 96
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	fild	QWORD PTR -72[rbp]
	cmp	QWORD PTR -72[rbp], 0
	jns	.L3
	fld	TBYTE PTR .LC1[rip]
	faddp	st(1), st
.L3:
	fstp	QWORD PTR -88[rbp]
	movsd	xmm0, QWORD PTR -88[rbp]
	call	sqrt@PLT
	movsd	QWORD PTR -88[rbp], xmm0
	fld	QWORD PTR -88[rbp]
	fstp	TBYTE PTR -16[rbp]
	fld	TBYTE PTR -16[rbp]
	fstp	QWORD PTR -88[rbp]
	movsd	xmm0, QWORD PTR -88[rbp]
	call	floor@PLT
	comisd	xmm0, QWORD PTR .LC2[rip]
	jnb	.L4
	cvttsd2si	rax, xmm0
	mov	QWORD PTR -64[rbp], rax
	jmp	.L5
.L4:
	movsd	xmm1, QWORD PTR .LC2[rip]
	subsd	xmm0, xmm1
	cvttsd2si	rax, xmm0
	mov	QWORD PTR -64[rbp], rax
	movabs	rax, -9223372036854775808
	xor	QWORD PTR -64[rbp], rax
.L5:
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], 4
	mov	rax, QWORD PTR -56[rbp]
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	jne	.L6
	mov	rax, QWORD PTR -56[rbp]
	sal	rax, 3
	mov	rdi, rax
	call	alloc_abort
.L6:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR [rax], 1
	fld	TBYTE PTR -16[rbp]
	fld	st(0)
	fmulp	st(1), st
	fild	QWORD PTR -72[rbp]
	cmp	QWORD PTR -72[rbp], 0
	jns	.L7
	fld	TBYTE PTR .LC1[rip]
	faddp	st(1), st
.L7:
	fucomi	st, st(1)
	jp	.L24
	fucomip	st, st(1)
	fstp	st(0)
	jne	.L8
	mov	rax, QWORD PTR -48[rbp]
	jmp	.L10
.L24:
	fstp	st(0)
	fstp	st(0)
.L8:
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 1
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rax
	mov	QWORD PTR -24[rbp], rax
	jmp	.L11
.L22:
	mov	rax, QWORD PTR -32[rbp]
	imul	rax, QWORD PTR -64[rbp]
	sub	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	imul	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	sub	rax, rdx
	mov	edx, 0
	div	QWORD PTR -32[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	test	rax, rax
	js	.L12
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L13
.L12:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L13:
	movsd	QWORD PTR -88[rbp], xmm0
	fld	QWORD PTR -88[rbp]
	fld	TBYTE PTR -16[rbp]
	faddp	st(1), st
	mov	rax, QWORD PTR -32[rbp]
	test	rax, rax
	js	.L14
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L15
.L14:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L15:
	movsd	QWORD PTR -88[rbp], xmm0
	fld	QWORD PTR -88[rbp]
	fdivp	st(1), st
	fstp	QWORD PTR -88[rbp]
	movsd	xmm0, QWORD PTR -88[rbp]
	call	floor@PLT
	comisd	xmm0, QWORD PTR .LC2[rip]
	jnb	.L16
	cvttsd2si	rax, xmm0
	mov	QWORD PTR -64[rbp], rax
	jmp	.L17
.L16:
	movsd	xmm1, QWORD PTR .LC2[rip]
	subsd	xmm0, xmm1
	cvttsd2si	rax, xmm0
	mov	QWORD PTR -64[rbp], rax
	movabs	rax, -9223372036854775808
	xor	QWORD PTR -64[rbp], rax
.L17:
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -80[rbp]
	mov	QWORD PTR [rdx], rcx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -56[rbp], rax
	ja	.L11
	mov	rax, QWORD PTR -56[rbp]
	test	rax, rax
	js	.L18
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L19
.L18:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L19:
	movsd	xmm1, QWORD PTR .LC3[rip]
	mulsd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC2[rip]
	jnb	.L20
	cvttsd2si	rax, xmm0
	mov	QWORD PTR -56[rbp], rax
	jmp	.L21
.L20:
	movsd	xmm1, QWORD PTR .LC2[rip]
	subsd	xmm0, xmm1
	cvttsd2si	rax, xmm0
	mov	QWORD PTR -56[rbp], rax
	movabs	rax, -9223372036854775808
	xor	QWORD PTR -56[rbp], rax
.L21:
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	jne	.L11
	mov	rax, QWORD PTR -56[rbp]
	sal	rax, 3
	mov	rdi, rax
	call	alloc_abort
.L11:
	mov	rax, QWORD PTR -64[rbp]
	cmp	rax, QWORD PTR -24[rbp]
	jne	.L22
	mov	rax, QWORD PTR -48[rbp]
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	fraction_sqrt, .-fraction_sqrt
	.section	.rodata
.LC5:
	.string	"[%zu"
.LC6:
	.string	"; "
.LC7:
	.string	", "
.LC8:
	.string	"%zu"
.LC9:
	.string	"]"
	.text
	.globl	print_fraction
	.type	print_fraction, @function
print_fraction:
.LFB8:
	.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	QWORD PTR -32[rbp], 1
	je	.L26
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L26:
	mov	QWORD PTR -8[rbp], 1
	jmp	.L27
.L29:
	cmp	QWORD PTR -8[rbp], 1
	je	.L28
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
.L28:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -8[rbp], 1
.L27:
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -32[rbp]
	jb	.L29
	lea	rdi, .LC9[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	print_fraction, .-print_fraction
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -28[rbp], 1
	jmp	.L31
.L32:
	mov	QWORD PTR -24[rbp], 0
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtoull@PLT
	mov	rdx, rax
	lea	rax, -24[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	fraction_sqrt
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	print_fraction
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -28[rbp], 1
.L31:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L32
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.section	.rodata
	.align 16
.LC1:
	.long	0
	.long	-2147483648
	.long	16447
	.long	0
	.align 8
.LC2:
	.long	0
	.long	1138753536
	.align 8
.LC3:
	.long	0
	.long	1073217536
	.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	"33816.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Error -- failed to allocate %zu bytes.\012\000"
	.text
	.align	2
	.global	alloc_abort
	.syntax unified
	.arm
	.fpu softvfp
	.type	alloc_abort, %function
alloc_abort:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L2
	bl	printf
	bl	abort
.L3:
	.align	2
.L2:
	.word	.LC0
	.size	alloc_abort, .-alloc_abort
	.global	__aeabi_ul2d
	.global	__aeabi_d2ulz
	.global	__aeabi_dmul
	.global	__aeabi_dcmpeq
	.global	__aeabi_uldivmod
	.global	__aeabi_dadd
	.global	__aeabi_ddiv
	.global	__aeabi_ui2d
	.global	__aeabi_d2uiz
	.align	2
	.global	fraction_sqrt
	.syntax unified
	.arm
	.fpu softvfp
	.type	fraction_sqrt, %function
fraction_sqrt:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #72
	str	r0, [fp, #-84]
	str	r1, [fp, #-80]
	str	r2, [fp, #-88]
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_ul2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	floor
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2ulz
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	mov	r3, #4
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	alloc_abort
.L5:
	ldr	r1, [fp, #-72]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-88]
	mov	r2, #1
	str	r2, [r3]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_ul2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-72]
	b	.L8
.L12:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r2, #1
	mov	r3, #0
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	adds	r6, r2, r2
	adc	r7, r3, r3
	str	r6, [fp, #-36]
	str	r7, [fp, #-32]
	b	.L9
.L10:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-68]
	mul	r2, r3, r2
	ldr	r3, [fp, #-64]
	ldr	r1, [fp, #-52]
	mul	r3, r1, r3
	add	r1, r2, r3
	ldr	ip, [fp, #-52]
	ldr	r0, [fp, #-68]
	umull	r2, r3, ip, r0
	add	r1, r1, r3
	mov	r3, r1
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	subs	r4, r2, r0
	sbc	r5, r3, r1
	str	r4, [fp, #-60]
	str	r5, [fp, #-56]
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-60]
	mul	r2, r3, r2
	ldr	r3, [fp, #-56]
	ldr	r1, [fp, #-60]
	mul	r3, r1, r3
	add	r0, r2, r3
	ldr	r1, [fp, #-60]
	umull	r2, r3, r1, r1
	add	r1, r0, r3
	mov	r3, r1
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	subs	r8, r0, r2
	sbc	r9, r1, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_uldivmod
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_ul2d
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_ul2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	floor
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2ulz
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r2, [fp, #-88]
	str	r1, [r2]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r1, r2, r3
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	ldr	r2, [fp, #-76]
	cmp	r2, r3
	bhi	.L9
	ldr	r0, [fp, #-76]
	bl	__aeabi_ui2d
	mov	r2, #0
	ldr	r3, .L13
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2uiz
	mov	r3, r0
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	mov	r1, r3
	ldr	r0, [fp, #-72]
	bl	realloc
	str	r0, [fp, #-72]
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bne	.L9
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	alloc_abort
.L9:
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bne	.L10
	ldr	r3, [fp, #-72]
.L8:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L14:
	.align	2
.L13:
	.word	1073217536
	.size	fraction_sqrt, .-fraction_sqrt
	.section	.rodata
	.align	2
.LC1:
	.ascii	"[%zu\000"
	.align	2
.LC2:
	.ascii	"; \000"
	.align	2
.LC3:
	.ascii	", \000"
	.align	2
.LC4:
	.ascii	"%zu\000"
	.align	2
.LC5:
	.ascii	"]\000"
	.text
	.align	2
	.global	print_fraction
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_fraction, %function
print_fraction:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldmia	r3, {r2-r3}
	ldr	r0, .L20
	bl	printf
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	beq	.L16
	ldr	r0, .L20+4
	bl	printf
.L16:
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L17
.L19:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	beq	.L18
	ldr	r0, .L20+8
	bl	printf
.L18:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, .L20+12
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L17:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bcc	.L19
	ldr	r0, .L20+16
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	print_fraction, .-print_fraction
	.section	.rodata
	.align	2
.LC6:
	.word	__stack_chk_guard
	.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	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L23
.L24:
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtoull
	sub	r3, fp, #20
	mov	r2, r3
	bl	fraction_sqrt
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	print_fraction
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L23:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L24
	mov	r3, #0
	ldr	r2, .L27
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
