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

#define N	15
#define INF	0x3f3f3f3f

int max(int a, int b) { return a > b ? a : b; }

int main() {
	static int ww[N][N], ss[1 << N], dp[1 << N][N];
	int n, m, i, j, b;

	scanf("%d%d", &n, &m);
	while (m--) {
		int w;

		scanf("%d%d%d", &i, &j, &w), i--, j--;
		ww[i][j] = ww[j][i] = w;
		ss[1 << i | 1 << j] += w;
	}
	for (i = 0; i < n; i++)
		for (b = 0; b < 1 << n; b++)
			if (b & 1 << i)
				ss[b] += ss[b ^ 1 << i];
	for (b = 1; b < 1 << n; b++)
		for (i = 0; i < n; i++)
			dp[b][i] = -INF;
	dp[1][0] = 0;
	for (b = 1; b < 1 << n; b++)
		for (i = 0; i < n; i++) {
			int x, c, b_;

			x = dp[b][i];
			if (x == -INF)
				continue;
			b_ = (1 << n) - 1 ^ b, c = 0;
			do
				dp[b | c][i] = max(dp[b | c][i], x + ss[c | 1 << i]);
			while (c = c - b_ & b_);
			for (j = 0; j < n; j++)
				if ((b & 1 << j) == 0 && ww[i][j])
					dp[b | 1 << j][j] = max(dp[b | 1 << j][j], x + ww[i][j]);
		}
	printf("%d\n", ss[(1 << n) - 1] - dp[(1 << n) - 1][n - 1]);
	return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	max
	.type	max, @function
max:
.LFB0:
	.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), %edx
	movl	-4(%rbp), %eax
	cmpl	%eax, %edx
	cmovge	%edx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	max, .-max
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d%d%d"
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-56(%rbp), %rdx
	leaq	-60(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	jmp	.L4
.L5:
	leaq	-44(%rbp), %rcx
	leaq	-48(%rbp), %rdx
	leaq	-52(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-52(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -52(%rbp)
	movl	-48(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -48(%rbp)
	movl	-48(%rbp), %edx
	movl	-52(%rbp), %ecx
	movl	-44(%rbp), %esi
	movslq	%ecx, %r8
	movslq	%edx, %rdi
	movq	%rdi, %rax
	salq	$4, %rax
	subq	%rdi, %rax
	addq	%r8, %rax
	leaq	0(,%rax,4), %rdi
	leaq	ww.2(%rip), %rax
	movl	%esi, (%rdi,%rax)
	movl	-52(%rbp), %esi
	movl	-48(%rbp), %edi
	movslq	%ecx, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	ww.2(%rip), %rax
	movl	(%rdx,%rax), %edx
	movslq	%edi, %rdi
	movslq	%esi, %rcx
	movq	%rcx, %rax
	salq	$4, %rax
	subq	%rcx, %rax
	addq	%rdi, %rax
	leaq	0(,%rax,4), %rcx
	leaq	ww.2(%rip), %rax
	movl	%edx, (%rcx,%rax)
	movl	-52(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	-48(%rbp), %eax
	movl	$1, %esi
	movl	%eax, %ecx
	sall	%cl, %esi
	movl	%esi, %eax
	orl	%edx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ss.1(%rip), %rax
	movl	(%rdx,%rax), %esi
	movl	-44(%rbp), %edx
	movl	-52(%rbp), %eax
	movl	$1, %edi
	movl	%eax, %ecx
	sall	%cl, %edi
	movl	-48(%rbp), %eax
	movl	$1, %r8d
	movl	%eax, %ecx
	sall	%cl, %r8d
	movl	%r8d, %eax
	orl	%edi, %eax
	leal	(%rsi,%rdx), %ecx
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ss.1(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L4:
	movl	-56(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -56(%rbp)
	testl	%eax, %eax
	jne	.L5
	movl	$0, -52(%rbp)
	jmp	.L6
.L10:
	movl	$0, -40(%rbp)
	jmp	.L7
.L9:
	movl	-52(%rbp), %eax
	movl	-40(%rbp), %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	movl	%edx, %eax
	andl	$1, %eax
	testl	%eax, %eax
	je	.L8
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ss.1(%rip), %rax
	movl	(%rdx,%rax), %esi
	movl	-52(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	xorl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ss.1(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	(%rsi,%rax), %ecx
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ss.1(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L8:
	addl	$1, -40(%rbp)
.L7:
	movl	-60(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	cmpl	%eax, -40(%rbp)
	jl	.L9
	movl	-52(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -52(%rbp)
.L6:
	movl	-52(%rbp), %edx
	movl	-60(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L10
	movl	$1, -40(%rbp)
	jmp	.L11
.L14:
	movl	$0, -52(%rbp)
	jmp	.L12
.L13:
	movl	-52(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	dp.0(%rip), %rax
	movl	$-1061109567, (%rdx,%rax)
	movl	-52(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -52(%rbp)
.L12:
	movl	-52(%rbp), %edx
	movl	-60(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L13
	addl	$1, -40(%rbp)
.L11:
	movl	-60(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	cmpl	%eax, -40(%rbp)
	jl	.L14
	movl	$0, 60+dp.0(%rip)
	movl	$1, -40(%rbp)
	jmp	.L15
.L24:
	movl	$0, -52(%rbp)
	jmp	.L16
.L23:
	movl	-52(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	dp.0(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -32(%rbp)
	cmpl	$-1061109567, -32(%rbp)
	je	.L27
	movl	-60(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	subl	$1, %eax
	xorl	-40(%rbp), %eax
	movl	%eax, -28(%rbp)
	movl	$0, -36(%rbp)
.L19:
	movl	-52(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	orl	-36(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ss.1(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-32(%rbp), %eax
	addl	%eax, %edx
	movl	-40(%rbp), %eax
	orl	-36(%rbp), %eax
	movl	-52(%rbp), %ecx
	movslq	%ecx, %rsi
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$4, %rax
	subq	%rcx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rcx
	leaq	dp.0(%rip), %rax
	movl	(%rcx,%rax), %eax
	movl	-40(%rbp), %ecx
	movl	%ecx, %ebx
	orl	-36(%rbp), %ebx
	movl	-52(%rbp), %r12d
	movl	%edx, %esi
	movl	%eax, %edi
	call	max
	movl	%eax, %edx
	movslq	%r12d, %rsi
	movslq	%ebx, %rcx
	movq	%rcx, %rax
	salq	$4, %rax
	subq	%rcx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rcx
	leaq	dp.0(%rip), %rax
	movl	%edx, (%rcx,%rax)
	movl	-36(%rbp), %eax
	subl	-28(%rbp), %eax
	andl	-28(%rbp), %eax
	movl	%eax, -36(%rbp)
	cmpl	$0, -36(%rbp)
	jne	.L19
	movl	$0, -48(%rbp)
	jmp	.L20
.L22:
	movl	-48(%rbp), %eax
	movl	-40(%rbp), %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	movl	%edx, %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L21
	movl	-52(%rbp), %eax
	movl	-48(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	ww.2(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	je	.L21
	movl	-52(%rbp), %eax
	movl	-48(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	ww.2(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-32(%rbp), %eax
	addl	%eax, %edx
	movl	-48(%rbp), %eax
	movl	$1, %esi
	movl	%eax, %ecx
	sall	%cl, %esi
	movl	%esi, %eax
	orl	-40(%rbp), %eax
	movl	-48(%rbp), %ecx
	movslq	%ecx, %rsi
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$4, %rax
	subq	%rcx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rcx
	leaq	dp.0(%rip), %rax
	movl	(%rcx,%rax), %eax
	movl	-48(%rbp), %ecx
	movl	$1, %esi
	sall	%cl, %esi
	movl	%esi, %ecx
	movl	%ecx, %ebx
	orl	-40(%rbp), %ebx
	movl	-48(%rbp), %r12d
	movl	%edx, %esi
	movl	%eax, %edi
	call	max
	movl	%eax, %edx
	movslq	%r12d, %rsi
	movslq	%ebx, %rcx
	movq	%rcx, %rax
	salq	$4, %rax
	subq	%rcx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rcx
	leaq	dp.0(%rip), %rax
	movl	%edx, (%rcx,%rax)
.L21:
	movl	-48(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -48(%rbp)
.L20:
	movl	-48(%rbp), %edx
	movl	-60(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L22
	jmp	.L18
.L27:
	nop
.L18:
	movl	-52(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -52(%rbp)
.L16:
	movl	-52(%rbp), %edx
	movl	-60(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L23
	addl	$1, -40(%rbp)
.L15:
	movl	-60(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	cmpl	%eax, -40(%rbp)
	jl	.L24
	movl	-60(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	subl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ss.1(%rip), %rax
	movl	(%rdx,%rax), %esi
	movl	-60(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	leal	-1(%rax), %edx
	movl	-60(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	dp.0(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	%esi, %eax
	subl	%edx, %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.local	ww.2
	.comm	ww.2,900,32
	.local	ss.1
	.comm	ss.1,131072,32
	.local	dp.0
	.comm	dp.0,1966080,32
	.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	max
	.type	max, @function
max:
.LFB35:
	.cfi_startproc
	endbr64
	cmpl	%edi, %esi
	movl	%edi, %eax
	cmovge	%esi, %eax
	ret
	.cfi_endproc
.LFE35:
	.size	max, .-max
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d%d%d"
.LC3:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB36:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	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	ss.1(%rip), %rbx
	subq	$72, %rsp
	.cfi_def_cfa_offset 128
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rdx
	leaq	36(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	40(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 40(%rsp)
	testl	%eax, %eax
	je	.L7
	leaq	52(%rsp), %rax
	movl	%r15d, 12(%rsp)
	leaq	48(%rsp), %r14
	leaq	ss.1(%rip), %rbx
	leaq	44(%rsp), %r13
	movq	%rbx, %r15
	leaq	.LC1(%rip), %r12
	movq	%rax, %rbx
	leaq	ww.2(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%rbx, %rcx
	movq	%r14, %rdx
	movq	%r13, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %eax
	movl	52(%rsp), %esi
	leal	-1(%rax), %edx
	movl	48(%rsp), %eax
	movslq	%edx, %r9
	movl	%edx, 44(%rsp)
	leal	-1(%rax), %ecx
	movslq	%ecx, %rdi
	movl	%ecx, 48(%rsp)
	movq	%rdi, %rax
	salq	$4, %rax
	subq	%rdi, %rax
	addq	%r9, %rax
	movl	%esi, 0(%rbp,%rax,4)
	movq	%r9, %rax
	salq	$4, %rax
	subq	%r9, %rax
	addq	%rdi, %rax
	movl	%esi, 0(%rbp,%rax,4)
	movl	$1, %eax
	sall	%cl, %eax
	btsl	%edx, %eax
	cltq
	addl	%esi, (%r15,%rax,4)
	movl	40(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 40(%rsp)
	testl	%eax, %eax
	jne	.L4
	movq	%r15, %rbx
	movl	12(%rsp), %r15d
.L7:
	movl	36(%rsp), %r8d
	movl	$1, %r10d
	movl	$0, 44(%rsp)
	movl	%r8d, %ecx
	movl	%r8d, 16(%rsp)
	sall	%cl, %r10d
	movl	%r10d, 20(%rsp)
	testl	%r8d, %r8d
	jle	.L5
	xorl	%ecx, %ecx
	movl	$1, %r9d
	movslq	%r10d, %rdi
	.p2align 4,,10
	.p2align 3
.L6:
	testl	%r10d, %r10d
	jle	.L11
	movl	%r9d, %esi
	movl	$1, %eax
	sall	%cl, %esi
	testl	%r8d, %r8d
	je	.L11
	.p2align 4,,10
	.p2align 3
.L9:
	testl	%eax, %esi
	je	.L8
	movl	%esi, %edx
	xorl	%eax, %edx
	movslq	%edx, %rdx
	movl	(%rbx,%rdx,4), %edx
	addl	%edx, (%rbx,%rax,4)
.L8:
	addq	$1, %rax
	cmpq	%rdi, %rax
	jne	.L9
.L11:
	addl	$1, %ecx
	cmpl	%r8d, %ecx
	jne	.L6
	movl	16(%rsp), %eax
	movl	%eax, 44(%rsp)
.L5:
	movl	20(%rsp), %r11d
	cmpl	$1, %r11d
	jle	.L13
	movl	16(%rsp), %r8d
	leaq	60+dp.0(%rip), %r14
	movl	$1, %esi
	movdqa	.LC2(%rip), %xmm0
	movq	%r14, %rcx
	leaq	-60(%r14), %r9
	leal	-1(%r8), %ebp
	movl	%r8d, %r10d
	movl	%r8d, %edi
	movl	%ebp, 28(%rsp)
	shrl	$2, %r10d
	andl	$-4, %edi
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L63:
	cmpl	$2, %ebp
	jbe	.L31
	movups	%xmm0, (%rcx)
	cmpl	$1, %r10d
	jbe	.L16
	movups	%xmm0, 16(%rcx)
	cmpl	$2, %r10d
	je	.L16
	movups	%xmm0, 32(%rcx)
.L16:
	movl	%edi, %eax
	cmpl	%edi, %r8d
	je	.L17
.L15:
	movslq	%esi, %r13
	movslq	%eax, %r12
	movq	%r13, %rdx
	salq	$4, %rdx
	subq	%r13, %rdx
	addq	%rdx, %r12
	movl	$-1061109567, (%r9,%r12,4)
	leal	1(%rax), %r12d
	cmpl	%r12d, %r8d
	jle	.L17
	movslq	%r12d, %r12
	addl	$2, %eax
	addq	%rdx, %r12
	movl	$-1061109567, (%r9,%r12,4)
	cmpl	%r8d, %eax
	jge	.L17
	cltq
	addq	%rax, %rdx
	movl	$-1061109567, (%r9,%rdx,4)
.L17:
	addl	$1, %esi
	movl	%r8d, %eax
	addq	$60, %rcx
	cmpl	%r11d, %esi
	je	.L62
.L18:
	testl	%r8d, %r8d
	jg	.L63
	addl	$1, %esi
	xorl	%eax, %eax
	addq	$60, %rcx
	cmpl	%r11d, %esi
	jne	.L18
.L62:
	movl	%eax, 44(%rsp)
	movl	20(%rsp), %eax
	movl	$1, %r10d
	movl	$0, 60+dp.0(%rip)
	movl	28(%rsp), %r12d
	subl	$1, %eax
	movl	%eax, 24(%rsp)
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L27:
	movl	16(%rsp), %edx
	testl	%edx, %edx
	jle	.L20
	movl	24(%rsp), %edi
	leaq	ww.2(%rip), %r13
	xorl	%ecx, %ecx
	xorl	%r10d, %edi
	movl	%edi, %edx
	negl	%edx
	andl	%edi, %edx
	movl	%edx, 12(%rsp)
	.p2align 4,,10
	.p2align 3
.L26:
	movl	(%r14,%rcx,4), %r11d
	movslq	%ecx, %rbp
	cmpl	$-1061109567, %r11d
	je	.L21
	movl	$1, %r15d
	sall	%cl, %r15d
	movslq	%r15d, %rax
	movl	(%rbx,%rax,4), %edx
	addl	%r11d, %edx
	movl	%edx, %eax
	cmpl	%r11d, %edx
	cmovl	%r11d, %eax
	movl	%eax, (%r14,%rcx,4)
	movl	12(%rsp), %eax
	testl	%eax, %eax
	je	.L22
	.p2align 4,,10
	.p2align 3
.L23:
	movl	%r10d, %esi
	orl	%eax, %esi
	movslq	%esi, %rsi
	movq	%rsi, %rdx
	salq	$4, %rdx
	subq	%rsi, %rdx
	movl	%r15d, %esi
	orl	%eax, %esi
	addq	%rbp, %rdx
	movslq	%esi, %rsi
	movl	(%rbx,%rsi,4), %r8d
	addl	%r11d, %r8d
	movl	%r8d, %esi
	movl	(%r9,%rdx,4), %r8d
	cmpl	%r8d, %esi
	cmovl	%r8d, %esi
	subl	%edi, %eax
	movl	%esi, (%r9,%rdx,4)
	andl	%edi, %eax
	jne	.L23
.L22:
	xorl	%eax, %eax
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L32:
	movq	%rdx, %rax
.L25:
	btl	%eax, %r10d
	jc	.L24
	movl	0(%r13,%rax,4), %edx
	testl	%edx, %edx
	je	.L24
	movl	%r10d, %ebp
	movslq	%eax, %r8
	addl	%r11d, %edx
	btsl	%eax, %ebp
	movslq	%ebp, %rbp
	movq	%rbp, %rsi
	salq	$4, %rsi
	subq	%rbp, %rsi
	addq	%r8, %rsi
	movl	(%r9,%rsi,4), %r8d
	cmpl	%r8d, %edx
	cmovl	%r8d, %edx
	movl	%edx, (%r9,%rsi,4)
.L24:
	leaq	1(%rax), %rdx
	cmpq	%r12, %rax
	jne	.L32
	movl	16(%rsp), %r15d
	movl	$1, %eax
.L21:
	leaq	1(%rcx), %rdx
	addq	$60, %r13
	cmpq	%r12, %rcx
	je	.L20
	movq	%rdx, %rcx
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L20:
	addl	$1, %r10d
	addq	$60, %r14
	cmpl	20(%rsp), %r10d
	jne	.L27
	testb	%al, %al
	je	.L28
	movl	%r15d, 48(%rsp)
.L28:
	movslq	24(%rsp), %rdx
	movslq	28(%rsp), %rcx
	movl	$1, %edi
	leaq	.LC3(%rip), %rsi
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	movl	(%rbx,%rdx,4), %edx
	addq	%rcx, %rax
	subl	(%r9,%rax,4), %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L64
	addq	$72, %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
.L31:
	.cfi_restore_state
	xorl	%eax, %eax
	jmp	.L15
.L13:
	movl	16(%rsp), %eax
	leaq	dp.0(%rip), %r9
	movl	$0, 60+dp.0(%rip)
	subl	$1, %eax
	movl	%eax, 28(%rsp)
	movl	20(%rsp), %eax
	subl	$1, %eax
	movl	%eax, 24(%rsp)
	jmp	.L28
.L64:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE36:
	.size	main, .-main
	.local	dp.0
	.comm	dp.0,1966080,32
	.local	ss.1
	.comm	ss.1,131072,32
	.local	ww.2
	.comm	ww.2,900,32
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC2:
	.long	-1061109567
	.long	-1061109567
	.long	-1061109567
	.long	-1061109567
	.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	max
	.type	max, @function
max:
.LFB35:
	.cfi_startproc
	endbr64
	cmpl	%edi, %esi
	movl	%edi, %eax
	cmovge	%esi, %eax
	ret
	.cfi_endproc
.LFE35:
	.size	max, .-max
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d%d%d"
.LC3:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB36:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	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	ss.1(%rip), %rbx
	subq	$72, %rsp
	.cfi_def_cfa_offset 128
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rdx
	leaq	36(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	40(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 40(%rsp)
	testl	%eax, %eax
	je	.L7
	leaq	52(%rsp), %rax
	movl	%r15d, 12(%rsp)
	leaq	48(%rsp), %r14
	leaq	ss.1(%rip), %rbx
	leaq	44(%rsp), %r13
	movq	%rbx, %r15
	leaq	.LC1(%rip), %r12
	movq	%rax, %rbx
	leaq	ww.2(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%rbx, %rcx
	movq	%r14, %rdx
	movq	%r13, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %eax
	movl	52(%rsp), %esi
	leal	-1(%rax), %edx
	movl	48(%rsp), %eax
	movslq	%edx, %r9
	movl	%edx, 44(%rsp)
	leal	-1(%rax), %ecx
	movslq	%ecx, %rdi
	movl	%ecx, 48(%rsp)
	movq	%rdi, %rax
	salq	$4, %rax
	subq	%rdi, %rax
	addq	%r9, %rax
	movl	%esi, 0(%rbp,%rax,4)
	movq	%r9, %rax
	salq	$4, %rax
	subq	%r9, %rax
	addq	%rdi, %rax
	movl	%esi, 0(%rbp,%rax,4)
	movl	$1, %eax
	sall	%cl, %eax
	btsl	%edx, %eax
	cltq
	addl	%esi, (%r15,%rax,4)
	movl	40(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 40(%rsp)
	testl	%eax, %eax
	jne	.L4
	movq	%r15, %rbx
	movl	12(%rsp), %r15d
.L7:
	movl	36(%rsp), %r8d
	movl	$1, %r10d
	movl	$0, 44(%rsp)
	movl	%r8d, %ecx
	movl	%r8d, 16(%rsp)
	sall	%cl, %r10d
	movl	%r10d, 20(%rsp)
	testl	%r8d, %r8d
	jle	.L5
	xorl	%ecx, %ecx
	movl	$1, %r9d
	movslq	%r10d, %rdi
	.p2align 4,,10
	.p2align 3
.L6:
	testl	%r10d, %r10d
	jle	.L11
	movl	%r9d, %esi
	movl	$1, %eax
	sall	%cl, %esi
	testl	%r8d, %r8d
	je	.L11
	.p2align 4,,10
	.p2align 3
.L9:
	testl	%eax, %esi
	je	.L8
	movl	%esi, %edx
	xorl	%eax, %edx
	movslq	%edx, %rdx
	movl	(%rbx,%rdx,4), %edx
	addl	%edx, (%rbx,%rax,4)
.L8:
	addq	$1, %rax
	cmpq	%rdi, %rax
	jne	.L9
.L11:
	addl	$1, %ecx
	cmpl	%r8d, %ecx
	jne	.L6
	movl	16(%rsp), %eax
	movl	%eax, 44(%rsp)
.L5:
	movl	20(%rsp), %r11d
	cmpl	$1, %r11d
	jle	.L13
	movl	16(%rsp), %r8d
	leaq	60+dp.0(%rip), %r14
	movl	$1, %esi
	movdqa	.LC2(%rip), %xmm0
	movq	%r14, %rcx
	leaq	-60(%r14), %r9
	leal	-1(%r8), %ebp
	movl	%r8d, %r10d
	movl	%r8d, %edi
	movl	%ebp, 28(%rsp)
	shrl	$2, %r10d
	andl	$-4, %edi
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L63:
	cmpl	$2, %ebp
	jbe	.L31
	movups	%xmm0, (%rcx)
	cmpl	$1, %r10d
	jbe	.L16
	movups	%xmm0, 16(%rcx)
	cmpl	$2, %r10d
	je	.L16
	movups	%xmm0, 32(%rcx)
.L16:
	movl	%edi, %eax
	cmpl	%edi, %r8d
	je	.L17
.L15:
	movslq	%esi, %r13
	movslq	%eax, %r12
	movq	%r13, %rdx
	salq	$4, %rdx
	subq	%r13, %rdx
	addq	%rdx, %r12
	movl	$-1061109567, (%r9,%r12,4)
	leal	1(%rax), %r12d
	cmpl	%r12d, %r8d
	jle	.L17
	movslq	%r12d, %r12
	addl	$2, %eax
	addq	%rdx, %r12
	movl	$-1061109567, (%r9,%r12,4)
	cmpl	%r8d, %eax
	jge	.L17
	cltq
	addq	%rax, %rdx
	movl	$-1061109567, (%r9,%rdx,4)
.L17:
	addl	$1, %esi
	movl	%r8d, %eax
	addq	$60, %rcx
	cmpl	%r11d, %esi
	je	.L62
.L18:
	testl	%r8d, %r8d
	jg	.L63
	addl	$1, %esi
	xorl	%eax, %eax
	addq	$60, %rcx
	cmpl	%r11d, %esi
	jne	.L18
.L62:
	movl	%eax, 44(%rsp)
	movl	20(%rsp), %eax
	movl	$1, %r10d
	movl	$0, 60+dp.0(%rip)
	movl	28(%rsp), %r12d
	subl	$1, %eax
	movl	%eax, 24(%rsp)
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L27:
	movl	16(%rsp), %edx
	testl	%edx, %edx
	jle	.L20
	movl	24(%rsp), %edi
	leaq	ww.2(%rip), %r13
	xorl	%ecx, %ecx
	xorl	%r10d, %edi
	movl	%edi, %edx
	negl	%edx
	andl	%edi, %edx
	movl	%edx, 12(%rsp)
	.p2align 4,,10
	.p2align 3
.L26:
	movl	(%r14,%rcx,4), %r11d
	movslq	%ecx, %rbp
	cmpl	$-1061109567, %r11d
	je	.L21
	movl	$1, %r15d
	sall	%cl, %r15d
	movslq	%r15d, %rax
	movl	(%rbx,%rax,4), %edx
	addl	%r11d, %edx
	movl	%edx, %eax
	cmpl	%r11d, %edx
	cmovl	%r11d, %eax
	movl	%eax, (%r14,%rcx,4)
	movl	12(%rsp), %eax
	testl	%eax, %eax
	je	.L22
	.p2align 4,,10
	.p2align 3
.L23:
	movl	%r10d, %esi
	orl	%eax, %esi
	movslq	%esi, %rsi
	movq	%rsi, %rdx
	salq	$4, %rdx
	subq	%rsi, %rdx
	movl	%r15d, %esi
	orl	%eax, %esi
	addq	%rbp, %rdx
	movslq	%esi, %rsi
	movl	(%rbx,%rsi,4), %r8d
	addl	%r11d, %r8d
	movl	%r8d, %esi
	movl	(%r9,%rdx,4), %r8d
	cmpl	%r8d, %esi
	cmovl	%r8d, %esi
	subl	%edi, %eax
	movl	%esi, (%r9,%rdx,4)
	andl	%edi, %eax
	jne	.L23
.L22:
	xorl	%eax, %eax
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L32:
	movq	%rdx, %rax
.L25:
	btl	%eax, %r10d
	jc	.L24
	movl	0(%r13,%rax,4), %edx
	testl	%edx, %edx
	je	.L24
	movl	%r10d, %ebp
	movslq	%eax, %r8
	addl	%r11d, %edx
	btsl	%eax, %ebp
	movslq	%ebp, %rbp
	movq	%rbp, %rsi
	salq	$4, %rsi
	subq	%rbp, %rsi
	addq	%r8, %rsi
	movl	(%r9,%rsi,4), %r8d
	cmpl	%r8d, %edx
	cmovl	%r8d, %edx
	movl	%edx, (%r9,%rsi,4)
.L24:
	leaq	1(%rax), %rdx
	cmpq	%r12, %rax
	jne	.L32
	movl	16(%rsp), %r15d
	movl	$1, %eax
.L21:
	leaq	1(%rcx), %rdx
	addq	$60, %r13
	cmpq	%r12, %rcx
	je	.L20
	movq	%rdx, %rcx
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L20:
	addl	$1, %r10d
	addq	$60, %r14
	cmpl	20(%rsp), %r10d
	jne	.L27
	testb	%al, %al
	je	.L28
	movl	%r15d, 48(%rsp)
.L28:
	movslq	24(%rsp), %rdx
	movslq	28(%rsp), %rcx
	movl	$1, %edi
	leaq	.LC3(%rip), %rsi
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	movl	(%rbx,%rdx,4), %edx
	addq	%rcx, %rax
	subl	(%r9,%rax,4), %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L64
	addq	$72, %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
.L31:
	.cfi_restore_state
	xorl	%eax, %eax
	jmp	.L15
.L13:
	movl	16(%rsp), %eax
	leaq	dp.0(%rip), %r9
	movl	$0, 60+dp.0(%rip)
	subl	$1, %eax
	movl	%eax, 28(%rsp)
	movl	20(%rsp), %eax
	subl	$1, %eax
	movl	%eax, 24(%rsp)
	jmp	.L28
.L64:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE36:
	.size	main, .-main
	.local	dp.0
	.comm	dp.0,1966080,32
	.local	ss.1
	.comm	ss.1,131072,32
	.local	ww.2
	.comm	ww.2,900,32
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC2:
	.long	-1061109567
	.long	-1061109567
	.long	-1061109567
	.long	-1061109567
	.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 <string.h>

#define N	15
#define INF	0x3f3f3f3f

int max(int a, int b) { return a > b ? a : b; }

int main() {
	static int ww[N][N], ss[1 << N], dp[1 << N][N];
	int n, m, i, j, b;

	scanf("%d%d", &n, &m);
	while (m--) {
		int w;

		scanf("%d%d%d", &i, &j, &w), i--, j--;
		ww[i][j] = ww[j][i] = w;
		ss[1 << i | 1 << j] += w;
	}
	for (i = 0; i < n; i++)
		for (b = 0; b < 1 << n; b++)
			if (b & 1 << i)
				ss[b] += ss[b ^ 1 << i];
	for (b = 1; b < 1 << n; b++)
		for (i = 0; i < n; i++)
			dp[b][i] = -INF;
	dp[1][0] = 0;
	for (b = 1; b < 1 << n; b++)
		for (i = 0; i < n; i++) {
			int x, c, b_;

			x = dp[b][i];
			if (x == -INF)
				continue;
			b_ = (1 << n) - 1 ^ b, c = 0;
			do
				dp[b | c][i] = max(dp[b | c][i], x + ss[c | 1 << i]);
			while (c = c - b_ & b_);
			for (j = 0; j < n; j++)
				if ((b & 1 << j) == 0 && ww[i][j])
					dp[b | 1 << j][j] = max(dp[b | 1 << j][j], x + ww[i][j]);
		}
	printf("%d\n", ss[(1 << n) - 1] - dp[(1 << n) - 1][n - 1]);
	return 0;
}

4 6
1 2 101
3 1 100
2 4 100
4 3 100
1 4 100
3 2 100
 15 22
8 13 33418
14 15 55849
7 10 15207
4 6 64328
6 9 86902
15 7 46978
8 14 53526
1 2 8720
14 12 37748
8 3 61543
6 5 32425
4 11 20932
3 12 55123
8 2 45333
9 12 77796
3 9 71922
12 15 70793
3 4 25485
11 6 1436
2 7 81563
7 11 97843
3 1 40491
 15 22
2 13 33418
14 15 55849
7 10 15207
4 6 64328
6 9 86902
15 7 46978
8 14 53526
1 2 8720
14 12 37748
8 3 61543
6 5 32425
4 11 20932
3 12 55123
8 2 45333
9 12 77796
3 9 71922
12 15 70793
2 4 25485
11 6 1436
2 7 81563
7 11 97843
3 1 40491
 15 22
2 13 33418
14 15 55849
7 10 15207
4 6 64328
6 9 86902
15 7 46978
8 14 53526
1 2 8720
14 12 37748
8 3 61543
6 5 32425
4 11 20932
3 12 55123
8 2 45333
9 12 77796
3 9 71922
12 15 70793
2 4 25485
11 6 1436
2 7 81563
9 11 97843
4 1 40491
 15 22
8 13 33418
14 15 55849
7 10 15207
4 6 64328
6 9 86902
15 7 46978
8 14 53526
1 2 8720
14 12 37748
8 3 61543
6 5 32425
4 11 20932
3 12 55123
8 2 50179
9 12 77796
3 9 71922
12 15 70793
3 4 25485
11 6 1436
2 7 81563
7 11 97843
3 1 40491
 15 22
2 13 33418
14 15 55849
7 10 15207
4 6 64328
7 9 86902
15 7 46978
8 14 53526
1 2 8720
14 12 37748
8 3 61543
6 5 32425
4 11 20932
3 12 55123
8 2 45333
9 12 77796
3 9 71922
12 15 70793
2 4 25485
11 6 1436
2 7 81563
7 11 97843
3 1 40491
 15 22
8 13 33418
14 15 55849
7 10 15207
4 6 64328
6 9 86902
15 7 46978
8 14 53526
1 2 8720
14 12 37748
8 3 61543
6 5 32425
1 11 20932
3 12 55123
8 2 45333
9 12 77796
3 9 71081
12 15 70793
2 4 25485
11 6 1436
2 7 81563
7 11 97843
3 1 40491
 4 6
1 2 100
3 1 000
2 4 100
4 3 100
1 4 100
3 2 110
 15 22
2 13 33418
14 15 55849
7 10 15207
4 6 64328
6 9 86902
15 7 46978
8 6 53526
1 2 8720
14 12 37748
8 3 61543
6 5 32425
4 11 20932
3 12 87317
8 2 45333
9 12 77796
3 9 71922
12 15 70793
2 6 29928
11 6 1436
2 7 81563
5 11 97843
3 1 40491
 15 22
2 13 33418
2 15 55849
7 10 15207
4 6 64328
6 9 86902
15 7 46978
8 11 53526
1 2 8720
14 12 37748
8 3 61543
6 5 32425
4 11 20932
4 12 87317
8 2 45333
9 12 77796
3 9 71922
12 15 70793
2 4 25485
11 6 1436
2 7 81563
5 11 97843
3 1 40491

200
 108192
 133677
 111309
 113038
 195094
 121465
 100
 115752
 158262

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

#define N	15
#define INF	0x3f3f3f3f

int max(int a, int b) { return a > b ? a : b; }

int main() {
	static int ww[N][N], ss[1 << N], dp[1 << N][N];
	int n, m, i, j, b;

	scanf("%d%d", &n, &m);
	while (m--) {
		int w;

		scanf("%d%d%d", &i, &j, &w), i--, j--;
		ww[i][j] = ww[j][i] = w;
		ss[1 << i | 1 << j] += w;
	}
	for (i = 0; i < n; i++)
		for (b = 0; b < 1 << n; b++)
			if (b & 1 << i)
				ss[b] += ss[b ^ 1 << i];
	for (b = 1; b < 1 << n; b++)
		for (i = 0; i < n; i++)
			dp[b][i] = -INF;
	dp[1][0] = 0;
	for (b = 1; b < 1 << n; b++)
		for (i = 0; i < n; i++) {
			int x, c, b_;

			x = dp[b][i];
			if (x == -INF)
				continue;
			b_ = (1 << n) - 1 ^ b, c = 0;
			do
				dp[b | c][i] = max(dp[b | c][i], x + ss[c | 1 << i]);
			while (c = c - b_ & b_);
			for (j = 0; j < n; j++)
				if ((b & 1 << j) == 0 && ww[i][j])
					dp[b | 1 << j][j] = max(dp[b | 1 << j][j], x + ww[i][j]);
		}
	printf("%d\n", ss[(1 << n) - 1] - dp[(1 << n) - 1][n - 1]);
	return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	max
	.type	max, @function
max:
.LFB0:
	.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), %edx
	movl	-4(%rbp), %eax
	cmpl	%eax, %edx
	cmovge	%edx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	max, .-max
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d%d%d"
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-56(%rbp), %rdx
	leaq	-60(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	jmp	.L4
.L5:
	leaq	-44(%rbp), %rcx
	leaq	-48(%rbp), %rdx
	leaq	-52(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-52(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -52(%rbp)
	movl	-48(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -48(%rbp)
	movl	-48(%rbp), %edx
	movl	-52(%rbp), %ecx
	movl	-44(%rbp), %esi
	movslq	%ecx, %r8
	movslq	%edx, %rdi
	movq	%rdi, %rax
	salq	$4, %rax
	subq	%rdi, %rax
	addq	%r8, %rax
	leaq	0(,%rax,4), %rdi
	leaq	ww.2(%rip), %rax
	movl	%esi, (%rdi,%rax)
	movl	-52(%rbp), %esi
	movl	-48(%rbp), %edi
	movslq	%ecx, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	ww.2(%rip), %rax
	movl	(%rdx,%rax), %edx
	movslq	%edi, %rdi
	movslq	%esi, %rcx
	movq	%rcx, %rax
	salq	$4, %rax
	subq	%rcx, %rax
	addq	%rdi, %rax
	leaq	0(,%rax,4), %rcx
	leaq	ww.2(%rip), %rax
	movl	%edx, (%rcx,%rax)
	movl	-52(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	-48(%rbp), %eax
	movl	$1, %esi
	movl	%eax, %ecx
	sall	%cl, %esi
	movl	%esi, %eax
	orl	%edx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ss.1(%rip), %rax
	movl	(%rdx,%rax), %esi
	movl	-44(%rbp), %edx
	movl	-52(%rbp), %eax
	movl	$1, %edi
	movl	%eax, %ecx
	sall	%cl, %edi
	movl	-48(%rbp), %eax
	movl	$1, %r8d
	movl	%eax, %ecx
	sall	%cl, %r8d
	movl	%r8d, %eax
	orl	%edi, %eax
	leal	(%rsi,%rdx), %ecx
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ss.1(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L4:
	movl	-56(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -56(%rbp)
	testl	%eax, %eax
	jne	.L5
	movl	$0, -52(%rbp)
	jmp	.L6
.L10:
	movl	$0, -40(%rbp)
	jmp	.L7
.L9:
	movl	-52(%rbp), %eax
	movl	-40(%rbp), %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	movl	%edx, %eax
	andl	$1, %eax
	testl	%eax, %eax
	je	.L8
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ss.1(%rip), %rax
	movl	(%rdx,%rax), %esi
	movl	-52(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	xorl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ss.1(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	(%rsi,%rax), %ecx
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ss.1(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L8:
	addl	$1, -40(%rbp)
.L7:
	movl	-60(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	cmpl	%eax, -40(%rbp)
	jl	.L9
	movl	-52(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -52(%rbp)
.L6:
	movl	-52(%rbp), %edx
	movl	-60(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L10
	movl	$1, -40(%rbp)
	jmp	.L11
.L14:
	movl	$0, -52(%rbp)
	jmp	.L12
.L13:
	movl	-52(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	dp.0(%rip), %rax
	movl	$-1061109567, (%rdx,%rax)
	movl	-52(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -52(%rbp)
.L12:
	movl	-52(%rbp), %edx
	movl	-60(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L13
	addl	$1, -40(%rbp)
.L11:
	movl	-60(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	cmpl	%eax, -40(%rbp)
	jl	.L14
	movl	$0, 60+dp.0(%rip)
	movl	$1, -40(%rbp)
	jmp	.L15
.L24:
	movl	$0, -52(%rbp)
	jmp	.L16
.L23:
	movl	-52(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	dp.0(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -32(%rbp)
	cmpl	$-1061109567, -32(%rbp)
	je	.L27
	movl	-60(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	subl	$1, %eax
	xorl	-40(%rbp), %eax
	movl	%eax, -28(%rbp)
	movl	$0, -36(%rbp)
.L19:
	movl	-52(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	orl	-36(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ss.1(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-32(%rbp), %eax
	addl	%eax, %edx
	movl	-40(%rbp), %eax
	orl	-36(%rbp), %eax
	movl	-52(%rbp), %ecx
	movslq	%ecx, %rsi
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$4, %rax
	subq	%rcx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rcx
	leaq	dp.0(%rip), %rax
	movl	(%rcx,%rax), %eax
	movl	-40(%rbp), %ecx
	movl	%ecx, %ebx
	orl	-36(%rbp), %ebx
	movl	-52(%rbp), %r12d
	movl	%edx, %esi
	movl	%eax, %edi
	call	max
	movl	%eax, %edx
	movslq	%r12d, %rsi
	movslq	%ebx, %rcx
	movq	%rcx, %rax
	salq	$4, %rax
	subq	%rcx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rcx
	leaq	dp.0(%rip), %rax
	movl	%edx, (%rcx,%rax)
	movl	-36(%rbp), %eax
	subl	-28(%rbp), %eax
	andl	-28(%rbp), %eax
	movl	%eax, -36(%rbp)
	cmpl	$0, -36(%rbp)
	jne	.L19
	movl	$0, -48(%rbp)
	jmp	.L20
.L22:
	movl	-48(%rbp), %eax
	movl	-40(%rbp), %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	movl	%edx, %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L21
	movl	-52(%rbp), %eax
	movl	-48(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	ww.2(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	je	.L21
	movl	-52(%rbp), %eax
	movl	-48(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	ww.2(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-32(%rbp), %eax
	addl	%eax, %edx
	movl	-48(%rbp), %eax
	movl	$1, %esi
	movl	%eax, %ecx
	sall	%cl, %esi
	movl	%esi, %eax
	orl	-40(%rbp), %eax
	movl	-48(%rbp), %ecx
	movslq	%ecx, %rsi
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$4, %rax
	subq	%rcx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rcx
	leaq	dp.0(%rip), %rax
	movl	(%rcx,%rax), %eax
	movl	-48(%rbp), %ecx
	movl	$1, %esi
	sall	%cl, %esi
	movl	%esi, %ecx
	movl	%ecx, %ebx
	orl	-40(%rbp), %ebx
	movl	-48(%rbp), %r12d
	movl	%edx, %esi
	movl	%eax, %edi
	call	max
	movl	%eax, %edx
	movslq	%r12d, %rsi
	movslq	%ebx, %rcx
	movq	%rcx, %rax
	salq	$4, %rax
	subq	%rcx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rcx
	leaq	dp.0(%rip), %rax
	movl	%edx, (%rcx,%rax)
.L21:
	movl	-48(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -48(%rbp)
.L20:
	movl	-48(%rbp), %edx
	movl	-60(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L22
	jmp	.L18
.L27:
	nop
.L18:
	movl	-52(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -52(%rbp)
.L16:
	movl	-52(%rbp), %edx
	movl	-60(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L23
	addl	$1, -40(%rbp)
.L15:
	movl	-60(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	cmpl	%eax, -40(%rbp)
	jl	.L24
	movl	-60(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	subl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ss.1(%rip), %rax
	movl	(%rdx,%rax), %esi
	movl	-60(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	leal	-1(%rax), %edx
	movl	-60(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	dp.0(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	%esi, %eax
	subl	%edx, %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.local	ww.2
	.comm	ww.2,900,32
	.local	ss.1
	.comm	ss.1,131072,32
	.local	dp.0
	.comm	dp.0,1966080,32
	.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	max
	.type	max, @function
max:
.LFB0:
	.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), %edx
	movl	-4(%rbp), %eax
	cmpl	%eax, %edx
	cmovge	%edx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	max, .-max
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d%d%d"
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-56(%rbp), %rdx
	leaq	-60(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	jmp	.L4
.L5:
	leaq	-44(%rbp), %rcx
	leaq	-48(%rbp), %rdx
	leaq	-52(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-52(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -52(%rbp)
	movl	-48(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -48(%rbp)
	movl	-48(%rbp), %edx
	movl	-52(%rbp), %ecx
	movl	-44(%rbp), %esi
	movslq	%ecx, %r8
	movslq	%edx, %rdi
	movq	%rdi, %rax
	salq	$4, %rax
	subq	%rdi, %rax
	addq	%r8, %rax
	leaq	0(,%rax,4), %rdi
	leaq	ww.2(%rip), %rax
	movl	%esi, (%rdi,%rax)
	movl	-52(%rbp), %esi
	movl	-48(%rbp), %edi
	movslq	%ecx, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	ww.2(%rip), %rax
	movl	(%rdx,%rax), %edx
	movslq	%edi, %rdi
	movslq	%esi, %rcx
	movq	%rcx, %rax
	salq	$4, %rax
	subq	%rcx, %rax
	addq	%rdi, %rax
	leaq	0(,%rax,4), %rcx
	leaq	ww.2(%rip), %rax
	movl	%edx, (%rcx,%rax)
	movl	-52(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	-48(%rbp), %eax
	movl	$1, %esi
	movl	%eax, %ecx
	sall	%cl, %esi
	movl	%esi, %eax
	orl	%edx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ss.1(%rip), %rax
	movl	(%rdx,%rax), %esi
	movl	-44(%rbp), %edx
	movl	-52(%rbp), %eax
	movl	$1, %edi
	movl	%eax, %ecx
	sall	%cl, %edi
	movl	-48(%rbp), %eax
	movl	$1, %r8d
	movl	%eax, %ecx
	sall	%cl, %r8d
	movl	%r8d, %eax
	orl	%edi, %eax
	leal	(%rsi,%rdx), %ecx
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ss.1(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L4:
	movl	-56(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -56(%rbp)
	testl	%eax, %eax
	jne	.L5
	movl	$0, -52(%rbp)
	jmp	.L6
.L10:
	movl	$0, -40(%rbp)
	jmp	.L7
.L9:
	movl	-52(%rbp), %eax
	movl	-40(%rbp), %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	movl	%edx, %eax
	andl	$1, %eax
	testl	%eax, %eax
	je	.L8
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ss.1(%rip), %rax
	movl	(%rdx,%rax), %esi
	movl	-52(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	xorl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ss.1(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	(%rsi,%rax), %ecx
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ss.1(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L8:
	addl	$1, -40(%rbp)
.L7:
	movl	-60(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	cmpl	%eax, -40(%rbp)
	jl	.L9
	movl	-52(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -52(%rbp)
.L6:
	movl	-52(%rbp), %edx
	movl	-60(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L10
	movl	$1, -40(%rbp)
	jmp	.L11
.L14:
	movl	$0, -52(%rbp)
	jmp	.L12
.L13:
	movl	-52(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	dp.0(%rip), %rax
	movl	$-1061109567, (%rdx,%rax)
	movl	-52(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -52(%rbp)
.L12:
	movl	-52(%rbp), %edx
	movl	-60(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L13
	addl	$1, -40(%rbp)
.L11:
	movl	-60(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	cmpl	%eax, -40(%rbp)
	jl	.L14
	movl	$0, 60+dp.0(%rip)
	movl	$1, -40(%rbp)
	jmp	.L15
.L24:
	movl	$0, -52(%rbp)
	jmp	.L16
.L23:
	movl	-52(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	dp.0(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -32(%rbp)
	cmpl	$-1061109567, -32(%rbp)
	je	.L27
	movl	-60(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	subl	$1, %eax
	xorl	-40(%rbp), %eax
	movl	%eax, -28(%rbp)
	movl	$0, -36(%rbp)
.L19:
	movl	-52(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	orl	-36(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ss.1(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-32(%rbp), %eax
	addl	%eax, %edx
	movl	-40(%rbp), %eax
	orl	-36(%rbp), %eax
	movl	-52(%rbp), %ecx
	movslq	%ecx, %rsi
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$4, %rax
	subq	%rcx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rcx
	leaq	dp.0(%rip), %rax
	movl	(%rcx,%rax), %eax
	movl	-40(%rbp), %ecx
	movl	%ecx, %ebx
	orl	-36(%rbp), %ebx
	movl	-52(%rbp), %r12d
	movl	%edx, %esi
	movl	%eax, %edi
	call	max
	movl	%eax, %edx
	movslq	%r12d, %rsi
	movslq	%ebx, %rcx
	movq	%rcx, %rax
	salq	$4, %rax
	subq	%rcx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rcx
	leaq	dp.0(%rip), %rax
	movl	%edx, (%rcx,%rax)
	movl	-36(%rbp), %eax
	subl	-28(%rbp), %eax
	andl	-28(%rbp), %eax
	movl	%eax, -36(%rbp)
	cmpl	$0, -36(%rbp)
	jne	.L19
	movl	$0, -48(%rbp)
	jmp	.L20
.L22:
	movl	-48(%rbp), %eax
	movl	-40(%rbp), %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	movl	%edx, %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L21
	movl	-52(%rbp), %eax
	movl	-48(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	ww.2(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	je	.L21
	movl	-52(%rbp), %eax
	movl	-48(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	ww.2(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-32(%rbp), %eax
	addl	%eax, %edx
	movl	-48(%rbp), %eax
	movl	$1, %esi
	movl	%eax, %ecx
	sall	%cl, %esi
	movl	%esi, %eax
	orl	-40(%rbp), %eax
	movl	-48(%rbp), %ecx
	movslq	%ecx, %rsi
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$4, %rax
	subq	%rcx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rcx
	leaq	dp.0(%rip), %rax
	movl	(%rcx,%rax), %eax
	movl	-48(%rbp), %ecx
	movl	$1, %esi
	sall	%cl, %esi
	movl	%esi, %ecx
	movl	%ecx, %ebx
	orl	-40(%rbp), %ebx
	movl	-48(%rbp), %r12d
	movl	%edx, %esi
	movl	%eax, %edi
	call	max
	movl	%eax, %edx
	movslq	%r12d, %rsi
	movslq	%ebx, %rcx
	movq	%rcx, %rax
	salq	$4, %rax
	subq	%rcx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rcx
	leaq	dp.0(%rip), %rax
	movl	%edx, (%rcx,%rax)
.L21:
	movl	-48(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -48(%rbp)
.L20:
	movl	-48(%rbp), %edx
	movl	-60(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L22
	jmp	.L18
.L27:
	nop
.L18:
	movl	-52(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -52(%rbp)
.L16:
	movl	-52(%rbp), %edx
	movl	-60(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L23
	addl	$1, -40(%rbp)
.L15:
	movl	-60(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	cmpl	%eax, -40(%rbp)
	jl	.L24
	movl	-60(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	subl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ss.1(%rip), %rax
	movl	(%rdx,%rax), %esi
	movl	-60(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	leal	-1(%rax), %edx
	movl	-60(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	dp.0(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	%esi, %eax
	subl	%edx, %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.local	ww.2
	.comm	ww.2,900,32
	.local	ss.1
	.comm	ss.1,131072,32
	.local	dp.0
	.comm	dp.0,1966080,32
	.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:
