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>
#include <stdlib.h>

#define BUF_SIZE 20

int get_int(void) {
  int num;
#ifdef BUF_SIZE
  char line[BUF_SIZE];
  if(!fgets(line, BUF_SIZE, stdin)) return 0;
  sscanf(line, "%d", &num);
#else
#error
#endif
  return num;
}

// <arr[0]> <arr[1]> .. <arr[size-1]>
int fget_array(char *arr, int size) {
#ifdef BUF_SIZE
    char line[BUF_SIZE];
    char *tmpbuf = line;
    int i;
    if(!fgets(line, BUF_SIZE, stdin)) return -1;
    for(i = 0; i < size; i++) {
        char *tmp = strtok(tmpbuf, " ");
        arr[i] = strtol(tmp, NULL, 10);
        tmpbuf = NULL;
    }
#else
#error
#endif
    return 0;
}

#define HEIGHT_MAX 10
#define WIDTH 5
#define SET_MAX 10000
#define HEIGHS 3
#define BOARD_MAX (HEIGHT_MAX*(WIDTH+1))

void display(char *array, int width) {
    int j;
    for(j = 0; j < width; j++) {
        printf("%d ", array[j]);
    }
    putchar('\n');
    return;
}

int judge(char *arr, int size) {
    char cur = arr[0];
    int cnt = 1;
    int i, j;
    int score = 0;
    for(i = 1; i < size; i++) {
        char next = arr[i];
        if(cur == next) {
            cnt++; continue;
        }
        if(cnt >= HEIGHS) {
            score += cnt*cur;
            // disappeared until previous ball
            for(j = i-cnt; j <= i-1; j++) {
                // when disappearred, labeled as 0
                arr[j] = 0;
            }
        }
        cur = next; cnt = 1;
    }
#ifdef DEBUG
    printf("score: %d\n", score);
#endif
    return score;
}

