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 <stdlib.h>
#include <math.h>


int after_tax(int value, int tax) {
  return value * (100 + tax) / 100;
}

int main(int argc, char *argv[])
{
  int tax_1, tax_2, a, b, sum;
 
  int d = 0;
  
  while(!feof(stdin)) {
    fscanf(stdin, "%d", &d);
    tax_1 = d;
    fscanf(stdin, "%d", &d);
    tax_2 = d;
    fscanf(stdin, "%d", &d);
    sum = d;

    if (tax_1 == 0 && tax_2 == 0 && sum == 0) break;
    int current_max = 0;
    int tax1_sum;
    int tax2_sum;
    for (a = 1; a < sum; a++) {
      for (b = 1; b < sum; b++) {
	tax1_sum = after_tax(a, tax_1) + after_tax(b, tax_1);
	if (tax1_sum == sum) {
	  tax2_sum = after_tax(a, tax_2) + after_tax(b, tax_2);
	  if (tax2_sum > current_max) current_max = tax2_sum;
	}
      }
    }
    printf("%d\n", current_max);
  }
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	after_tax
	.type	after_tax, @function
after_tax:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	-8(%rbp), %eax
	addl	$100, %eax
	imull	-4(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1374389535, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$5, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	after_tax, .-after_tax
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset 3, -24
	movl	%edi, -68(%rbp)
	movq	%rsi, -80(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	movl	$0, -60(%rbp)
	jmp	.L4
.L12:
	movq	stdin(%rip), %rax
	leaq	-60(%rbp), %rdx
	leaq	.LC0(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_fscanf@PLT
	movl	-60(%rbp), %eax
	movl	%eax, -44(%rbp)
	movq	stdin(%rip), %rax
	leaq	-60(%rbp), %rdx
	leaq	.LC0(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_fscanf@PLT
	movl	-60(%rbp), %eax
	movl	%eax, -40(%rbp)
	movq	stdin(%rip), %rax
	leaq	-60(%rbp), %rdx
	leaq	.LC0(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_fscanf@PLT
	movl	-60(%rbp), %eax
	movl	%eax, -36(%rbp)
	cmpl	$0, -44(%rbp)
	jne	.L5
	cmpl	$0, -40(%rbp)
	jne	.L5
	cmpl	$0, -36(%rbp)
	je	.L15
.L5:
	movl	$0, -48(%rbp)
	movl	$1, -56(%rbp)
	jmp	.L7
.L11:
	movl	$1, -52(%rbp)
	jmp	.L8
.L10:
	movl	-44(%rbp), %edx
	movl	-56(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	after_tax
	movl	%eax, %ebx
	movl	-44(%rbp), %edx
	movl	-52(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	after_tax
	addl	%ebx, %eax
	movl	%eax, -32(%rbp)
	movl	-32(%rbp), %eax
	cmpl	-36(%rbp), %eax
	jne	.L9
	movl	-40(%rbp), %edx
	movl	-56(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	after_tax
	movl	%eax, %ebx
	movl	-40(%rbp), %edx
	movl	-52(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	after_tax
	addl	%ebx, %eax
	movl	%eax, -28(%rbp)
	movl	-28(%rbp), %eax
	cmpl	-48(%rbp), %eax
	jle	.L9
	movl	-28(%rbp), %eax
	movl	%eax, -48(%rbp)
.L9:
	addl	$1, -52(%rbp)
.L8:
	movl	-52(%rbp), %eax
	cmpl	-36(%rbp), %eax
	jl	.L10
	addl	$1, -56(%rbp)
.L7:
	movl	-56(%rbp), %eax
	cmpl	-36(%rbp), %eax
	jl	.L11
	movl	-48(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L4:
	movq	stdin(%rip), %rax
	movq	%rax, %rdi
	call	feof@PLT
	testl	%eax, %eax
	je	.L12
	jmp	.L6
.L15:
	nop
.L6:
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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.
user
	.file	"temp.c"
	.text
	.p2align 4
	.globl	after_tax
	.type	after_tax, @function
after_tax:
.LFB39:
	.cfi_startproc
	endbr64
	addl	$100, %esi
	imull	%edi, %esi
	movslq	%esi, %rax
	sarl	$31, %esi
	imulq	$1374389535, %rax, %rax
	sarq	$37, %rax
	subl	%esi, %eax
	ret
	.cfi_endproc
.LFE39:
	.size	after_tax, .-after_tax
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	movl	$0, 4(%rsp)
	leaq	4(%rsp), %rbx
	.p2align 4,,10
	.p2align 3
.L4:
	movq	stdin(%rip), %rdi
	call	feof@PLT
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	.L13
	movq	stdin(%rip), %rdi
	movq	%rbx, %rdx
	leaq	.LC0(%rip), %rsi
	xorl	%eax, %eax
	call	__isoc99_fscanf@PLT
	movq	%rbx, %rdx
	xorl	%eax, %eax
	movl	4(%rsp), %ebp
	movq	stdin(%rip), %rdi
	leaq	.LC0(%rip), %rsi
	call	__isoc99_fscanf@PLT
	movl	4(%rsp), %r13d
	xorl	%eax, %eax
	movq	%rbx, %rdx
	movq	stdin(%rip), %rdi
	leaq	.LC0(%rip), %rsi
	call	__isoc99_fscanf@PLT
	movl	4(%rsp), %edi
	movl	%ebp, %eax
	orl	%r13d, %eax
	orl	%edi, %eax
	je	.L13
	cmpl	$1, %edi
	jle	.L6
	leal	100(%r13), %r10d
	leal	100(%rbp), %r9d
	movl	$1, %r14d
	movl	%r10d, %r13d
	movl	%r9d, %ebp
	.p2align 4,,10
	.p2align 3
.L11:
	movslq	%ebp, %r8
	movslq	%r13d, %r11
	movl	%ebp, %eax
	movl	%r10d, %esi
	imulq	$1374389535, %r8, %r8
	sarl	$31, %eax
	movl	%r9d, %edx
	movl	$1, %ecx
	imulq	$1374389535, %r11, %r11
	sarq	$37, %r8
	subl	%eax, %r8d
	movl	%r13d, %eax
	sarq	$37, %r11
	sarl	$31, %eax
	subl	%eax, %r11d
	.p2align 4,,10
	.p2align 3
.L10:
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1374389535, %rax, %rax
	sarl	$31, %r15d
	sarq	$37, %rax
	subl	%r15d, %eax
	addl	%r8d, %eax
	cmpl	%eax, %edi
	jne	.L7
	movslq	%esi, %rax
	movl	%esi, %r15d
	imulq	$1374389535, %rax, %rax
	sarl	$31, %r15d
	sarq	$37, %rax
	subl	%r15d, %eax
	addl	%r11d, %eax
	cmpl	%eax, %r12d
	cmovl	%eax, %r12d
.L7:
	addl	$1, %ecx
	addl	%r9d, %edx
	addl	%r10d, %esi
	cmpl	%ecx, %edi
	jne	.L10
	addl	$1, %r14d
	addl	%r9d, %ebp
	addl	%r10d, %r13d
	cmpl	%r14d, %edi
	jne	.L11
.L6:
	movl	%r12d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L4
.L13:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L18:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.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
	.file	"temp.c"
	.text
	.p2align 4
	.globl	after_tax
	.type	after_tax, @function
after_tax:
.LFB39:
	.cfi_startproc
	endbr64
	addl	$100, %esi
	imull	%edi, %esi
	movslq	%esi, %rax
	sarl	$31, %esi
	imulq	$1374389535, %rax, %rax
	sarq	$37, %rax
	subl	%esi, %eax
	ret
	.cfi_endproc
.LFE39:
	.size	after_tax, .-after_tax
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	movl	$0, 4(%rsp)
	leaq	4(%rsp), %rbx
	.p2align 4,,10
	.p2align 3
.L4:
	movq	stdin(%rip), %rdi
	call	feof@PLT
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	.L13
	movq	stdin(%rip), %rdi
	movq	%rbx, %rdx
	leaq	.LC0(%rip), %rsi
	xorl	%eax, %eax
	call	__isoc99_fscanf@PLT
	movq	%rbx, %rdx
	xorl	%eax, %eax
	movl	4(%rsp), %ebp
	movq	stdin(%rip), %rdi
	leaq	.LC0(%rip), %rsi
	call	__isoc99_fscanf@PLT
	movl	4(%rsp), %r13d
	xorl	%eax, %eax
	movq	%rbx, %rdx
	movq	stdin(%rip), %rdi
	leaq	.LC0(%rip), %rsi
	call	__isoc99_fscanf@PLT
	movl	4(%rsp), %edi
	movl	%ebp, %eax
	orl	%r13d, %eax
	orl	%edi, %eax
	je	.L13
	cmpl	$1, %edi
	jle	.L6
	leal	100(%r13), %r10d
	leal	100(%rbp), %r9d
	movl	$1, %r14d
	movl	%r10d, %r13d
	movl	%r9d, %ebp
	.p2align 4,,10
	.p2align 3
.L11:
	movslq	%ebp, %r8
	movslq	%r13d, %r11
	movl	%ebp, %eax
	movl	%r10d, %esi
	imulq	$1374389535, %r8, %r8
	sarl	$31, %eax
	movl	%r9d, %edx
	movl	$1, %ecx
	imulq	$1374389535, %r11, %r11
	sarq	$37, %r8
	subl	%eax, %r8d
	movl	%r13d, %eax
	sarq	$37, %r11
	sarl	$31, %eax
	subl	%eax, %r11d
	.p2align 4,,10
	.p2align 3
.L10:
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1374389535, %rax, %rax
	sarl	$31, %r15d
	sarq	$37, %rax
	subl	%r15d, %eax
	addl	%r8d, %eax
	cmpl	%eax, %edi
	jne	.L7
	movslq	%esi, %rax
	movl	%esi, %r15d
	imulq	$1374389535, %rax, %rax
	sarl	$31, %r15d
	sarq	$37, %rax
	subl	%r15d, %eax
	addl	%r11d, %eax
	cmpl	%eax, %r12d
	cmovl	%eax, %r12d
.L7:
	addl	$1, %ecx
	addl	%r9d, %edx
	addl	%r10d, %esi
	cmpl	%ecx, %edi
	jne	.L10
	addl	$1, %r14d
	addl	%r9d, %ebp
	addl	%r10d, %r13d
	cmpl	%r14d, %edi
	jne	.L11
.L6:
	movl	%r12d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L4
.L13:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L18:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.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:

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


int after_tax(int value, int tax) {
  return value * (100 + tax) / 100;
}

int main(int argc, char *argv[])
{
  int tax_1, tax_2, a, b, sum;
 
  int d = 0;
  
  while(!feof(stdin)) {
    fscanf(stdin, "%d", &d);
    tax_1 = d;
    fscanf(stdin, "%d", &d);
    tax_2 = d;
    fscanf(stdin, "%d", &d);
    sum = d;

    if (tax_1 == 0 && tax_2 == 0 && sum == 0) break;
    int current_max = 0;
    int tax1_sum;
    int tax2_sum;
    for (a = 1; a < sum; a++) {
      for (b = 1; b < sum; b++) {
	tax1_sum = after_tax(a, tax_1) + after_tax(b, tax_1);
	if (tax1_sum == sum) {
	  tax2_sum = after_tax(a, tax_2) + after_tax(b, tax_2);
	  if (tax2_sum > current_max) current_max = tax2_sum;
	}
      }
    }
    printf("%d\n", current_max);
  }
  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 <stdlib.h>
#include <math.h>


int after_tax(int value, int tax) {
  return value * (100 + tax) / 100;
}

int main(int argc, char *argv[])
{
  int tax_1, tax_2, a, b, sum;
 
  int d = 0;
  
  while(!feof(stdin)) {
    fscanf(stdin, "%d", &d);
    tax_1 = d;
    fscanf(stdin, "%d", &d);
    tax_2 = d;
    fscanf(stdin, "%d", &d);
    sum = d;

    if (tax_1 == 0 && tax_2 == 0 && sum == 0) break;
    int current_max = 0;
    int tax1_sum;
    int tax2_sum;
    for (a = 1; a < sum; a++) {
      for (b = 1; b < sum; b++) {
	tax1_sum = after_tax(a, tax_1) + after_tax(b, tax_1);
	if (tax1_sum == sum) {
	  tax2_sum = after_tax(a, tax_2) + after_tax(b, tax_2);
	  if (tax2_sum > current_max) current_max = tax2_sum;
	}
      }
    }
    printf("%d\n", current_max);
  }
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	after_tax
	.type	after_tax, @function
after_tax:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	-8(%rbp), %eax
	addl	$100, %eax
	imull	-4(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1374389535, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$5, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	after_tax, .-after_tax
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset 3, -24
	movl	%edi, -68(%rbp)
	movq	%rsi, -80(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	movl	$0, -60(%rbp)
	jmp	.L4
.L12:
	movq	stdin(%rip), %rax
	leaq	-60(%rbp), %rdx
	leaq	.LC0(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_fscanf@PLT
	movl	-60(%rbp), %eax
	movl	%eax, -44(%rbp)
	movq	stdin(%rip), %rax
	leaq	-60(%rbp), %rdx
	leaq	.LC0(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_fscanf@PLT
	movl	-60(%rbp), %eax
	movl	%eax, -40(%rbp)
	movq	stdin(%rip), %rax
	leaq	-60(%rbp), %rdx
	leaq	.LC0(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_fscanf@PLT
	movl	-60(%rbp), %eax
	movl	%eax, -36(%rbp)
	cmpl	$0, -44(%rbp)
	jne	.L5
	cmpl	$0, -40(%rbp)
	jne	.L5
	cmpl	$0, -36(%rbp)
	je	.L15
.L5:
	movl	$0, -48(%rbp)
	movl	$1, -56(%rbp)
	jmp	.L7
.L11:
	movl	$1, -52(%rbp)
	jmp	.L8
.L10:
	movl	-44(%rbp), %edx
	movl	-56(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	after_tax
	movl	%eax, %ebx
	movl	-44(%rbp), %edx
	movl	-52(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	after_tax
	addl	%ebx, %eax
	movl	%eax, -32(%rbp)
	movl	-32(%rbp), %eax
	cmpl	-36(%rbp), %eax
	jne	.L9
	movl	-40(%rbp), %edx
	movl	-56(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	after_tax
	movl	%eax, %ebx
	movl	-40(%rbp), %edx
	movl	-52(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	after_tax
	addl	%ebx, %eax
	movl	%eax, -28(%rbp)
	movl	-28(%rbp), %eax
	cmpl	-48(%rbp), %eax
	jle	.L9
	movl	-28(%rbp), %eax
	movl	%eax, -48(%rbp)
.L9:
	addl	$1, -52(%rbp)
.L8:
	movl	-52(%rbp), %eax
	cmpl	-36(%rbp), %eax
	jl	.L10
	addl	$1, -56(%rbp)
.L7:
	movl	-56(%rbp), %eax
	cmpl	-36(%rbp), %eax
	jl	.L11
	movl	-48(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L4:
	movq	stdin(%rip), %rax
	movq	%rax, %rdi
	call	feof@PLT
	testl	%eax, %eax
	je	.L12
	jmp	.L6
.L15:
	nop
.L6:
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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.
train
	.file	"temp.c"
	.text
	.globl	after_tax
	.type	after_tax, @function
after_tax:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	-8(%rbp), %eax
	addl	$100, %eax
	imull	-4(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1374389535, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$5, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	after_tax, .-after_tax
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset 3, -24
	movl	%edi, -68(%rbp)
	movq	%rsi, -80(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	movl	$0, -60(%rbp)
	jmp	.L4
.L12:
	movq	stdin(%rip), %rax
	leaq	-60(%rbp), %rdx
	leaq	.LC0(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_fscanf@PLT
	movl	-60(%rbp), %eax
	movl	%eax, -44(%rbp)
	movq	stdin(%rip), %rax
	leaq	-60(%rbp), %rdx
	leaq	.LC0(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_fscanf@PLT
	movl	-60(%rbp), %eax
	movl	%eax, -40(%rbp)
	movq	stdin(%rip), %rax
	leaq	-60(%rbp), %rdx
	leaq	.LC0(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_fscanf@PLT
	movl	-60(%rbp), %eax
	movl	%eax, -36(%rbp)
	cmpl	$0, -44(%rbp)
	jne	.L5
	cmpl	$0, -40(%rbp)
	jne	.L5
	cmpl	$0, -36(%rbp)
	je	.L15
.L5:
	movl	$0, -48(%rbp)
	movl	$1, -56(%rbp)
	jmp	.L7
.L11:
	movl	$1, -52(%rbp)
	jmp	.L8
.L10:
	movl	-44(%rbp), %edx
	movl	-56(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	after_tax
	movl	%eax, %ebx
	movl	-44(%rbp), %edx
	movl	-52(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	after_tax
	addl	%ebx, %eax
	movl	%eax, -32(%rbp)
	movl	-32(%rbp), %eax
	cmpl	-36(%rbp), %eax
	jne	.L9
	movl	-40(%rbp), %edx
	movl	-56(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	after_tax
	movl	%eax, %ebx
	movl	-40(%rbp), %edx
	movl	-52(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	after_tax
	addl	%ebx, %eax
	movl	%eax, -28(%rbp)
	movl	-28(%rbp), %eax
	cmpl	-48(%rbp), %eax
	jle	.L9
	movl	-28(%rbp), %eax
	movl	%eax, -48(%rbp)
.L9:
	addl	$1, -52(%rbp)
.L8:
	movl	-52(%rbp), %eax
	cmpl	-36(%rbp), %eax
	jl	.L10
	addl	$1, -56(%rbp)
.L7:
	movl	-56(%rbp), %eax
	cmpl	-36(%rbp), %eax
	jl	.L11
	movl	-48(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L4:
	movq	stdin(%rip), %rax
	movq	%rax, %rdi
	call	feof@PLT
	testl	%eax, %eax
	je	.L12
	jmp	.L6
.L15:
	nop
.L6:
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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:
