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

```c
#include<stdio.h>
#include<math.h>

int toT(int a,int b,int t)
{
	double x,y;
	y=a*((100.0+t)/100)+0.000000001;
	x=b*((100.0+t)/100)+0.000000001;
	return floor(x)+floor(y);
}

int main()
{
	int x,y,s,i,j,r;
	for(;scanf("%d%d%d",&x,&y,&s),x+y+s;)
	{
		r=0;
		for(i=1;i<s;i++)
			for(j=1;j<s;j++)
			{
				if(toT(i,j,x)==s)
					r=r>toT(i,j,y)?r:toT(i,j,y);
			}
		printf("%d\n",r);
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	toT
	.type	toT, @function
toT:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	%edx, -28(%rbp)
	pxor	%xmm1, %xmm1
	cvtsi2sdl	-20(%rbp), %xmm1
	pxor	%xmm2, %xmm2
	cvtsi2sdl	-28(%rbp), %xmm2
	movsd	.LC0(%rip), %xmm0
	addsd	%xmm2, %xmm0
	movsd	.LC0(%rip), %xmm2
	divsd	%xmm2, %xmm0
	mulsd	%xmm0, %xmm1
	movsd	.LC1(%rip), %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbp)
	pxor	%xmm1, %xmm1
	cvtsi2sdl	-24(%rbp), %xmm1
	pxor	%xmm2, %xmm2
	cvtsi2sdl	-28(%rbp), %xmm2
	movsd	.LC0(%rip), %xmm0
	addsd	%xmm2, %xmm0
	movsd	.LC0(%rip), %xmm2
	divsd	%xmm2, %xmm0
	mulsd	%xmm0, %xmm1
	movsd	.LC1(%rip), %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -8(%rbp)
	movq	-8(%rbp), %rax
	movq	%rax, %xmm0
	call	floor@PLT
	movsd	%xmm0, -40(%rbp)
	movq	-16(%rbp), %rax
	movq	%rax, %xmm0
	call	floor@PLT
	addsd	-40(%rbp), %xmm0
	cvttsd2sil	%xmm0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	toT, .-toT
	.section	.rodata
.LC2:
	.string	"%d\n"
.LC3:
	.string	"%d%d%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	jmp	.L4
.L12:
	movl	$0, -12(%rbp)
	movl	$1, -20(%rbp)
	jmp	.L5
.L11:
	movl	$1, -16(%rbp)
	jmp	.L6
.L10:
	movl	-32(%rbp), %edx
	movl	-16(%rbp), %ecx
	movl	-20(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	toT
	movl	-24(%rbp), %edx
	cmpl	%edx, %eax
	jne	.L7
	movl	-28(%rbp), %edx
	movl	-16(%rbp), %ecx
	movl	-20(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	toT
	cmpl	%eax, -12(%rbp)
	jg	.L8
	movl	-28(%rbp), %edx
	movl	-16(%rbp), %ecx
	movl	-20(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	toT
	jmp	.L9
.L8:
	movl	-12(%rbp), %eax
.L9:
	movl	%eax, -12(%rbp)
.L7:
	addl	$1, -16(%rbp)
.L6:
	movl	-24(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L10
	addl	$1, -20(%rbp)
.L5:
	movl	-24(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jl	.L11
	movl	-12(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L4:
	leaq	-24(%rbp), %rcx
	leaq	-28(%rbp), %rdx
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %eax
	addl	%eax, %edx
	movl	-24(%rbp), %eax
	addl	%edx, %eax
	testl	%eax, %eax
	jne	.L12
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1079574528
	.align 8
.LC1:
	.long	-400107883
	.long	1041313291
	.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.
user
	.file	"temp.c"
	.text
	.p2align 4
	.globl	toT
	.type	toT, @function
toT:
.LFB23:
	.cfi_startproc
	endbr64
	pxor	%xmm2, %xmm2
	movsd	.LC0(%rip), %xmm0
	movsd	.LC1(%rip), %xmm6
	cvtsi2sdl	%edx, %xmm2
	movq	.LC3(%rip), %xmm3
	movsd	.LC2(%rip), %xmm5
	movapd	%xmm3, %xmm4
	addsd	%xmm0, %xmm2
	divsd	%xmm0, %xmm2
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%esi, %xmm0
	mulsd	%xmm2, %xmm0
	addsd	%xmm6, %xmm0
	movapd	%xmm0, %xmm1
	andpd	%xmm3, %xmm1
	ucomisd	%xmm1, %xmm5
	jbe	.L2
	cvttsd2siq	%xmm0, %rax
	pxor	%xmm1, %xmm1
	andnpd	%xmm0, %xmm4
	movsd	.LC4(%rip), %xmm8
	cvtsi2sdq	%rax, %xmm1
	movapd	%xmm1, %xmm7
	cmpnlesd	%xmm0, %xmm7
	andpd	%xmm8, %xmm7
	subsd	%xmm7, %xmm1
	movapd	%xmm1, %xmm0
	orpd	%xmm4, %xmm0
.L2:
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%edi, %xmm1
	mulsd	%xmm2, %xmm1
	addsd	%xmm6, %xmm1
	movapd	%xmm1, %xmm2
	andpd	%xmm3, %xmm2
	ucomisd	%xmm2, %xmm5
	jbe	.L3
	cvttsd2siq	%xmm1, %rax
	pxor	%xmm2, %xmm2
	movsd	.LC4(%rip), %xmm5
	andnpd	%xmm1, %xmm3
	cvtsi2sdq	%rax, %xmm2
	movapd	%xmm2, %xmm4
	cmpnlesd	%xmm1, %xmm4
	andpd	%xmm5, %xmm4
	subsd	%xmm4, %xmm2
	orpd	%xmm3, %xmm2
	movapd	%xmm2, %xmm1
.L3:
	addsd	%xmm1, %xmm0
	cvttsd2sil	%xmm0, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	toT, .-toT
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC5:
	.string	"%d\n"
.LC6:
	.string	"%d%d%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.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
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	.LC6(%rip), %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %r13
	leaq	16(%rsp), %r12
	leaq	12(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%rbp, %rsi
	xorl	%eax, %eax
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %ecx
	movl	16(%rsp), %esi
	movl	20(%rsp), %edx
	leal	(%rcx,%rsi), %eax
	addl	%edx, %eax
	je	.L16
	movq	.LC7(%rip), %rax
	xorl	%r8d, %r8d
	cmpl	$1, %edx
	movq	%rax, %xmm9
	jle	.L18
	pxor	%xmm5, %xmm5
	movsd	.LC0(%rip), %xmm7
	movsd	.LC1(%rip), %xmm3
	xorl	%r8d, %r8d
	cvtsi2sdl	%ecx, %xmm5
	movsd	.LC2(%rip), %xmm2
	movsd	.LC4(%rip), %xmm6
	movl	$1, %ecx
	addsd	%xmm7, %xmm5
	divsd	%xmm7, %xmm5
	.p2align 4,,10
	.p2align 3
.L15:
	pxor	%xmm8, %xmm8
	cvtsi2sdl	%ecx, %xmm8
	movapd	%xmm8, %xmm4
	mulsd	%xmm5, %xmm4
	addsd	%xmm3, %xmm4
	movapd	%xmm4, %xmm0
	andpd	%xmm9, %xmm0
	ucomisd	%xmm0, %xmm2
	jbe	.L7
	cvttsd2siq	%xmm4, %rax
	pxor	%xmm0, %xmm0
	cvtsi2sdq	%rax, %xmm0
	movapd	%xmm0, %xmm1
	cmpnlesd	%xmm4, %xmm1
	andpd	%xmm6, %xmm1
	subsd	%xmm1, %xmm0
	movapd	%xmm9, %xmm1
	andnpd	%xmm4, %xmm1
	movapd	%xmm0, %xmm4
	orpd	%xmm1, %xmm4
.L7:
	movl	$1, %eax
	.p2align 4,,10
	.p2align 3
.L14:
	pxor	%xmm1, %xmm1
	movapd	%xmm5, %xmm0
	cvtsi2sdl	%eax, %xmm1
	mulsd	%xmm1, %xmm0
	addsd	%xmm3, %xmm0
	movapd	%xmm0, %xmm10
	andpd	%xmm9, %xmm10
	ucomisd	%xmm10, %xmm2
	jbe	.L8
	cvttsd2siq	%xmm0, %rdi
	pxor	%xmm10, %xmm10
	cvtsi2sdq	%rdi, %xmm10
	movapd	%xmm10, %xmm11
	cmpnlesd	%xmm0, %xmm11
	andpd	%xmm6, %xmm11
	subsd	%xmm11, %xmm10
	movapd	%xmm9, %xmm11
	andnpd	%xmm0, %xmm11
	movapd	%xmm10, %xmm0
	orpd	%xmm11, %xmm0
.L8:
	addsd	%xmm4, %xmm0
	cvttsd2sil	%xmm0, %edi
	cmpl	%edi, %edx
	je	.L22
	addl	$1, %eax
	cmpl	%eax, %edx
	jne	.L14
	addl	$1, %ecx
	cmpl	%ecx, %edx
	jne	.L15
.L18:
	movl	%r8d, %edx
	leaq	.LC5(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L22:
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%esi, %xmm0
	addsd	%xmm7, %xmm0
	divsd	%xmm7, %xmm0
	mulsd	%xmm0, %xmm1
	addsd	%xmm3, %xmm1
	movapd	%xmm1, %xmm10
	andpd	%xmm9, %xmm10
	ucomisd	%xmm10, %xmm2
	jbe	.L10
	cvttsd2siq	%xmm1, %rdi
	pxor	%xmm10, %xmm10
	cvtsi2sdq	%rdi, %xmm10
	movapd	%xmm10, %xmm11
	cmpnlesd	%xmm1, %xmm11
	andpd	%xmm6, %xmm11
	subsd	%xmm11, %xmm10
	movapd	%xmm9, %xmm11
	andnpd	%xmm1, %xmm11
	movapd	%xmm10, %xmm1
	orpd	%xmm11, %xmm1
.L10:
	mulsd	%xmm8, %xmm0
	addsd	%xmm3, %xmm0
	movapd	%xmm0, %xmm10
	andpd	%xmm9, %xmm10
	ucomisd	%xmm10, %xmm2
	jbe	.L11
	cvttsd2siq	%xmm0, %rdi
	pxor	%xmm10, %xmm10
	cvtsi2sdq	%rdi, %xmm10
	movapd	%xmm10, %xmm11
	cmpnlesd	%xmm0, %xmm11
	andpd	%xmm6, %xmm11
	subsd	%xmm11, %xmm10
	movapd	%xmm9, %xmm11
	andnpd	%xmm0, %xmm11
	movapd	%xmm10, %xmm0
	orpd	%xmm11, %xmm0
.L11:
	addsd	%xmm0, %xmm1
	cvttsd2sil	%xmm1, %edi
	cmpl	%edi, %r8d
	cmovl	%edi, %r8d
	addl	$1, %eax
	cmpl	%eax, %edx
	jne	.L14
	addl	$1, %ecx
	cmpl	%ecx, %edx
	jne	.L15
	jmp	.L18
.L16:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	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
.L23:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1079574528
	.align 8
.LC1:
	.long	-400107883
	.long	1041313291
	.align 8
.LC2:
	.long	0
	.long	1127219200
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC3:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.section	.rodata.cst8
	.align 8
.LC4:
	.long	0
	.long	1072693248
	.set	.LC7,.LC3
	.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
	.file	"temp.c"
	.text
	.p2align 4
	.globl	toT
	.type	toT, @function
toT:
.LFB23:
	.cfi_startproc
	endbr64
	pxor	%xmm2, %xmm2
	movsd	.LC0(%rip), %xmm0
	movsd	.LC1(%rip), %xmm6
	cvtsi2sdl	%edx, %xmm2
	movq	.LC3(%rip), %xmm3
	movsd	.LC2(%rip), %xmm5
	movapd	%xmm3, %xmm4
	addsd	%xmm0, %xmm2
	divsd	%xmm0, %xmm2
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%esi, %xmm0
	mulsd	%xmm2, %xmm0
	addsd	%xmm6, %xmm0
	movapd	%xmm0, %xmm1
	andpd	%xmm3, %xmm1
	ucomisd	%xmm1, %xmm5
	jbe	.L2
	cvttsd2siq	%xmm0, %rax
	pxor	%xmm1, %xmm1
	andnpd	%xmm0, %xmm4
	movsd	.LC4(%rip), %xmm8
	cvtsi2sdq	%rax, %xmm1
	movapd	%xmm1, %xmm7
	cmpnlesd	%xmm0, %xmm7
	andpd	%xmm8, %xmm7
	subsd	%xmm7, %xmm1
	movapd	%xmm1, %xmm0
	orpd	%xmm4, %xmm0
.L2:
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%edi, %xmm1
	mulsd	%xmm2, %xmm1
	addsd	%xmm6, %xmm1
	movapd	%xmm1, %xmm2
	andpd	%xmm3, %xmm2
	ucomisd	%xmm2, %xmm5
	jbe	.L3
	cvttsd2siq	%xmm1, %rax
	pxor	%xmm2, %xmm2
	movsd	.LC4(%rip), %xmm5
	andnpd	%xmm1, %xmm3
	cvtsi2sdq	%rax, %xmm2
	movapd	%xmm2, %xmm4
	cmpnlesd	%xmm1, %xmm4
	andpd	%xmm5, %xmm4
	subsd	%xmm4, %xmm2
	orpd	%xmm3, %xmm2
	movapd	%xmm2, %xmm1
.L3:
	addsd	%xmm1, %xmm0
	cvttsd2sil	%xmm0, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	toT, .-toT
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC5:
	.string	"%d\n"
.LC6:
	.string	"%d%d%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.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
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	.LC6(%rip), %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %r13
	leaq	16(%rsp), %r12
	leaq	12(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%rbp, %rsi
	xorl	%eax, %eax
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %ecx
	movl	16(%rsp), %esi
	movl	20(%rsp), %edx
	leal	(%rcx,%rsi), %eax
	addl	%edx, %eax
	je	.L16
	movq	.LC7(%rip), %rax
	xorl	%r8d, %r8d
	cmpl	$1, %edx
	movq	%rax, %xmm9
	jle	.L18
	pxor	%xmm5, %xmm5
	movsd	.LC0(%rip), %xmm7
	movsd	.LC1(%rip), %xmm3
	xorl	%r8d, %r8d
	cvtsi2sdl	%ecx, %xmm5
	movsd	.LC2(%rip), %xmm2
	movsd	.LC4(%rip), %xmm6
	movl	$1, %ecx
	addsd	%xmm7, %xmm5
	divsd	%xmm7, %xmm5
	.p2align 4,,10
	.p2align 3
.L15:
	pxor	%xmm8, %xmm8
	cvtsi2sdl	%ecx, %xmm8
	movapd	%xmm8, %xmm4
	mulsd	%xmm5, %xmm4
	addsd	%xmm3, %xmm4
	movapd	%xmm4, %xmm0
	andpd	%xmm9, %xmm0
	ucomisd	%xmm0, %xmm2
	jbe	.L7
	cvttsd2siq	%xmm4, %rax
	pxor	%xmm0, %xmm0
	cvtsi2sdq	%rax, %xmm0
	movapd	%xmm0, %xmm1
	cmpnlesd	%xmm4, %xmm1
	andpd	%xmm6, %xmm1
	subsd	%xmm1, %xmm0
	movapd	%xmm9, %xmm1
	andnpd	%xmm4, %xmm1
	movapd	%xmm0, %xmm4
	orpd	%xmm1, %xmm4
.L7:
	movl	$1, %eax
	.p2align 4,,10
	.p2align 3
.L14:
	pxor	%xmm1, %xmm1
	movapd	%xmm5, %xmm0
	cvtsi2sdl	%eax, %xmm1
	mulsd	%xmm1, %xmm0
	addsd	%xmm3, %xmm0
	movapd	%xmm0, %xmm10
	andpd	%xmm9, %xmm10
	ucomisd	%xmm10, %xmm2
	jbe	.L8
	cvttsd2siq	%xmm0, %rdi
	pxor	%xmm10, %xmm10
	cvtsi2sdq	%rdi, %xmm10
	movapd	%xmm10, %xmm11
	cmpnlesd	%xmm0, %xmm11
	andpd	%xmm6, %xmm11
	subsd	%xmm11, %xmm10
	movapd	%xmm9, %xmm11
	andnpd	%xmm0, %xmm11
	movapd	%xmm10, %xmm0
	orpd	%xmm11, %xmm0
.L8:
	addsd	%xmm4, %xmm0
	cvttsd2sil	%xmm0, %edi
	cmpl	%edi, %edx
	je	.L22
	addl	$1, %eax
	cmpl	%eax, %edx
	jne	.L14
	addl	$1, %ecx
	cmpl	%ecx, %edx
	jne	.L15
.L18:
	movl	%r8d, %edx
	leaq	.LC5(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L22:
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%esi, %xmm0
	addsd	%xmm7, %xmm0
	divsd	%xmm7, %xmm0
	mulsd	%xmm0, %xmm1
	addsd	%xmm3, %xmm1
	movapd	%xmm1, %xmm10
	andpd	%xmm9, %xmm10
	ucomisd	%xmm10, %xmm2
	jbe	.L10
	cvttsd2siq	%xmm1, %rdi
	pxor	%xmm10, %xmm10
	cvtsi2sdq	%rdi, %xmm10
	movapd	%xmm10, %xmm11
	cmpnlesd	%xmm1, %xmm11
	andpd	%xmm6, %xmm11
	subsd	%xmm11, %xmm10
	movapd	%xmm9, %xmm11
	andnpd	%xmm1, %xmm11
	movapd	%xmm10, %xmm1
	orpd	%xmm11, %xmm1
.L10:
	mulsd	%xmm8, %xmm0
	addsd	%xmm3, %xmm0
	movapd	%xmm0, %xmm10
	andpd	%xmm9, %xmm10
	ucomisd	%xmm10, %xmm2
	jbe	.L11
	cvttsd2siq	%xmm0, %rdi
	pxor	%xmm10, %xmm10
	cvtsi2sdq	%rdi, %xmm10
	movapd	%xmm10, %xmm11
	cmpnlesd	%xmm0, %xmm11
	andpd	%xmm6, %xmm11
	subsd	%xmm11, %xmm10
	movapd	%xmm9, %xmm11
	andnpd	%xmm0, %xmm11
	movapd	%xmm10, %xmm0
	orpd	%xmm11, %xmm0
.L11:
	addsd	%xmm0, %xmm1
	cvttsd2sil	%xmm1, %edi
	cmpl	%edi, %r8d
	cmovl	%edi, %r8d
	addl	$1, %eax
	cmpl	%eax, %edx
	jne	.L14
	addl	$1, %ecx
	cmpl	%ecx, %edx
	jne	.L15
	jmp	.L18
.L16:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	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
.L23:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1079574528
	.align 8
.LC1:
	.long	-400107883
	.long	1041313291
	.align 8
.LC2:
	.long	0
	.long	1127219200
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC3:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.section	.rodata.cst8
	.align 8
.LC4:
	.long	0
	.long	1072693248
	.set	.LC7,.LC3
	.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:

#include<stdio.h>
#include<math.h>

int toT(int a,int b,int t)
{
	double x,y;
	y=a*((100.0+t)/100)+0.000000001;
	x=b*((100.0+t)/100)+0.000000001;
	return floor(x)+floor(y);
}

int main()
{
	int x,y,s,i,j,r;
	for(;scanf("%d%d%d",&x,&y,&s),x+y+s;)
	{
		r=0;
		for(i=1;i<s;i++)
			for(j=1;j<s;j++)
			{
				if(toT(i,j,x)==s)
					r=r>toT(i,j,y)?r:toT(i,j,y);
			}
		printf("%d\n",r);
	}
	return 0;
}
5 8 105
8 5 105
1 2 24
4 98 24
12 13 26
1 22 23
1 13 201
13 16 112
2 24 50
1 82 61
1 84 125
1 99 999
99 1 999
98 99 999
1 99 11
99 1 12
0 0 0
 5 8 105
8 5 105
1 2 24
4 98 24
12 5 26
1 22 23
1 13 201
13 16 112
2 24 50
1 82 61
1 84 125
1 99 999
99 1 999
98 99 999
1 99 11
99 1 12
0 0 0
 5 8 105
8 5 105
1 2 24
99 98 24
12 13 26
1 22 23
1 19 201
13 16 112
2 24 50
1 82 61
1 84 125
1 99 999
99 1 999
98 99 999
1 99 11
99 1 12
0 0 0
 5 8 105
8 5 105
1 2 24
4 98 24
12 5 26
1 22 23
1 13 201
13 13 112
2 24 50
1 82 61
1 84 125
1 99 999
99 1 999
98 99 999
1 99 11
99 1 12
0 0 0
 5 8 105
8 5 105
1 2 24
4 98 24
12 5 26
1 22 23
1 13 201
13 13 112
3 24 50
1 82 61
1 84 125
1 99 999
99 2 999
98 99 999
1 99 11
99 1 12
0 0 0
 5 8 105
8 5 105
1 2 24
99 98 24
11 13 26
2 22 23
1 19 201
13 16 112
2 24 50
1 82 61
1 84 125
1 99 999
99 1 999
98 99 999
2 99 11
99 1 12
0 0 0
 5 8 105
8 5 105
1 2 24
4 98 24
12 5 26
1 22 23
1 13 201
13 13 112
3 24 50
2 82 61
1 84 125
1 99 999
99 2 999
98 99 999
1 99 11
99 1 12
0 0 0
 5 8 105
8 5 105
1 2 24
99 98 24
11 13 26
2 22 23
1 19 201
13 16 112
2 24 50
1 82 61
1 84 125
1 2 999
99 1 999
98 99 999
2 99 11
99 1 12
0 0 0
 5 8 105
8 5 105
1 2 24
4 98 24
12 5 26
1 22 23
1 13 201
13 13 28
3 24 50
2 82 61
1 84 125
1 99 999
99 2 999
98 99 999
1 99 11
99 1 12
0 0 0
 5 8 105
8 5 105
1 2 24
99 98 24
11 13 26
2 22 23
1 19 201
13 16 112
2 24 14
1 82 61
1 84 125
1 2 999
99 1 999
98 99 999
2 99 11
99 1 12
0 0 0

109
103
24
46
26
27
225
116
62
111
230
1972
508
1004
20
7
 109
103
24
46
25
27
225
116
62
111
230
1972
508
1004
20
7
 109
103
24
24
26
27
237
116
62
111
230
1972
508
1004
20
7
 109
103
24
46
25
27
225
112
62
111
230
1972
508
1004
20
7
 109
103
24
46
25
27
225
112
62
111
230
1972
513
1004
20
7
 109
103
24
24
28
27
237
116
62
111
230
1972
508
1004
20
7
 109
103
24
46
25
27
225
112
62
110
230
1972
513
1004
20
7
 109
103
24
24
28
27
237
116
62
111
230
1009
508
1004
20
7
 109
103
24
46
25
27
225
28
62
110
230
1972
513
1004
20
7
 109
103
24
24
28
27
237
116
17
111
230
1009
508
1004
20
7

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

```c
#include<stdio.h>
#include<math.h>

int toT(int a,int b,int t)
{
	double x,y;
	y=a*((100.0+t)/100)+0.000000001;
	x=b*((100.0+t)/100)+0.000000001;
	return floor(x)+floor(y);
}

int main()
{
	int x,y,s,i,j,r;
	for(;scanf("%d%d%d",&x,&y,&s),x+y+s;)
	{
		r=0;
		for(i=1;i<s;i++)
			for(j=1;j<s;j++)
			{
				if(toT(i,j,x)==s)
					r=r>toT(i,j,y)?r:toT(i,j,y);
			}
		printf("%d\n",r);
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	toT
	.type	toT, @function
toT:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	%edx, -28(%rbp)
	pxor	%xmm1, %xmm1
	cvtsi2sdl	-20(%rbp), %xmm1
	pxor	%xmm2, %xmm2
	cvtsi2sdl	-28(%rbp), %xmm2
	movsd	.LC0(%rip), %xmm0
	addsd	%xmm2, %xmm0
	movsd	.LC0(%rip), %xmm2
	divsd	%xmm2, %xmm0
	mulsd	%xmm0, %xmm1
	movsd	.LC1(%rip), %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbp)
	pxor	%xmm1, %xmm1
	cvtsi2sdl	-24(%rbp), %xmm1
	pxor	%xmm2, %xmm2
	cvtsi2sdl	-28(%rbp), %xmm2
	movsd	.LC0(%rip), %xmm0
	addsd	%xmm2, %xmm0
	movsd	.LC0(%rip), %xmm2
	divsd	%xmm2, %xmm0
	mulsd	%xmm0, %xmm1
	movsd	.LC1(%rip), %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -8(%rbp)
	movq	-8(%rbp), %rax
	movq	%rax, %xmm0
	call	floor@PLT
	movsd	%xmm0, -40(%rbp)
	movq	-16(%rbp), %rax
	movq	%rax, %xmm0
	call	floor@PLT
	addsd	-40(%rbp), %xmm0
	cvttsd2sil	%xmm0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	toT, .-toT
	.section	.rodata
.LC2:
	.string	"%d\n"
.LC3:
	.string	"%d%d%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	jmp	.L4
.L12:
	movl	$0, -12(%rbp)
	movl	$1, -20(%rbp)
	jmp	.L5
.L11:
	movl	$1, -16(%rbp)
	jmp	.L6
.L10:
	movl	-32(%rbp), %edx
	movl	-16(%rbp), %ecx
	movl	-20(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	toT
	movl	-24(%rbp), %edx
	cmpl	%edx, %eax
	jne	.L7
	movl	-28(%rbp), %edx
	movl	-16(%rbp), %ecx
	movl	-20(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	toT
	cmpl	%eax, -12(%rbp)
	jg	.L8
	movl	-28(%rbp), %edx
	movl	-16(%rbp), %ecx
	movl	-20(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	toT
	jmp	.L9
.L8:
	movl	-12(%rbp), %eax
.L9:
	movl	%eax, -12(%rbp)
.L7:
	addl	$1, -16(%rbp)
.L6:
	movl	-24(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L10
	addl	$1, -20(%rbp)
.L5:
	movl	-24(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jl	.L11
	movl	-12(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L4:
	leaq	-24(%rbp), %rcx
	leaq	-28(%rbp), %rdx
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %eax
	addl	%eax, %edx
	movl	-24(%rbp), %eax
	addl	%edx, %eax
	testl	%eax, %eax
	jne	.L12
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1079574528
	.align 8
.LC1:
	.long	-400107883
	.long	1041313291
	.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.
train
	.file	"temp.c"
	.text
	.globl	toT
	.type	toT, @function
toT:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	%edx, -28(%rbp)
	pxor	%xmm1, %xmm1
	cvtsi2sdl	-20(%rbp), %xmm1
	pxor	%xmm2, %xmm2
	cvtsi2sdl	-28(%rbp), %xmm2
	movsd	.LC0(%rip), %xmm0
	addsd	%xmm2, %xmm0
	movsd	.LC0(%rip), %xmm2
	divsd	%xmm2, %xmm0
	mulsd	%xmm0, %xmm1
	movsd	.LC1(%rip), %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbp)
	pxor	%xmm1, %xmm1
	cvtsi2sdl	-24(%rbp), %xmm1
	pxor	%xmm2, %xmm2
	cvtsi2sdl	-28(%rbp), %xmm2
	movsd	.LC0(%rip), %xmm0
	addsd	%xmm2, %xmm0
	movsd	.LC0(%rip), %xmm2
	divsd	%xmm2, %xmm0
	mulsd	%xmm0, %xmm1
	movsd	.LC1(%rip), %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -8(%rbp)
	movq	-8(%rbp), %rax
	movq	%rax, %xmm0
	call	floor@PLT
	movsd	%xmm0, -40(%rbp)
	movq	-16(%rbp), %rax
	movq	%rax, %xmm0
	call	floor@PLT
	addsd	-40(%rbp), %xmm0
	cvttsd2sil	%xmm0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	toT, .-toT
	.section	.rodata
.LC2:
	.string	"%d\n"
.LC3:
	.string	"%d%d%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	jmp	.L4
.L12:
	movl	$0, -12(%rbp)
	movl	$1, -20(%rbp)
	jmp	.L5
.L11:
	movl	$1, -16(%rbp)
	jmp	.L6
.L10:
	movl	-32(%rbp), %edx
	movl	-16(%rbp), %ecx
	movl	-20(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	toT
	movl	-24(%rbp), %edx
	cmpl	%edx, %eax
	jne	.L7
	movl	-28(%rbp), %edx
	movl	-16(%rbp), %ecx
	movl	-20(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	toT
	cmpl	%eax, -12(%rbp)
	jg	.L8
	movl	-28(%rbp), %edx
	movl	-16(%rbp), %ecx
	movl	-20(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	toT
	jmp	.L9
.L8:
	movl	-12(%rbp), %eax
.L9:
	movl	%eax, -12(%rbp)
.L7:
	addl	$1, -16(%rbp)
.L6:
	movl	-24(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L10
	addl	$1, -20(%rbp)
.L5:
	movl	-24(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jl	.L11
	movl	-12(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L4:
	leaq	-24(%rbp), %rcx
	leaq	-28(%rbp), %rdx
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %eax
	addl	%eax, %edx
	movl	-24(%rbp), %eax
	addl	%edx, %eax
	testl	%eax, %eax
	jne	.L12
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1079574528
	.align 8
.LC1:
	.long	-400107883
	.long	1041313291
	.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:
