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>

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

#define INF 1000000000

int main(void) {
	int i, j, o;
	int n, m, l, k, a, h;

	while (scanf("%d %d %d %d %d %d", &n, &m, &l, &k, &a, &h), n) {
		int canFreeze[100] = {0}, adj[100][100];

		canFreeze[a] = canFreeze[h] = 1;
		for (i = 0; i < l; i++) {
			int x;
			scanf("%d", &x);
			canFreeze[x] = 1;
		}

		for (i = 0; i < n; i++)
			for (j = 0; j < n; j++)
				adj[i][j] = INF;
		for (i = 0; i < k; i++) {
			int x, y, t;
			scanf("%d %d %d", &x, &y, &t);
			adj[x][y] = adj[y][x] = t;
		}

		for (o = 0; o < n; o++)
			for (i = 0; i < n; i++)
				for (j = 0; j < n; j++)
					adj[i][j] = min(adj[i][j], adj[i][o] + adj[o][j]);

		for (i = 0; i < n; i++)
			for (j = 0; j < n; j++)
				if (!canFreeze[i] || !canFreeze[j] || adj[i][j] > m)
					adj[i][j] = INF;

		for (o = 0; o < n; o++)
			for (i = 0; i < n; i++)
				for (j = 0; j < n; j++)
					adj[i][j] = min(adj[i][j], adj[i][o] + adj[o][j]);

		if (adj[a][h] != INF)
			printf("%d\n", adj[a][h] + max(0, adj[a][h] - m));
		else
			puts("Help!");
	}

	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d %d"
.LC2:
	.string	"%d\n"
.LC3:
	.string	"Help!"
.LC4:
	.string	"%d %d %d %d %d %d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-36864(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$3600, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	jmp	.L2
.L31:
	leaq	-40416(%rbp), %rdx
	movl	$0, %eax
	movl	$50, %ecx
	movq	%rdx, %rdi
	rep stosq
	movl	-40444(%rbp), %eax
	movslq	%eax, %rdx
	movl	$1, -40416(%rbp,%rdx,4)
	movl	-40448(%rbp), %ecx
	cltq
	movl	-40416(%rbp,%rax,4), %edx
	movslq	%ecx, %rax
	movl	%edx, -40416(%rbp,%rax,4)
	movl	$0, -40428(%rbp)
	jmp	.L3
.L4:
	leaq	-40432(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-40432(%rbp), %eax
	cltq
	movl	$1, -40416(%rbp,%rax,4)
	addl	$1, -40428(%rbp)
.L3:
	movl	-40456(%rbp), %eax
	cmpl	%eax, -40428(%rbp)
	jl	.L4
	movl	$0, -40428(%rbp)
	jmp	.L5
.L8:
	movl	$0, -40424(%rbp)
	jmp	.L6
.L7:
	movl	-40424(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40428(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	$1000000000, -40016(%rbp,%rax,4)
	addl	$1, -40424(%rbp)
.L6:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40424(%rbp)
	jl	.L7
	addl	$1, -40428(%rbp)
.L5:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40428(%rbp)
	jl	.L8
	movl	$0, -40428(%rbp)
	jmp	.L9
.L10:
	leaq	-40432(%rbp), %rcx
	leaq	-40436(%rbp), %rdx
	leaq	-40440(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-40436(%rbp), %edx
	movl	-40440(%rbp), %ecx
	movl	-40432(%rbp), %esi
	movslq	%ecx, %r8
	movslq	%edx, %rdi
	movq	%rdi, %rax
	salq	$2, %rax
	addq	%rdi, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%r8, %rax
	movl	%esi, -40016(%rbp,%rax,4)
	movl	-40440(%rbp), %esi
	movl	-40436(%rbp), %edi
	movslq	%ecx, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-40016(%rbp,%rax,4), %edx
	movslq	%edi, %rdi
	movslq	%esi, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rdi, %rax
	movl	%edx, -40016(%rbp,%rax,4)
	addl	$1, -40428(%rbp)
.L9:
	movl	-40452(%rbp), %eax
	cmpl	%eax, -40428(%rbp)
	jl	.L10
	movl	$0, -40420(%rbp)
	jmp	.L11
.L16:
	movl	$0, -40428(%rbp)
	jmp	.L12
.L15:
	movl	$0, -40424(%rbp)
	jmp	.L13
.L14:
	movl	-40420(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40428(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-40016(%rbp,%rax,4), %ecx
	movl	-40424(%rbp), %eax
	movslq	%eax, %rsi
	movl	-40420(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	-40016(%rbp,%rax,4), %eax
	leal	(%rcx,%rax), %edx
	movl	-40424(%rbp), %eax
	movslq	%eax, %rsi
	movl	-40428(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	-40016(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	cmovg	%eax, %edx
	movl	-40424(%rbp), %eax
	movslq	%eax, %rsi
	movl	-40428(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	%edx, -40016(%rbp,%rax,4)
	addl	$1, -40424(%rbp)
.L13:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40424(%rbp)
	jl	.L14
	addl	$1, -40428(%rbp)
.L12:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40428(%rbp)
	jl	.L15
	addl	$1, -40420(%rbp)
.L11:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40420(%rbp)
	jl	.L16
	movl	$0, -40428(%rbp)
	jmp	.L17
.L22:
	movl	$0, -40424(%rbp)
	jmp	.L18
.L21:
	movl	-40428(%rbp), %eax
	cltq
	movl	-40416(%rbp,%rax,4), %eax
	testl	%eax, %eax
	je	.L19
	movl	-40424(%rbp), %eax
	cltq
	movl	-40416(%rbp,%rax,4), %eax
	testl	%eax, %eax
	je	.L19
	movl	-40424(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40428(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-40016(%rbp,%rax,4), %edx
	movl	-40460(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L20
.L19:
	movl	-40424(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40428(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	$1000000000, -40016(%rbp,%rax,4)
.L20:
	addl	$1, -40424(%rbp)
.L18:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40424(%rbp)
	jl	.L21
	addl	$1, -40428(%rbp)
.L17:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40428(%rbp)
	jl	.L22
	movl	$0, -40420(%rbp)
	jmp	.L23
.L28:
	movl	$0, -40428(%rbp)
	jmp	.L24
.L27:
	movl	$0, -40424(%rbp)
	jmp	.L25
.L26:
	movl	-40420(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40428(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-40016(%rbp,%rax,4), %ecx
	movl	-40424(%rbp), %eax
	movslq	%eax, %rsi
	movl	-40420(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	-40016(%rbp,%rax,4), %eax
	leal	(%rcx,%rax), %edx
	movl	-40424(%rbp), %eax
	movslq	%eax, %rsi
	movl	-40428(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	-40016(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	cmovg	%eax, %edx
	movl	-40424(%rbp), %eax
	movslq	%eax, %rsi
	movl	-40428(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	%edx, -40016(%rbp,%rax,4)
	addl	$1, -40424(%rbp)
.L25:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40424(%rbp)
	jl	.L26
	addl	$1, -40428(%rbp)
.L24:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40428(%rbp)
	jl	.L27
	addl	$1, -40420(%rbp)
.L23:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40420(%rbp)
	jl	.L28
	movl	-40448(%rbp), %eax
	movl	-40444(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-40016(%rbp,%rax,4), %eax
	cmpl	$1000000000, %eax
	je	.L29
	movl	-40448(%rbp), %eax
	movl	-40444(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-40016(%rbp,%rax,4), %ecx
	movl	-40448(%rbp), %eax
	movl	-40444(%rbp), %edx
	movslq	%edx, %rsi
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	-40016(%rbp,%rax,4), %eax
	movl	-40460(%rbp), %edx
	subl	%edx, %eax
	movl	$0, %edx
	testl	%eax, %eax
	cmovs	%edx, %eax
	addl	%ecx, %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L2
.L29:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L2:
	leaq	-40448(%rbp), %r8
	leaq	-40452(%rbp), %rdi
	leaq	-40456(%rbp), %rcx
	leaq	-40460(%rbp), %rdx
	leaq	-40464(%rbp), %rax
	subq	$8, %rsp
	leaq	-40444(%rbp), %rsi
	pushq	%rsi
	movq	%r8, %r9
	movq	%rdi, %r8
	movq	%rax, %rsi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$16, %rsp
	movl	-40464(%rbp), %eax
	testl	%eax, %eax
	jne	.L31
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L33
	call	__stack_chk_fail@PLT
.L33:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"%d"
.LC2:
	.string	"%d %d %d"
.LC3:
	.string	"%d\n"
.LC4:
	.string	"Help!"
.LC5:
	.string	"%d %d %d %d %d %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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
	leaq	-36864(%rsp), %r11
	.cfi_def_cfa 11, 36920
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3800, %rsp
	.cfi_def_cfa_offset 40720
	movq	%fs:40, %rax
	movq	%rax, 40648(%rsp)
	xorl	%eax, %eax
	leaq	220(%rsp), %rax
	movq	%rax, 168(%rsp)
	leaq	216(%rsp), %rax
	movq	%rax, 160(%rsp)
	leaq	212(%rsp), %rax
	movq	%rax, 152(%rsp)
	leaq	208(%rsp), %rax
	movq	%rax, 144(%rsp)
	leaq	204(%rsp), %rax
	movq	%rax, 136(%rsp)
	leaq	224(%rsp), %rax
	movq	%rax, 176(%rsp)
.L2:
	subq	$8, %rsp
	.cfi_def_cfa_offset 40728
	xorl	%eax, %eax
	leaq	.LC5(%rip), %rdi
	pushq	184(%rsp)
	.cfi_def_cfa_offset 40736
	movq	176(%rsp), %r8
	movq	184(%rsp), %r9
	movq	168(%rsp), %rcx
	movq	160(%rsp), %rdx
	movq	152(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	220(%rsp), %r8d
	popq	%rcx
	.cfi_def_cfa_offset 40728
	movdqa	.LC1(%rip), %xmm3
	popq	%rsi
	.cfi_def_cfa_offset 40720
	testl	%r8d, %r8d
	je	.L76
	leaq	240(%rsp), %rdi
	xorl	%eax, %eax
	movl	$50, %ecx
	movl	212(%rsp), %r15d
	movq	%rdi, 184(%rsp)
	rep stosq
	movslq	224(%rsp), %rax
	movl	$1, 240(%rsp,%rax,4)
	movslq	220(%rsp), %rax
	movl	$1, 240(%rsp,%rax,4)
	testl	%r15d, %r15d
	jle	.L3
	xorl	%ebp, %ebp
	leaq	236(%rsp), %rbx
	.p2align 4,,10
	.p2align 3
.L4:
	xorl	%eax, %eax
	movq	%rbx, %rsi
	leaq	.LC0(%rip), %rdi
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movslq	236(%rsp), %rax
	cmpl	%ebp, 212(%rsp)
	movdqa	.LC1(%rip), %xmm3
	movl	$1, 240(%rsp,%rax,4)
	jg	.L4
	movl	204(%rsp), %r8d
.L3:
	testl	%r8d, %r8d
	jle	.L5
	leaq	640(%rsp), %rax
	leal	-1(%r8), %r11d
	movl	%r8d, %r9d
	xorl	%edi, %edi
	movq	%rax, 96(%rsp)
	movq	%rax, %rsi
	movl	%r8d, %eax
	andl	$-4, %r9d
	shrl	$2, %eax
	movl	%r11d, 28(%rsp)
	leal	-1(%rax), %r10d
	addq	$1, %r10
	salq	$4, %r10
	.p2align 4,,10
	.p2align 3
.L9:
	cmpl	$2, %r11d
	jbe	.L52
	leaq	(%r10,%rsi), %rdx
	movq	%rsi, %rax
	.p2align 4,,10
	.p2align 3
.L7:
	movaps	%xmm3, (%rax)
	addq	$16, %rax
	cmpq	%rdx, %rax
	jne	.L7
	movl	%r9d, %eax
	cmpl	%r9d, %r8d
	je	.L8
.L6:
	movslq	%edi, %rdx
	movslq	%eax, %rcx
	leaq	(%rdx,%rdx,4), %rdx
	leaq	(%rdx,%rdx,4), %rdx
	salq	$2, %rdx
	addq	%rdx, %rcx
	movl	$1000000000, 640(%rsp,%rcx,4)
	leal	1(%rax), %ecx
	cmpl	%ecx, %r8d
	jle	.L8
	movslq	%ecx, %rcx
	addl	$2, %eax
	addq	%rdx, %rcx
	movl	$1000000000, 640(%rsp,%rcx,4)
	cmpl	%eax, %r8d
	jle	.L8
	cltq
	addq	%rax, %rdx
	movl	$1000000000, 640(%rsp,%rdx,4)
.L8:
	addl	$1, %edi
	addq	$400, %rsi
	cmpl	%r8d, %edi
	jne	.L9
	movl	216(%rsp), %edx
	testl	%edx, %edx
	jle	.L50
.L49:
	xorl	%r14d, %r14d
	leaq	236(%rsp), %rbx
	leaq	232(%rsp), %r13
	leaq	228(%rsp), %r12
	leaq	.LC2(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L11:
	movq	%rbx, %rcx
	movq	%r13, %rdx
	movq	%r12, %rsi
	xorl	%eax, %eax
	movq	%rbp, %rdi
	addl	$1, %r14d
	call	__isoc99_scanf@PLT
	movslq	232(%rsp), %rax
	movslq	228(%rsp), %rdx
	movl	236(%rsp), %ecx
	cmpl	%r14d, 216(%rsp)
	leaq	(%rax,%rax,4), %rsi
	movdqa	.LC1(%rip), %xmm3
	leaq	(%rsi,%rsi,4), %rsi
	leaq	(%rdx,%rsi,4), %rsi
	leaq	(%rdx,%rdx,4), %rdx
	leaq	(%rdx,%rdx,4), %rdx
	movl	%ecx, 640(%rsp,%rsi,4)
	leaq	(%rax,%rdx,4), %rax
	movl	%ecx, 640(%rsp,%rax,4)
	jg	.L11
	movl	204(%rsp), %r8d
	testl	%r8d, %r8d
	jle	.L12
	leaq	640(%rsp), %rax
	movq	%rax, 96(%rsp)
	leal	-1(%r8), %eax
	movl	%eax, 28(%rsp)
.L50:
	movl	%r8d, %eax
	movq	96(%rsp), %r10
	movl	%r8d, %ebx
	xorl	%r14d, %r14d
	movq	%rax, 104(%rsp)
	movslq	%r8d, %rax
	andl	$-4, %ebx
	xorl	%r13d, %r13d
	salq	$2, %rax
	leal	1(%rbx), %edi
	leal	2(%rbx), %ecx
	movl	%ebx, 16(%rsp)
	movq	%rax, 8(%rsp)
	movl	%r8d, %eax
	movslq	%ebx, %rbx
	shrl	$2, %eax
	movq	%rbx, 40(%rsp)
	movslq	%edi, %rbx
	leal	-1(%rax), %esi
	movl	28(%rsp), %eax
	movq	%rbx, 56(%rsp)
	movslq	%ecx, %rbx
	movl	%edi, 20(%rsp)
	addq	$1, %rsi
	salq	$2, %rax
	movl	%ecx, 24(%rsp)
	salq	$4, %rsi
	movq	%rax, %rdx
	movq	%rax, 120(%rsp)
	movq	%r10, %rax
	addq	%rdx, %rax
	movq	%rbx, 88(%rsp)
	movq	%rax, 128(%rsp)
	addq	$4, %rax
	movq	$0, 32(%rsp)
	movq	$0, 80(%rsp)
	movq	%rax, 112(%rsp)
	.p2align 4,,10
	.p2align 3
.L13:
	movslq	80(%rsp), %rdx
	movq	96(%rsp), %rax
	xorl	%edi, %edi
	xorl	%ebx, %ebx
	leaq	4(%r14), %rbp
	leaq	(%rdx,%rdx,4), %rdx
	leaq	(%rax,%r14), %r9
	leaq	(%rdx,%rdx,4), %rdx
	leaq	0(,%rdx,4), %rcx
	movq	40(%rsp), %rdx
	movq	%rcx, 72(%rsp)
	addq	%rcx, %rdx
	addq	56(%rsp), %rcx
	movq	%rdx, 48(%rsp)
	movq	%rcx, 64(%rsp)
	.p2align 4,,10
	.p2align 3
.L24:
	movq	8(%rsp), %rcx
	cmpl	$2, 28(%rsp)
	leaq	(%rdi,%r14), %rdx
	seta	%r12b
	addq	%rdi, %rcx
	cmpq	%rdx, %rcx
	leaq	0(%rbp,%rdi), %rdx
	setle	%cl
	cmpq	%rdi, %rdx
	setle	%dl
	orb	%cl, %dl
	je	.L22
	movq	32(%rsp), %rcx
	leaq	-4(%rdi,%rcx), %rdx
	cmpq	$8, %rdx
	seta	%dl
	testb	%r12b, %dl
	je	.L22
	movd	(%r9), %xmm4
	xorl	%edx, %edx
	pshufd	$0, %xmm4, %xmm2
	.p2align 4,,10
	.p2align 3
.L17:
	movdqa	(%r10,%rdx), %xmm1
	movdqa	(%rax,%rdx), %xmm0
	paddd	%xmm2, %xmm1
	pcmpgtd	%xmm1, %xmm0
	pand	%xmm0, %xmm1
	pandn	(%rax,%rdx), %xmm0
	por	%xmm1, %xmm0
	movaps	%xmm0, (%rax,%rdx)
	addq	$16, %rdx
	cmpq	%rsi, %rdx
	jne	.L17
	cmpl	%r8d, 16(%rsp)
	je	.L16
	movslq	%ebx, %rdx
	movq	40(%rsp), %rcx
	movq	48(%rsp), %r15
	leaq	(%rdx,%rdx,4), %rdx
	leaq	(%rdx,%rdx,4), %rdx
	salq	$2, %rdx
	leaq	(%rdx,%rcx), %r11
	movl	(%r9), %ecx
	addl	640(%rsp,%r15,4), %ecx
	movl	640(%rsp,%r11,4), %r15d
	cmpl	%r15d, %ecx
	cmovg	%r15d, %ecx
	movl	%ecx, 640(%rsp,%r11,4)
	cmpl	%r8d, 20(%rsp)
	jge	.L16
	movq	56(%rsp), %rcx
	leaq	(%rdx,%rcx), %r11
	movq	64(%rsp), %rcx
	movl	640(%rsp,%r11,4), %r15d
	movl	640(%rsp,%rcx,4), %ecx
	addl	(%r9), %ecx
	cmpl	%r15d, %ecx
	cmovg	%r15d, %ecx
	movl	%ecx, 640(%rsp,%r11,4)
	cmpl	%r8d, 24(%rsp)
	jge	.L16
	movq	88(%rsp), %r15
	movq	72(%rsp), %rcx
	addq	%r15, %rdx
	addq	%r15, %rcx
	movl	640(%rsp,%rdx,4), %r11d
	movl	640(%rsp,%rcx,4), %ecx
	addl	(%r9), %ecx
	cmpl	%r11d, %ecx
	cmovg	%r11d, %ecx
	movl	%ecx, 640(%rsp,%rdx,4)
.L16:
	addl	$1, %ebx
	addq	$400, %rdi
	addq	$400, %rax
	addq	$400, %r9
	cmpl	%r8d, %ebx
	jne	.L24
	addq	$1, 80(%rsp)
	addq	$400, %r13
	movq	80(%rsp), %rax
	addq	$400, %r10
	subq	$400, 32(%rsp)
	cmpq	104(%rsp), %rax
	je	.L23
	movq	%rbp, %r14
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L22:
	movq	112(%rsp), %rcx
	leaq	(%rcx,%rdi), %r15
	movq	%rax, %rcx
	.p2align 4,,10
	.p2align 3
.L15:
	movq	%rcx, %r11
	movl	(%r9), %edx
	subq	%rdi, %r11
	addl	(%r11,%r13), %edx
	movl	(%rcx), %r11d
	cmpl	%r11d, %edx
	cmovg	%r11d, %edx
	addq	$4, %rcx
	movl	%edx, -4(%rcx)
	cmpq	%r15, %rcx
	jne	.L15
	jmp	.L16
.L5:
	movl	216(%rsp), %eax
	testl	%eax, %eax
	jg	.L49
.L12:
	movslq	220(%rsp), %rax
	movslq	224(%rsp), %rdx
	leaq	(%rax,%rax,4), %rax
	leaq	(%rax,%rax,4), %rax
	leaq	(%rdx,%rax,4), %rax
	movl	640(%rsp,%rax,4), %edx
	cmpl	$1000000000, %edx
	je	.L46
	movl	%edx, %eax
	movl	$0, %ecx
	movl	$1, %edi
	subl	208(%rsp), %eax
	cmovs	%ecx, %eax
	leaq	.LC3(%rip), %rsi
	addl	%eax, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L2
.L23:
	movq	120(%rsp), %rax
	movl	208(%rsp), %r11d
	xorl	%edx, %edx
	movq	96(%rsp), %rdi
	movl	16(%rsp), %ebp
	movq	104(%rsp), %rbx
	movq	184(%rsp), %r10
	leaq	244(%rsp,%rax), %rcx
	movl	28(%rsp), %r13d
	.p2align 4,,10
	.p2align 3
.L34:
	movl	(%r10,%rdx,4), %eax
	movslq	%edx, %r14
	testl	%eax, %eax
	je	.L25
	movq	%rdi, %r9
	movq	%r10, %rax
	.p2align 4,,10
	.p2align 3
.L29:
	movl	(%rax), %r14d
	testl	%r14d, %r14d
	je	.L28
	cmpl	(%r9), %r11d
	jge	.L27
.L28:
	movl	$1000000000, (%r9)
.L27:
	addq	$4, %rax
	addq	$4, %r9
	cmpq	%rcx, %rax
	jne	.L29
.L30:
	addq	$1, %rdx
	addq	$400, %rdi
	cmpq	%rbx, %rdx
	jne	.L34
.L77:
	movslq	16(%rsp), %rax
	xorl	%ebx, %ebx
	movq	96(%rsp), %r10
	xorl	%r14d, %r14d
	movq	$0, 72(%rsp)
	xorl	%r13d, %r13d
	movq	%rax, 32(%rsp)
	movslq	20(%rsp), %rax
	movb	%r12b, 28(%rsp)
	movq	%rbx, %r12
	movq	%rax, 48(%rsp)
	movslq	24(%rsp), %rax
	movq	%rax, 80(%rsp)
	movq	128(%rsp), %rax
	addq	$4, %rax
	movq	%rax, 88(%rsp)
	.p2align 4,,10
	.p2align 3
.L35:
	movslq	72(%rsp), %rdx
	movq	96(%rsp), %rax
	xorl	%edi, %edi
	xorl	%ebx, %ebx
	leaq	4(%r14), %rbp
	leaq	(%rdx,%rdx,4), %rdx
	leaq	(%rax,%r14), %r9
	leaq	(%rdx,%rdx,4), %rdx
	leaq	0(,%rdx,4), %rcx
	movq	32(%rsp), %rdx
	movq	%rcx, 64(%rsp)
	addq	%rcx, %rdx
	addq	48(%rsp), %rcx
	movq	%rdx, 40(%rsp)
	movq	%rcx, 56(%rsp)
	.p2align 4,,10
	.p2align 3
.L45:
	movq	8(%rsp), %rdx
	leaq	(%rdi,%r14), %rcx
	addq	%rdi, %rdx
	cmpq	%rdx, %rcx
	leaq	(%rdi,%rbp), %rdx
	setge	%cl
	cmpq	%rdx, %rdi
	setge	%dl
	orb	%cl, %dl
	je	.L44
	leaq	-4(%rdi,%r12), %rdx
	cmpq	$8, %rdx
	seta	%dl
	testb	%dl, 28(%rsp)
	je	.L44
	movd	(%r9), %xmm5
	xorl	%edx, %edx
	pshufd	$0, %xmm5, %xmm2
	.p2align 4,,10
	.p2align 3
.L39:
	movdqa	(%r10,%rdx), %xmm1
	movdqa	(%rax,%rdx), %xmm0
	paddd	%xmm2, %xmm1
	pcmpgtd	%xmm1, %xmm0
	pand	%xmm0, %xmm1
	pandn	(%rax,%rdx), %xmm0
	por	%xmm1, %xmm0
	movaps	%xmm0, (%rax,%rdx)
	addq	$16, %rdx
	cmpq	%rsi, %rdx
	jne	.L39
	cmpl	%r8d, 16(%rsp)
	je	.L38
	movslq	%ebx, %rdx
	movq	32(%rsp), %rcx
	movq	40(%rsp), %r15
	leaq	(%rdx,%rdx,4), %rdx
	leaq	(%rdx,%rdx,4), %rdx
	salq	$2, %rdx
	leaq	(%rdx,%rcx), %r11
	movl	(%r9), %ecx
	addl	640(%rsp,%r15,4), %ecx
	movl	640(%rsp,%r11,4), %r15d
	cmpl	%r15d, %ecx
	cmovg	%r15d, %ecx
	movl	%ecx, 640(%rsp,%r11,4)
	cmpl	%r8d, 20(%rsp)
	jge	.L38
	movq	48(%rsp), %rcx
	movq	56(%rsp), %r15
	leaq	(%rdx,%rcx), %r11
	movl	(%r9), %ecx
	addl	640(%rsp,%r15,4), %ecx
	movl	640(%rsp,%r11,4), %r15d
	cmpl	%r15d, %ecx
	cmovg	%r15d, %ecx
	movl	%ecx, 640(%rsp,%r11,4)
	cmpl	%r8d, 24(%rsp)
	jge	.L38
	movq	80(%rsp), %r15
	movq	64(%rsp), %rcx
	movl	(%r9), %r11d
	addq	%r15, %rcx
	addq	%r15, %rdx
	addl	640(%rsp,%rcx,4), %r11d
	movl	%r11d, %ecx
	movl	640(%rsp,%rdx,4), %r11d
	cmpl	%r11d, %ecx
	cmovg	%r11d, %ecx
	movl	%ecx, 640(%rsp,%rdx,4)
.L38:
	addl	$1, %ebx
	addq	$400, %rdi
	addq	$400, %rax
	addq	$400, %r9
	cmpl	%r8d, %ebx
	jne	.L45
	addq	$1, 72(%rsp)
	addq	$400, %r13
	movq	72(%rsp), %rax
	subq	$400, %r12
	addq	$400, %r10
	cmpq	104(%rsp), %rax
	je	.L12
	movq	%rbp, %r14
	jmp	.L35
	.p2align 4,,10
	.p2align 3
.L44:
	movq	88(%rsp), %rcx
	leaq	(%rcx,%rdi), %r15
	movq	%rax, %rcx
	.p2align 4,,10
	.p2align 3
.L37:
	movq	%rcx, %r11
	movl	(%r9), %edx
	subq	%rdi, %r11
	addl	(%r11,%r13), %edx
	movl	(%rcx), %r11d
	cmpl	%r11d, %edx
	cmovg	%r11d, %edx
	addq	$4, %rcx
	movl	%edx, -4(%rcx)
	cmpq	%r15, %rcx
	jne	.L37
	jmp	.L38
.L25:
	cmpl	$2, %r13d
	jbe	.L31
	leaq	(%rdi,%rsi), %r9
	movq	%rdi, %rax
	.p2align 4,,10
	.p2align 3
.L32:
	movaps	%xmm3, (%rax)
	addq	$16, %rax
	cmpq	%r9, %rax
	jne	.L32
	cmpl	%r8d, %ebp
	je	.L30
	movl	%ebp, %eax
.L31:
	leaq	(%r14,%r14,4), %r9
	movslq	%eax, %r15
	leaq	(%r9,%r9,4), %r9
	salq	$2, %r9
	leaq	(%r9,%r15), %r14
	movl	$1000000000, 640(%rsp,%r14,4)
	leal	1(%rax), %r14d
	cmpl	%r8d, %r14d
	jge	.L30
	movslq	%r14d, %r14
	addl	$2, %eax
	addq	%r9, %r14
	movl	$1000000000, 640(%rsp,%r14,4)
	cmpl	%r8d, %eax
	jge	.L30
	cltq
	addq	$1, %rdx
	addq	$400, %rdi
	addq	%rax, %r9
	movl	$1000000000, 640(%rsp,%r9,4)
	cmpq	%rbx, %rdx
	jne	.L34
	jmp	.L77
.L52:
	xorl	%eax, %eax
	jmp	.L6
.L46:
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	jmp	.L2
.L76:
	movq	40648(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L78
	addq	$40664, %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
.L78:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.long	1000000000
	.long	1000000000
	.long	1000000000
	.long	1000000000
	.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	"%d"
.LC2:
	.string	"%d %d %d"
.LC3:
	.string	"%d\n"
.LC4:
	.string	"Help!"
.LC5:
	.string	"%d %d %d %d %d %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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
	leaq	-36864(%rsp), %r11
	.cfi_def_cfa 11, 36920
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3800, %rsp
	.cfi_def_cfa_offset 40720
	movq	%fs:40, %rax
	movq	%rax, 40648(%rsp)
	xorl	%eax, %eax
	leaq	220(%rsp), %rax
	movq	%rax, 168(%rsp)
	leaq	216(%rsp), %rax
	movq	%rax, 160(%rsp)
	leaq	212(%rsp), %rax
	movq	%rax, 152(%rsp)
	leaq	208(%rsp), %rax
	movq	%rax, 144(%rsp)
	leaq	204(%rsp), %rax
	movq	%rax, 136(%rsp)
	leaq	224(%rsp), %rax
	movq	%rax, 176(%rsp)
.L2:
	subq	$8, %rsp
	.cfi_def_cfa_offset 40728
	xorl	%eax, %eax
	leaq	.LC5(%rip), %rdi
	pushq	184(%rsp)
	.cfi_def_cfa_offset 40736
	movq	176(%rsp), %r8
	movq	184(%rsp), %r9
	movq	168(%rsp), %rcx
	movq	160(%rsp), %rdx
	movq	152(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	220(%rsp), %r8d
	popq	%rcx
	.cfi_def_cfa_offset 40728
	movdqa	.LC1(%rip), %xmm3
	popq	%rsi
	.cfi_def_cfa_offset 40720
	testl	%r8d, %r8d
	je	.L76
	leaq	240(%rsp), %rdi
	xorl	%eax, %eax
	movl	$50, %ecx
	movl	212(%rsp), %r15d
	movq	%rdi, 184(%rsp)
	rep stosq
	movslq	224(%rsp), %rax
	movl	$1, 240(%rsp,%rax,4)
	movslq	220(%rsp), %rax
	movl	$1, 240(%rsp,%rax,4)
	testl	%r15d, %r15d
	jle	.L3
	xorl	%ebp, %ebp
	leaq	236(%rsp), %rbx
	.p2align 4,,10
	.p2align 3
.L4:
	xorl	%eax, %eax
	movq	%rbx, %rsi
	leaq	.LC0(%rip), %rdi
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movslq	236(%rsp), %rax
	cmpl	%ebp, 212(%rsp)
	movdqa	.LC1(%rip), %xmm3
	movl	$1, 240(%rsp,%rax,4)
	jg	.L4
	movl	204(%rsp), %r8d
.L3:
	testl	%r8d, %r8d
	jle	.L5
	leaq	640(%rsp), %rax
	leal	-1(%r8), %r11d
	movl	%r8d, %r9d
	xorl	%edi, %edi
	movq	%rax, 96(%rsp)
	movq	%rax, %rsi
	movl	%r8d, %eax
	andl	$-4, %r9d
	shrl	$2, %eax
	movl	%r11d, 28(%rsp)
	leal	-1(%rax), %r10d
	addq	$1, %r10
	salq	$4, %r10
	.p2align 4,,10
	.p2align 3
.L9:
	cmpl	$2, %r11d
	jbe	.L52
	leaq	(%r10,%rsi), %rdx
	movq	%rsi, %rax
	.p2align 4,,10
	.p2align 3
.L7:
	movaps	%xmm3, (%rax)
	addq	$16, %rax
	cmpq	%rdx, %rax
	jne	.L7
	movl	%r9d, %eax
	cmpl	%r9d, %r8d
	je	.L8
.L6:
	movslq	%edi, %rdx
	movslq	%eax, %rcx
	leaq	(%rdx,%rdx,4), %rdx
	leaq	(%rdx,%rdx,4), %rdx
	salq	$2, %rdx
	addq	%rdx, %rcx
	movl	$1000000000, 640(%rsp,%rcx,4)
	leal	1(%rax), %ecx
	cmpl	%ecx, %r8d
	jle	.L8
	movslq	%ecx, %rcx
	addl	$2, %eax
	addq	%rdx, %rcx
	movl	$1000000000, 640(%rsp,%rcx,4)
	cmpl	%eax, %r8d
	jle	.L8
	cltq
	addq	%rax, %rdx
	movl	$1000000000, 640(%rsp,%rdx,4)
.L8:
	addl	$1, %edi
	addq	$400, %rsi
	cmpl	%r8d, %edi
	jne	.L9
	movl	216(%rsp), %edx
	testl	%edx, %edx
	jle	.L50
.L49:
	xorl	%r14d, %r14d
	leaq	236(%rsp), %rbx
	leaq	232(%rsp), %r13
	leaq	228(%rsp), %r12
	leaq	.LC2(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L11:
	movq	%rbx, %rcx
	movq	%r13, %rdx
	movq	%r12, %rsi
	xorl	%eax, %eax
	movq	%rbp, %rdi
	addl	$1, %r14d
	call	__isoc99_scanf@PLT
	movslq	232(%rsp), %rax
	movslq	228(%rsp), %rdx
	movl	236(%rsp), %ecx
	cmpl	%r14d, 216(%rsp)
	leaq	(%rax,%rax,4), %rsi
	movdqa	.LC1(%rip), %xmm3
	leaq	(%rsi,%rsi,4), %rsi
	leaq	(%rdx,%rsi,4), %rsi
	leaq	(%rdx,%rdx,4), %rdx
	leaq	(%rdx,%rdx,4), %rdx
	movl	%ecx, 640(%rsp,%rsi,4)
	leaq	(%rax,%rdx,4), %rax
	movl	%ecx, 640(%rsp,%rax,4)
	jg	.L11
	movl	204(%rsp), %r8d
	testl	%r8d, %r8d
	jle	.L12
	leaq	640(%rsp), %rax
	movq	%rax, 96(%rsp)
	leal	-1(%r8), %eax
	movl	%eax, 28(%rsp)
.L50:
	movl	%r8d, %eax
	movq	96(%rsp), %r10
	movl	%r8d, %ebx
	xorl	%r14d, %r14d
	movq	%rax, 104(%rsp)
	movslq	%r8d, %rax
	andl	$-4, %ebx
	xorl	%r13d, %r13d
	salq	$2, %rax
	leal	1(%rbx), %edi
	leal	2(%rbx), %ecx
	movl	%ebx, 16(%rsp)
	movq	%rax, 8(%rsp)
	movl	%r8d, %eax
	movslq	%ebx, %rbx
	shrl	$2, %eax
	movq	%rbx, 40(%rsp)
	movslq	%edi, %rbx
	leal	-1(%rax), %esi
	movl	28(%rsp), %eax
	movq	%rbx, 56(%rsp)
	movslq	%ecx, %rbx
	movl	%edi, 20(%rsp)
	addq	$1, %rsi
	salq	$2, %rax
	movl	%ecx, 24(%rsp)
	salq	$4, %rsi
	movq	%rax, %rdx
	movq	%rax, 120(%rsp)
	movq	%r10, %rax
	addq	%rdx, %rax
	movq	%rbx, 88(%rsp)
	movq	%rax, 128(%rsp)
	addq	$4, %rax
	movq	$0, 32(%rsp)
	movq	$0, 80(%rsp)
	movq	%rax, 112(%rsp)
	.p2align 4,,10
	.p2align 3
.L13:
	movslq	80(%rsp), %rdx
	movq	96(%rsp), %rax
	xorl	%edi, %edi
	xorl	%ebx, %ebx
	leaq	4(%r14), %rbp
	leaq	(%rdx,%rdx,4), %rdx
	leaq	(%rax,%r14), %r9
	leaq	(%rdx,%rdx,4), %rdx
	leaq	0(,%rdx,4), %rcx
	movq	40(%rsp), %rdx
	movq	%rcx, 72(%rsp)
	addq	%rcx, %rdx
	addq	56(%rsp), %rcx
	movq	%rdx, 48(%rsp)
	movq	%rcx, 64(%rsp)
	.p2align 4,,10
	.p2align 3
.L24:
	movq	8(%rsp), %rcx
	cmpl	$2, 28(%rsp)
	leaq	(%rdi,%r14), %rdx
	seta	%r12b
	addq	%rdi, %rcx
	cmpq	%rdx, %rcx
	leaq	0(%rbp,%rdi), %rdx
	setle	%cl
	cmpq	%rdi, %rdx
	setle	%dl
	orb	%cl, %dl
	je	.L22
	movq	32(%rsp), %rcx
	leaq	-4(%rdi,%rcx), %rdx
	cmpq	$8, %rdx
	seta	%dl
	testb	%r12b, %dl
	je	.L22
	movd	(%r9), %xmm4
	xorl	%edx, %edx
	pshufd	$0, %xmm4, %xmm2
	.p2align 4,,10
	.p2align 3
.L17:
	movdqa	(%r10,%rdx), %xmm1
	movdqa	(%rax,%rdx), %xmm0
	paddd	%xmm2, %xmm1
	pcmpgtd	%xmm1, %xmm0
	pand	%xmm0, %xmm1
	pandn	(%rax,%rdx), %xmm0
	por	%xmm1, %xmm0
	movaps	%xmm0, (%rax,%rdx)
	addq	$16, %rdx
	cmpq	%rsi, %rdx
	jne	.L17
	cmpl	%r8d, 16(%rsp)
	je	.L16
	movslq	%ebx, %rdx
	movq	40(%rsp), %rcx
	movq	48(%rsp), %r15
	leaq	(%rdx,%rdx,4), %rdx
	leaq	(%rdx,%rdx,4), %rdx
	salq	$2, %rdx
	leaq	(%rdx,%rcx), %r11
	movl	(%r9), %ecx
	addl	640(%rsp,%r15,4), %ecx
	movl	640(%rsp,%r11,4), %r15d
	cmpl	%r15d, %ecx
	cmovg	%r15d, %ecx
	movl	%ecx, 640(%rsp,%r11,4)
	cmpl	%r8d, 20(%rsp)
	jge	.L16
	movq	56(%rsp), %rcx
	leaq	(%rdx,%rcx), %r11
	movq	64(%rsp), %rcx
	movl	640(%rsp,%r11,4), %r15d
	movl	640(%rsp,%rcx,4), %ecx
	addl	(%r9), %ecx
	cmpl	%r15d, %ecx
	cmovg	%r15d, %ecx
	movl	%ecx, 640(%rsp,%r11,4)
	cmpl	%r8d, 24(%rsp)
	jge	.L16
	movq	88(%rsp), %r15
	movq	72(%rsp), %rcx
	addq	%r15, %rdx
	addq	%r15, %rcx
	movl	640(%rsp,%rdx,4), %r11d
	movl	640(%rsp,%rcx,4), %ecx
	addl	(%r9), %ecx
	cmpl	%r11d, %ecx
	cmovg	%r11d, %ecx
	movl	%ecx, 640(%rsp,%rdx,4)
.L16:
	addl	$1, %ebx
	addq	$400, %rdi
	addq	$400, %rax
	addq	$400, %r9
	cmpl	%r8d, %ebx
	jne	.L24
	addq	$1, 80(%rsp)
	addq	$400, %r13
	movq	80(%rsp), %rax
	addq	$400, %r10
	subq	$400, 32(%rsp)
	cmpq	104(%rsp), %rax
	je	.L23
	movq	%rbp, %r14
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L22:
	movq	112(%rsp), %rcx
	leaq	(%rcx,%rdi), %r15
	movq	%rax, %rcx
	.p2align 4,,10
	.p2align 3
.L15:
	movq	%rcx, %r11
	movl	(%r9), %edx
	subq	%rdi, %r11
	addl	(%r11,%r13), %edx
	movl	(%rcx), %r11d
	cmpl	%r11d, %edx
	cmovg	%r11d, %edx
	addq	$4, %rcx
	movl	%edx, -4(%rcx)
	cmpq	%r15, %rcx
	jne	.L15
	jmp	.L16
.L5:
	movl	216(%rsp), %eax
	testl	%eax, %eax
	jg	.L49
.L12:
	movslq	220(%rsp), %rax
	movslq	224(%rsp), %rdx
	leaq	(%rax,%rax,4), %rax
	leaq	(%rax,%rax,4), %rax
	leaq	(%rdx,%rax,4), %rax
	movl	640(%rsp,%rax,4), %edx
	cmpl	$1000000000, %edx
	je	.L46
	movl	%edx, %eax
	movl	$0, %ecx
	movl	$1, %edi
	subl	208(%rsp), %eax
	cmovs	%ecx, %eax
	leaq	.LC3(%rip), %rsi
	addl	%eax, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L2
.L23:
	movq	120(%rsp), %rax
	movl	208(%rsp), %r11d
	xorl	%edx, %edx
	movq	96(%rsp), %rdi
	movl	16(%rsp), %ebp
	movq	104(%rsp), %rbx
	movq	184(%rsp), %r10
	leaq	244(%rsp,%rax), %rcx
	movl	28(%rsp), %r13d
	.p2align 4,,10
	.p2align 3
.L34:
	movl	(%r10,%rdx,4), %eax
	movslq	%edx, %r14
	testl	%eax, %eax
	je	.L25
	movq	%rdi, %r9
	movq	%r10, %rax
	.p2align 4,,10
	.p2align 3
.L29:
	movl	(%rax), %r14d
	testl	%r14d, %r14d
	je	.L28
	cmpl	(%r9), %r11d
	jge	.L27
.L28:
	movl	$1000000000, (%r9)
.L27:
	addq	$4, %rax
	addq	$4, %r9
	cmpq	%rcx, %rax
	jne	.L29
.L30:
	addq	$1, %rdx
	addq	$400, %rdi
	cmpq	%rbx, %rdx
	jne	.L34
.L77:
	movslq	16(%rsp), %rax
	xorl	%ebx, %ebx
	movq	96(%rsp), %r10
	xorl	%r14d, %r14d
	movq	$0, 72(%rsp)
	xorl	%r13d, %r13d
	movq	%rax, 32(%rsp)
	movslq	20(%rsp), %rax
	movb	%r12b, 28(%rsp)
	movq	%rbx, %r12
	movq	%rax, 48(%rsp)
	movslq	24(%rsp), %rax
	movq	%rax, 80(%rsp)
	movq	128(%rsp), %rax
	addq	$4, %rax
	movq	%rax, 88(%rsp)
	.p2align 4,,10
	.p2align 3
.L35:
	movslq	72(%rsp), %rdx
	movq	96(%rsp), %rax
	xorl	%edi, %edi
	xorl	%ebx, %ebx
	leaq	4(%r14), %rbp
	leaq	(%rdx,%rdx,4), %rdx
	leaq	(%rax,%r14), %r9
	leaq	(%rdx,%rdx,4), %rdx
	leaq	0(,%rdx,4), %rcx
	movq	32(%rsp), %rdx
	movq	%rcx, 64(%rsp)
	addq	%rcx, %rdx
	addq	48(%rsp), %rcx
	movq	%rdx, 40(%rsp)
	movq	%rcx, 56(%rsp)
	.p2align 4,,10
	.p2align 3
.L45:
	movq	8(%rsp), %rdx
	leaq	(%rdi,%r14), %rcx
	addq	%rdi, %rdx
	cmpq	%rdx, %rcx
	leaq	(%rdi,%rbp), %rdx
	setge	%cl
	cmpq	%rdx, %rdi
	setge	%dl
	orb	%cl, %dl
	je	.L44
	leaq	-4(%rdi,%r12), %rdx
	cmpq	$8, %rdx
	seta	%dl
	testb	%dl, 28(%rsp)
	je	.L44
	movd	(%r9), %xmm5
	xorl	%edx, %edx
	pshufd	$0, %xmm5, %xmm2
	.p2align 4,,10
	.p2align 3
.L39:
	movdqa	(%r10,%rdx), %xmm1
	movdqa	(%rax,%rdx), %xmm0
	paddd	%xmm2, %xmm1
	pcmpgtd	%xmm1, %xmm0
	pand	%xmm0, %xmm1
	pandn	(%rax,%rdx), %xmm0
	por	%xmm1, %xmm0
	movaps	%xmm0, (%rax,%rdx)
	addq	$16, %rdx
	cmpq	%rsi, %rdx
	jne	.L39
	cmpl	%r8d, 16(%rsp)
	je	.L38
	movslq	%ebx, %rdx
	movq	32(%rsp), %rcx
	movq	40(%rsp), %r15
	leaq	(%rdx,%rdx,4), %rdx
	leaq	(%rdx,%rdx,4), %rdx
	salq	$2, %rdx
	leaq	(%rdx,%rcx), %r11
	movl	(%r9), %ecx
	addl	640(%rsp,%r15,4), %ecx
	movl	640(%rsp,%r11,4), %r15d
	cmpl	%r15d, %ecx
	cmovg	%r15d, %ecx
	movl	%ecx, 640(%rsp,%r11,4)
	cmpl	%r8d, 20(%rsp)
	jge	.L38
	movq	48(%rsp), %rcx
	movq	56(%rsp), %r15
	leaq	(%rdx,%rcx), %r11
	movl	(%r9), %ecx
	addl	640(%rsp,%r15,4), %ecx
	movl	640(%rsp,%r11,4), %r15d
	cmpl	%r15d, %ecx
	cmovg	%r15d, %ecx
	movl	%ecx, 640(%rsp,%r11,4)
	cmpl	%r8d, 24(%rsp)
	jge	.L38
	movq	80(%rsp), %r15
	movq	64(%rsp), %rcx
	movl	(%r9), %r11d
	addq	%r15, %rcx
	addq	%r15, %rdx
	addl	640(%rsp,%rcx,4), %r11d
	movl	%r11d, %ecx
	movl	640(%rsp,%rdx,4), %r11d
	cmpl	%r11d, %ecx
	cmovg	%r11d, %ecx
	movl	%ecx, 640(%rsp,%rdx,4)
.L38:
	addl	$1, %ebx
	addq	$400, %rdi
	addq	$400, %rax
	addq	$400, %r9
	cmpl	%r8d, %ebx
	jne	.L45
	addq	$1, 72(%rsp)
	addq	$400, %r13
	movq	72(%rsp), %rax
	subq	$400, %r12
	addq	$400, %r10
	cmpq	104(%rsp), %rax
	je	.L12
	movq	%rbp, %r14
	jmp	.L35
	.p2align 4,,10
	.p2align 3
.L44:
	movq	88(%rsp), %rcx
	leaq	(%rcx,%rdi), %r15
	movq	%rax, %rcx
	.p2align 4,,10
	.p2align 3
.L37:
	movq	%rcx, %r11
	movl	(%r9), %edx
	subq	%rdi, %r11
	addl	(%r11,%r13), %edx
	movl	(%rcx), %r11d
	cmpl	%r11d, %edx
	cmovg	%r11d, %edx
	addq	$4, %rcx
	movl	%edx, -4(%rcx)
	cmpq	%r15, %rcx
	jne	.L37
	jmp	.L38
.L25:
	cmpl	$2, %r13d
	jbe	.L31
	leaq	(%rdi,%rsi), %r9
	movq	%rdi, %rax
	.p2align 4,,10
	.p2align 3
.L32:
	movaps	%xmm3, (%rax)
	addq	$16, %rax
	cmpq	%r9, %rax
	jne	.L32
	cmpl	%r8d, %ebp
	je	.L30
	movl	%ebp, %eax
.L31:
	leaq	(%r14,%r14,4), %r9
	movslq	%eax, %r15
	leaq	(%r9,%r9,4), %r9
	salq	$2, %r9
	leaq	(%r9,%r15), %r14
	movl	$1000000000, 640(%rsp,%r14,4)
	leal	1(%rax), %r14d
	cmpl	%r8d, %r14d
	jge	.L30
	movslq	%r14d, %r14
	addl	$2, %eax
	addq	%r9, %r14
	movl	$1000000000, 640(%rsp,%r14,4)
	cmpl	%r8d, %eax
	jge	.L30
	cltq
	addq	$1, %rdx
	addq	$400, %rdi
	addq	%rax, %r9
	movl	$1000000000, 640(%rsp,%r9,4)
	cmpq	%rbx, %rdx
	jne	.L34
	jmp	.L77
.L52:
	xorl	%eax, %eax
	jmp	.L6
.L46:
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	jmp	.L2
.L76:
	movq	40648(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L78
	addq	$40664, %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
.L78:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.long	1000000000
	.long	1000000000
	.long	1000000000
	.long	1000000000
	.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>

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

#define INF 1000000000

int main(void) {
	int i, j, o;
	int n, m, l, k, a, h;

	while (scanf("%d %d %d %d %d %d", &n, &m, &l, &k, &a, &h), n) {
		int canFreeze[100] = {0}, adj[100][100];

		canFreeze[a] = canFreeze[h] = 1;
		for (i = 0; i < l; i++) {
			int x;
			scanf("%d", &x);
			canFreeze[x] = 1;
		}

		for (i = 0; i < n; i++)
			for (j = 0; j < n; j++)
				adj[i][j] = INF;
		for (i = 0; i < k; i++) {
			int x, y, t;
			scanf("%d %d %d", &x, &y, &t);
			adj[x][y] = adj[y][x] = t;
		}

		for (o = 0; o < n; o++)
			for (i = 0; i < n; i++)
				for (j = 0; j < n; j++)
					adj[i][j] = min(adj[i][j], adj[i][o] + adj[o][j]);

		for (i = 0; i < n; i++)
			for (j = 0; j < n; j++)
				if (!canFreeze[i] || !canFreeze[j] || adj[i][j] > m)
					adj[i][j] = INF;

		for (o = 0; o < n; o++)
			for (i = 0; i < n; i++)
				for (j = 0; j < n; j++)
					adj[i][j] = min(adj[i][j], adj[i][o] + adj[o][j]);

		if (adj[a][h] != INF)
			printf("%d\n", adj[a][h] + max(0, adj[a][h] - m));
		else
			puts("Help!");
	}

	return 0;
}
2 1 0 1 0 1
0 1 2
3 1 1 2 0 1
2
0 2 1
1 2 1
3 2 1 2 0 1
2
0 2 1
1 2 1
4 4 1 4 1 3
2
0 1 2
1 2 4
0 2 1
3 0 3
5 3 2 6 0 3
1 2
2 1 2
1 0 1
3 4 1
2 4 1
4 1 2
2 0 2
5 4 2 6 0 3
1 2
4 2 4
2 2 2
4 3 1
0 1 5
1 4 2
2 0 3
0 0 0 0 0 0
 2 1 0 1 0 1
0 1 2
3 1 1 2 0 1
2
0 2 1
1 2 1
3 4 1 2 0 1
2
0 2 1
1 2 1
4 4 1 4 1 3
0
0 1 2
1 2 4
0 2 1
3 0 3
5 3 2 6 0 3
1 2
2 1 2
1 1 1
3 4 1
2 4 1
4 1 3
2 0 2
5 4 2 6 0 3
1 2
4 2 4
2 2 4
4 3 1
0 0 5
1 4 2
2 0 3
0 0 0 0 0 0
 2 1 0 1 0 1
0 1 2
3 1 1 2 0 1
2
0 2 1
1 2 1
3 4 1 2 0 1
2
0 2 1
1 2 1
4 6 1 4 1 3
0
0 1 2
1 2 4
0 2 1
3 0 3
5 3 2 6 0 3
1 2
2 1 2
1 1 2
3 4 1
2 4 1
1 1 3
2 0 2
5 4 2 6 0 3
1 2
4 2 8
2 2 4
4 3 1
0 0 5
1 4 2
2 0 3
0 0 0 0 0 0
 2 1 0 1 0 1
0 1 2
3 1 1 2 0 1
2
0 2 1
1 2 1
3 2 1 2 0 1
2
0 2 1
1 2 1
4 4 1 4 1 3
2
1 1 2
1 2 4
0 2 1
3 0 3
5 3 2 6 0 3
1 2
2 1 2
1 0 1
3 4 1
2 4 1
4 1 2
2 0 2
5 4 2 6 0 3
1 2
4 2 4
2 1 2
4 3 1
0 1 5
1 4 2
2 0 3
0 0 0 0 0 0
 2 1 0 1 0 1
0 1 2
3 1 1 2 0 1
2
0 2 1
1 2 1
3 4 1 2 0 1
2
0 2 1
1 2 1
4 4 1 4 1 3
2
0 1 2
1 2 4
0 2 1
3 0 3
5 3 2 6 0 3
1 2
2 1 2
1 1 1
3 5 1
2 4 1
4 1 3
2 0 2
5 4 2 6 0 3
1 2
4 2 4
2 2 4
4 3 1
0 0 5
1 4 2
2 0 3
0 0 0 0 0 0
 2 2 0 1 0 1
0 1 2
3 1 1 2 0 1
2
0 2 1
1 2 1
3 4 1 2 0 1
2
0 2 1
1 2 1
4 4 1 4 1 3
0
0 1 2
1 2 4
0 2 1
3 0 3
5 3 2 6 0 3
1 2
2 1 2
1 1 1
3 4 1
2 4 1
4 1 3
2 0 2
5 4 2 6 0 3
1 2
4 2 4
2 2 4
4 3 1
0 0 5
1 4 2
2 0 3
0 0 0 0 0 0
 2 1 0 1 0 1
0 1 2
3 1 1 2 0 1
2
0 2 1
2 2 1
3 2 1 2 0 1
2
0 2 1
1 2 1
4 4 1 4 1 3
2
1 1 2
1 2 4
0 2 1
3 0 3
5 3 2 6 0 3
1 2
2 1 2
1 0 1
3 4 1
2 4 1
4 1 2
2 0 2
5 4 2 6 0 3
1 2
4 2 4
2 1 2
4 3 1
0 1 5
1 4 2
2 0 3
0 0 0 0 0 0
 2 1 0 1 0 1
0 1 2
3 1 1 2 0 1
2
1 2 1
1 2 1
3 2 1 2 0 1
2
0 2 1
1 2 1
4 4 1 4 1 3
2
0 1 2
1 2 4
0 2 1
3 0 3
5 3 2 6 0 3
1 2
2 1 2
1 0 1
3 4 1
2 4 1
4 1 2
2 0 2
5 1 2 6 0 3
1 2
4 2 4
2 2 2
4 3 1
0 0 5
1 4 2
2 0 3
0 0 0 0 0 0
 2 1 0 1 0 1
0 1 3
3 1 1 2 0 1
2
0 2 1
1 2 1
3 4 1 2 0 1
2
0 2 1
1 2 2
4 4 1 4 1 3
0
0 1 2
1 2 4
0 2 1
3 0 3
5 3 2 6 0 3
1 2
2 1 2
1 1 2
3 4 1
2 4 1
1 1 3
2 0 2
5 4 2 6 0 3
1 2
4 2 8
2 2 4
4 3 1
0 0 5
1 4 2
2 0 3
0 0 0 0 0 0
 2 1 0 1 0 1
0 1 2
3 1 1 2 0 1
2
0 2 1
2 2 1
3 2 1 2 0 1
2
0 2 1
1 2 1
4 4 1 4 1 3
2
1 1 2
1 4 4
0 2 1
3 0 3
5 3 2 6 0 3
1 2
2 1 2
1 0 1
3 4 1
2 4 1
4 1 2
2 0 2
5 4 2 6 0 3
1 2
4 2 4
2 1 2
4 3 1
0 1 5
1 4 2
2 0 3
0 0 0 0 0 0

Help!
3
2
10
5
Help!
 Help!
3
2
6
5
Help!
 Help!
3
2
5
5
Help!
 Help!
3
2
12
5
12
 Help!
3
2
10
Help!
Help!
 2
3
2
6
5
Help!
 Help!
Help!
2
12
5
12
 Help!
Help!
2
10
5
Help!
 Help!
3
3
6
5
Help!
 Help!
Help!
2
Help!
5
12

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>

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

#define INF 1000000000

int main(void) {
	int i, j, o;
	int n, m, l, k, a, h;

	while (scanf("%d %d %d %d %d %d", &n, &m, &l, &k, &a, &h), n) {
		int canFreeze[100] = {0}, adj[100][100];

		canFreeze[a] = canFreeze[h] = 1;
		for (i = 0; i < l; i++) {
			int x;
			scanf("%d", &x);
			canFreeze[x] = 1;
		}

		for (i = 0; i < n; i++)
			for (j = 0; j < n; j++)
				adj[i][j] = INF;
		for (i = 0; i < k; i++) {
			int x, y, t;
			scanf("%d %d %d", &x, &y, &t);
			adj[x][y] = adj[y][x] = t;
		}

		for (o = 0; o < n; o++)
			for (i = 0; i < n; i++)
				for (j = 0; j < n; j++)
					adj[i][j] = min(adj[i][j], adj[i][o] + adj[o][j]);

		for (i = 0; i < n; i++)
			for (j = 0; j < n; j++)
				if (!canFreeze[i] || !canFreeze[j] || adj[i][j] > m)
					adj[i][j] = INF;

		for (o = 0; o < n; o++)
			for (i = 0; i < n; i++)
				for (j = 0; j < n; j++)
					adj[i][j] = min(adj[i][j], adj[i][o] + adj[o][j]);

		if (adj[a][h] != INF)
			printf("%d\n", adj[a][h] + max(0, adj[a][h] - m));
		else
			puts("Help!");
	}

	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d %d"
.LC2:
	.string	"%d\n"
.LC3:
	.string	"Help!"
.LC4:
	.string	"%d %d %d %d %d %d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-36864(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$3600, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	jmp	.L2
.L31:
	leaq	-40416(%rbp), %rdx
	movl	$0, %eax
	movl	$50, %ecx
	movq	%rdx, %rdi
	rep stosq
	movl	-40444(%rbp), %eax
	movslq	%eax, %rdx
	movl	$1, -40416(%rbp,%rdx,4)
	movl	-40448(%rbp), %ecx
	cltq
	movl	-40416(%rbp,%rax,4), %edx
	movslq	%ecx, %rax
	movl	%edx, -40416(%rbp,%rax,4)
	movl	$0, -40428(%rbp)
	jmp	.L3
.L4:
	leaq	-40432(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-40432(%rbp), %eax
	cltq
	movl	$1, -40416(%rbp,%rax,4)
	addl	$1, -40428(%rbp)
.L3:
	movl	-40456(%rbp), %eax
	cmpl	%eax, -40428(%rbp)
	jl	.L4
	movl	$0, -40428(%rbp)
	jmp	.L5
.L8:
	movl	$0, -40424(%rbp)
	jmp	.L6
.L7:
	movl	-40424(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40428(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	$1000000000, -40016(%rbp,%rax,4)
	addl	$1, -40424(%rbp)
.L6:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40424(%rbp)
	jl	.L7
	addl	$1, -40428(%rbp)
.L5:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40428(%rbp)
	jl	.L8
	movl	$0, -40428(%rbp)
	jmp	.L9
.L10:
	leaq	-40432(%rbp), %rcx
	leaq	-40436(%rbp), %rdx
	leaq	-40440(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-40436(%rbp), %edx
	movl	-40440(%rbp), %ecx
	movl	-40432(%rbp), %esi
	movslq	%ecx, %r8
	movslq	%edx, %rdi
	movq	%rdi, %rax
	salq	$2, %rax
	addq	%rdi, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%r8, %rax
	movl	%esi, -40016(%rbp,%rax,4)
	movl	-40440(%rbp), %esi
	movl	-40436(%rbp), %edi
	movslq	%ecx, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-40016(%rbp,%rax,4), %edx
	movslq	%edi, %rdi
	movslq	%esi, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rdi, %rax
	movl	%edx, -40016(%rbp,%rax,4)
	addl	$1, -40428(%rbp)
.L9:
	movl	-40452(%rbp), %eax
	cmpl	%eax, -40428(%rbp)
	jl	.L10
	movl	$0, -40420(%rbp)
	jmp	.L11
.L16:
	movl	$0, -40428(%rbp)
	jmp	.L12
.L15:
	movl	$0, -40424(%rbp)
	jmp	.L13
.L14:
	movl	-40420(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40428(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-40016(%rbp,%rax,4), %ecx
	movl	-40424(%rbp), %eax
	movslq	%eax, %rsi
	movl	-40420(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	-40016(%rbp,%rax,4), %eax
	leal	(%rcx,%rax), %edx
	movl	-40424(%rbp), %eax
	movslq	%eax, %rsi
	movl	-40428(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	-40016(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	cmovg	%eax, %edx
	movl	-40424(%rbp), %eax
	movslq	%eax, %rsi
	movl	-40428(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	%edx, -40016(%rbp,%rax,4)
	addl	$1, -40424(%rbp)
.L13:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40424(%rbp)
	jl	.L14
	addl	$1, -40428(%rbp)
.L12:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40428(%rbp)
	jl	.L15
	addl	$1, -40420(%rbp)
.L11:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40420(%rbp)
	jl	.L16
	movl	$0, -40428(%rbp)
	jmp	.L17
.L22:
	movl	$0, -40424(%rbp)
	jmp	.L18
.L21:
	movl	-40428(%rbp), %eax
	cltq
	movl	-40416(%rbp,%rax,4), %eax
	testl	%eax, %eax
	je	.L19
	movl	-40424(%rbp), %eax
	cltq
	movl	-40416(%rbp,%rax,4), %eax
	testl	%eax, %eax
	je	.L19
	movl	-40424(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40428(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-40016(%rbp,%rax,4), %edx
	movl	-40460(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L20
.L19:
	movl	-40424(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40428(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	$1000000000, -40016(%rbp,%rax,4)
.L20:
	addl	$1, -40424(%rbp)
.L18:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40424(%rbp)
	jl	.L21
	addl	$1, -40428(%rbp)
.L17:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40428(%rbp)
	jl	.L22
	movl	$0, -40420(%rbp)
	jmp	.L23
.L28:
	movl	$0, -40428(%rbp)
	jmp	.L24
.L27:
	movl	$0, -40424(%rbp)
	jmp	.L25
.L26:
	movl	-40420(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40428(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-40016(%rbp,%rax,4), %ecx
	movl	-40424(%rbp), %eax
	movslq	%eax, %rsi
	movl	-40420(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	-40016(%rbp,%rax,4), %eax
	leal	(%rcx,%rax), %edx
	movl	-40424(%rbp), %eax
	movslq	%eax, %rsi
	movl	-40428(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	-40016(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	cmovg	%eax, %edx
	movl	-40424(%rbp), %eax
	movslq	%eax, %rsi
	movl	-40428(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	%edx, -40016(%rbp,%rax,4)
	addl	$1, -40424(%rbp)
.L25:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40424(%rbp)
	jl	.L26
	addl	$1, -40428(%rbp)
.L24:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40428(%rbp)
	jl	.L27
	addl	$1, -40420(%rbp)
.L23:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40420(%rbp)
	jl	.L28
	movl	-40448(%rbp), %eax
	movl	-40444(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-40016(%rbp,%rax,4), %eax
	cmpl	$1000000000, %eax
	je	.L29
	movl	-40448(%rbp), %eax
	movl	-40444(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-40016(%rbp,%rax,4), %ecx
	movl	-40448(%rbp), %eax
	movl	-40444(%rbp), %edx
	movslq	%edx, %rsi
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	-40016(%rbp,%rax,4), %eax
	movl	-40460(%rbp), %edx
	subl	%edx, %eax
	movl	$0, %edx
	testl	%eax, %eax
	cmovs	%edx, %eax
	addl	%ecx, %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L2
.L29:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L2:
	leaq	-40448(%rbp), %r8
	leaq	-40452(%rbp), %rdi
	leaq	-40456(%rbp), %rcx
	leaq	-40460(%rbp), %rdx
	leaq	-40464(%rbp), %rax
	subq	$8, %rsp
	leaq	-40444(%rbp), %rsi
	pushq	%rsi
	movq	%r8, %r9
	movq	%rdi, %r8
	movq	%rax, %rsi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$16, %rsp
	movl	-40464(%rbp), %eax
	testl	%eax, %eax
	jne	.L31
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L33
	call	__stack_chk_fail@PLT
.L33:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"%d"
.LC1:
	.string	"%d %d %d"
.LC2:
	.string	"%d\n"
.LC3:
	.string	"Help!"
.LC4:
	.string	"%d %d %d %d %d %d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-36864(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$3600, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	jmp	.L2
.L31:
	leaq	-40416(%rbp), %rdx
	movl	$0, %eax
	movl	$50, %ecx
	movq	%rdx, %rdi
	rep stosq
	movl	-40444(%rbp), %eax
	movslq	%eax, %rdx
	movl	$1, -40416(%rbp,%rdx,4)
	movl	-40448(%rbp), %ecx
	cltq
	movl	-40416(%rbp,%rax,4), %edx
	movslq	%ecx, %rax
	movl	%edx, -40416(%rbp,%rax,4)
	movl	$0, -40428(%rbp)
	jmp	.L3
.L4:
	leaq	-40432(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-40432(%rbp), %eax
	cltq
	movl	$1, -40416(%rbp,%rax,4)
	addl	$1, -40428(%rbp)
.L3:
	movl	-40456(%rbp), %eax
	cmpl	%eax, -40428(%rbp)
	jl	.L4
	movl	$0, -40428(%rbp)
	jmp	.L5
.L8:
	movl	$0, -40424(%rbp)
	jmp	.L6
.L7:
	movl	-40424(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40428(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	$1000000000, -40016(%rbp,%rax,4)
	addl	$1, -40424(%rbp)
.L6:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40424(%rbp)
	jl	.L7
	addl	$1, -40428(%rbp)
.L5:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40428(%rbp)
	jl	.L8
	movl	$0, -40428(%rbp)
	jmp	.L9
.L10:
	leaq	-40432(%rbp), %rcx
	leaq	-40436(%rbp), %rdx
	leaq	-40440(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-40436(%rbp), %edx
	movl	-40440(%rbp), %ecx
	movl	-40432(%rbp), %esi
	movslq	%ecx, %r8
	movslq	%edx, %rdi
	movq	%rdi, %rax
	salq	$2, %rax
	addq	%rdi, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%r8, %rax
	movl	%esi, -40016(%rbp,%rax,4)
	movl	-40440(%rbp), %esi
	movl	-40436(%rbp), %edi
	movslq	%ecx, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-40016(%rbp,%rax,4), %edx
	movslq	%edi, %rdi
	movslq	%esi, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rdi, %rax
	movl	%edx, -40016(%rbp,%rax,4)
	addl	$1, -40428(%rbp)
.L9:
	movl	-40452(%rbp), %eax
	cmpl	%eax, -40428(%rbp)
	jl	.L10
	movl	$0, -40420(%rbp)
	jmp	.L11
.L16:
	movl	$0, -40428(%rbp)
	jmp	.L12
.L15:
	movl	$0, -40424(%rbp)
	jmp	.L13
.L14:
	movl	-40420(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40428(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-40016(%rbp,%rax,4), %ecx
	movl	-40424(%rbp), %eax
	movslq	%eax, %rsi
	movl	-40420(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	-40016(%rbp,%rax,4), %eax
	leal	(%rcx,%rax), %edx
	movl	-40424(%rbp), %eax
	movslq	%eax, %rsi
	movl	-40428(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	-40016(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	cmovg	%eax, %edx
	movl	-40424(%rbp), %eax
	movslq	%eax, %rsi
	movl	-40428(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	%edx, -40016(%rbp,%rax,4)
	addl	$1, -40424(%rbp)
.L13:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40424(%rbp)
	jl	.L14
	addl	$1, -40428(%rbp)
.L12:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40428(%rbp)
	jl	.L15
	addl	$1, -40420(%rbp)
.L11:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40420(%rbp)
	jl	.L16
	movl	$0, -40428(%rbp)
	jmp	.L17
.L22:
	movl	$0, -40424(%rbp)
	jmp	.L18
.L21:
	movl	-40428(%rbp), %eax
	cltq
	movl	-40416(%rbp,%rax,4), %eax
	testl	%eax, %eax
	je	.L19
	movl	-40424(%rbp), %eax
	cltq
	movl	-40416(%rbp,%rax,4), %eax
	testl	%eax, %eax
	je	.L19
	movl	-40424(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40428(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-40016(%rbp,%rax,4), %edx
	movl	-40460(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L20
.L19:
	movl	-40424(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40428(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	$1000000000, -40016(%rbp,%rax,4)
.L20:
	addl	$1, -40424(%rbp)
.L18:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40424(%rbp)
	jl	.L21
	addl	$1, -40428(%rbp)
.L17:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40428(%rbp)
	jl	.L22
	movl	$0, -40420(%rbp)
	jmp	.L23
.L28:
	movl	$0, -40428(%rbp)
	jmp	.L24
.L27:
	movl	$0, -40424(%rbp)
	jmp	.L25
.L26:
	movl	-40420(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40428(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-40016(%rbp,%rax,4), %ecx
	movl	-40424(%rbp), %eax
	movslq	%eax, %rsi
	movl	-40420(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	-40016(%rbp,%rax,4), %eax
	leal	(%rcx,%rax), %edx
	movl	-40424(%rbp), %eax
	movslq	%eax, %rsi
	movl	-40428(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	-40016(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	cmovg	%eax, %edx
	movl	-40424(%rbp), %eax
	movslq	%eax, %rsi
	movl	-40428(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	%edx, -40016(%rbp,%rax,4)
	addl	$1, -40424(%rbp)
.L25:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40424(%rbp)
	jl	.L26
	addl	$1, -40428(%rbp)
.L24:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40428(%rbp)
	jl	.L27
	addl	$1, -40420(%rbp)
.L23:
	movl	-40464(%rbp), %eax
	cmpl	%eax, -40420(%rbp)
	jl	.L28
	movl	-40448(%rbp), %eax
	movl	-40444(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-40016(%rbp,%rax,4), %eax
	cmpl	$1000000000, %eax
	je	.L29
	movl	-40448(%rbp), %eax
	movl	-40444(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-40016(%rbp,%rax,4), %ecx
	movl	-40448(%rbp), %eax
	movl	-40444(%rbp), %edx
	movslq	%edx, %rsi
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	-40016(%rbp,%rax,4), %eax
	movl	-40460(%rbp), %edx
	subl	%edx, %eax
	movl	$0, %edx
	testl	%eax, %eax
	cmovs	%edx, %eax
	addl	%ecx, %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L2
.L29:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L2:
	leaq	-40448(%rbp), %r8
	leaq	-40452(%rbp), %rdi
	leaq	-40456(%rbp), %rcx
	leaq	-40460(%rbp), %rdx
	leaq	-40464(%rbp), %rax
	subq	$8, %rsp
	leaq	-40444(%rbp), %rsi
	pushq	%rsi
	movq	%r8, %r9
	movq	%rdi, %r8
	movq	%rax, %rsi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$16, %rsp
	movl	-40464(%rbp), %eax
	testl	%eax, %eax
	jne	.L31
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L33
	call	__stack_chk_fail@PLT
.L33:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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:
