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<stdlib.h>

#define max(a,b) ((a)>(b)?(a):(b))

int main(){
		int n,i,j,k,h;
		long xyz[100][3],ans[3],highest=0;
		scanf("%d",&n);
		for(i=0;i<n;i++){
				scanf("%ld%ld%ld",&xyz[i][0],&xyz[i][1],&xyz[i][2]);
				highest=max(highest,xyz[i][2]);
		}
		for(k=highest;;k++){
				for(i=0;i<=100;i++){
						for(j=0;j<=100;j++){
						int f=0;
								for(h=0;h<n;h++){
										if(xyz[h][2]!=max(k-abs(xyz[h][0]-i)-abs(xyz[h][1]-j),0)){
												f=1;
												break;
										}
								}
								if(f==0){
										printf("%ld %ld %ld\n",i,j,k);
										return 0;
								}
						}
				}
		}
		return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%ld%ld%ld"
.LC2:
	.string	"%ld %ld %ld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %rdi
	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
	subq	$2440, %rsp
	.cfi_def_cfa_offset 2480
	movq	%fs:40, %rax
	movq	%rax, 2424(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r11d
	testl	%r11d, %r11d
	jle	.L14
	leaq	32(%rsp), %rbx
	xorl	%ebp, %ebp
	xorl	%r12d, %r12d
	leaq	.LC1(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	-8(%rbx), %rdx
	leaq	-16(%rbx), %rsi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	movq	(%rbx), %rax
	movl	12(%rsp), %r11d
	cmpq	%rax, %rbp
	cmovl	%rax, %rbp
	addl	$1, %r12d
	addq	$24, %rbx
	cmpl	%r12d, %r11d
	jg	.L3
.L2:
	leal	-1(%r11), %eax
	movl	%ebp, %r8d
	leaq	16(%rsp), %rbx
	leaq	(%rax,%rax,2), %rax
	leaq	40(%rsp,%rax,8), %rdi
.L11:
	xorl	%r10d, %r10d
.L4:
	xorl	%r9d, %r9d
	.p2align 4,,10
	.p2align 3
.L10:
	testl	%r11d, %r11d
	jle	.L7
	movq	%rbx, %rcx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L22:
	addq	$24, %rcx
	cmpq	%rcx, %rdi
	je	.L7
.L6:
	movl	(%rcx), %eax
	subl	%r10d, %eax
	movl	%eax, %edx
	negl	%edx
	cmovs	%eax, %edx
	movl	%r8d, %eax
	subl	%edx, %eax
	movl	8(%rcx), %edx
	subl	%r9d, %edx
	movl	%edx, %esi
	negl	%esi
	cmovns	%esi, %edx
	subl	%edx, %eax
	movl	$0, %edx
	cmovs	%edx, %eax
	cltq
	cmpq	%rax, 16(%rcx)
	je	.L22
	addl	$1, %r9d
	cmpl	$101, %r9d
	jne	.L10
	addl	$1, %r10d
	cmpl	$101, %r10d
	jne	.L4
	addl	$1, %r8d
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L7:
	xorl	%eax, %eax
	movl	%r9d, %ecx
	movl	%r10d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	2424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	addq	$2440, %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
.L14:
	.cfi_restore_state
	xorl	%ebp, %ebp
	jmp	.L2
.L23:
	call	__stack_chk_fail@PLT
	.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:
```

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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%ld%ld%ld"
.LC2:
	.string	"%ld %ld %ld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %rdi
	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
	subq	$2440, %rsp
	.cfi_def_cfa_offset 2480
	movq	%fs:40, %rax
	movq	%rax, 2424(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r11d
	testl	%r11d, %r11d
	jle	.L14
	leaq	32(%rsp), %rbx
	xorl	%ebp, %ebp
	xorl	%r12d, %r12d
	leaq	.LC1(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	-8(%rbx), %rdx
	leaq	-16(%rbx), %rsi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	movq	(%rbx), %rax
	movl	12(%rsp), %r11d
	cmpq	%rax, %rbp
	cmovl	%rax, %rbp
	addl	$1, %r12d
	addq	$24, %rbx
	cmpl	%r12d, %r11d
	jg	.L3
.L2:
	leal	-1(%r11), %eax
	movl	%ebp, %r8d
	leaq	16(%rsp), %rbx
	leaq	(%rax,%rax,2), %rax
	leaq	40(%rsp,%rax,8), %rdi
.L11:
	xorl	%r10d, %r10d
.L4:
	xorl	%r9d, %r9d
	.p2align 4,,10
	.p2align 3
.L10:
	testl	%r11d, %r11d
	jle	.L7
	movq	%rbx, %rcx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L22:
	addq	$24, %rcx
	cmpq	%rcx, %rdi
	je	.L7
.L6:
	movl	(%rcx), %eax
	subl	%r10d, %eax
	movl	%eax, %edx
	negl	%edx
	cmovs	%eax, %edx
	movl	%r8d, %eax
	subl	%edx, %eax
	movl	8(%rcx), %edx
	subl	%r9d, %edx
	movl	%edx, %esi
	negl	%esi
	cmovns	%esi, %edx
	subl	%edx, %eax
	movl	$0, %edx
	cmovs	%edx, %eax
	cltq
	cmpq	%rax, 16(%rcx)
	je	.L22
	addl	$1, %r9d
	cmpl	$101, %r9d
	jne	.L10
	addl	$1, %r10d
	cmpl	$101, %r10d
	jne	.L4
	addl	$1, %r8d
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L7:
	xorl	%eax, %eax
	movl	%r9d, %ecx
	movl	%r10d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	2424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	addq	$2440, %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
.L14:
	.cfi_restore_state
	xorl	%ebp, %ebp
	jmp	.L2
.L23:
	call	__stack_chk_fail@PLT
	.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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%ld%ld%ld"
.LC2:
	.string	"%ld %ld %ld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %rdi
	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
	subq	$2440, %rsp
	.cfi_def_cfa_offset 2480
	movq	%fs:40, %rax
	movq	%rax, 2424(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r11d
	testl	%r11d, %r11d
	jle	.L14
	leaq	32(%rsp), %rbx
	xorl	%ebp, %ebp
	xorl	%r12d, %r12d
	leaq	.LC1(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	-8(%rbx), %rdx
	leaq	-16(%rbx), %rsi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	movq	(%rbx), %rax
	movl	12(%rsp), %r11d
	cmpq	%rax, %rbp
	cmovl	%rax, %rbp
	addl	$1, %r12d
	addq	$24, %rbx
	cmpl	%r12d, %r11d
	jg	.L3
.L2:
	leal	-1(%r11), %eax
	movl	%ebp, %r8d
	leaq	16(%rsp), %rbx
	leaq	(%rax,%rax,2), %rax
	leaq	40(%rsp,%rax,8), %rdi
.L11:
	xorl	%r10d, %r10d
.L4:
	xorl	%r9d, %r9d
	.p2align 4,,10
	.p2align 3
.L10:
	testl	%r11d, %r11d
	jle	.L7
	movq	%rbx, %rcx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L22:
	addq	$24, %rcx
	cmpq	%rcx, %rdi
	je	.L7
.L6:
	movl	(%rcx), %eax
	subl	%r10d, %eax
	movl	%eax, %edx
	negl	%edx
	cmovs	%eax, %edx
	movl	%r8d, %eax
	subl	%edx, %eax
	movl	8(%rcx), %edx
	subl	%r9d, %edx
	movl	%edx, %esi
	negl	%esi
	cmovns	%esi, %edx
	subl	%edx, %eax
	movl	$0, %edx
	cmovs	%edx, %eax
	cltq
	cmpq	%rax, 16(%rcx)
	je	.L22
	addl	$1, %r9d
	cmpl	$101, %r9d
	jne	.L10
	addl	$1, %r10d
	cmpl	$101, %r10d
	jne	.L4
	addl	$1, %r8d
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L7:
	xorl	%eax, %eax
	movl	%r9d, %ecx
	movl	%r10d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	2424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	addq	$2440, %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
.L14:
	.cfi_restore_state
	xorl	%ebp, %ebp
	jmp	.L2
.L23:
	call	__stack_chk_fail@PLT
	.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:
```
```c
#include<stdio.h>
#include<stdlib.h>

#define max(a,b) ((a)>(b)?(a):(b))

int main(){
		int n,i,j,k,h;
		long xyz[100][3],ans[3],highest=0;
		scanf("%d",&n);
		for(i=0;i<n;i++){
				scanf("%ld%ld%ld",&xyz[i][0],&xyz[i][1],&xyz[i][2]);
				highest=max(highest,xyz[i][2]);
		}
		for(k=highest;;k++){
				for(i=0;i<=100;i++){
						for(j=0;j<=100;j++){
						int f=0;
								for(h=0;h<n;h++){
										if(xyz[h][2]!=max(k-abs(xyz[h][0]-i)-abs(xyz[h][1]-j),0)){
												f=1;
												break;
										}
								}
								if(f==0){
										printf("%ld %ld %ld\n",i,j,k);
										return 0;
								}
						}
				}
		}
		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<stdlib.h>

#define max(a,b) ((a)>(b)?(a):(b))

int main(){
		int n,i,j,k,h;
		long xyz[100][3],ans[3],highest=0;
		scanf("%d",&n);
		for(i=0;i<n;i++){
				scanf("%ld%ld%ld",&xyz[i][0],&xyz[i][1],&xyz[i][2]);
				highest=max(highest,xyz[i][2]);
		}
		for(k=highest;;k++){
				for(i=0;i<=100;i++){
						for(j=0;j<=100;j++){
						int f=0;
								for(h=0;h<n;h++){
										if(xyz[h][2]!=max(k-abs(xyz[h][0]-i)-abs(xyz[h][1]-j),0)){
												f=1;
												break;
										}
								}
								if(f==0){
										printf("%ld %ld %ld\n",i,j,k);
										return 0;
								}
						}
				}
		}
		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:

2
-1 0 100
2 1 98
 3
99 1 191
000 1 192
99 0 192
 2
-2 0 100
2 2 98
 3
99 1 191
000 1 154
99 0 192
 3
99 1 191
000 1 210
99 0 192
 2
-1 -1 101
2 3 98
 3
99 1 191
000 1 180
99 0 192
 3
99 1 191
010 1 154
99 0 192
 3
99 1 191
000 1 236
99 0 192
 3
99 1 191
010 1 236
99 0 192

0 0 101
 49 0 242
 0 0 102
 68 0 223
 40 0 251
 0 0 103
 55 0 236
 73 0 218
 27 0 264
 32 0 259

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<stdlib.h>

#define max(a,b) ((a)>(b)?(a):(b))

int main(){
		int n,i,j,k,h;
		long xyz[100][3],ans[3],highest=0;
		scanf("%d",&n);
		for(i=0;i<n;i++){
				scanf("%ld%ld%ld",&xyz[i][0],&xyz[i][1],&xyz[i][2]);
				highest=max(highest,xyz[i][2]);
		}
		for(k=highest;;k++){
				for(i=0;i<=100;i++){
						for(j=0;j<=100;j++){
						int f=0;
								for(h=0;h<n;h++){
										if(xyz[h][2]!=max(k-abs(xyz[h][0]-i)-abs(xyz[h][1]-j),0)){
												f=1;
												break;
										}
								}
								if(f==0){
										printf("%ld %ld %ld\n",i,j,k);
										return 0;
								}
						}
				}
		}
		return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%ld%ld%ld"
.LC2:
	.string	"%ld %ld %ld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %rdi
	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
	subq	$2440, %rsp
	.cfi_def_cfa_offset 2480
	movq	%fs:40, %rax
	movq	%rax, 2424(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r11d
	testl	%r11d, %r11d
	jle	.L14
	leaq	32(%rsp), %rbx
	xorl	%ebp, %ebp
	xorl	%r12d, %r12d
	leaq	.LC1(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	-8(%rbx), %rdx
	leaq	-16(%rbx), %rsi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	movq	(%rbx), %rax
	movl	12(%rsp), %r11d
	cmpq	%rax, %rbp
	cmovl	%rax, %rbp
	addl	$1, %r12d
	addq	$24, %rbx
	cmpl	%r12d, %r11d
	jg	.L3
.L2:
	leal	-1(%r11), %eax
	movl	%ebp, %r8d
	leaq	16(%rsp), %rbx
	leaq	(%rax,%rax,2), %rax
	leaq	40(%rsp,%rax,8), %rdi
.L11:
	xorl	%r10d, %r10d
.L4:
	xorl	%r9d, %r9d
	.p2align 4,,10
	.p2align 3
.L10:
	testl	%r11d, %r11d
	jle	.L7
	movq	%rbx, %rcx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L22:
	addq	$24, %rcx
	cmpq	%rcx, %rdi
	je	.L7
.L6:
	movl	(%rcx), %eax
	subl	%r10d, %eax
	movl	%eax, %edx
	negl	%edx
	cmovs	%eax, %edx
	movl	%r8d, %eax
	subl	%edx, %eax
	movl	8(%rcx), %edx
	subl	%r9d, %edx
	movl	%edx, %esi
	negl	%esi
	cmovns	%esi, %edx
	subl	%edx, %eax
	movl	$0, %edx
	cmovs	%edx, %eax
	cltq
	cmpq	%rax, 16(%rcx)
	je	.L22
	addl	$1, %r9d
	cmpl	$101, %r9d
	jne	.L10
	addl	$1, %r10d
	cmpl	$101, %r10d
	jne	.L4
	addl	$1, %r8d
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L7:
	xorl	%eax, %eax
	movl	%r9d, %ecx
	movl	%r10d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	2424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	addq	$2440, %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
.L14:
	.cfi_restore_state
	xorl	%ebp, %ebp
	jmp	.L2
.L23:
	call	__stack_chk_fail@PLT
	.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:
```

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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%ld%ld%ld"
.LC2:
	.string	"%ld %ld %ld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %rdi
	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
	subq	$2440, %rsp
	.cfi_def_cfa_offset 2480
	movq	%fs:40, %rax
	movq	%rax, 2424(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r11d
	testl	%r11d, %r11d
	jle	.L14
	leaq	32(%rsp), %rbx
	xorl	%ebp, %ebp
	xorl	%r12d, %r12d
	leaq	.LC1(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	-8(%rbx), %rdx
	leaq	-16(%rbx), %rsi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	movq	(%rbx), %rax
	movl	12(%rsp), %r11d
	cmpq	%rax, %rbp
	cmovl	%rax, %rbp
	addl	$1, %r12d
	addq	$24, %rbx
	cmpl	%r12d, %r11d
	jg	.L3
.L2:
	leal	-1(%r11), %eax
	movl	%ebp, %r8d
	leaq	16(%rsp), %rbx
	leaq	(%rax,%rax,2), %rax
	leaq	40(%rsp,%rax,8), %rdi
.L11:
	xorl	%r10d, %r10d
.L4:
	xorl	%r9d, %r9d
	.p2align 4,,10
	.p2align 3
.L10:
	testl	%r11d, %r11d
	jle	.L7
	movq	%rbx, %rcx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L22:
	addq	$24, %rcx
	cmpq	%rcx, %rdi
	je	.L7
.L6:
	movl	(%rcx), %eax
	subl	%r10d, %eax
	movl	%eax, %edx
	negl	%edx
	cmovs	%eax, %edx
	movl	%r8d, %eax
	subl	%edx, %eax
	movl	8(%rcx), %edx
	subl	%r9d, %edx
	movl	%edx, %esi
	negl	%esi
	cmovns	%esi, %edx
	subl	%edx, %eax
	movl	$0, %edx
	cmovs	%edx, %eax
	cltq
	cmpq	%rax, 16(%rcx)
	je	.L22
	addl	$1, %r9d
	cmpl	$101, %r9d
	jne	.L10
	addl	$1, %r10d
	cmpl	$101, %r10d
	jne	.L4
	addl	$1, %r8d
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L7:
	xorl	%eax, %eax
	movl	%r9d, %ecx
	movl	%r10d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	2424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	addq	$2440, %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
.L14:
	.cfi_restore_state
	xorl	%ebp, %ebp
	jmp	.L2
.L23:
	call	__stack_chk_fail@PLT
	.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:
```