	.file	"126332.c"
	.intel_syntax noprefix
	.text
	.globl	sqrtS7Q24
	.type	sqrtS7Q24, @function
sqrtS7Q24:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -36[rbp], edi
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR -16[rbp], 1073741824
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -8[rbp], 4
	jmp	.L2
.L5:
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jb	.L3
	mov	eax, DWORD PTR -4[rbp]
	sub	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	add	eax, eax
	add	DWORD PTR -20[rbp], eax
.L3:
	mov	eax, DWORD PTR -12[rbp]
	test	eax, eax
	jns	.L4
	shr	DWORD PTR -12[rbp]
	shr	DWORD PTR -20[rbp]
	shr	DWORD PTR -16[rbp]
	sub	DWORD PTR -8[rbp], 1
.L4:
	sal	DWORD PTR -12[rbp]
	shr	DWORD PTR -16[rbp]
.L2:
	cmp	DWORD PTR -16[rbp], 8
	ja	.L5
	mov	eax, DWORD PTR -8[rbp]
	mov	ecx, eax
	shr	DWORD PTR -20[rbp], cl
	mov	eax, DWORD PTR -20[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	sqrtS7Q24, .-sqrtS7Q24
	.section	.rodata
	.align 8
.LC0:
	.string	"%08x %08x %08x %08x %08x %08x %08x %08x"
.LC1:
	.string	" %08x "
.LC2:
	.string	"\r"
	.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, 64
	mov	DWORD PTR -64[rbp], 305419896
	mov	DWORD PTR -60[rbp], -1737075662
	mov	DWORD PTR -56[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -64[rbp]
	imul	eax, DWORD PTR -60[rbp]
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	movzx	eax, ax
	mov	edx, DWORD PTR -60[rbp]
	imul	eax, edx
	mov	DWORD PTR -48[rbp], eax
	mov	edx, DWORD PTR -64[rbp]
	mov	eax, DWORD PTR -60[rbp]
	imul	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR -44[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	shr	rax, 32
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	imul	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR -36[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	shr	rax, 32
	mov	DWORD PTR -32[rbp], eax
	mov	r8d, DWORD PTR -44[rbp]
	mov	edi, DWORD PTR -48[rbp]
	mov	ecx, DWORD PTR -52[rbp]
	mov	edx, DWORD PTR -60[rbp]
	mov	eax, DWORD PTR -64[rbp]
	sub	rsp, 8
	mov	esi, DWORD PTR -32[rbp]
	push	rsi
	mov	esi, DWORD PTR -36[rbp]
	push	rsi
	mov	esi, DWORD PTR -40[rbp]
	push	rsi
	mov	r9d, r8d
	mov	r8d, edi
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 32
	mov	eax, DWORD PTR -64[rbp]
	mov	edi, eax
	call	sqrtS7Q24
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -64[rbp]
	sal	eax, 13
	xor	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	shr	eax, 17
	xor	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	sal	eax, 5
	xor	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	sal	eax, 13
	xor	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	shr	eax, 17
	xor	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	sal	eax, 5
	xor	DWORD PTR -60[rbp], eax
	add	DWORD PTR -56[rbp], 1
.L8:
	cmp	DWORD PTR -56[rbp], 999
	jle	.L9
	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	"126332.c"
	.text
	.align	2
	.global	sqrtS7Q24
	.syntax unified
	.arm
	.fpu softvfp
	.type	sqrtS7Q24, %function
sqrtS7Q24:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-16]
	mov	r3, #1073741824
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #4
	str	r3, [fp, #-12]
	b	.L2
.L5:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bcc	.L3
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-24]
.L3:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L4
	ldr	r3, [fp, #-16]
	lsr	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	lsr	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-20]
	lsr	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L4:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	lsr	r3, r3, #1
	str	r3, [fp, #-20]
.L2:
	ldr	r3, [fp, #-20]
	cmp	r3, #8
	bhi	.L5
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	lsr	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	sqrtS7Q24, .-sqrtS7Q24
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%08x %08x %08x %08x %08x %08x %08x %08x\000"
	.align	2
.LC1:
	.ascii	" %08x \000"
	.align	2
.LC2:
	.ascii	"\015\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #88
	ldr	r3, .L11
	str	r3, [fp, #-76]
	ldr	r3, .L11+4
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L8
.L9:
	ldr	r3, [fp, #-76]
	ldr	r2, [fp, #-72]
	mul	r3, r2, r3
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, [fp, #-72]
	mul	r3, r2, r3
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-76]
	mov	r4, r3
	mov	r5, #0
	ldr	r3, [fp, #-72]
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	ip, r2, r3
	umull	r2, r3, r4, r0
	add	r1, ip, r3
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-56]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	mov	r2, r1
	mov	r3, #0
	mov	r3, r2
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-76]
	mov	r4, r3
	asr	r5, r4, #31
	ldr	r3, [fp, #-72]
	mov	r0, r3
	asr	r1, r0, #31
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	ip, r2, r3
	umull	r2, r3, r4, r0
	add	r1, ip, r3
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-48]
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	mov	r2, r1
	mov	r3, #0
	mov	r3, r2
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	str	r3, [sp, #16]
	ldr	r3, [fp, #-48]
	str	r3, [sp, #12]
	ldr	r3, [fp, #-52]
	str	r3, [sp, #8]
	ldr	r3, [fp, #-56]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-60]
	str	r3, [sp]
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-72]
	ldr	r1, [fp, #-76]
	ldr	r0, .L11+8
	bl	printf
	ldr	r3, [fp, #-76]
	mov	r0, r3
	bl	sqrtS7Q24
	str	r0, [fp, #-40]
	ldr	r1, [fp, #-40]
	ldr	r0, .L11+12
	bl	printf
	ldr	r0, .L11+16
	bl	puts
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #13
	ldr	r2, [fp, #-76]
	eor	r3, r3, r2
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-76]
	lsr	r3, r3, #17
	ldr	r2, [fp, #-76]
	eor	r3, r3, r2
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-76]
	eor	r3, r3, r2
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #13
	ldr	r2, [fp, #-72]
	eor	r3, r3, r2
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-72]
	lsr	r3, r3, #17
	ldr	r2, [fp, #-72]
	eor	r3, r3, r2
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-72]
	eor	r3, r3, r2
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L8:
	ldr	r3, [fp, #-68]
	cmp	r3, #1000
	blt	.L9
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L12:
	.align	2
.L11:
	.word	305419896
	.word	-1737075662
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
