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

```c
#pragma warning(disable:4996)
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#define MAX_LINE 100001

char sLongInputLine[MAX_LINE+1]="";

int main() {

	char* psInput=NULL;
	char* psTemp=NULL;
	char cPrevChar;

	int nLen = 0;
	int nCharChangeCount=0;
	int nCharChangeCountRev=0;
	int i=0;
	int j=0;


	// read line 1
	psTemp = fgets(sLongInputLine,MAX_LINE,stdin);
	if (strchr(sLongInputLine, '\n') != NULL) {
	    sLongInputLine[strlen(sLongInputLine) - 1] = '\0';
	} else {
		while(getchar() != '\n');
	}
	cPrevChar = sLongInputLine[0];
	nLen = strlen(sLongInputLine);

	for (i=1;i<nLen;i++){
		if (cPrevChar != sLongInputLine[i]){
			cPrevChar = sLongInputLine[i];
			nCharChangeCount++;
		}
	}
	cPrevChar = sLongInputLine[nLen-1];
	for (i=nLen-1;i>=0;i--){
		if (cPrevChar != sLongInputLine[i]){
			cPrevChar = sLongInputLine[i];
			nCharChangeCountRev++;
		}
	}
	if(nCharChangeCountRev<nCharChangeCount){
		nCharChangeCount = nCharChangeCountRev;
	}

	printf("%d\n",nCharChangeCount);
	
	return 0;

}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	sLongInputLine
	.bss
	.align 32
	.type	sLongInputLine, @object
	.size	sLongInputLine, 100002
sLongInputLine:
	.zero	100002
	.section	.rodata
.LC0:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movq	$0, -16(%rbp)
	movq	$0, -8(%rbp)
	movl	$0, -24(%rbp)
	movl	$0, -36(%rbp)
	movl	$0, -32(%rbp)
	movl	$0, -28(%rbp)
	movl	$0, -20(%rbp)
	movq	stdin(%rip), %rax
	movq	%rax, %rdx
	movl	$100001, %esi
	leaq	sLongInputLine(%rip), %rax
	movq	%rax, %rdi
	call	fgets@PLT
	movq	%rax, -8(%rbp)
	movl	$10, %esi
	leaq	sLongInputLine(%rip), %rax
	movq	%rax, %rdi
	call	strchr@PLT
	testq	%rax, %rax
	je	.L13
	leaq	sLongInputLine(%rip), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	leaq	-1(%rax), %rdx
	leaq	sLongInputLine(%rip), %rax
	movb	$0, (%rdx,%rax)
	jmp	.L3
.L13:
	nop
.L4:
	call	getchar@PLT
	cmpl	$10, %eax
	jne	.L4
.L3:
	movzbl	sLongInputLine(%rip), %eax
	movb	%al, -37(%rbp)
	leaq	sLongInputLine(%rip), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -24(%rbp)
	movl	$1, -28(%rbp)
	jmp	.L5
.L7:
	movl	-28(%rbp), %eax
	cltq
	leaq	sLongInputLine(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	cmpb	%al, -37(%rbp)
	je	.L6
	movl	-28(%rbp), %eax
	cltq
	leaq	sLongInputLine(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -37(%rbp)
	addl	$1, -36(%rbp)
.L6:
	addl	$1, -28(%rbp)
.L5:
	movl	-28(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jl	.L7
	movl	-24(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	sLongInputLine(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -37(%rbp)
	movl	-24(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -28(%rbp)
	jmp	.L8
.L10:
	movl	-28(%rbp), %eax
	cltq
	leaq	sLongInputLine(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	cmpb	%al, -37(%rbp)
	je	.L9
	movl	-28(%rbp), %eax
	cltq
	leaq	sLongInputLine(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -37(%rbp)
	addl	$1, -32(%rbp)
.L9:
	subl	$1, -28(%rbp)
.L8:
	cmpl	$0, -28(%rbp)
	jns	.L10
	movl	-32(%rbp), %eax
	cmpl	-36(%rbp), %eax
	jge	.L11
	movl	-32(%rbp), %eax
	movl	%eax, -36(%rbp)
.L11:
	movl	-36(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	sLongInputLine(%rip), %rbp
	movl	$100001, %esi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rbp, %rdi
	subq	$8, %rsp
	.cfi_def_cfa_offset 32
	movq	stdin(%rip), %rdx
	call	fgets@PLT
	movl	$10, %esi
	movq	%rbp, %rdi
	call	strchr@PLT
	testq	%rax, %rax
	je	.L2
	movq	%rbp, %rdi
	call	strlen@PLT
	movb	$0, -1(%rbp,%rax)
.L3:
	movq	%rbp, %rdi
	movzbl	sLongInputLine(%rip), %ebx
	call	strlen@PLT
	movq	%rax, %rdx
	leal	-1(%rax), %eax
	cmpq	$1, %rdx
	jbe	.L4
	leaq	1+sLongInputLine(%rip), %rcx
	subl	$2, %edx
	leaq	1(%rcx), %rdi
	addq	%rdx, %rdi
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L6:
	movl	%ebx, %esi
	movzbl	(%rcx), %ebx
	cmpb	%bl, %sil
	setne	%sil
	addq	$1, %rcx
	movzbl	%sil, %esi
	addl	%esi, %edx
	cmpq	%rdi, %rcx
	jne	.L6
.L22:
	cltq
	xorl	%esi, %esi
	movzbl	0(%rbp,%rax), %ecx
	.p2align 4,,10
	.p2align 3
.L10:
	movl	%ecx, %edi
	movzbl	0(%rbp,%rax), %ecx
	cmpb	%cl, %dil
	setne	%dil
	subq	$1, %rax
	movzbl	%dil, %edi
	addl	%edi, %esi
	cmpl	$-1, %eax
	jne	.L10
.L8:
	cmpl	%esi, %edx
	movl	$1, %edi
	cmovg	%esi, %edx
	leaq	.LC0(%rip), %rsi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	movq	stdin(%rip), %rdi
	call	getc@PLT
	cmpl	$10, %eax
	jne	.L2
	jmp	.L3
.L4:
	xorl	%edx, %edx
	xorl	%esi, %esi
	cmpl	$-1, %eax
	je	.L8
	jmp	.L22
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.globl	sLongInputLine
	.bss
	.align 32
	.type	sLongInputLine, @object
	.size	sLongInputLine, 100002
sLongInputLine:
	.zero	100002
	.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\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	sLongInputLine(%rip), %rbp
	movl	$100001, %esi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rbp, %rdi
	subq	$8, %rsp
	.cfi_def_cfa_offset 32
	movq	stdin(%rip), %rdx
	call	fgets@PLT
	movl	$10, %esi
	movq	%rbp, %rdi
	call	strchr@PLT
	testq	%rax, %rax
	je	.L2
	movq	%rbp, %rdi
	call	strlen@PLT
	movb	$0, -1(%rbp,%rax)
.L3:
	movq	%rbp, %rdi
	movzbl	sLongInputLine(%rip), %ebx
	call	strlen@PLT
	movq	%rax, %rdx
	leal	-1(%rax), %eax
	cmpq	$1, %rdx
	jbe	.L4
	leaq	1+sLongInputLine(%rip), %rcx
	subl	$2, %edx
	leaq	1(%rcx), %rdi
	addq	%rdx, %rdi
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L6:
	movl	%ebx, %esi
	movzbl	(%rcx), %ebx
	cmpb	%bl, %sil
	setne	%sil
	addq	$1, %rcx
	movzbl	%sil, %esi
	addl	%esi, %edx
	cmpq	%rdi, %rcx
	jne	.L6
.L22:
	cltq
	xorl	%esi, %esi
	movzbl	0(%rbp,%rax), %ecx
	.p2align 4,,10
	.p2align 3
.L10:
	movl	%ecx, %edi
	movzbl	0(%rbp,%rax), %ecx
	cmpb	%cl, %dil
	setne	%dil
	subq	$1, %rax
	movzbl	%dil, %edi
	addl	%edi, %esi
	cmpl	$-1, %eax
	jne	.L10
.L8:
	cmpl	%esi, %edx
	movl	$1, %edi
	cmovg	%esi, %edx
	leaq	.LC0(%rip), %rsi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	movq	stdin(%rip), %rdi
	call	getc@PLT
	cmpl	$10, %eax
	jne	.L2
	jmp	.L3
.L4:
	xorl	%edx, %edx
	xorl	%esi, %esi
	cmpl	$-1, %eax
	je	.L8
	jmp	.L22
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.globl	sLongInputLine
	.bss
	.align 32
	.type	sLongInputLine, @object
	.size	sLongInputLine, 100002
sLongInputLine:
	.zero	100002
	.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:

#pragma warning(disable:4996)
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#define MAX_LINE 100001

char sLongInputLine[MAX_LINE+1]="";

int main() {

	char* psInput=NULL;
	char* psTemp=NULL;
	char cPrevChar;

	int nLen = 0;
	int nCharChangeCount=0;
	int nCharChangeCountRev=0;
	int i=0;
	int j=0;


	// read line 1
	psTemp = fgets(sLongInputLine,MAX_LINE,stdin);
	if (strchr(sLongInputLine, '\n') != NULL) {
	    sLongInputLine[strlen(sLongInputLine) - 1] = '\0';
	} else {
		while(getchar() != '\n');
	}
	cPrevChar = sLongInputLine[0];
	nLen = strlen(sLongInputLine);

	for (i=1;i<nLen;i++){
		if (cPrevChar != sLongInputLine[i]){
			cPrevChar = sLongInputLine[i];
			nCharChangeCount++;
		}
	}
	cPrevChar = sLongInputLine[nLen-1];
	for (i=nLen-1;i>=0;i--){
		if (cPrevChar != sLongInputLine[i]){
			cPrevChar = sLongInputLine[i];
			nCharChangeCountRev++;
		}
	}
	if(nCharChangeCountRev<nCharChangeCount){
		nCharChangeCount = nCharChangeCountRev;
	}

	printf("%d\n",nCharChangeCount);
	
	return 0;

}

BBBWW

1

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

```c
#pragma warning(disable:4996)
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#define MAX_LINE 100001

char sLongInputLine[MAX_LINE+1]="";

int main() {

	char* psInput=NULL;
	char* psTemp=NULL;
	char cPrevChar;

	int nLen = 0;
	int nCharChangeCount=0;
	int nCharChangeCountRev=0;
	int i=0;
	int j=0;


	// read line 1
	psTemp = fgets(sLongInputLine,MAX_LINE,stdin);
	if (strchr(sLongInputLine, '\n') != NULL) {
	    sLongInputLine[strlen(sLongInputLine) - 1] = '\0';
	} else {
		while(getchar() != '\n');
	}
	cPrevChar = sLongInputLine[0];
	nLen = strlen(sLongInputLine);

	for (i=1;i<nLen;i++){
		if (cPrevChar != sLongInputLine[i]){
			cPrevChar = sLongInputLine[i];
			nCharChangeCount++;
		}
	}
	cPrevChar = sLongInputLine[nLen-1];
	for (i=nLen-1;i>=0;i--){
		if (cPrevChar != sLongInputLine[i]){
			cPrevChar = sLongInputLine[i];
			nCharChangeCountRev++;
		}
	}
	if(nCharChangeCountRev<nCharChangeCount){
		nCharChangeCount = nCharChangeCountRev;
	}

	printf("%d\n",nCharChangeCount);
	
	return 0;

}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	sLongInputLine
	.bss
	.align 32
	.type	sLongInputLine, @object
	.size	sLongInputLine, 100002