int main(void) {
    int i;
    int scores[SET_MAX];
    int idx = 0;
    while(1) {
        int height = get_int();
        if(!height) break;
        // array[*][WIDTH]: guard(0)
        char array[HEIGHT_MAX][WIDTH+1] = {0};

        // 0: highest
        for(i = height-1; i >= 0; i--) {
            fget_array(array[i], WIDTH);
        }
        int score = 0;
        while(1) {
            int w, h;
            char newbuf[HEIGHT_MAX][WIDTH+1] = {0};
#ifdef DEBUG
            // display currrent board
            for(i = height-1; i >= 0; i--) {
                display(array[i], WIDTH+1);
            }
#endif
            // judge
            int new_score = 0;
            for(h = 0; h < height; h++) {
                new_score += judge(array[h], WIDTH+1);
            }
            if(!new_score) break;
            score += new_score;
            // drop
            for(w = 0; w < WIDTH; w++) {
                int idx = 0;
                for(h = 0; h < height; h++) {
                    char cur = array[h][w];
                    if(!cur) continue;
                    newbuf[idx++][w] = cur;
                }
            }
            // replace array with new
            memcpy(array[0], newbuf[0], BOARD_MAX);
        }
        scores[idx++] = score;
    }
    for(i = 0; i < idx; i++) {
        printf("%d\n", scores[i]);
    }
    return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
	.text
	.globl	get_int
	.type	get_int, @function
get_int:
.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	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	stdin(%rip), %rdx
	leaq	-32(%rbp), %rax
	movl	$20, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	testq	%rax, %rax
	jne	.L2
	movl	$0, %eax
	jmp	.L4
.L2:
	leaq	-36(%rbp), %rdx
	leaq	-32(%rbp), %rax
	leaq	.LC0(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_sscanf@PLT
	movl	-36(%rbp), %eax
.L4:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	get_int, .-get_int
	.section	.rodata
.LC1:
	.string	" "
	.text
	.globl	fget_array
	.type	fget_array, @function
fget_array:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$80, %rsp
	movq	%rdi, -72(%rbp)
	movl	%esi, -76(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-32(%rbp), %rax
	movq	%rax, -48(%rbp)
	movq	stdin(%rip), %rdx
	leaq	-32(%rbp), %rax
	movl	$20, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	testq	%rax, %rax
	jne	.L7
	movl	$-1, %eax
	jmp	.L11
.L7:
	movl	$0, -52(%rbp)
	jmp	.L9
.L10:
	movq	-48(%rbp), %rax
	leaq	.LC1(%rip), %rdx
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strtok@PLT
	movq	%rax, -40(%rbp)
	movq	-40(%rbp), %rax
	movl	$10, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	strtol@PLT
	movq	%rax, %rdx
	movl	-52(%rbp), %eax
	movslq	%eax, %rcx
	movq	-72(%rbp), %rax
	addq	%rcx, %rax
	movb	%dl, (%rax)
	movq	$0, -48(%rbp)
	addl	$1, -52(%rbp)
.L9:
	movl	-52(%rbp), %eax
	cmpl	-76(%rbp), %eax
	jl	.L10
	movl	$0, %eax
.L11:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	fget_array, .-fget_array
	.section	.rodata
.LC2:
	.string	"%d "
	.text
	.globl	display
	.type	display, @function
display:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%rdi, -24(%rbp)
	movl	%esi, -28(%rbp)
	movl	$0, -4(%rbp)
	jmp	.L14
.L15:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -4(%rbp)
.L14:
	movl	-4(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jl	.L15
	movl	$10, %edi
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	display, .-display
	.globl	judge
	.type	judge, @function
judge:
.LFB9:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -40(%rbp)
	movl	%esi, -44(%rbp)
	movq	-40(%rbp), %rax
	movzbl	(%rax), %eax
	movb	%al, -18(%rbp)
	movl	$1, -16(%rbp)
	movl	$0, -4(%rbp)
	movl	$1, -12(%rbp)
	jmp	.L18
.L24:
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	movb	%al, -17(%rbp)
	movzbl	-18(%rbp), %eax
	cmpb	-17(%rbp), %al
	jne	.L19
	addl	$1, -16(%rbp)
	jmp	.L20
.L19:
	cmpl	$2, -16(%rbp)
	jle	.L21
	movsbl	-18(%rbp), %eax
	imull	-16(%rbp), %eax
	addl	%eax, -4(%rbp)
	movl	-12(%rbp), %eax
	subl	-16(%rbp), %eax
	movl	%eax, -8(%rbp)
	jmp	.L22
.L23:
	movl	-8(%rbp), %eax
	movslq	%eax, %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movb	$0, (%rax)
	addl	$1, -8(%rbp)
.L22:
	movl	-12(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jg	.L23
.L21:
	movzbl	-17(%rbp), %eax
	movb	%al, -18(%rbp)
	movl	$1, -16(%rbp)
.L20:
	addl	$1, -12(%rbp)
.L18:
	movl	-12(%rbp), %eax
	cmpl	-44(%rbp), %eax
	jl	.L24
	movl	-4(%rbp), %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	judge, .-judge
	.section	.rodata
.LC3:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-36864(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$3328, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -40172(%rbp)
.L34:
	call	get_int
	movl	%eax, -40148(%rbp)
	cmpl	$0, -40148(%rbp)
	jne	.L27
	movl	$0, -40176(%rbp)
	jmp	.L28
.L27:
	movq	$0, -40144(%rbp)
	movq	$0, -40136(%rbp)
	movq	$0, -40128(%rbp)
	movq	$0, -40120(%rbp)
	movq	$0, -40112(%rbp)
	movq	$0, -40104(%rbp)
	movq	$0, -40096(%rbp)
	movl	$0, -40088(%rbp)
	movl	-40148(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -40176(%rbp)
	jmp	.L29
.L30:
	leaq	-40144(%rbp), %rcx
	movl	-40176(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	movl	$5, %esi
	movq	%rax, %rdi
	call	fget_array
	subl	$1, -40176(%rbp)
.L29:
	cmpl	$0, -40176(%rbp)
	jns	.L30
	movl	$0, -40168(%rbp)
.L41:
	movq	$0, -40080(%rbp)
	movq	$0, -40072(%rbp)
	movq	$0, -40064(%rbp)
	movq	$0, -40056(%rbp)
	movq	$0, -40048(%rbp)
	movq	$0, -40040(%rbp)
	movq	$0, -40032(%rbp)
	movl	$0, -40024(%rbp)
	movl	$0, -40156(%rbp)
	movl	$0, -40160(%rbp)
	jmp	.L31
.L32:
	leaq	-40144(%rbp), %rcx
	movl	-40160(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	movl	$6, %esi
	movq	%rax, %rdi
	call	judge
	addl	%eax, -40156(%rbp)
	addl	$1, -40160(%rbp)
.L31:
	movl	-40160(%rbp), %eax
	cmpl	-40148(%rbp), %eax
	jl	.L32
	cmpl	$0, -40156(%rbp)
	jne	.L33
	movl	-40172(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -40172(%rbp)
	cltq
	movl	-40168(%rbp), %edx
	movl	%edx, -40016(%rbp,%rax,4)
	jmp	.L34
.L33:
	movl	-40156(%rbp), %eax
	addl	%eax, -40168(%rbp)
	movl	$0, -40164(%rbp)
	jmp	.L35
.L40:
	movl	$0, -40152(%rbp)
	movl	$0, -40160(%rbp)
	jmp	.L36
.L39:
	movl	-40164(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40160(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$40144, %rax
	movzbl	(%rax), %eax
	movb	%al, -40177(%rbp)
	cmpb	$0, -40177(%rbp)
	je	.L45
	movl	-40152(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -40152(%rbp)
	movl	-40164(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	leaq	-40080(%rax), %rdx
	movzbl	-40177(%rbp), %eax
	movb	%al, (%rdx)
	jmp	.L38
.L45:
	nop
.L38:
	addl	$1, -40160(%rbp)
.L36:
	movl	-40160(%rbp), %eax
	cmpl	-40148(%rbp), %eax
	jl	.L39
	addl	$1, -40164(%rbp)
.L35:
	cmpl	$4, -40164(%rbp)
	jle	.L40
	leaq	-40080(%rbp), %rcx
	leaq	-40144(%rbp), %rax
	movl	$60, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	memcpy@PLT
	jmp	.L41
.L42:
	movl	-40176(%rbp), %eax
	cltq
	movl	-40016(%rbp,%rax,4), %eax
	movl	%eax, %esi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -40176(%rbp)
.L28:
	movl	-40176(%rbp), %eax
	cmpl	-40172(%rbp), %eax
	jl	.L42
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L44
	call	__stack_chk_fail@PLT
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.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"
	.text
	.p2align 4
	.globl	get_int
	.type	get_int, @function
get_int:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movl	$20, %esi
	subq	$48, %rsp
	.cfi_def_cfa_offset 64
	movq	stdin(%rip), %rdx
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rbp
	movq	%rbp, %rdi
	call	fgets@PLT
	movq	%rax, %r8
	xorl	%eax, %eax
	testq	%r8, %r8
	je	.L1
	leaq	12(%rsp), %rdx
	leaq	.LC0(%rip), %rsi
	movq	%rbp, %rdi
	call	__isoc99_sscanf@PLT
	movl	12(%rsp), %eax
.L1:
	movq	40(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L8
	addq	$48, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L8:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	get_int, .-get_int
	.section	.rodata.str1.1
.LC1:
	.string	" "
	.text
	.p2align 4
	.globl	fget_array
	.type	fget_array, @function
fget_array:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movl	%esi, %r12d
	movl	$20, %esi
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	%rdi, %rbx
	subq	$32, %rsp
	.cfi_def_cfa_offset 64
	movq	stdin(%rip), %rdx
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	movq	%rbp, %rdi
	call	fgets@PLT
	testq	%rax, %rax
	je	.L15
	testl	%r12d, %r12d
	jle	.L13
	leal	-1(%r12), %eax
	movq	%rbp, %rdi
	leaq	.LC1(%rip), %rbp
	leaq	1(%rbx,%rax), %r12
	.p2align 4,,10
	.p2align 3
.L12:
	movq	%rbp, %rsi
	addq	$1, %rbx
	call	strtok@PLT
	movl	$10, %edx
	xorl	%esi, %esi
	movq	%rax, %rdi
	call	strtol@PLT
	xorl	%edi, %edi
	movb	%al, -1(%rbx)
	cmpq	%r12, %rbx
	jne	.L12
.L13:
	xorl	%eax, %eax
.L9:
	movq	24(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L18
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L15:
	.cfi_restore_state
	movl	$-1, %eax
	jmp	.L9
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE52:
	.size	fget_array, .-fget_array
	.section	.rodata.str1.1
.LC2:
	.string	"%d "
	.text
	.p2align 4
	.globl	display
	.type	display, @function
display:
.LFB53:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	testl	%esi, %esi
	jle	.L20
	leal	-1(%rsi), %eax
	movq	%rdi, %rbx
	leaq	.LC2(%rip), %rbp
	leaq	1(%rdi,%rax), %r12
	.p2align 4,,10
	.p2align 3
.L21:
	movsbl	(%rbx), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpq	%r12, %rbx
	jne	.L21
.L20:
	movq	stdout(%rip), %rsi
	popq	%rbx
	.cfi_def_cfa_offset 24
	movl	$10, %edi
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	jmp	putc@PLT
	.cfi_endproc
.LFE53:
	.size	display, .-display
	.p2align 4
	.globl	judge
	.type	judge, @function
judge:
.LFB54:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	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
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movsbl	(%rdi), %eax
	cmpl	$1, %esi
	jle	.L29
	movq	%rdi, %r13
	movslq	%esi, %r12
	movl	$1, %ebx
	xorl	%r14d, %r14d
	movl	$1, %ecx
	jmp	.L28
	.p2align 4,,10
	.p2align 3
.L31:
	movsbl	%bpl, %eax
	movl	$1, %ecx
.L27:
	addq	$1, %rbx
	cmpq	%rbx, %r12
	je	.L24
.L28:
	movzbl	0(%r13,%rbx), %ebp
	movl	%ebx, %edx
	cmpb	%al, %bpl
	je	.L34
	cmpl	$2, %ecx
	jle	.L31
	imull	%ecx, %eax
	movl	%ebx, %edi
	subl	%ecx, %edi
	addl	%eax, %r14d
	cmpl	%ebx, %edi
	jge	.L31
	subl	$1, %edx
	xorl	%esi, %esi
	addq	$1, %rbx
	subl	%edi, %edx
	movslq	%edi, %rdi
	addq	$1, %rdx
	addq	%r13, %rdi
	call	memset@PLT
	movsbl	%bpl, %eax
	movl	$1, %ecx
	cmpq	%rbx, %r12
	jne	.L28
.L24:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	movl	%r14d, %eax
	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
	.p2align 4,,10
	.p2align 3
.L34:
	.cfi_restore_state
	addl	$1, %ecx
	jmp	.L27
.L29:
	xorl	%r14d, %r14d
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	movl	%r14d, %eax
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE54:
	.size	judge, .-judge
	.section	.rodata.str1.1
.LC3:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB55:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	-36864(%rsp), %r11
	.cfi_def_cfa 11, 36920
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3352, %rsp
	.cfi_def_cfa_offset 40272
	movq	%fs:40, %rax
	movq	%rax, 40200(%rsp)
	xorl	%eax, %eax
	leaq	40176(%rsp), %r13
	movq	$0, 8(%rsp)
	movq	8(%rsp), %rax
.L60:
	movq	stdin(%rip), %rdx
	movl	$20, %esi
	movl	%eax, %ebx
	movl	%eax, %ebp
	movq	%r13, %rdi
	call	fgets@PLT
	testq	%rax, %rax
	je	.L37
	leaq	44(%rsp), %rdx
	leaq	.LC0(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_sscanf@PLT
	movl	44(%rsp), %r15d
	testl	%r15d, %r15d
	je	.L37
	movl	%r15d, %eax
	pxor	%xmm0, %xmm0
	movq	$0, 96(%rsp)
	leaq	48(%rsp), %r12
	subl	$1, %eax
	movl	$0, 104(%rsp)
	movl	%eax, 20(%rsp)
	movaps	%xmm0, 48(%rsp)
	movaps	%xmm0, 64(%rsp)
	movaps	%xmm0, 80(%rsp)
	js	.L38
	cltq
	leaq	48(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	movq	%rax, %rdi
	leaq	(%rax,%rax,2), %rax
	movq	%r12, 24(%rsp)
	addq	%rax, %rax
	leaq	47(%rsp,%rax), %r14
	leaq	53(%rsp,%rax), %rbx
	movl	%edi, %eax
	leaq	(%rax,%rax,2), %rax
	addq	%rax, %rax
	subq	%rax, %r14
.L41:
	movq	stdin(%rip), %rdx
	movl	$20, %esi
	movq	%r13, %rdi
	leaq	-5(%rbx), %r12
	call	fgets@PLT
	testq	%rax, %rax
	je	.L39
	movq	%r13, %rdi
	.p2align 4,,10
	.p2align 3
.L40:
	movq	%rbp, %rsi
	addq	$1, %r12
	call	strtok@PLT
	movl	$10, %edx
	xorl	%esi, %esi
	movq	%rax, %rdi
	call	strtol@PLT
	xorl	%edi, %edi
	movb	%al, -1(%r12)
	cmpq	%r12, %rbx
	jne	.L40
.L39:
	subq	$6, %rbx
	cmpq	%r14, %rbx
	jne	.L41
	movq	24(%rsp), %r12
.L38:
	movl	20(%rsp), %eax
	xorl	%r9d, %r9d
	movl	$4, %r10d
	leaq	(%rax,%rax,2), %rax
	leaq	54(%rsp,%rax,2), %rdi
.L75:
	movq	$0, 160(%rsp)
	pxor	%xmm0, %xmm0
	movl	$0, 168(%rsp)
	movaps	%xmm0, 112(%rsp)
	movaps	%xmm0, 128(%rsp)
	movaps	%xmm0, 144(%rsp)
	testl	%r15d, %r15d
	jle	.L42
	movq	%r12, %rax
	xorl	%r8d, %r8d
	.p2align 4,,10
	.p2align 3
.L58:
	movzbl	1(%rax), %edx
	cmpb	%dl, (%rax)
	je	.L43
	movzbl	2(%rax), %esi
	cmpb	%dl, %sil
	je	.L170
	cmpb	3(%rax), %sil
	je	.L171
.L169:
	xorl	%edx, %edx
.L53:
	addq	$6, %rax
	addl	%edx, %r8d
	cmpq	%rdi, %rax
	jne	.L58
	testl	%r8d, %r8d
	je	.L42
	addl	%r8d, %r9d
	movq	%r12, %rax
	leaq	112(%rsp), %r11
	xorl	%r8d, %r8d
.L61:
	movzbl	(%rax), %ecx
	movslq	%r8d, %rdx
	xorl	%esi, %esi
	testb	%cl, %cl
	je	.L64
	movb	%cl, (%r11,%r8)
	movl	$1, %esi
.L64:
	cmpl	$1, %r15d
	je	.L65
	movzbl	6(%rax), %ebx
	movl	%esi, %ecx
	testb	%bl, %bl
	je	.L66
	leaq	(%rsi,%rsi,2), %rsi
	movslq	%edx, %rbp
	addl	$1, %ecx
	leaq	40208(%rsp,%rsi,2), %r14
	movb	%bl, -40096(%rbp,%r14)
.L66:
	cmpl	$2, %r15d
	je	.L65
	movzbl	12(%rax), %ebx
	movl	%ecx, %esi
	testb	%bl, %bl
	je	.L67
	movslq	%ecx, %rcx
	movslq	%edx, %rbp
	addl	$1, %esi
	leaq	(%rcx,%rcx,2), %rcx
	leaq	40208(%rsp,%rcx,2), %r14
	movb	%bl, -40096(%rbp,%r14)
.L67:
	cmpl	$3, %r15d
	je	.L65
	movzbl	18(%rax), %ebx
	movl	%esi, %ecx
	testb	%bl, %bl
	je	.L68
	movslq	%esi, %rsi
	movslq	%edx, %rbp
	addl	$1, %ecx
	leaq	(%rsi,%rsi,2), %rsi
	leaq	40208(%rsp,%rsi,2), %r14
	movb	%bl, -40096(%rbp,%r14)
.L68:
	cmpl	$4, %r15d
	je	.L65
	movzbl	24(%rax), %ebx
	movl	%ecx, %esi
	testb	%bl, %bl
	je	.L69
	movslq	%ecx, %rcx
	movslq	%edx, %rbp
	addl	$1, %esi
	leaq	(%rcx,%rcx,2), %rcx
	leaq	40208(%rsp,%rcx,2), %r14
	movb	%bl, -40096(%rbp,%r14)
.L69:
	cmpl	$5, %r15d
	je	.L65
	movzbl	30(%rax), %ebx
	movl	%esi, %ecx
	testb	%bl, %bl
	je	.L70
	movslq	%esi, %rsi
	movslq	%edx, %rbp
	addl	$1, %ecx
	leaq	(%rsi,%rsi,2), %rsi
	leaq	40208(%rsp,%rsi,2), %r14
	movb	%bl, -40096(%rbp,%r14)
.L70:
	cmpl	$6, %r15d
	je	.L65
	movzbl	36(%rax), %ebx
	movl	%ecx, %esi
	testb	%bl, %bl
	je	.L71
	movslq	%ecx, %rcx
	movslq	%edx, %rbp
	addl	$1, %esi
	leaq	(%rcx,%rcx,2), %rcx
	leaq	40208(%rsp,%rcx,2), %r14
	movb	%bl, -40096(%rbp,%r14)
.L71:
	cmpl	$7, %r15d
	je	.L65
	movzbl	42(%rax), %ebx
	movl	%esi, %ecx
	testb	%bl, %bl
	je	.L72
	movslq	%esi, %rsi
	movslq	%edx, %rbp
	addl	$1, %ecx
	leaq	(%rsi,%rsi,2), %rsi
	leaq	40208(%rsp,%rsi,2), %r14
	movb	%bl, -40096(%rbp,%r14)
.L72:
	cmpl	$8, %r15d
	je	.L65
	movzbl	48(%rax), %ebx
	movl	%ecx, %esi
	testb	%bl, %bl
	je	.L73
	movslq	%ecx, %rcx
	movslq	%edx, %rbp
	addl	$1, %esi
	leaq	(%rcx,%rcx,2), %rcx
	leaq	40208(%rsp,%rcx,2), %r14
	movb	%bl, -40096(%rbp,%r14)
.L73:
	cmpl	$9, %r15d
	je	.L65
	movzbl	54(%rax), %ecx
	testb	%cl, %cl
	je	.L65
	movslq	%esi, %rsi
	leaq	(%rsi,%rsi,2), %rsi
	leaq	40208(%rsp,%rsi,2), %rsi
	movb	%cl, -40096(%rdx,%rsi)
.L65:
	addq	$1, %r8
	addq	$1, %rax
	cmpq	$5, %r8
	jne	.L61
	movq	160(%rsp), %rax
	movdqa	112(%rsp), %xmm1
	movdqa	128(%rsp), %xmm2
	movdqa	144(%rsp), %xmm3
	movq	%rax, 48(%r12)
	movl	168(%rsp), %eax
	movaps	%xmm1, (%r12)
	movl	%eax, 56(%r12)
	movaps	%xmm2, 16(%r12)
	movaps	%xmm3, 32(%r12)
	jmp	.L75
	.p2align 4,,10
	.p2align 3
.L171:
	movzbl	4(%rax), %r11d
	movl	$2, %ecx
	cmpb	%r11b, %sil
	jne	.L169
.L79:
	addl	$1, %ecx
	cmpb	5(%rax), %r11b
	je	.L169
	movsbl	%r11b, %edx
	movl	$5, %r11d
	subl	%ecx, %r11d
	imull	%ecx, %edx
	movslq	%r11d, %r11
	addq	%rax, %r11
	testl	%ecx, %ecx
	je	.L53
	xorl	%esi, %esi
.L56:
	movl	%esi, %ebx
	addl	$1, %esi
	movb	$0, (%r11,%rbx)
	cmpl	%ecx, %esi
	jb	.L56
	jmp	.L53
	.p2align 4,,10
	.p2align 3
.L43:
	movsbl	2(%rax), %ecx
	cmpb	%dl, %cl
	je	.L46
	movzbl	3(%rax), %edx
	cmpb	%cl, %dl
	jne	.L169
	movzbl	4(%rax), %r11d
	cmpb	%r11b, %dl
	jne	.L169
	movl	$2, %ecx
	jmp	.L79
	.p2align 4,,10
	.p2align 3
.L170:
	movsbl	3(%rax), %edx
	cmpb	%dl, %sil
	jne	.L169
	movl	$2, %ecx
.L81:
	movzbl	4(%rax), %r11d
	addl	$1, %ecx
	cmpb	%dl, %r11b
	je	.L79
	cmpl	$2, %ecx
	je	.L169
	movl	%r10d, %r11d
	imull	%ecx, %edx
	subl	%ecx, %r11d
	movslq	%r11d, %r11
	addq	%rax, %r11
	testl	%ecx, %ecx
	je	.L53
	xorl	%esi, %esi
.L54:
	movl	%esi, %ebx
	addl	$1, %esi
	movb	$0, (%r11,%rbx)
	cmpl	%ecx, %esi
	jb	.L54
	jmp	.L53
.L46:
	movsbl	3(%rax), %edx
	cmpb	%dl, %cl
	je	.L172
	leal	(%rcx,%rcx,2), %edx
	xorl	%ecx, %ecx
	movb	$0, 2(%rax)
	movw	%cx, (%rax)
	jmp	.L53
.L42:
	movq	8(%rsp), %rax
	movl	%r9d, 176(%rsp,%rax,4)
	addq	$1, %rax
	movq	%rax, 8(%rsp)
	jmp	.L60
.L37:
	testl	%ebp, %ebp
	je	.L76
	leal	-1(%rbx), %eax
	leaq	176(%rsp), %rbp
	leaq	180(%rsp,%rax,4), %r12
	leaq	.LC3(%rip), %rbx
.L77:
	movl	0(%rbp), %edx
	movq	%rbx, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$4, %rbp
	call	__printf_chk@PLT
	cmpq	%rbp, %r12
	jne	.L77
.L76:
	movq	40200(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L173
	addq	$40216, %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
.L173:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
.L172:
	movl	$3, %ecx
	jmp	.L81
	.cfi_endproc
.LFE55:
	.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
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
	.text
	.p2align 4
	.globl	get_int
	.type	get_int, @function
get_int:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movl	$20, %esi
	subq	$48, %rsp
	.cfi_def_cfa_offset 64
	movq	stdin(%rip), %rdx
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rbp
	movq	%rbp, %rdi
	call	fgets@PLT
	movq	%rax, %r8
	xorl	%eax, %eax
	testq	%r8, %r8
	je	.L1
	leaq	12(%rsp), %rdx
	leaq	.LC0(%rip), %rsi
	movq	%rbp, %rdi
	call	__isoc99_sscanf@PLT
	movl	12(%rsp), %eax
.L1:
	movq	40(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L8
	addq	$48, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L8:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	get_int, .-get_int
	.section	.rodata.str1.1
.LC1:
	.string	" "
	.text
	.p2align 4
	.globl	fget_array
	.type	fget_array, @function
fget_array:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movl	%esi, %r12d
	movl	$20, %esi
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	%rdi, %rbx
	subq	$32, %rsp
	.cfi_def_cfa_offset 64
	movq	stdin(%rip), %rdx
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	movq	%rbp, %rdi
	call	fgets@PLT
	testq	%rax, %rax
	je	.L15
	testl	%r12d, %r12d
	jle	.L13
	leal	-1(%r12), %eax
	movq	%rbp, %rdi
	leaq	.LC1(%rip), %rbp
	leaq	1(%rbx,%rax), %r12
	.p2align 4,,10
	.p2align 3
.L12:
	movq	%rbp, %rsi
	addq	$1, %rbx
	call	strtok@PLT
	movl	$10, %edx
	xorl	%esi, %esi
	movq	%rax, %rdi
	call	strtol@PLT
	xorl	%edi, %edi
	movb	%al, -1(%rbx)
	cmpq	%r12, %rbx
	jne	.L12
.L13:
	xorl	%eax, %eax
.L9:
	movq	24(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L18
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L15:
	.cfi_restore_state
	movl	$-1, %eax
	jmp	.L9
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE52:
	.size	fget_array, .-fget_array
	.section	.rodata.str1.1
.LC2:
	.string	"%d "
	.text
	.p2align 4
	.globl	display
	.type	display, @function
display:
.LFB53:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	testl	%esi, %esi
	jle	.L20
	leal	-1(%rsi), %eax
	movq	%rdi, %rbx
	leaq	.LC2(%rip), %rbp
	leaq	1(%rdi,%rax), %r12
	.p2align 4,,10
	.p2align 3
.L21:
	movsbl	(%rbx), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpq	%r12, %rbx
	jne	.L21
.L20:
	movq	stdout(%rip), %rsi
	popq	%rbx
	.cfi_def_cfa_offset 24
	movl	$10, %edi
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	jmp	putc@PLT
	.cfi_endproc
.LFE53:
	.size	display, .-display
	.p2align 4
	.globl	judge
	.type	judge, @function
judge:
.LFB54:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	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
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movsbl	(%rdi), %eax
	cmpl	$1, %esi
	jle	.L29
	movq	%rdi, %r13
	movslq	%esi, %r12
	movl	$1, %ebx
	xorl	%r14d, %r14d
	movl	$1, %ecx
	jmp	.L28
	.p2align 4,,10
	.p2align 3
.L31:
	movsbl	%bpl, %eax
	movl	$1, %ecx
.L27:
	addq	$1, %rbx
	cmpq	%rbx, %r12
	je	.L24
.L28:
	movzbl	0(%r13,%rbx), %ebp
	movl	%ebx, %edx
	cmpb	%al, %bpl
	je	.L34
	cmpl	$2, %ecx
	jle	.L31
	imull	%ecx, %eax
	movl	%ebx, %edi
	subl	%ecx, %edi
	addl	%eax, %r14d
	cmpl	%ebx, %edi
	jge	.L31
	subl	$1, %edx
	xorl	%esi, %esi
	addq	$1, %rbx
	subl	%edi, %edx
	movslq	%edi, %rdi
	addq	$1, %rdx
	addq	%r13, %rdi
	call	memset@PLT
	movsbl	%bpl, %eax
	movl	$1, %ecx
	cmpq	%rbx, %r12
	jne	.L28
.L24:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	movl	%r14d, %eax
	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
	.p2align 4,,10
	.p2align 3
.L34:
	.cfi_restore_state
	addl	$1, %ecx
	jmp	.L27
.L29:
	xorl	%r14d, %r14d
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	movl	%r14d, %eax
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE54:
	.size	judge, .-judge
	.section	.rodata.str1.1
.LC3:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB55:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	-36864(%rsp), %r11
	.cfi_def_cfa 11, 36920
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3352, %rsp
	.cfi_def_cfa_offset 40272
	movq	%fs:40, %rax
	movq	%rax, 40200(%rsp)
	xorl	%eax, %eax
	leaq	40176(%rsp), %r13
	movq	$0, 8(%rsp)
	movq	8(%rsp), %rax
.L60:
	movq	stdin(%rip), %rdx
	movl	$20, %esi
	movl	%eax, %ebx
	movl	%eax, %ebp
	movq	%r13, %rdi
	call	fgets@PLT
	testq	%rax, %rax
	je	.L37
	leaq	44(%rsp), %rdx
	leaq	.LC0(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_sscanf@PLT
	movl	44(%rsp), %r15d
	testl	%r15d, %r15d
	je	.L37
	movl	%r15d, %eax
	pxor	%xmm0, %xmm0
	movq	$0, 96(%rsp)
	leaq	48(%rsp), %r12
	subl	$1, %eax
	movl	$0, 104(%rsp)
	movl	%eax, 20(%rsp)
	movaps	%xmm0, 48(%rsp)
	movaps	%xmm0, 64(%rsp)
	movaps	%xmm0, 80(%rsp)
	js	.L38
	cltq
	leaq	48(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	movq	%rax, %rdi
	leaq	(%rax,%rax,2), %rax
	movq	%r12, 24(%rsp)
	addq	%rax, %rax
	leaq	47(%rsp,%rax), %r14
	leaq	53(%rsp,%rax), %rbx
	movl	%edi, %eax
	leaq	(%rax,%rax,2), %rax
	addq	%rax, %rax
	subq	%rax, %r14
.L41:
	movq	stdin(%rip), %rdx
	movl	$20, %esi
	movq	%r13, %rdi
	leaq	-5(%rbx), %r12
	call	fgets@PLT
	testq	%rax, %rax
	je	.L39
	movq	%r13, %rdi
	.p2align 4,,10
	.p2align 3
.L40:
	movq	%rbp, %rsi
	addq	$1, %r12
	call	strtok@PLT
	movl	$10, %edx
	xorl	%esi, %esi
	movq	%rax, %rdi
	call	strtol@PLT
	xorl	%edi, %edi
	movb	%al, -1(%r12)
	cmpq	%r12, %rbx
	jne	.L40
.L39:
	subq	$6, %rbx
	cmpq	%r14, %rbx
	jne	.L41
	movq	24(%rsp), %r12
.L38:
	movl	20(%rsp), %eax
	xorl	%r9d, %r9d
	movl	$4, %r10d
	leaq	(%rax,%rax,2), %rax
	leaq	54(%rsp,%rax,2), %rdi
.L75:
	movq	$0, 160(%rsp)
	pxor	%xmm0, %xmm0
	movl	$0, 168(%rsp)
	movaps	%xmm0, 112(%rsp)
	movaps	%xmm0, 128(%rsp)
	movaps	%xmm0, 144(%rsp)
	testl	%r15d, %r15d
	jle	.L42
	movq	%r12, %rax
	xorl	%r8d, %r8d
	.p2align 4,,10
	.p2align 3
.L58:
	movzbl	1(%rax), %edx
	cmpb	%dl, (%rax)
	je	.L43
	movzbl	2(%rax), %esi
	cmpb	%dl, %sil
	je	.L170
	cmpb	3(%rax), %sil
	je	.L171
.L169:
	xorl	%edx, %edx
.L53:
	addq	$6, %rax
	addl	%edx, %r8d
	cmpq	%rdi, %rax
	jne	.L58
	testl	%r8d, %r8d
	je	.L42
	addl	%r8d, %r9d
	movq	%r12, %rax
	leaq	112(%rsp), %r11
	xorl	%r8d, %r8d
.L61:
	movzbl	(%rax), %ecx
	movslq	%r8d, %rdx
	xorl	%esi, %esi
	testb	%cl, %cl
	je	.L64
	movb	%cl, (%r11,%r8)
	movl	$1, %esi
.L64:
	cmpl	$1, %r15d
	je	.L65
	movzbl	6(%rax), %ebx
	movl	%esi, %ecx
	testb	%bl, %bl
	je	.L66
	leaq	(%rsi,%rsi,2), %rsi
	movslq	%edx, %rbp
	addl	$1, %ecx
	leaq	40208(%rsp,%rsi,2), %r14
	movb	%bl, -40096(%rbp,%r14)
.L66:
	cmpl	$2, %r15d
	je	.L65
	movzbl	12(%rax), %ebx
	movl	%ecx, %esi
	testb	%bl, %bl
	je	.L67
	movslq	%ecx, %rcx
	movslq	%edx, %rbp
	addl	$1, %esi
	leaq	(%rcx,%rcx,2), %rcx
	leaq	40208(%rsp,%rcx,2), %r14
	movb	%bl, -40096(%rbp,%r14)
.L67:
	cmpl	$3, %r15d
	je	.L65
	movzbl	18(%rax), %ebx
	movl	%esi, %ecx
	testb	%bl, %bl
	je	.L68
	movslq	%esi, %rsi
	movslq	%edx, %rbp
	addl	$1, %ecx
	leaq	(%rsi,%rsi,2), %rsi
	leaq	40208(%rsp,%rsi,2), %r14
	movb	%bl, -40096(%rbp,%r14)
.L68:
	cmpl	$4, %r15d
	je	.L65
	movzbl	24(%rax), %ebx
	movl	%ecx, %esi
	testb	%bl, %bl
	je	.L69
	movslq	%ecx, %rcx
	movslq	%edx, %rbp
	addl	$1, %esi
	leaq	(%rcx,%rcx,2), %rcx
	leaq	40208(%rsp,%rcx,2), %r14
	movb	%bl, -40096(%rbp,%r14)
.L69:
	cmpl	$5, %r15d
	je	.L65
	movzbl	30(%rax), %ebx
	movl	%esi, %ecx
	testb	%bl, %bl
	je	.L70
	movslq	%esi, %rsi
	movslq	%edx, %rbp
	addl	$1, %ecx
	leaq	(%rsi,%rsi,2), %rsi
	leaq	40208(%rsp,%rsi,2), %r14
	movb	%bl, -40096(%rbp,%r14)
.L70:
	cmpl	$6, %r15d
	je	.L65
	movzbl	36(%rax), %ebx
	movl	%ecx, %esi
	testb	%bl, %bl
	je	.L71
	movslq	%ecx, %rcx
	movslq	%edx, %rbp
	addl	$1, %esi
	leaq	(%rcx,%rcx,2), %rcx
	leaq	40208(%rsp,%rcx,2), %r14
	movb	%bl, -40096(%rbp,%r14)
.L71:
	cmpl	$7, %r15d
	je	.L65
	movzbl	42(%rax), %ebx
	movl	%esi, %ecx
	testb	%bl, %bl
	je	.L72
	movslq	%esi, %rsi
	movslq	%edx, %rbp
	addl	$1, %ecx
	leaq	(%rsi,%rsi,2), %rsi
	leaq	40208(%rsp,%rsi,2), %r14
	movb	%bl, -40096(%rbp,%r14)
.L72:
	cmpl	$8, %r15d
	je	.L65
	movzbl	48(%rax), %ebx
	movl	%ecx, %esi
	testb	%bl, %bl
	je	.L73
	movslq	%ecx, %rcx
	movslq	%edx, %rbp
	addl	$1, %esi
	leaq	(%rcx,%rcx,2), %rcx
	leaq	40208(%rsp,%rcx,2), %r14
	movb	%bl, -40096(%rbp,%r14)
.L73:
	cmpl	$9, %r15d
	je	.L65
	movzbl	54(%rax), %ecx
	testb	%cl, %cl
	je	.L65
	movslq	%esi, %rsi
	leaq	(%rsi,%rsi,2), %rsi
	leaq	40208(%rsp,%rsi,2), %rsi
	movb	%cl, -40096(%rdx,%rsi)
.L65:
	addq	$1, %r8
	addq	$1, %rax
	cmpq	$5, %r8
	jne	.L61
	movq	160(%rsp), %rax
	movdqa	112(%rsp), %xmm1
	movdqa	128(%rsp), %xmm2
	movdqa	144(%rsp), %xmm3
	movq	%rax, 48(%r12)
	movl	168(%rsp), %eax
	movaps	%xmm1, (%r12)
	movl	%eax, 56(%r12)
	movaps	%xmm2, 16(%r12)
	movaps	%xmm3, 32(%r12)
	jmp	.L75
	.p2align 4,,10
	.p2align 3
.L171:
	movzbl	4(%rax), %r11d
	movl	$2, %ecx
	cmpb	%r11b, %sil
	jne	.L169
.L79:
	addl	$1, %ecx
	cmpb	5(%rax), %r11b
	je	.L169
	movsbl	%r11b, %edx
	movl	$5, %r11d
	subl	%ecx, %r11d
	imull	%ecx, %edx
	movslq	%r11d, %r11
	addq	%rax, %r11
	testl	%ecx, %ecx
	je	.L53
	xorl	%esi, %esi
.L56:
	movl	%esi, %ebx
	addl	$1, %esi
	movb	$0, (%r11,%rbx)
	cmpl	%ecx, %esi
	jb	.L56
	jmp	.L53
	.p2align 4,,10
	.p2align 3
.L43:
	movsbl	2(%rax), %ecx
	cmpb	%dl, %cl
	je	.L46
	movzbl	3(%rax), %edx
	cmpb	%cl, %dl
	jne	.L169
	movzbl	4(%rax), %r11d
	cmpb	%r11b, %dl
	jne	.L169
	movl	$2, %ecx
	jmp	.L79
	.p2align 4,,10
	.p2align 3
.L170:
	movsbl	3(%rax), %edx
	cmpb	%dl, %sil
	jne	.L169
	movl	$2, %ecx
.L81:
	movzbl	4(%rax), %r11d
	addl	$1, %ecx
	cmpb	%dl, %r11b
	je	.L79
	cmpl	$2, %ecx
	je	.L169
	movl	%r10d, %r11d
	imull	%ecx, %edx
	subl	%ecx, %r11d
	movslq	%r11d, %r11
	addq	%rax, %r11
	testl	%ecx, %ecx
	je	.L53
	xorl	%esi, %esi
.L54:
	movl	%esi, %ebx
	addl	$1, %esi
	movb	$0, (%r11,%rbx)
	cmpl	%ecx, %esi
	jb	.L54
	jmp	.L53
.L46:
	movsbl	3(%rax), %edx
	cmpb	%dl, %cl
	je	.L172
	leal	(%rcx,%rcx,2), %edx
	xorl	%ecx, %ecx
	movb	$0, 2(%rax)
	movw	%cx, (%rax)
	jmp	.L53
.L42:
	movq	8(%rsp), %rax
	movl	%r9d, 176(%rsp,%rax,4)
	addq	$1, %rax
	movq	%rax, 8(%rsp)
	jmp	.L60
.L37:
	testl	%ebp, %ebp
	je	.L76
	leal	-1(%rbx), %eax
	leaq	176(%rsp), %rbp
	leaq	180(%rsp,%rax,4), %r12
	leaq	.LC3(%rip), %rbx
.L77:
	movl	0(%rbp), %edx
	movq	%rbx, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$4, %rbp
	call	__printf_chk@PLT
	cmpq	%rbp, %r12
	jne	.L77
.L76:
	movq	40200(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L173
	addq	$40216, %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
.L173:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
.L172:
	movl	$3, %ecx
	jmp	.L81
	.cfi_endproc
.LFE55:
	.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:

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

#define BUF_SIZE 20

int get_int(void) {
  int num;
#ifdef BUF_SIZE
  char line[BUF_SIZE];
  if(!fgets(line, BUF_SIZE, stdin)) return 0;
  sscanf(line, "%d", &num);
#else
#error
#endif
  return num;
}

// <arr[0]> <arr[1]> .. <arr[size-1]>
int fget_array(char *arr, int size) {
#ifdef BUF_SIZE
    char line[BUF_SIZE];
    char *tmpbuf = line;
    int i;
    if(!fgets(line, BUF_SIZE, stdin)) return -1;
    for(i = 0; i < size; i++) {
        char *tmp = strtok(tmpbuf, " ");
        arr[i] = strtol(tmp, NULL, 10);
        tmpbuf = NULL;
    }
#else
#error
#endif
    return 0;
}

#define HEIGHT_MAX 10
#define WIDTH 5
#define SET_MAX 10000
#define HEIGHS 3
#define BOARD_MAX (HEIGHT_MAX*(WIDTH+1))

void display(char *array, int width) {
    int j;
    for(j = 0; j < width; j++) {
        printf("%d ", array[j]);
    }
    putchar('\n');
    return;
}

int judge(char *arr, int size) {
    char cur = arr[0];
    int cnt = 1;
    int i, j;
    int score = 0;
    for(i = 1; i < size; i++) {
        char next = arr[i];
        if(cur == next) {
            cnt++; continue;
        }
        if(cnt >= HEIGHS) {
            score += cnt*cur;
            // disappeared until previous ball
            for(j = i-cnt; j <= i-1; j++) {
                // when disappearred, labeled as 0
                arr[j] = 0;
            }
        }
        cur = next; cnt = 1;
    }
#ifdef DEBUG
    printf("score: %d\n", score);
#endif
    return score;
}

int main(void) {
    int i;
    int scores[SET_MAX];
    int idx = 0;
    while(1) {
        int height = get_int();
        if(!height) break;
        // array[*][WIDTH]: guard(0)
        char array[HEIGHT_MAX][WIDTH+1] = {0};

        // 0: highest
        for(i = height-1; i >= 0; i--) {
            fget_array(array[i], WIDTH);
        }
        int score = 0;
        while(1) {
            int w, h;
            char newbuf[HEIGHT_MAX][WIDTH+1] = {0};
#ifdef DEBUG
            // display currrent board
            for(i = height-1; i >= 0; i--) {
                display(array[i], WIDTH+1);
            }
#endif
            // judge
            int new_score = 0;
            for(h = 0; h < height; h++) {
                new_score += judge(array[h], WIDTH+1);
            }
            if(!new_score) break;
            score += new_score;
            // drop
            for(w = 0; w < WIDTH; w++) {
                int idx = 0;
                for(h = 0; h < height; h++) {
                    char cur = array[h][w];
                    if(!cur) continue;
                    newbuf[idx++][w] = cur;
                }
            }
            // replace array with new
            memcpy(array[0], newbuf[0], BOARD_MAX);
        }
        scores[idx++] = score;
    }
    for(i = 0; i < idx; i++) {
        printf("%d\n", scores[i]);
    }
    return 0;
}

1
6 9 9 9 9
5
5 9 5 2 9
5 5 6 9 9
4 6 3 6 9
3 3 2 9 9
2 2 1 1 1
10
3 5 6 5 6
2 2 2 8 3
6 2 5 9 2
7 7 7 6 1
4 6 6 4 9
8 9 1 1 8
5 6 1 8 1
6 8 2 1 2
9 6 3 3 5
5 3 8 8 8
5
1 2 3 4 5
6 7 8 9 1
2 3 4 5 6
7 8 9 1 2
3 4 5 6 7
3
2 2 8 7 4
6 5 7 7 7
8 8 9 9 9
0
 1
6 9 9 9 9
5
5 9 5 2 9
5 5 6 9 9
4 6 3 6 9
3 2 2 9 9
2 2 1 1 1
10
3 5 6 5 6
2 2 2 8 3
6 2 5 9 2
7 7 7 6 1
4 6 6 4 9
8 9 1 1 8
5 6 1 8 1
6 8 2 1 2
9 6 3 3 5
5 3 8 8 8
5
1 2 3 4 5
6 7 8 9 1
2 3 4 5 6
7 8 9 1 2
3 4 5 6 7
3
2 2 8 7 4
6 5 7 7 7
8 8 9 9 9
0
 1
6 9 9 9 9
5
5 9 5 2 9
5 5 6 9 9
4 6 3 6 9
3 2 2 9 9
2 2 1 1 1
10
3 5 6 5 6
2 2 2 8 3
6 2 5 9 2
7 7 7 6 1
4 9 6 4 9
8 9 1 1 8
5 6 1 8 1
6 8 2 1 2
9 6 3 3 5
5 3 8 8 8
5
1 2 3 4 5
6 7 8 9 1
2 3 4 5 6
7 8 9 1 2
3 4 5 6 7
3
2 2 8 7 4
6 5 7 7 7
8 8 9 9 9
0
 1
6 9 9 9 9
5
5 9 5 2 9
5 5 6 9 9
4 6 3 6 9
3 2 2 9 9
2 2 1 1 1
10
3 5 6 5 6
2 2 2 8 3
6 2 5 9 2
7 7 7 6 1
4 9 6 4 9
8 9 1 1 8
5 6 1 8 1
6 8 2 1 2
9 6 3 3 5
5 3 8 8 8
5
1 2 3 4 5
6 7 8 9 1
2 3 4 5 6
7 8 9 1 2
3 4 5 6 7
3
2 2 4 7 4
6 5 7 7 7
8 8 9 9 9
0
 1
6 9 9 9 9
5
5 9 5 2 9
5 5 6 9 9
4 6 3 10 9
3 2 2 9 9
2 2 1 1 1
10
3 5 6 5 6
2 2 2 8 3
6 2 5 9 2
7 7 7 6 1
4 9 6 4 9
8 9 1 1 8
5 6 1 8 1
6 8 2 1 2
9 6 3 3 5
5 3 8 8 8
5
1 2 3 4 5
6 7 8 9 1
2 3 4 5 6
7 8 9 1 2
3 4 5 6 7
3
2 2 4 7 4
6 5 7 7 7
8 8 9 9 9
0
 1
6 9 9 9 9
5
5 9 5 2 9
5 5 6 9 9
4 6 3 10 9
3 2 2 9 9
2 2 1 1 1
10
3 5 6 5 6
2 2 2 8 3
6 2 5 9 2
8 7 7 6 1
4 9 6 4 9
8 9 1 1 8
5 6 1 8 1
6 8 2 1 2
9 6 3 3 5
5 3 8 8 8
5
1 2 3 4 5
6 7 8 9 1
2 3 4 5 6
7 8 9 1 2
3 4 5 6 12
3
2 2 4 7 4
6 5 7 7 7
8 8 9 9 9
0
 1
6 9 9 9 9
5
5 9 5 5 9
5 5 6 9 9
4 6 3 6 9
3 3 2 9 9
2 2 1 1 1
10
3 5 6 5 6
2 2 2 8 3
6 2 5 9 2
7 7 7 6 1
4 2 6 4 9
8 9 1 1 8
5 6 1 8 1
6 8 2 1 2
9 6 3 3 5
5 3 8 8 8
5
1 2 3 4 5
6 7 8 9 1
2 3 4 5 6
7 8 9 1 2
3 4 5 6 7
3
2 2 8 7 4
6 5 7 7 7
8 8 9 9 9
0
 1
6 9 9 9 9
5
5 9 5 2 9
5 5 6 9 9
4 6 3 6 9
3 2 2 9 9
2 2 1 1 1
10
3 5 6 5 6
2 2 2 8 3
6 2 5 9 2
3 7 7 6 1
4 6 6 4 9
8 9 1 1 8
5 6 1 8 1
6 8 2 1 2
9 6 3 3 5
5 3 8 8 8
5
1 2 3 4 5
6 7 8 9 1
2 3 4 5 6
7 8 9 1 2
3 4 5 6 7
3
2 2 8 7 4
6 5 7 7 7
8 8 9 9 9
0
 1
6 9 9 9 9
5
5 9 5 2 9
5 6 6 9 9
4 6 3 10 9
3 2 2 9 9
2 2 1 1 1
10
3 5 6 5 6
2 2 2 8 3
6 2 5 9 2
8 7 7 6 1
4 9 6 4 9
8 9 1 1 8
5 6 1 8 1
6 8 2 1 2
9 6 3 3 5
5 3 8 8 8
5
1 2 3 4 5
6 7 8 9 1
2 3 4 5 6
7 8 9 1 2
3 4 5 6 12
3
2 2 4 7 4
6 5 7 7 7
8 8 9 9 9
0
 1
6 9 9 9 9
5
5 9 5 5 9
5 5 6 9 9
4 6 3 6 9
3 3 2 9 9
2 2 1 1 1
10
3 5 6 5 6
2 2 2 8 3
6 2 5 9 2
7 7 7 6 1
4 2 6 4 9
8 9 1 1 8
5 6 1 8 1
6 8 2 1 2
9 6 3 3 5
5 3 8 8 8
5
1 2 3 4 5
6 7 8 9 1
2 3 4 5 6
7 8 9 1 2
3 4 5 6 7
3
2 2 10 7 4
6 5 7 7 7
8 8 9 9 9
0

36
33
99
0
72
 36
42
99
0
72
 36
42
81
0
72
 36
42
81
0
48
 36
24
81
0
48
 36
24
60
0
48
 36
38
81
0
72
 36
42
60
0
72
 36
9
60
0
48
 36
38
81
0
48

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>
#include <stdlib.h>

#define BUF_SIZE 20

int get_int(void) {
  int num;
#ifdef BUF_SIZE
  char line[BUF_SIZE];
  if(!fgets(line, BUF_SIZE, stdin)) return 0;
  sscanf(line, "%d", &num);
#else
#error
#endif
  return num;
}

// <arr[0]> <arr[1]> .. <arr[size-1]>
int fget_array(char *arr, int size) {
#ifdef BUF_SIZE
    char line[BUF_SIZE];
    char *tmpbuf = line;
    int i;
    if(!fgets(line, BUF_SIZE, stdin)) return -1;
    for(i = 0; i < size; i++) {
        char *tmp = strtok(tmpbuf, " ");
        arr[i] = strtol(tmp, NULL, 10);
        tmpbuf = NULL;
    }
#else
#error
#endif
    return 0;
}

#define HEIGHT_MAX 10
#define WIDTH 5
#define SET_MAX 10000
#define HEIGHS 3
#define BOARD_MAX (HEIGHT_MAX*(WIDTH+1))

void display(char *array, int width) {
    int j;
    for(j = 0; j < width; j++) {
        printf("%d ", array[j]);
    }
    putchar('\n');
    return;
}

int judge(char *arr, int size) {
    char cur = arr[0];
    int cnt = 1;
    int i, j;
    int score = 0;
    for(i = 1; i < size; i++) {
        char next = arr[i];
        if(cur == next) {
            cnt++; continue;
        }
        if(cnt >= HEIGHS) {
            score += cnt*cur;
            // disappeared until previous ball
            for(j = i-cnt; j <= i-1; j++) {
                // when disappearred, labeled as 0
                arr[j] = 0;
            }
        }
        cur = next; cnt = 1;
    }
#ifdef DEBUG
    printf("score: %d\n", score);
#endif
    return score;
}

int main(void) {
    int i;
    int scores[SET_MAX];
    int idx = 0;
    while(1) {
        int height = get_int();
        if(!height) break;
        // array[*][WIDTH]: guard(0)
        char array[HEIGHT_MAX][WIDTH+1] = {0};

        // 0: highest
        for(i = height-1; i >= 0; i--) {
            fget_array(array[i], WIDTH);
        }
        int score = 0;
        while(1) {
            int w, h;
            char newbuf[HEIGHT_MAX][WIDTH+1] = {0};
#ifdef DEBUG
            // display currrent board
            for(i = height-1; i >= 0; i--) {
                display(array[i], WIDTH+1);
            }
#endif
            // judge
            int new_score = 0;
            for(h = 0; h < height; h++) {
                new_score += judge(array[h], WIDTH+1);
            }
            if(!new_score) break;
            score += new_score;
            // drop
            for(w = 0; w < WIDTH; w++) {
                int idx = 0;
                for(h = 0; h < height; h++) {
                    char cur = array[h][w];
                    if(!cur) continue;
                    newbuf[idx++][w] = cur;
                }
            }
            // replace array with new
            memcpy(array[0], newbuf[0], BOARD_MAX);
        }
        scores[idx++] = score;
    }
    for(i = 0; i < idx; i++) {
        printf("%d\n", scores[i]);
    }
    return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
	.text
	.globl	get_int
	.type	get_int, @function
get_int:
.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	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	stdin(%rip), %rdx
	leaq	-32(%rbp), %rax
	movl	$20, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	testq	%rax, %rax
	jne	.L2
	movl	$0, %eax
	jmp	.L4
.L2:
	leaq	-36(%rbp), %rdx
	leaq	-32(%rbp), %rax
	leaq	.LC0(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_sscanf@PLT
	movl	-36(%rbp), %eax
.L4:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	get_int, .-get_int
	.section	.rodata
.LC1:
	.string	" "
	.text
	.globl	fget_array
	.type	fget_array, @function
fget_array:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$80, %rsp
	movq	%rdi, -72(%rbp)
	movl	%esi, -76(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-32(%rbp), %rax
	movq	%rax, -48(%rbp)
	movq	stdin(%rip), %rdx
	leaq	-32(%rbp), %rax
	movl	$20, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	testq	%rax, %rax
	jne	.L7
	movl	$-1, %eax
	jmp	.L11
.L7:
	movl	$0, -52(%rbp)
	jmp	.L9
.L10:
	movq	-48(%rbp), %rax
	leaq	.LC1(%rip), %rdx
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strtok@PLT
	movq	%rax, -40(%rbp)
	movq	-40(%rbp), %rax
	movl	$10, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	strtol@PLT
	movq	%rax, %rdx
	movl	-52(%rbp), %eax
	movslq	%eax, %rcx
	movq	-72(%rbp), %rax
	addq	%rcx, %rax
	movb	%dl, (%rax)
	movq	$0, -48(%rbp)
	addl	$1, -52(%rbp)
.L9:
	movl	-52(%rbp), %eax
	cmpl	-76(%rbp), %eax
	jl	.L10
	movl	$0, %eax
.L11:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	fget_array, .-fget_array
	.section	.rodata
.LC2:
	.string	"%d "
	.text
	.globl	display
	.type	display, @function
display:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%rdi, -24(%rbp)
	movl	%esi, -28(%rbp)
	movl	$0, -4(%rbp)
	jmp	.L14
.L15:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -4(%rbp)
.L14:
	movl	-4(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jl	.L15
	movl	$10, %edi
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	display, .-display
	.globl	judge
	.type	judge, @function
judge:
.LFB9:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -40(%rbp)
	movl	%esi, -44(%rbp)
	movq	-40(%rbp), %rax
	movzbl	(%rax), %eax
	movb	%al, -18(%rbp)
	movl	$1, -16(%rbp)
	movl	$0, -4(%rbp)
	movl	$1, -12(%rbp)
	jmp	.L18
.L24:
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	movb	%al, -17(%rbp)
	movzbl	-18(%rbp), %eax
	cmpb	-17(%rbp), %al
	jne	.L19
	addl	$1, -16(%rbp)
	jmp	.L20
.L19:
	cmpl	$2, -16(%rbp)
	jle	.L21
	movsbl	-18(%rbp), %eax
	imull	-16(%rbp), %eax
	addl	%eax, -4(%rbp)
	movl	-12(%rbp), %eax
	subl	-16(%rbp), %eax
	movl	%eax, -8(%rbp)
	jmp	.L22
.L23:
	movl	-8(%rbp), %eax
	movslq	%eax, %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movb	$0, (%rax)
	addl	$1, -8(%rbp)
.L22:
	movl	-12(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jg	.L23
.L21:
	movzbl	-17(%rbp), %eax
	movb	%al, -18(%rbp)
	movl	$1, -16(%rbp)
.L20:
	addl	$1, -12(%rbp)
.L18:
	movl	-12(%rbp), %eax
	cmpl	-44(%rbp), %eax
	jl	.L24
	movl	-4(%rbp), %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	judge, .-judge
	.section	.rodata
.LC3:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-36864(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$3328, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -40172(%rbp)
.L34:
	call	get_int
	movl	%eax, -40148(%rbp)
	cmpl	$0, -40148(%rbp)
	jne	.L27
	movl	$0, -40176(%rbp)
	jmp	.L28
.L27:
	movq	$0, -40144(%rbp)
	movq	$0, -40136(%rbp)
	movq	$0, -40128(%rbp)
	movq	$0, -40120(%rbp)
	movq	$0, -40112(%rbp)
	movq	$0, -40104(%rbp)
	movq	$0, -40096(%rbp)
	movl	$0, -40088(%rbp)
	movl	-40148(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -40176(%rbp)
	jmp	.L29
.L30:
	leaq	-40144(%rbp), %rcx
	movl	-40176(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	movl	$5, %esi
	movq	%rax, %rdi
	call	fget_array
	subl	$1, -40176(%rbp)
.L29:
	cmpl	$0, -40176(%rbp)
	jns	.L30
	movl	$0, -40168(%rbp)
.L41:
	movq	$0, -40080(%rbp)
	movq	$0, -40072(%rbp)
	movq	$0, -40064(%rbp)
	movq	$0, -40056(%rbp)
	movq	$0, -40048(%rbp)
	movq	$0, -40040(%rbp)
	movq	$0, -40032(%rbp)
	movl	$0, -40024(%rbp)
	movl	$0, -40156(%rbp)
	movl	$0, -40160(%rbp)
	jmp	.L31
.L32:
	leaq	-40144(%rbp), %rcx
	movl	-40160(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	movl	$6, %esi
	movq	%rax, %rdi
	call	judge
	addl	%eax, -40156(%rbp)
	addl	$1, -40160(%rbp)
.L31:
	movl	-40160(%rbp), %eax
	cmpl	-40148(%rbp), %eax
	jl	.L32
	cmpl	$0, -40156(%rbp)
	jne	.L33
	movl	-40172(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -40172(%rbp)
	cltq
	movl	-40168(%rbp), %edx
	movl	%edx, -40016(%rbp,%rax,4)
	jmp	.L34
.L33:
	movl	-40156(%rbp), %eax
	addl	%eax, -40168(%rbp)
	movl	$0, -40164(%rbp)
	jmp	.L35
.L40:
	movl	$0, -40152(%rbp)
	movl	$0, -40160(%rbp)
	jmp	.L36
.L39:
	movl	-40164(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40160(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$40144, %rax
	movzbl	(%rax), %eax
	movb	%al, -40177(%rbp)
	cmpb	$0, -40177(%rbp)
	je	.L45
	movl	-40152(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -40152(%rbp)
	movl	-40164(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	leaq	-40080(%rax), %rdx
	movzbl	-40177(%rbp), %eax
	movb	%al, (%rdx)
	jmp	.L38
.L45:
	nop
.L38:
	addl	$1, -40160(%rbp)
.L36:
	movl	-40160(%rbp), %eax
	cmpl	-40148(%rbp), %eax
	jl	.L39
	addl	$1, -40164(%rbp)
.L35:
	cmpl	$4, -40164(%rbp)
	jle	.L40
	leaq	-40080(%rbp), %rcx
	leaq	-40144(%rbp), %rax
	movl	$60, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	memcpy@PLT
	jmp	.L41
.L42:
	movl	-40176(%rbp), %eax
	cltq
	movl	-40016(%rbp,%rax,4), %eax
	movl	%eax, %esi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -40176(%rbp)
.L28:
	movl	-40176(%rbp), %eax
	cmpl	-40172(%rbp), %eax
	jl	.L42
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L44
	call	__stack_chk_fail@PLT
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
train
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
	.text
	.globl	get_int
	.type	get_int, @function
get_int:
.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	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	stdin(%rip), %rdx
	leaq	-32(%rbp), %rax
	movl	$20, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	testq	%rax, %rax
	jne	.L2
	movl	$0, %eax
	jmp	.L4
.L2:
	leaq	-36(%rbp), %rdx
	leaq	-32(%rbp), %rax
	leaq	.LC0(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_sscanf@PLT
	movl	-36(%rbp), %eax
.L4:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	get_int, .-get_int
	.section	.rodata
.LC1:
	.string	" "
	.text
	.globl	fget_array
	.type	fget_array, @function
fget_array:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$80, %rsp
	movq	%rdi, -72(%rbp)
	movl	%esi, -76(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-32(%rbp), %rax
	movq	%rax, -48(%rbp)
	movq	stdin(%rip), %rdx
	leaq	-32(%rbp), %rax
	movl	$20, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	testq	%rax, %rax
	jne	.L7
	movl	$-1, %eax
	jmp	.L11
.L7:
	movl	$0, -52(%rbp)
	jmp	.L9
.L10:
	movq	-48(%rbp), %rax
	leaq	.LC1(%rip), %rdx
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strtok@PLT
	movq	%rax, -40(%rbp)
	movq	-40(%rbp), %rax
	movl	$10, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	strtol@PLT
	movq	%rax, %rdx
	movl	-52(%rbp), %eax
	movslq	%eax, %rcx
	movq	-72(%rbp), %rax
	addq	%rcx, %rax
	movb	%dl, (%rax)
	movq	$0, -48(%rbp)
	addl	$1, -52(%rbp)
.L9:
	movl	-52(%rbp), %eax
	cmpl	-76(%rbp), %eax
	jl	.L10
	movl	$0, %eax
.L11:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	fget_array, .-fget_array
	.section	.rodata
.LC2:
	.string	"%d "
	.text
	.globl	display
	.type	display, @function
display:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%rdi, -24(%rbp)
	movl	%esi, -28(%rbp)
	movl	$0, -4(%rbp)
	jmp	.L14
.L15:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -4(%rbp)
.L14:
	movl	-4(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jl	.L15
	movl	$10, %edi
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	display, .-display
	.globl	judge
	.type	judge, @function
judge:
.LFB9:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -40(%rbp)
	movl	%esi, -44(%rbp)
	movq	-40(%rbp), %rax
	movzbl	(%rax), %eax
	movb	%al, -18(%rbp)
	movl	$1, -16(%rbp)
	movl	$0, -4(%rbp)
	movl	$1, -12(%rbp)
	jmp	.L18
.L24:
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	movb	%al, -17(%rbp)
	movzbl	-18(%rbp), %eax
	cmpb	-17(%rbp), %al
	jne	.L19
	addl	$1, -16(%rbp)
	jmp	.L20
.L19:
	cmpl	$2, -16(%rbp)
	jle	.L21
	movsbl	-18(%rbp), %eax
	imull	-16(%rbp), %eax
	addl	%eax, -4(%rbp)
	movl	-12(%rbp), %eax
	subl	-16(%rbp), %eax
	movl	%eax, -8(%rbp)
	jmp	.L22
.L23:
	movl	-8(%rbp), %eax
	movslq	%eax, %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movb	$0, (%rax)
	addl	$1, -8(%rbp)
.L22:
	movl	-12(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jg	.L23
.L21:
	movzbl	-17(%rbp), %eax
	movb	%al, -18(%rbp)
	movl	$1, -16(%rbp)
.L20:
	addl	$1, -12(%rbp)
.L18:
	movl	-12(%rbp), %eax
	cmpl	-44(%rbp), %eax
	jl	.L24
	movl	-4(%rbp), %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	judge, .-judge
	.section	.rodata
.LC3:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-36864(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$3328, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -40172(%rbp)
.L34:
	call	get_int
	movl	%eax, -40148(%rbp)
	cmpl	$0, -40148(%rbp)
	jne	.L27
	movl	$0, -40176(%rbp)
	jmp	.L28
.L27:
	movq	$0, -40144(%rbp)
	movq	$0, -40136(%rbp)
	movq	$0, -40128(%rbp)
	movq	$0, -40120(%rbp)
	movq	$0, -40112(%rbp)
	movq	$0, -40104(%rbp)
	movq	$0, -40096(%rbp)
	movl	$0, -40088(%rbp)
	movl	-40148(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -40176(%rbp)
	jmp	.L29
.L30:
	leaq	-40144(%rbp), %rcx
	movl	-40176(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	movl	$5, %esi
	movq	%rax, %rdi
	call	fget_array
	subl	$1, -40176(%rbp)
.L29:
	cmpl	$0, -40176(%rbp)
	jns	.L30
	movl	$0, -40168(%rbp)
.L41:
	movq	$0, -40080(%rbp)
	movq	$0, -40072(%rbp)
	movq	$0, -40064(%rbp)
	movq	$0, -40056(%rbp)
	movq	$0, -40048(%rbp)
	movq	$0, -40040(%rbp)
	movq	$0, -40032(%rbp)
	movl	$0, -40024(%rbp)
	movl	$0, -40156(%rbp)
	movl	$0, -40160(%rbp)
	jmp	.L31
.L32:
	leaq	-40144(%rbp), %rcx
	movl	-40160(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	movl	$6, %esi
	movq	%rax, %rdi
	call	judge
	addl	%eax, -40156(%rbp)
	addl	$1, -40160(%rbp)
.L31:
	movl	-40160(%rbp), %eax
	cmpl	-40148(%rbp), %eax
	jl	.L32
	cmpl	$0, -40156(%rbp)
	jne	.L33
	movl	-40172(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -40172(%rbp)
	cltq
	movl	-40168(%rbp), %edx
	movl	%edx, -40016(%rbp,%rax,4)
	jmp	.L34
.L33:
	movl	-40156(%rbp), %eax
	addl	%eax, -40168(%rbp)
	movl	$0, -40164(%rbp)
	jmp	.L35
.L40:
	movl	$0, -40152(%rbp)
	movl	$0, -40160(%rbp)
	jmp	.L36
.L39:
	movl	-40164(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40160(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$40144, %rax
	movzbl	(%rax), %eax
	movb	%al, -40177(%rbp)
	cmpb	$0, -40177(%rbp)
	je	.L45
	movl	-40152(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -40152(%rbp)
	movl	-40164(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	leaq	-40080(%rax), %rdx
	movzbl	-40177(%rbp), %eax
	movb	%al, (%rdx)
	jmp	.L38
.L45:
	nop
.L38:
	addl	$1, -40160(%rbp)
.L36:
	movl	-40160(%rbp), %eax
	cmpl	-40148(%rbp), %eax
	jl	.L39
	addl	$1, -40164(%rbp)
.L35:
	cmpl	$4, -40164(%rbp)
	jle	.L40
	leaq	-40080(%rbp), %rcx
	leaq	-40144(%rbp), %rax
	movl	$60, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	memcpy@PLT
	jmp	.L41
.L42:
	movl	-40176(%rbp), %eax
	cltq
	movl	-40016(%rbp,%rax,4), %eax
	movl	%eax, %esi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -40176(%rbp)
.L28:
	movl	-40176(%rbp), %eax
	cmpl	-40172(%rbp), %eax
	jl	.L42
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L44
	call	__stack_chk_fail@PLT
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.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:
