Given the following C code and assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
typedef long long ll;

ll ft_sqrt(ll n)
{
	ll i = 1;
	ll cnt = 0;
	while (i <= n)
	{
		if (i % 2)
		{
			n -= i;
			cnt++;
		}
		i++;
	}
	return (cnt);
}

int main(void)
{
	ll N;
	scanf("%lld", &N);
	ll i = 1;
	ll a;
	ll b;
	while (i <= (ll)sqrt((double)N))
	{
		if (N % i == 0)
			a = i;
		i++;
	}
	b = N / a;
	printf("%lld", (a+b) - 2);
	return (0);
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	ft_sqrt
	.type	ft_sqrt, @function
ft_sqrt:
.LFB51:
	.cfi_startproc
	endbr64
	xorl	%r8d, %r8d
	testq	%rdi, %rdi
	jle	.L1
	movl	$1, %eax
	.p2align 4,,10
	.p2align 3
.L5:
	testb	$1, %al
	je	.L3
	subq	%rax, %rdi
	addq	$1, %rax
	addq	$1, %r8
	cmpq	%rdi, %rax
	jle	.L5
.L1:
	movq	%r8, %rax
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	addq	$1, %rax
	cmpq	%rax, %rdi
	jge	.L5
	movq	%r8, %rax
	ret
	.cfi_endproc
.LFE51:
	.size	ft_sqrt, .-ft_sqrt
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$40, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	16(%rsp), %rbx
	pxor	%xmm1, %xmm1
	pxor	%xmm0, %xmm0
	cvtsi2sdq	%rbx, %xmm1
	ucomisd	%xmm1, %xmm0
	ja	.L22
	sqrtsd	%xmm1, %xmm1
	movl	$1, %ecx
	cvttsd2siq	%xmm1, %rsi
	testq	%rsi, %rsi
	jle	.L12
	.p2align 4,,10
	.p2align 3
.L11:
	movq	%rbx, %rax
	cqto
	idivq	%rcx
	testq	%rdx, %rdx
	cmove	%rcx, %rbp
	addq	$1, %rcx
	cmpq	%rcx, %rsi
	jge	.L11
.L12:
	movq	%rbx, %rax
	movq	%r12, %rsi
	movl	$1, %edi
	cqto
	idivq	%rbp
	leaq	-2(%rbp,%rax), %rdx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L22:
	.cfi_restore_state
	movl	$1, %r13d
	jmp	.L9
.L25:
	movq	%rbx, %rax
	movsd	8(%rsp), %xmm1
	cqto
	idivq	%r13
	testq	%rdx, %rdx
	cmove	%r13, %rbp
	addq	$1, %r13
.L9:
	movapd	%xmm1, %xmm0
	movsd	%xmm1, 8(%rsp)
	call	sqrt@PLT
	cvttsd2siq	%xmm0, %rax
	cmpq	%rax, %r13
	jle	.L25
	jmp	.L12
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE52:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.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:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
Optimized Assembly Code:

user
```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	ft_sqrt
	.type	ft_sqrt, @function
ft_sqrt:
.LFB51:
	.cfi_startproc
	endbr64
	xorl	%r8d, %r8d
	testq	%rdi, %rdi
	jle	.L1
	movl	$1, %eax
	.p2align 4,,10
	.p2align 3
.L5:
	testb	$1, %al
	je	.L3
	subq	%rax, %rdi
	addq	$1, %rax
	addq	$1, %r8
	cmpq	%rdi, %rax
	jle	.L5
.L1:
	movq	%r8, %rax
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	addq	$1, %rax
	cmpq	%rax, %rdi
	jge	.L5
	movq	%r8, %rax
	ret
	.cfi_endproc
.LFE51:
	.size	ft_sqrt, .-ft_sqrt
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$40, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	16(%rsp), %rbx
	pxor	%xmm1, %xmm1
	pxor	%xmm0, %xmm0
	cvtsi2sdq	%rbx, %xmm1
	ucomisd	%xmm1, %xmm0
	ja	.L22
	sqrtsd	%xmm1, %xmm1
	movl	$1, %ecx
	cvttsd2siq	%xmm1, %rsi
	testq	%rsi, %rsi
	jle	.L12
	.p2align 4,,10
	.p2align 3
.L11:
	movq	%rbx, %rax
	cqto
	idivq	%rcx
	testq	%rdx, %rdx
	cmove	%rcx, %rbp
	addq	$1, %rcx
	cmpq	%rcx, %rsi
	jge	.L11
.L12:
	movq	%rbx, %rax
	movq	%r12, %rsi
	movl	$1, %edi
	cqto
	idivq	%rbp
	leaq	-2(%rbp,%rax), %rdx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L22:
	.cfi_restore_state
	movl	$1, %r13d
	jmp	.L9
.L25:
	movq	%rbx, %rax
	movsd	8(%rsp), %xmm1
	cqto
	idivq	%r13
	testq	%rdx, %rdx
	cmove	%r13, %rbp
	addq	$1, %r13
.L9:
	movapd	%xmm1, %xmm0
	movsd	%xmm1, 8(%rsp)
	call	sqrt@PLT
	cvttsd2siq	%xmm0, %rax
	cmpq	%rax, %r13
	jle	.L25
	jmp	.L12
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE52:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.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:
```
rule
```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	ft_sqrt
	.type	ft_sqrt, @function
ft_sqrt:
.LFB51:
	.cfi_startproc
	endbr64
	xorl	%r8d, %r8d
	testq	%rdi, %rdi
	jle	.L1
	movl	$1, %eax
	.p2align 4,,10
	.p2align 3
.L5:
	testb	$1, %al
	je	.L3
	subq	%rax, %rdi
	addq	$1, %rax
	addq	$1, %r8
	cmpq	%rdi, %rax
	jle	.L5
.L1:
	movq	%r8, %rax
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	addq	$1, %rax
	cmpq	%rax, %rdi
	jge	.L5
	movq	%r8, %rax
	ret
	.cfi_endproc
.LFE51:
	.size	ft_sqrt, .-ft_sqrt
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$40, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	16(%rsp), %rbx
	pxor	%xmm1, %xmm1
	pxor	%xmm0, %xmm0
	cvtsi2sdq	%rbx, %xmm1
	ucomisd	%xmm1, %xmm0
	ja	.L22
	sqrtsd	%xmm1, %xmm1
	movl	$1, %ecx
	cvttsd2siq	%xmm1, %rsi
	testq	%rsi, %rsi
	jle	.L12
	.p2align 4,,10
	.p2align 3
.L11:
	movq	%rbx, %rax
	cqto
	idivq	%rcx
	testq	%rdx, %rdx
	cmove	%rcx, %rbp
	addq	$1, %rcx
	cmpq	%rcx, %rsi
	jge	.L11
.L12:
	movq	%rbx, %rax
	movq	%r12, %rsi
	movl	$1, %edi
	cqto
	idivq	%rbp
	leaq	-2(%rbp,%rax), %rdx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L22:
	.cfi_restore_state
	movl	$1, %r13d
	jmp	.L9
.L25:
	movq	%rbx, %rax
	movsd	8(%rsp), %xmm1
	cqto
	idivq	%r13
	testq	%rdx, %rdx
	cmove	%r13, %rbp
	addq	$1, %r13
.L9:
	movapd	%xmm1, %xmm0
	movsd	%xmm1, 8(%rsp)
	call	sqrt@PLT
	cvttsd2siq	%xmm0, %rax
	cmpq	%rax, %r13
	jle	.L25
	jmp	.L12
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE52:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.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:
```
```c
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
typedef long long ll;

ll ft_sqrt(ll n)
{
	ll i = 1;
	ll cnt = 0;
	while (i <= n)
	{
		if (i % 2)
		{
			n -= i;
			cnt++;
		}
		i++;
	}
	return (cnt);
}

int main(void)
{
	ll N;
	scanf("%lld", &N);
	ll i = 1;
	ll a;
	ll b;
	while (i <= (ll)sqrt((double)N))
	{
		if (N % i == 0)
			a = i;
		i++;
	}
	b = N / a;
	printf("%lld", (a+b) - 2);
	return (0);
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
typedef long long ll;

ll ft_sqrt(ll n)
{
	ll i = 1;
	ll cnt = 0;
	while (i <= n)
	{
		if (i % 2)
		{
			n -= i;
			cnt++;
		}
		i++;
	}
	return (cnt);
}

int main(void)
{
	ll N;
	scanf("%lld", &N);
	ll i = 1;
	ll a;
	ll b;
	while (i <= (ll)sqrt((double)N))
	{
		if (N % i == 0)
			a = i;
		i++;
	}
	b = N / a;
	printf("%lld", (a+b) - 2);
	return (0);
}
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
Optimized Assembly Code:

6069423871
 83
 19
 605667865
 72
 33
 927082247
 40
 5
 223605823

23434326 82 18 82100 15 12 61750 11 4 31934
Given the following C code and assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
typedef long long ll;

ll ft_sqrt(ll n)
{
	ll i = 1;
	ll cnt = 0;
	while (i <= n)
	{
		if (i % 2)
		{
			n -= i;
			cnt++;
		}
		i++;
	}
	return (cnt);
}

int main(void)
{
	ll N;
	scanf("%lld", &N);
	ll i = 1;
	ll a;
	ll b;
	while (i <= (ll)sqrt((double)N))
	{
		if (N % i == 0)
			a = i;
		i++;
	}
	b = N / a;
	printf("%lld", (a+b) - 2);
	return (0);
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	ft_sqrt
	.type	ft_sqrt, @function
ft_sqrt:
.LFB51:
	.cfi_startproc
	endbr64
	xorl	%r8d, %r8d
	testq	%rdi, %rdi
	jle	.L1
	movl	$1, %eax
	.p2align 4,,10
	.p2align 3
.L5:
	testb	$1, %al
	je	.L3
	subq	%rax, %rdi
	addq	$1, %rax
	addq	$1, %r8
	cmpq	%rdi, %rax
	jle	.L5
.L1:
	movq	%r8, %rax
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	addq	$1, %rax
	cmpq	%rax, %rdi
	jge	.L5
	movq	%r8, %rax
	ret
	.cfi_endproc
.LFE51:
	.size	ft_sqrt, .-ft_sqrt
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$40, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	16(%rsp), %rbx
	pxor	%xmm1, %xmm1
	pxor	%xmm0, %xmm0
	cvtsi2sdq	%rbx, %xmm1
	ucomisd	%xmm1, %xmm0
	ja	.L22
	sqrtsd	%xmm1, %xmm1
	movl	$1, %ecx
	cvttsd2siq	%xmm1, %rsi
	testq	%rsi, %rsi
	jle	.L12
	.p2align 4,,10
	.p2align 3
.L11:
	movq	%rbx, %rax
	cqto
	idivq	%rcx
	testq	%rdx, %rdx
	cmove	%rcx, %rbp
	addq	$1, %rcx
	cmpq	%rcx, %rsi
	jge	.L11
.L12:
	movq	%rbx, %rax
	movq	%r12, %rsi
	movl	$1, %edi
	cqto
	idivq	%rbp
	leaq	-2(%rbp,%rax), %rdx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L22:
	.cfi_restore_state
	movl	$1, %r13d
	jmp	.L9
.L25:
	movq	%rbx, %rax
	movsd	8(%rsp), %xmm1
	cqto
	idivq	%r13
	testq	%rdx, %rdx
	cmove	%r13, %rbp
	addq	$1, %r13
.L9:
	movapd	%xmm1, %xmm0
	movsd	%xmm1, 8(%rsp)
	call	sqrt@PLT
	cvttsd2siq	%xmm0, %rax
	cmpq	%rax, %r13
	jle	.L25
	jmp	.L12
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE52:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.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:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
Optimized Assembly Code:

train
```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	ft_sqrt
	.type	ft_sqrt, @function
ft_sqrt:
.LFB51:
	.cfi_startproc
	endbr64
	xorl	%r8d, %r8d
	testq	%rdi, %rdi
	jle	.L1
	movl	$1, %eax
	.p2align 4,,10
	.p2align 3
.L5:
	testb	$1, %al
	je	.L3
	subq	%rax, %rdi
	addq	$1, %rax
	addq	$1, %r8
	cmpq	%rdi, %rax
	jle	.L5
.L1:
	movq	%r8, %rax
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	addq	$1, %rax
	cmpq	%rax, %rdi
	jge	.L5
	movq	%r8, %rax
	ret
	.cfi_endproc
.LFE51:
	.size	ft_sqrt, .-ft_sqrt
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$40, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	16(%rsp), %rbx
	pxor	%xmm1, %xmm1
	pxor	%xmm0, %xmm0
	cvtsi2sdq	%rbx, %xmm1
	ucomisd	%xmm1, %xmm0
	ja	.L22
	sqrtsd	%xmm1, %xmm1
	movl	$1, %ecx
	cvttsd2siq	%xmm1, %rsi
	testq	%rsi, %rsi
	jle	.L12
	.p2align 4,,10
	.p2align 3
.L11:
	movq	%rbx, %rax
	cqto
	idivq	%rcx
	testq	%rdx, %rdx
	cmove	%rcx, %rbp
	addq	$1, %rcx
	cmpq	%rcx, %rsi
	jge	.L11
.L12:
	movq	%rbx, %rax
	movq	%r12, %rsi
	movl	$1, %edi
	cqto
	idivq	%rbp
	leaq	-2(%rbp,%rax), %rdx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L22:
	.cfi_restore_state
	movl	$1, %r13d
	jmp	.L9
.L25:
	movq	%rbx, %rax
	movsd	8(%rsp), %xmm1
	cqto
	idivq	%r13
	testq	%rdx, %rdx
	cmove	%r13, %rbp
	addq	$1, %r13
.L9:
	movapd	%xmm1, %xmm0
	movsd	%xmm1, 8(%rsp)
	call	sqrt@PLT
	cvttsd2siq	%xmm0, %rax
	cmpq	%rax, %r13
	jle	.L25
	jmp	.L12
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE52:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.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:
```