sLongInputLine:
	.zero	100002
	.section	.rodata
.LC0:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movq	$0, -16(%rbp)
	movq	$0, -8(%rbp)
	movl	$0, -24(%rbp)
	movl	$0, -36(%rbp)
	movl	$0, -32(%rbp)
	movl	$0, -28(%rbp)
	movl	$0, -20(%rbp)
	movq	stdin(%rip), %rax
	movq	%rax, %rdx
	movl	$100001, %esi
	leaq	sLongInputLine(%rip), %rax
	movq	%rax, %rdi
	call	fgets@PLT
	movq	%rax, -8(%rbp)
	movl	$10, %esi
	leaq	sLongInputLine(%rip), %rax
	movq	%rax, %rdi
	call	strchr@PLT
	testq	%rax, %rax
	je	.L13
	leaq	sLongInputLine(%rip), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	leaq	-1(%rax), %rdx
	leaq	sLongInputLine(%rip), %rax
	movb	$0, (%rdx,%rax)
	jmp	.L3
.L13:
	nop
.L4:
	call	getchar@PLT
	cmpl	$10, %eax
	jne	.L4
.L3:
	movzbl	sLongInputLine(%rip), %eax
	movb	%al, -37(%rbp)
	leaq	sLongInputLine(%rip), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -24(%rbp)
	movl	$1, -28(%rbp)
	jmp	.L5
.L7:
	movl	-28(%rbp), %eax
	cltq
	leaq	sLongInputLine(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	cmpb	%al, -37(%rbp)
	je	.L6
	movl	-28(%rbp), %eax
	cltq
	leaq	sLongInputLine(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -37(%rbp)
	addl	$1, -36(%rbp)
.L6:
	addl	$1, -28(%rbp)
.L5:
	movl	-28(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jl	.L7
	movl	-24(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	sLongInputLine(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -37(%rbp)
	movl	-24(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -28(%rbp)
	jmp	.L8
.L10:
	movl	-28(%rbp), %eax
	cltq
	leaq	sLongInputLine(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	cmpb	%al, -37(%rbp)
	je	.L9
	movl	-28(%rbp), %eax
	cltq
	leaq	sLongInputLine(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -37(%rbp)
	addl	$1, -32(%rbp)
.L9:
	subl	$1, -28(%rbp)
.L8:
	cmpl	$0, -28(%rbp)
	jns	.L10
	movl	-32(%rbp), %eax
	cmpl	-36(%rbp), %eax
	jge	.L11
	movl	-32(%rbp), %eax
	movl	%eax, -36(%rbp)
.L11:
	movl	-36(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	sLongInputLine
	.bss
	.align 32
	.type	sLongInputLine, @object
	.size	sLongInputLine, 100002
sLongInputLine:
	.zero	100002
	.section	.rodata
.LC0:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movq	$0, -16(%rbp)
	movq	$0, -8(%rbp)
	movl	$0, -24(%rbp)
	movl	$0, -36(%rbp)
	movl	$0, -32(%rbp)
	movl	$0, -28(%rbp)
	movl	$0, -20(%rbp)
	movq	stdin(%rip), %rax
	movq	%rax, %rdx
	movl	$100001, %esi
	leaq	sLongInputLine(%rip), %rax
	movq	%rax, %rdi
	call	fgets@PLT
	movq	%rax, -8(%rbp)
	movl	$10, %esi
	leaq	sLongInputLine(%rip), %rax
	movq	%rax, %rdi
	call	strchr@PLT
	testq	%rax, %rax
	je	.L13
	leaq	sLongInputLine(%rip), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	leaq	-1(%rax), %rdx
	leaq	sLongInputLine(%rip), %rax
	movb	$0, (%rdx,%rax)
	jmp	.L3
.L13:
	nop
.L4:
	call	getchar@PLT
	cmpl	$10, %eax
	jne	.L4
.L3:
	movzbl	sLongInputLine(%rip), %eax
	movb	%al, -37(%rbp)
	leaq	sLongInputLine(%rip), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -24(%rbp)
	movl	$1, -28(%rbp)
	jmp	.L5
.L7:
	movl	-28(%rbp), %eax
	cltq
	leaq	sLongInputLine(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	cmpb	%al, -37(%rbp)
	je	.L6
	movl	-28(%rbp), %eax
	cltq
	leaq	sLongInputLine(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -37(%rbp)
	addl	$1, -36(%rbp)
.L6:
	addl	$1, -28(%rbp)
.L5:
	movl	-28(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jl	.L7
	movl	-24(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	sLongInputLine(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -37(%rbp)
	movl	-24(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -28(%rbp)
	jmp	.L8
.L10:
	movl	-28(%rbp), %eax
	cltq
	leaq	sLongInputLine(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	cmpb	%al, -37(%rbp)
	je	.L9
	movl	-28(%rbp), %eax
	cltq
	leaq	sLongInputLine(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -37(%rbp)
	addl	$1, -32(%rbp)
.L9:
	subl	$1, -28(%rbp)
.L8:
	cmpl	$0, -28(%rbp)
	jns	.L10
	movl	-32(%rbp), %eax
	cmpl	-36(%rbp), %eax
	jge	.L11
	movl	-32(%rbp), %eax
	movl	%eax, -36(%rbp)
.L11:
	movl	-36(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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:
