Given the following C code and assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
#include<stdlib.h>
#include<string.h>

int main(void) {
	int i;
	int lena, lenb;
	char buf[128], *ch;
	char a[32], b[32], c[32];

	fgets(buf, sizeof(buf), stdin);
	ch = strtok(buf, " ");
	sprintf(a, "%s", ch);
	ch = strtok(NULL, " ");
	sprintf(b, "%s", ch);
	ch = strtok(NULL, " ");
	sprintf(c, "%s", ch);

	lena = strlen(a);
	lenb = strlen(b);

	if(a[lena - 1] == '\n') {
		lena -= 1;
	}
	if(b[lenb - 1] == '\n') {
		lenb -= 1;
	}
	if(a[lena - 1] == b[0] && b[lenb - 1] == c[0]) {
		printf("YES\n");
	} else {
		printf("NO\n");
	}

	return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	" "
.LC1:
	.string	"%s"
.LC2:
	.string	"YES"
.LC3:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movl	$128, %esi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$240, %rsp
	.cfi_def_cfa_offset 288
	movq	stdin(%rip), %rdx
	movq	%fs:40, %rax
	movq	%rax, 232(%rsp)
	xorl	%eax, %eax
	leaq	96(%rsp), %r12
	movq	%rsp, %r14
	leaq	32(%rsp), %r13
	movq	%r12, %rdi
	call	fgets@PLT
	movq	%r12, %rdi
	movq	%rbp, %rsi
	leaq	.LC1(%rip), %r12
	call	strtok@PLT
	movq	%r12, %rcx
	movl	$32, %edx
	movq	%r14, %rdi
	movq	%rax, %r8
	movl	$1, %esi
	xorl	%eax, %eax
	call	__sprintf_chk@PLT
	xorl	%edi, %edi
	movq	%rbp, %rsi
	call	strtok@PLT
	movq	%r12, %rcx
	movl	$32, %edx
	movq	%r13, %rdi
	movq	%rax, %r8
	movl	$1, %esi
	xorl	%eax, %eax
	call	__sprintf_chk@PLT
	xorl	%edi, %edi
	movq	%rbp, %rsi
	call	strtok@PLT
	movq	%r12, %rcx
	movl	$32, %edx
	movl	$1, %esi
	movq	%rax, %r8
	leaq	64(%rsp), %rdi
	xorl	%eax, %eax
	call	__sprintf_chk@PLT
	movq	%r14, %rdi
	call	strlen@PLT
	movq	%r13, %rdi
	movq	%rax, %rbx
	call	strlen@PLT
	leal	-1(%rbx), %edx
	movslq	%edx, %rcx
	cmpb	$10, (%rsp,%rcx)
	leal	-1(%rax), %ecx
	cmovne	%ebx, %edx
	movslq	%ecx, %rsi
	cmpb	$10, 32(%rsp,%rsi)
	cmovne	%eax, %ecx
	subl	$1, %edx
	movzbl	32(%rsp), %eax
	movslq	%edx, %rdx
	cmpb	%al, (%rsp,%rdx)
	jne	.L4
	subl	$1, %ecx
	movzbl	64(%rsp), %eax
	movslq	%ecx, %rcx
	cmpb	%al, 32(%rsp,%rcx)
	je	.L9
.L4:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L5:
	movq	232(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L10
	addq	$240, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L5
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
Optimized Assembly Code:

user
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	" "
.LC1:
	.string	"%s"
.LC2:
	.string	"YES"
.LC3:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movl	$128, %esi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$240, %rsp
	.cfi_def_cfa_offset 288
	movq	stdin(%rip), %rdx
	movq	%fs:40, %rax
	movq	%rax, 232(%rsp)
	xorl	%eax, %eax
	leaq	96(%rsp), %r12
	movq	%rsp, %r14
	leaq	32(%rsp), %r13
	movq	%r12, %rdi
	call	fgets@PLT
	movq	%r12, %rdi
	movq	%rbp, %rsi
	leaq	.LC1(%rip), %r12
	call	strtok@PLT
	movq	%r12, %rcx
	movl	$32, %edx
	movq	%r14, %rdi
	movq	%rax, %r8
	movl	$1, %esi
	xorl	%eax, %eax
	call	__sprintf_chk@PLT
	xorl	%edi, %edi
	movq	%rbp, %rsi
	call	strtok@PLT
	movq	%r12, %rcx
	movl	$32, %edx
	movq	%r13, %rdi
	movq	%rax, %r8
	movl	$1, %esi
	xorl	%eax, %eax
	call	__sprintf_chk@PLT
	xorl	%edi, %edi
	movq	%rbp, %rsi
	call	strtok@PLT
	movq	%r12, %rcx
	movl	$32, %edx
	movl	$1, %esi
	movq	%rax, %r8
	leaq	64(%rsp), %rdi
	xorl	%eax, %eax
	call	__sprintf_chk@PLT
	movq	%r14, %rdi
	call	strlen@PLT
	movq	%r13, %rdi
	movq	%rax, %rbx
	call	strlen@PLT
	leal	-1(%rbx), %edx
	movslq	%edx, %rcx
	cmpb	$10, (%rsp,%rcx)
	leal	-1(%rax), %ecx
	cmovne	%ebx, %edx
	movslq	%ecx, %rsi
	cmpb	$10, 32(%rsp,%rsi)
	cmovne	%eax, %ecx
	subl	$1, %edx
	movzbl	32(%rsp), %eax
	movslq	%edx, %rdx
	cmpb	%al, (%rsp,%rdx)
	jne	.L4
	subl	$1, %ecx
	movzbl	64(%rsp), %eax
	movslq	%ecx, %rcx
	cmpb	%al, 32(%rsp,%rcx)
	je	.L9
.L4:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L5:
	movq	232(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L10
	addq	$240, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L5
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```
rule
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	" "
.LC1:
	.string	"%s"
.LC2:
	.string	"YES"
.LC3:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movl	$128, %esi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$240, %rsp
	.cfi_def_cfa_offset 288
	movq	stdin(%rip), %rdx
	movq	%fs:40, %rax
	movq	%rax, 232(%rsp)
	xorl	%eax, %eax
	leaq	96(%rsp), %r12
	movq	%rsp, %r14
	leaq	32(%rsp), %r13
	movq	%r12, %rdi
	call	fgets@PLT
	movq	%r12, %rdi
	movq	%rbp, %rsi
	leaq	.LC1(%rip), %r12
	call	strtok@PLT
	movq	%r12, %rcx
	movl	$32, %edx
	movq	%r14, %rdi
	movq	%rax, %r8
	movl	$1, %esi
	xorl	%eax, %eax
	call	__sprintf_chk@PLT
	xorl	%edi, %edi
	movq	%rbp, %rsi
	call	strtok@PLT
	movq	%r12, %rcx
	movl	$32, %edx
	movq	%r13, %rdi
	movq	%rax, %r8
	movl	$1, %esi
	xorl	%eax, %eax
	call	__sprintf_chk@PLT
	xorl	%edi, %edi
	movq	%rbp, %rsi
	call	strtok@PLT
	movq	%r12, %rcx
	movl	$32, %edx
	movl	$1, %esi
	movq	%rax, %r8
	leaq	64(%rsp), %rdi
	xorl	%eax, %eax
	call	__sprintf_chk@PLT
	movq	%r14, %rdi
	call	strlen@PLT
	movq	%r13, %rdi
	movq	%rax, %rbx
	call	strlen@PLT
	leal	-1(%rbx), %edx
	movslq	%edx, %rcx
	cmpb	$10, (%rsp,%rcx)
	leal	-1(%rax), %ecx
	cmovne	%ebx, %edx
	movslq	%ecx, %rsi
	cmpb	$10, 32(%rsp,%rsi)
	cmovne	%eax, %ecx
	subl	$1, %edx
	movzbl	32(%rsp), %eax
	movslq	%edx, %rdx
	cmpb	%al, (%rsp,%rdx)
	jne	.L4
	subl	$1, %ecx
	movzbl	64(%rsp), %eax
	movslq	%ecx, %rcx
	cmpb	%al, 32(%rsp,%rcx)
	je	.L9
.L4:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L5:
	movq	232(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L10
	addq	$240, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L5
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```
```c
#include<stdio.h>
#include<stdlib.h>
#include<string.h>

int main(void) {
	int i;
	int lena, lenb;
	char buf[128], *ch;
	char a[32], b[32], c[32];

	fgets(buf, sizeof(buf), stdin);
	ch = strtok(buf, " ");
	sprintf(a, "%s", ch);
	ch = strtok(NULL, " ");
	sprintf(b, "%s", ch);
	ch = strtok(NULL, " ");
	sprintf(c, "%s", ch);

	lena = strlen(a);
	lenb = strlen(b);

	if(a[lena - 1] == '\n') {
		lena -= 1;
	}
	if(b[lenb - 1] == '\n') {
		lenb -= 1;
	}
	if(a[lena - 1] == b[0] && b[lenb - 1] == c[0]) {
		printf("YES\n");
	} else {
		printf("NO\n");
	}

	return 0;
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
#include<stdlib.h>
#include<string.h>

int main(void) {
	int i;
	int lena, lenb;
	char buf[128], *ch;
	char a[32], b[32], c[32];

	fgets(buf, sizeof(buf), stdin);
	ch = strtok(buf, " ");
	sprintf(a, "%s", ch);
	ch = strtok(NULL, " ");
	sprintf(b, "%s", ch);
	ch = strtok(NULL, " ");
	sprintf(c, "%s", ch);

	lena = strlen(a);
	lenb = strlen(b);

	if(a[lena - 1] == '\n') {
		lena -= 1;
	}
	if(b[lenb - 1] == '\n') {
		lenb -= 1;
	}
	if(a[lena - 1] == b[0] && b[lenb - 1] == c[0]) {
		printf("YES\n");
	} else {
		printf("NO\n");
	}

	return 0;
}
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
Optimized Assembly Code:

a a `
 baaaa`aaaa aabaaaaaaa aaaaa`aaab
 rnh gorilla apple
 aaaaaaaaab aaaaaaaaaa aaaaa`aaab
 ybkiniku unagi sushi
 a b a
 rng gorilla paple
 aaaaaaaaab aaaaaaaaaa baaa`aaaaa
 ybkiniku inagu sushi
 a b `

NO
 YES
 NO
 NO
 NO
 NO
 NO
 NO
 NO
 NO

Given the following C code and assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
#include<stdlib.h>
#include<string.h>

int main(void) {
	int i;
	int lena, lenb;
	char buf[128], *ch;
	char a[32], b[32], c[32];

	fgets(buf, sizeof(buf), stdin);
	ch = strtok(buf, " ");
	sprintf(a, "%s", ch);
	ch = strtok(NULL, " ");
	sprintf(b, "%s", ch);
	ch = strtok(NULL, " ");
	sprintf(c, "%s", ch);

	lena = strlen(a);
	lenb = strlen(b);

	if(a[lena - 1] == '\n') {
		lena -= 1;
	}
	if(b[lenb - 1] == '\n') {
		lenb -= 1;
	}
	if(a[lena - 1] == b[0] && b[lenb - 1] == c[0]) {
		printf("YES\n");
	} else {
		printf("NO\n");
	}

	return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	" "
.LC1:
	.string	"%s"
.LC2:
	.string	"YES"
.LC3:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movl	$128, %esi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$240, %rsp
	.cfi_def_cfa_offset 288
	movq	stdin(%rip), %rdx
	movq	%fs:40, %rax
	movq	%rax, 232(%rsp)
	xorl	%eax, %eax
	leaq	96(%rsp), %r12
	movq	%rsp, %r14
	leaq	32(%rsp), %r13
	movq	%r12, %rdi
	call	fgets@PLT
	movq	%r12, %rdi
	movq	%rbp, %rsi
	leaq	.LC1(%rip), %r12
	call	strtok@PLT
	movq	%r12, %rcx
	movl	$32, %edx
	movq	%r14, %rdi
	movq	%rax, %r8
	movl	$1, %esi
	xorl	%eax, %eax
	call	__sprintf_chk@PLT
	xorl	%edi, %edi
	movq	%rbp, %rsi
	call	strtok@PLT
	movq	%r12, %rcx
	movl	$32, %edx
	movq	%r13, %rdi
	movq	%rax, %r8
	movl	$1, %esi
	xorl	%eax, %eax
	call	__sprintf_chk@PLT
	xorl	%edi, %edi
	movq	%rbp, %rsi
	call	strtok@PLT
	movq	%r12, %rcx
	movl	$32, %edx
	movl	$1, %esi
	movq	%rax, %r8
	leaq	64(%rsp), %rdi
	xorl	%eax, %eax
	call	__sprintf_chk@PLT
	movq	%r14, %rdi
	call	strlen@PLT
	movq	%r13, %rdi
	movq	%rax, %rbx
	call	strlen@PLT
	leal	-1(%rbx), %edx
	movslq	%edx, %rcx
	cmpb	$10, (%rsp,%rcx)
	leal	-1(%rax), %ecx
	cmovne	%ebx, %edx
	movslq	%ecx, %rsi
	cmpb	$10, 32(%rsp,%rsi)
	cmovne	%eax, %ecx
	subl	$1, %edx
	movzbl	32(%rsp), %eax
	movslq	%edx, %rdx
	cmpb	%al, (%rsp,%rdx)
	jne	.L4
	subl	$1, %ecx
	movzbl	64(%rsp), %eax
	movslq	%ecx, %rcx
	cmpb	%al, 32(%rsp,%rcx)
	je	.L9
.L4:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L5:
	movq	232(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L10
	addq	$240, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L5
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
Optimized Assembly Code:

train
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	" "
.LC1:
	.string	"%s"
.LC2:
	.string	"YES"
.LC3:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movl	$128, %esi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$240, %rsp
	.cfi_def_cfa_offset 288
	movq	stdin(%rip), %rdx
	movq	%fs:40, %rax
	movq	%rax, 232(%rsp)
	xorl	%eax, %eax
	leaq	96(%rsp), %r12
	movq	%rsp, %r14
	leaq	32(%rsp), %r13
	movq	%r12, %rdi
	call	fgets@PLT
	movq	%r12, %rdi
	movq	%rbp, %rsi
	leaq	.LC1(%rip), %r12
	call	strtok@PLT
	movq	%r12, %rcx
	movl	$32, %edx
	movq	%r14, %rdi
	movq	%rax, %r8
	movl	$1, %esi
	xorl	%eax, %eax
	call	__sprintf_chk@PLT
	xorl	%edi, %edi
	movq	%rbp, %rsi
	call	strtok@PLT
	movq	%r12, %rcx
	movl	$32, %edx
	movq	%r13, %rdi
	movq	%rax, %r8
	movl	$1, %esi
	xorl	%eax, %eax
	call	__sprintf_chk@PLT
	xorl	%edi, %edi
	movq	%rbp, %rsi
	call	strtok@PLT
	movq	%r12, %rcx
	movl	$32, %edx
	movl	$1, %esi
	movq	%rax, %r8
	leaq	64(%rsp), %rdi
	xorl	%eax, %eax
	call	__sprintf_chk@PLT
	movq	%r14, %rdi
	call	strlen@PLT
	movq	%r13, %rdi
	movq	%rax, %rbx
	call	strlen@PLT
	leal	-1(%rbx), %edx
	movslq	%edx, %rcx
	cmpb	$10, (%rsp,%rcx)
	leal	-1(%rax), %ecx
	cmovne	%ebx, %edx
	movslq	%ecx, %rsi
	cmpb	$10, 32(%rsp,%rsi)
	cmovne	%eax, %ecx
	subl	$1, %edx
	movzbl	32(%rsp), %eax
	movslq	%edx, %rdx
	cmpb	%al, (%rsp,%rdx)
	jne	.L4
	subl	$1, %ecx
	movzbl	64(%rsp), %eax
	movslq	%ecx, %rcx
	cmpb	%al, 32(%rsp,%rcx)
	je	.L9
.L4:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L5:
	movq	232(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L10
	addq	$240, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L5
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.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:
```