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>
 
int main()
{
  long long int a,b,c,d;
  scanf("%lld %lld %lld %lld",&a,&b,&c,&d);
  
 	//printf("%lld %lld %lld %lld\n",a,b,c,d);
 
  	//printf("%lld",100000000*100000000l);
  
  
    
  if (a<=0 && 0<=b && c<=0 && 0<=d )
  {
    if ( (b*d) >= (a*c) )
    {
    printf("%lld",b*d);
    return 0;
    } else {
    printf("%lld",a*c);
    return 0;  
    }
  }
  
    if (0<=a && d<=0 && c<=0 && d<=0)
  {
    printf("%lld",a*d);
    return 0;
  }
  
   if (a<=0 && b<=0 && 0<=c && 0<=d )
  {
    printf("%lld",b*c);
    return 0;
  }
   
  if (0<=b && 0<=d )
  {
    printf("%lld",b*d);
    return 0;
  }

   
  if (a<=0 && c<=0)
  {
   	printf("%lld",a*c);
   	return 0;
  }
  
  
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%lld %lld %lld %lld"
.LC1:
	.string	"%lld"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.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
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-16(%rbp), %rsi
	leaq	-24(%rbp), %rcx
	leaq	-32(%rbp), %rdx
	leaq	-40(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-40(%rbp), %rax
	testq	%rax, %rax
	jg	.L2
	movq	-32(%rbp), %rax
	testq	%rax, %rax
	js	.L2
	movq	-24(%rbp), %rax
	testq	%rax, %rax
	jg	.L2
	movq	-16(%rbp), %rax
	testq	%rax, %rax
	js	.L2
	movq	-32(%rbp), %rdx
	movq	-16(%rbp), %rax
	imulq	%rax, %rdx
	movq	-40(%rbp), %rcx
	movq	-24(%rbp), %rax
	imulq	%rcx, %rax
	cmpq	%rax, %rdx
	jl	.L3
	movq	-32(%rbp), %rdx
	movq	-16(%rbp), %rax
	imulq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L9
.L3:
	movq	-40(%rbp), %rdx
	movq	-24(%rbp), %rax
	imulq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L9
.L2:
	movq	-40(%rbp), %rax
	testq	%rax, %rax
	js	.L5
	movq	-16(%rbp), %rax
	testq	%rax, %rax
	jg	.L5
	movq	-24(%rbp), %rax
	testq	%rax, %rax
	jg	.L5
	movq	-16(%rbp), %rax
	testq	%rax, %rax
	jg	.L5
	movq	-40(%rbp), %rdx
	movq	-16(%rbp), %rax
	imulq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L9
.L5:
	movq	-40(%rbp), %rax
	testq	%rax, %rax
	jg	.L6
	movq	-32(%rbp), %rax
	testq	%rax, %rax
	jg	.L6
	movq	-24(%rbp), %rax
	testq	%rax, %rax
	js	.L6
	movq	-16(%rbp), %rax
	testq	%rax, %rax
	js	.L6
	movq	-32(%rbp), %rdx
	movq	-24(%rbp), %rax
	imulq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L9
.L6:
	movq	-32(%rbp), %rax
	testq	%rax, %rax
	js	.L7
	movq	-16(%rbp), %rax
	testq	%rax, %rax
	js	.L7
	movq	-32(%rbp), %rdx
	movq	-16(%rbp), %rax
	imulq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L9
.L7:
	movq	-40(%rbp), %rax
	testq	%rax, %rax
	jg	.L8
	movq	-24(%rbp), %rax
	testq	%rax, %rax
	jg	.L8
	movq	-40(%rbp), %rdx
	movq	-24(%rbp), %rax
	imulq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L9
.L8:
	movl	$0, %eax
.L9:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld %lld %lld %lld"
.LC1:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	subq	$56, %rsp
	.cfi_def_cfa_offset 64
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	8(%rsp), %rsi
	leaq	32(%rsp), %r8
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rax
	testq	%rax, %rax
	jle	.L50
	movq	32(%rsp), %rcx
	testq	%rcx, %rcx
	jle	.L51
	movq	16(%rsp), %rdx
	testq	%rdx, %rdx
	jns	.L13
.L6:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L52
	xorl	%eax, %eax
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L51:
	.cfi_restore_state
	cmpq	$0, 24(%rsp)
	jle	.L14
	movq	16(%rsp), %rdx
	testq	%rdx, %rdx
	js	.L6
	testq	%rcx, %rcx
	js	.L6
.L13:
	imulq	%rcx, %rdx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L6
.L50:
	movq	16(%rsp), %rsi
	testq	%rsi, %rsi
	js	.L3
	movq	24(%rsp), %rcx
	testq	%rcx, %rcx
	jle	.L53
.L4:
	testq	%rax, %rax
	je	.L7
	movq	32(%rsp), %rdi
	movq	%rsi, %rdx
	testq	%rsi, %rsi
	jle	.L22
.L10:
	movq	%rdi, %rcx
	testq	%rdi, %rdi
	jns	.L13
	movq	24(%rsp), %rcx
.L12:
	testq	%rcx, %rcx
	jg	.L6
.L14:
	imulq	%rcx, %rax
	movq	%rax, %rdx
.L48:
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L6
.L53:
	movq	32(%rsp), %rdi
	testq	%rdi, %rdi
	js	.L4
	imulq	%rcx, %rax
	imulq	%rdi, %rsi
	movq	%rax, %rdx
	cmpq	%rax, %rsi
	jl	.L48
	movq	%rsi, %rdx
	movl	$1, %edi
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	jmp	.L6
.L3:
	testq	%rax, %rax
	je	.L7
	movq	24(%rsp), %rcx
	testq	%rcx, %rcx
	js	.L14
.L20:
	cmpq	$0, 32(%rsp)
	js	.L12
	movq	%rcx, %rdx
	movl	$1, %edi
	xorl	%eax, %eax
	imulq	%rsi, %rdx
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	jmp	.L6
.L52:
	call	__stack_chk_fail@PLT
.L7:
	movq	32(%rsp), %rdi
	movq	%rdi, %rcx
	testq	%rdi, %rdi
	jle	.L54
	movq	24(%rsp), %rcx
	movq	%rsi, %rdx
	testq	%rsi, %rsi
	jle	.L22
	movq	%rdi, %rcx
	jmp	.L13
.L22:
	testq	%rcx, %rcx
	jns	.L20
	movq	32(%rsp), %rdi
	testq	%rsi, %rsi
	jne	.L14
	jmp	.L10
.L54:
	cmpq	$0, 24(%rsp)
	jle	.L14
	movq	%rsi, %rdx
	testq	%rsi, %rsi
	jg	.L10
	movq	24(%rsp), %rcx
	jmp	.L20
	.cfi_endproc
.LFE39:
	.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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld %lld %lld %lld"
.LC1:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	subq	$56, %rsp
	.cfi_def_cfa_offset 64
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	8(%rsp), %rsi
	leaq	32(%rsp), %r8
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rax
	testq	%rax, %rax
	jle	.L50
	movq	32(%rsp), %rcx
	testq	%rcx, %rcx
	jle	.L51
	movq	16(%rsp), %rdx
	testq	%rdx, %rdx
	jns	.L13
.L6:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L52
	xorl	%eax, %eax
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L51:
	.cfi_restore_state
	cmpq	$0, 24(%rsp)
	jle	.L14
	movq	16(%rsp), %rdx
	testq	%rdx, %rdx
	js	.L6
	testq	%rcx, %rcx
	js	.L6
.L13:
	imulq	%rcx, %rdx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L6
.L50:
	movq	16(%rsp), %rsi
	testq	%rsi, %rsi
	js	.L3
	movq	24(%rsp), %rcx
	testq	%rcx, %rcx
	jle	.L53
.L4:
	testq	%rax, %rax
	je	.L7
	movq	32(%rsp), %rdi
	movq	%rsi, %rdx
	testq	%rsi, %rsi
	jle	.L22
.L10:
	movq	%rdi, %rcx
	testq	%rdi, %rdi
	jns	.L13
	movq	24(%rsp), %rcx
.L12:
	testq	%rcx, %rcx
	jg	.L6
.L14:
	imulq	%rcx, %rax
	movq	%rax, %rdx
.L48:
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L6
.L53:
	movq	32(%rsp), %rdi
	testq	%rdi, %rdi
	js	.L4
	imulq	%rcx, %rax
	imulq	%rdi, %rsi
	movq	%rax, %rdx
	cmpq	%rax, %rsi
	jl	.L48
	movq	%rsi, %rdx
	movl	$1, %edi
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	jmp	.L6
.L3:
	testq	%rax, %rax
	je	.L7
	movq	24(%rsp), %rcx
	testq	%rcx, %rcx
	js	.L14
.L20:
	cmpq	$0, 32(%rsp)
	js	.L12
	movq	%rcx, %rdx
	movl	$1, %edi
	xorl	%eax, %eax
	imulq	%rsi, %rdx
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	jmp	.L6
.L52:
	call	__stack_chk_fail@PLT
.L7:
	movq	32(%rsp), %rdi
	movq	%rdi, %rcx
	testq	%rdi, %rdi
	jle	.L54
	movq	24(%rsp), %rcx
	movq	%rsi, %rdx
	testq	%rsi, %rsi
	jle	.L22
	movq	%rdi, %rcx
	jmp	.L13
.L22:
	testq	%rcx, %rcx
	jns	.L20
	movq	32(%rsp), %rdi
	testq	%rsi, %rsi
	jne	.L14
	jmp	.L10
.L54:
	cmpq	$0, 24(%rsp)
	jle	.L14
	movq	%rsi, %rdx
	testq	%rsi, %rsi
	jg	.L10
	movq	24(%rsp), %rcx
	jmp	.L20
	.cfi_endproc
.LFE39:
	.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>
 
int main()
{
  long long int a,b,c,d;
  scanf("%lld %lld %lld %lld",&a,&b,&c,&d);
  
 	//printf("%lld %lld %lld %lld\n",a,b,c,d);
 
  	//printf("%lld",100000000*100000000l);
  
  
    
  if (a<=0 && 0<=b && c<=0 && 0<=d )
  {
    if ( (b*d) >= (a*c) )
    {
    printf("%lld",b*d);
    return 0;
    } else {
    printf("%lld",a*c);
    return 0;  
    }
  }
  
    if (0<=a && d<=0 && c<=0 && d<=0)
  {
    printf("%lld",a*d);
    return 0;
  }
  
   if (a<=0 && b<=0 && 0<=c && 0<=d )
  {
    printf("%lld",b*c);
    return 0;
  }
   
  if (0<=b && 0<=d )
  {
    printf("%lld",b*d);
    return 0;
  }

   
  if (a<=0 && c<=0)
  {
   	printf("%lld",a*c);
   	return 0;
  }
  
  
  return 0;
}
-452063450 0 -1000000000 0
 1 0 1 1
 5 5 -4 -2
 -452063450 0 -1763699314 0
 5 5 -4 -4
 -452063450 0 -1612807650 0
 0 0 0 1
 -452063450 0 -1164863873 0
 5 5 -1 -4
 -452063450 -1 -2145079035 0

452063450000000000 0 -10 797303996649473300 -20 729091390445392500 0 526592381208741850 -20 969711829084770750
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>
 
int main()
{
  long long int a,b,c,d;
  scanf("%lld %lld %lld %lld",&a,&b,&c,&d);
  
 	//printf("%lld %lld %lld %lld\n",a,b,c,d);
 
  	//printf("%lld",100000000*100000000l);
  
  
    
  if (a<=0 && 0<=b && c<=0 && 0<=d )
  {
    if ( (b*d) >= (a*c) )
    {
    printf("%lld",b*d);
    return 0;
    } else {
    printf("%lld",a*c);
    return 0;  
    }
  }
  
    if (0<=a && d<=0 && c<=0 && d<=0)
  {
    printf("%lld",a*d);
    return 0;
  }
  
   if (a<=0 && b<=0 && 0<=c && 0<=d )
  {
    printf("%lld",b*c);
    return 0;
  }
   
  if (0<=b && 0<=d )
  {
    printf("%lld",b*d);
    return 0;
  }

   
  if (a<=0 && c<=0)
  {
   	printf("%lld",a*c);
   	return 0;
  }
  
  
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%lld %lld %lld %lld"
.LC1:
	.string	"%lld"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.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
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-16(%rbp), %rsi
	leaq	-24(%rbp), %rcx
	leaq	-32(%rbp), %rdx
	leaq	-40(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-40(%rbp), %rax
	testq	%rax, %rax
	jg	.L2
	movq	-32(%rbp), %rax
	testq	%rax, %rax
	js	.L2
	movq	-24(%rbp), %rax
	testq	%rax, %rax
	jg	.L2
	movq	-16(%rbp), %rax
	testq	%rax, %rax
	js	.L2
	movq	-32(%rbp), %rdx
	movq	-16(%rbp), %rax
	imulq	%rax, %rdx
	movq	-40(%rbp), %rcx
	movq	-24(%rbp), %rax
	imulq	%rcx, %rax
	cmpq	%rax, %rdx
	jl	.L3
	movq	-32(%rbp), %rdx
	movq	-16(%rbp), %rax
	imulq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L9
.L3:
	movq	-40(%rbp), %rdx
	movq	-24(%rbp), %rax
	imulq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L9
.L2:
	movq	-40(%rbp), %rax
	testq	%rax, %rax
	js	.L5
	movq	-16(%rbp), %rax
	testq	%rax, %rax
	jg	.L5
	movq	-24(%rbp), %rax
	testq	%rax, %rax
	jg	.L5
	movq	-16(%rbp), %rax
	testq	%rax, %rax
	jg	.L5
	movq	-40(%rbp), %rdx
	movq	-16(%rbp), %rax
	imulq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L9
.L5:
	movq	-40(%rbp), %rax
	testq	%rax, %rax
	jg	.L6
	movq	-32(%rbp), %rax
	testq	%rax, %rax
	jg	.L6
	movq	-24(%rbp), %rax
	testq	%rax, %rax
	js	.L6
	movq	-16(%rbp), %rax
	testq	%rax, %rax
	js	.L6
	movq	-32(%rbp), %rdx
	movq	-24(%rbp), %rax
	imulq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L9
.L6:
	movq	-32(%rbp), %rax
	testq	%rax, %rax
	js	.L7
	movq	-16(%rbp), %rax
	testq	%rax, %rax
	js	.L7
	movq	-32(%rbp), %rdx
	movq	-16(%rbp), %rax
	imulq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L9
.L7:
	movq	-40(%rbp), %rax
	testq	%rax, %rax
	jg	.L8
	movq	-24(%rbp), %rax
	testq	%rax, %rax
	jg	.L8
	movq	-40(%rbp), %rdx
	movq	-24(%rbp), %rax
	imulq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L9
.L8:
	movl	$0, %eax
.L9:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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
	.section	.rodata
.LC0:
	.string	"%lld %lld %lld %lld"
.LC1:
	.string	"%lld"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.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
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-16(%rbp), %rsi
	leaq	-24(%rbp), %rcx
	leaq	-32(%rbp), %rdx
	leaq	-40(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-40(%rbp), %rax
	testq	%rax, %rax
	jg	.L2
	movq	-32(%rbp), %rax
	testq	%rax, %rax
	js	.L2
	movq	-24(%rbp), %rax
	testq	%rax, %rax
	jg	.L2
	movq	-16(%rbp), %rax
	testq	%rax, %rax
	js	.L2
	movq	-32(%rbp), %rdx
	movq	-16(%rbp), %rax
	imulq	%rax, %rdx
	movq	-40(%rbp), %rcx
	movq	-24(%rbp), %rax
	imulq	%rcx, %rax
	cmpq	%rax, %rdx
	jl	.L3
	movq	-32(%rbp), %rdx
	movq	-16(%rbp), %rax
	imulq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L9
.L3:
	movq	-40(%rbp), %rdx
	movq	-24(%rbp), %rax
	imulq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L9
.L2:
	movq	-40(%rbp), %rax
	testq	%rax, %rax
	js	.L5
	movq	-16(%rbp), %rax
	testq	%rax, %rax
	jg	.L5
	movq	-24(%rbp), %rax
	testq	%rax, %rax
	jg	.L5
	movq	-16(%rbp), %rax
	testq	%rax, %rax
	jg	.L5
	movq	-40(%rbp), %rdx
	movq	-16(%rbp), %rax
	imulq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L9
.L5:
	movq	-40(%rbp), %rax
	testq	%rax, %rax
	jg	.L6
	movq	-32(%rbp), %rax
	testq	%rax, %rax
	jg	.L6
	movq	-24(%rbp), %rax
	testq	%rax, %rax
	js	.L6
	movq	-16(%rbp), %rax
	testq	%rax, %rax
	js	.L6
	movq	-32(%rbp), %rdx
	movq	-24(%rbp), %rax
	imulq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L9
.L6:
	movq	-32(%rbp), %rax
	testq	%rax, %rax
	js	.L7
	movq	-16(%rbp), %rax
	testq	%rax, %rax
	js	.L7
	movq	-32(%rbp), %rdx
	movq	-16(%rbp), %rax
	imulq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L9
.L7:
	movq	-40(%rbp), %rax
	testq	%rax, %rax
	jg	.L8
	movq	-24(%rbp), %rax
	testq	%rax, %rax
	jg	.L8
	movq	-40(%rbp), %rdx
	movq	-24(%rbp), %rax
	imulq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L9
.L8:
	movl	$0, %eax
.L9:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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:
