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>
int zeller(int Y,int M,int D){if(++M<4)Y-=1,M+=12;int y=Y/100,z=Y%100;return (5*y+z+y/4+z/4+13*M/5+D-1)%7;}
char *W="sunmontuewedthufrisat";
int main(){
	int n;
	scanf("%d",&n);
	printf("%.*s\n",3,W+zeller(2017,9,n)*3);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	zeller
	.type	zeller, @function
zeller:
.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, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	%edx, -28(%rbp)
	addl	$1, -24(%rbp)
	cmpl	$3, -24(%rbp)
	jg	.L2
	subl	$1, -20(%rbp)
	addl	$12, -24(%rbp)
.L2:
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1374389535, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$5, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -8(%rbp)
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1374389535, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$5, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$100, %edx, %edx
	subl	%edx, %eax
	movl	%eax, -4(%rbp)
	movl	-8(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%eax, %edx
	movl	-4(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	-8(%rbp), %eax
	leal	3(%rax), %edx
	testl	%eax, %eax
	cmovs	%edx, %eax
	sarl	$2, %eax
	addl	%eax, %ecx
	movl	-4(%rbp), %eax
	leal	3(%rax), %edx
	testl	%eax, %eax
	cmovs	%edx, %eax
	sarl	$2, %eax
	addl	%eax, %ecx
	movl	-24(%rbp), %edx
	movl	%edx, %eax
	addl	%eax, %eax
	addl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	movslq	%eax, %rdx
	imulq	$1717986919, %rdx, %rdx
	shrq	$32, %rdx
	sarl	%edx
	sarl	$31, %eax
	movl	%eax, %esi
	movl	%edx, %eax
	subl	%esi, %eax
	leal	(%rcx,%rax), %edx
	movl	-28(%rbp), %eax
	addl	%edx, %eax
	leal	-1(%rax), %edx
	movslq	%edx, %rax
	imulq	$-1840700269, %rax, %rax
	shrq	$32, %rax
	addl	%edx, %eax
	sarl	$2, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	sall	$3, %ecx
	subl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	zeller, .-zeller
	.globl	W
	.section	.rodata
.LC0:
	.string	"sunmontuewedthufrisat"
	.section	.data.rel.local,"aw"
	.align 8
	.type	W, @object
	.size	W, 8
W:
	.quad	.LC0
	.section	.rodata
.LC1:
	.string	"%d"
.LC2:
	.string	"%.*s\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	%rbx
	subq	$24, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-28(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	W(%rip), %rbx
	movl	-28(%rbp), %eax
	movl	%eax, %edx
	movl	$9, %esi
	movl	$2017, %edi
	call	zeller
	movl	%eax, %edx
	movl	%edx, %eax
	addl	%eax, %eax
	addl	%edx, %eax
	cltq
	addq	%rbx, %rax
	movq	%rax, %rdx
	movl	$3, %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	.L6
	call	__stack_chk_fail@PLT
.L6:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
user
	.file	"temp.c"
	.text
	.p2align 4
	.globl	zeller
	.type	zeller, @function
zeller:
.LFB23:
	.cfi_startproc
	endbr64
	leal	1(%rsi), %r9d
	movl	%edx, %r8d
	cmpl	$3, %r9d
	jg	.L2
	subl	$1, %edi
	leal	13(%rsi), %r9d
.L2:
	movslq	%edi, %rdx
	movl	%edi, %esi
	imulq	$1374389535, %rdx, %rdx
	sarl	$31, %esi
	movq	%rdx, %rax
	sarq	$39, %rdx
	sarq	$37, %rax
	subl	%esi, %edx
	movl	%eax, %ecx
	subl	%esi, %eax
	subl	%esi, %ecx
	leal	(%rax,%rax,4), %eax
	imull	$100, %ecx, %r10d
	subl	%r10d, %edi
	addl	%edi, %eax
	addl	%edx, %eax
	testl	%edi, %edi
	leal	3(%rdi), %edx
	cmovns	%edi, %edx
	sarl	$2, %edx
	addl	%edx, %eax
	leal	(%r9,%r9,2), %edx
	leal	(%r9,%rdx,4), %ecx
	movslq	%ecx, %rdx
	sarl	$31, %ecx
	imulq	$1717986919, %rdx, %rdx
	sarq	$33, %rdx
	subl	%ecx, %edx
	addl	%edx, %eax
	leal	-1(%r8,%rax), %edx
	movslq	%edx, %rax
	movl	%edx, %ecx
	imulq	$-1840700269, %rax, %rax
	sarl	$31, %ecx
	shrq	$32, %rax
	addl	%edx, %eax
	sarl	$2, %eax
	subl	%ecx, %eax
	leal	0(,%rax,8), %ecx
	subl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	zeller, .-zeller
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%.*s\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	leal	151(%rax), %edx
	movslq	%edx, %rax
	movl	%edx, %ecx
	imulq	$-1840700269, %rax, %rax
	sarl	$31, %ecx
	shrq	$32, %rax
	addl	%edx, %eax
	sarl	$2, %eax
	subl	%ecx, %eax
	leal	0(,%rax,8), %ecx
	subl	%eax, %ecx
	xorl	%eax, %eax
	subl	%ecx, %edx
	leal	(%rdx,%rdx,2), %ecx
	movl	$3, %edx
	movslq	%ecx, %rcx
	addq	W(%rip), %rcx
	call	__printf_chk@PLT
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L7
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.globl	W
	.section	.rodata.str1.1
.LC2:
	.string	"sunmontuewedthufrisat"
	.section	.data.rel.local,"aw"
	.align 8
	.type	W, @object
	.size	W, 8
W:
	.quad	.LC2
	.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	zeller
	.type	zeller, @function
zeller:
.LFB23:
	.cfi_startproc
	endbr64
	leal	1(%rsi), %r9d
	movl	%edx, %r8d
	cmpl	$3, %r9d
	jg	.L2
	subl	$1, %edi
	leal	13(%rsi), %r9d
.L2:
	movslq	%edi, %rdx
	movl	%edi, %esi
	imulq	$1374389535, %rdx, %rdx
	sarl	$31, %esi
	movq	%rdx, %rax
	sarq	$39, %rdx
	sarq	$37, %rax
	subl	%esi, %edx
	movl	%eax, %ecx
	subl	%esi, %eax
	subl	%esi, %ecx
	leal	(%rax,%rax,4), %eax
	imull	$100, %ecx, %r10d
	subl	%r10d, %edi
	addl	%edi, %eax
	addl	%edx, %eax
	testl	%edi, %edi
	leal	3(%rdi), %edx
	cmovns	%edi, %edx
	sarl	$2, %edx
	addl	%edx, %eax
	leal	(%r9,%r9,2), %edx
	leal	(%r9,%rdx,4), %ecx
	movslq	%ecx, %rdx
	sarl	$31, %ecx
	imulq	$1717986919, %rdx, %rdx
	sarq	$33, %rdx
	subl	%ecx, %edx
	addl	%edx, %eax
	leal	-1(%r8,%rax), %edx
	movslq	%edx, %rax
	movl	%edx, %ecx
	imulq	$-1840700269, %rax, %rax
	sarl	$31, %ecx
	shrq	$32, %rax
	addl	%edx, %eax
	sarl	$2, %eax
	subl	%ecx, %eax
	leal	0(,%rax,8), %ecx
	subl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	zeller, .-zeller
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%.*s\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	leal	151(%rax), %edx
	movslq	%edx, %rax
	movl	%edx, %ecx
	imulq	$-1840700269, %rax, %rax
	sarl	$31, %ecx
	shrq	$32, %rax
	addl	%edx, %eax
	sarl	$2, %eax
	subl	%ecx, %eax
	leal	0(,%rax,8), %ecx
	subl	%eax, %ecx
	xorl	%eax, %eax
	subl	%ecx, %edx
	leal	(%rdx,%rdx,2), %ecx
	movl	$3, %edx
	movslq	%ecx, %rcx
	addq	W(%rip), %rcx
	call	__printf_chk@PLT
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L7
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.globl	W
	.section	.rodata.str1.1
.LC2:
	.string	"sunmontuewedthufrisat"
	.section	.data.rel.local,"aw"
	.align 8
	.type	W, @object
	.size	W, 8
W:
	.quad	.LC2
	.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>
int zeller(int Y,int M,int D){if(++M<4)Y-=1,M+=12;int y=Y/100,z=Y%100;return (5*y+z+y/4+z/4+13*M/5+D-1)%7;}
char *W="sunmontuewedthufrisat";
int main(){
	int n;
	scanf("%d",&n);
	printf("%.*s\n",3,W+zeller(2017,9,n)*3);
}
1

fri

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>
int zeller(int Y,int M,int D){if(++M<4)Y-=1,M+=12;int y=Y/100,z=Y%100;return (5*y+z+y/4+z/4+13*M/5+D-1)%7;}
char *W="sunmontuewedthufrisat";
int main(){
	int n;
	scanf("%d",&n);
	printf("%.*s\n",3,W+zeller(2017,9,n)*3);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	zeller
	.type	zeller, @function
zeller:
.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, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	%edx, -28(%rbp)
	addl	$1, -24(%rbp)
	cmpl	$3, -24(%rbp)
	jg	.L2
	subl	$1, -20(%rbp)
	addl	$12, -24(%rbp)
.L2:
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1374389535, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$5, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -8(%rbp)
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1374389535, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$5, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$100, %edx, %edx
	subl	%edx, %eax
	movl	%eax, -4(%rbp)
	movl	-8(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%eax, %edx
	movl	-4(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	-8(%rbp), %eax
	leal	3(%rax), %edx
	testl	%eax, %eax
	cmovs	%edx, %eax
	sarl	$2, %eax
	addl	%eax, %ecx
	movl	-4(%rbp), %eax
	leal	3(%rax), %edx
	testl	%eax, %eax
	cmovs	%edx, %eax
	sarl	$2, %eax
	addl	%eax, %ecx
	movl	-24(%rbp), %edx
	movl	%edx, %eax
	addl	%eax, %eax
	addl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	movslq	%eax, %rdx
	imulq	$1717986919, %rdx, %rdx
	shrq	$32, %rdx
	sarl	%edx
	sarl	$31, %eax
	movl	%eax, %esi
	movl	%edx, %eax
	subl	%esi, %eax
	leal	(%rcx,%rax), %edx
	movl	-28(%rbp), %eax
	addl	%edx, %eax
	leal	-1(%rax), %edx
	movslq	%edx, %rax
	imulq	$-1840700269, %rax, %rax
	shrq	$32, %rax
	addl	%edx, %eax
	sarl	$2, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	sall	$3, %ecx
	subl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	zeller, .-zeller
	.globl	W
	.section	.rodata
.LC0:
	.string	"sunmontuewedthufrisat"
	.section	.data.rel.local,"aw"
	.align 8
	.type	W, @object
	.size	W, 8
W:
	.quad	.LC0
	.section	.rodata
.LC1:
	.string	"%d"
.LC2:
	.string	"%.*s\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	%rbx
	subq	$24, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-28(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	W(%rip), %rbx
	movl	-28(%rbp), %eax
	movl	%eax, %edx
	movl	$9, %esi
	movl	$2017, %edi
	call	zeller
	movl	%eax, %edx
	movl	%edx, %eax
	addl	%eax, %eax
	addl	%edx, %eax
	cltq
	addq	%rbx, %rax
	movq	%rax, %rdx
	movl	$3, %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	.L6
	call	__stack_chk_fail@PLT
.L6:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
train
	.file	"temp.c"
	.text
	.globl	zeller
	.type	zeller, @function
zeller:
.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, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	%edx, -28(%rbp)
	addl	$1, -24(%rbp)
	cmpl	$3, -24(%rbp)
	jg	.L2
	subl	$1, -20(%rbp)
	addl	$12, -24(%rbp)
.L2:
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1374389535, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$5, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -8(%rbp)
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1374389535, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$5, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$100, %edx, %edx
	subl	%edx, %eax
	movl	%eax, -4(%rbp)
	movl	-8(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%eax, %edx
	movl	-4(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	-8(%rbp), %eax
	leal	3(%rax), %edx
	testl	%eax, %eax
	cmovs	%edx, %eax
	sarl	$2, %eax
	addl	%eax, %ecx
	movl	-4(%rbp), %eax
	leal	3(%rax), %edx
	testl	%eax, %eax
	cmovs	%edx, %eax
	sarl	$2, %eax
	addl	%eax, %ecx
	movl	-24(%rbp), %edx
	movl	%edx, %eax
	addl	%eax, %eax
	addl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	movslq	%eax, %rdx
	imulq	$1717986919, %rdx, %rdx
	shrq	$32, %rdx
	sarl	%edx
	sarl	$31, %eax
	movl	%eax, %esi
	movl	%edx, %eax
	subl	%esi, %eax
	leal	(%rcx,%rax), %edx
	movl	-28(%rbp), %eax
	addl	%edx, %eax
	leal	-1(%rax), %edx
	movslq	%edx, %rax
	imulq	$-1840700269, %rax, %rax
	shrq	$32, %rax
	addl	%edx, %eax
	sarl	$2, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	sall	$3, %ecx
	subl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	zeller, .-zeller
	.globl	W
	.section	.rodata
.LC0:
	.string	"sunmontuewedthufrisat"
	.section	.data.rel.local,"aw"
	.align 8
	.type	W, @object
	.size	W, 8
W:
	.quad	.LC0
	.section	.rodata
.LC1:
	.string	"%d"
.LC2:
	.string	"%.*s\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	%rbx
	subq	$24, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-28(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	W(%rip), %rbx
	movl	-28(%rbp), %eax
	movl	%eax, %edx
	movl	$9, %esi
	movl	$2017, %edi
	call	zeller
	movl	%eax, %edx
	movl	%edx, %eax
	addl	%eax, %eax
	addl	%edx, %eax
	cltq
	addq	%rbx, %rax
	movq	%rax, %rdx
	movl	$3, %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	.L6
	call	__stack_chk_fail@PLT
.L6:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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:
