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 AZ 'z'-'a'+1

typedef struct t{
    struct t *parent;
    int score;
}Tree;

Tree* make(int count){
    Tree *t=(Tree*)malloc(sizeof(Tree));
    t->score = count;
    t->parent = NULL;
    return t;
}

int depth(Tree *t,int c){
    if(t==NULL){
        if(c==0){c=1;}
        return c;
    }
    return depth(t->parent,c+1);
}

int main(void){
    char s[100001];
    int count[AZ][2];
    int n,nn,len,i,j,f;
    int min1,num1,min2,num2,sum;
    Tree *ts,**t,*p,*exc;
    scanf("%s",s);
    len = strlen(s);
    n=0;
    for(i=0;i<len;i++){
        f=0;
        for(j=0;j<n;j++){
            if(count[j][0]==s[i]){
                count[j][1]++;
                f=1;
                break;
            }
        }
        if(f==0){
            count[n][0]=s[i];
            count[n][1]=1;
            n++;
        }
    }
    nn=n;
    ts = (Tree*)malloc(sizeof(Tree)*n);t = (Tree**)malloc(sizeof(Tree*)*n);
    for(i=0;i<n;i++){
        ts[i].score=count[i][1];
        ts[i].parent=NULL;
        t[i] = &ts[i];
    }
    while(nn>1){
        min1 = t[0]->score;num1=0;
        min2 = t[1]->score;num2=1;
        if(min1>min2){
            i=min1;min1=min2;min2=i;
            i=num1;num1=num2;num2=i;
        }
        for(i=2;i<nn;i++){
            if(min1>t[i]->score){
                min2=min1;num2=num1;
                min1=t[i]->score;num1=i;
            }else if(min2>t[i]->score){
                min2=t[i]->score;num2=i;
            }
        }
        p = make(t[num1]->score+t[num2]->score);
        t[num1]->parent=p;t[num2]->parent=p;
        if(num1==nn-1){
            if(num2!=nn-2){
                exc=t[num2];t[num2]=t[nn-2];t[nn-2]=exc;
            }
        }else if(num1==nn-2){
            if(num2!=nn-1){
                exc=t[num2];t[num2]=t[nn-1];t[nn-1]=exc;
            }
        }else if(num2==nn-1){
            exc=t[num1];t[num1]=t[nn-2];t[nn-2]=exc;
        }else if(num2==nn-2){
            exc=t[num1];t[num1]=t[nn-1];t[nn-1]=exc;
        }else{
            exc=t[num1];t[num1]=t[nn-1];t[nn-1]=exc;
            exc=t[num2];t[num2]=t[nn-2];t[nn-2]=exc;
        }
        nn--;
        t[nn-1]=p;
    }
    sum=0;
    for(i=0;i<n;i++){
        sum+=depth(ts[i].parent,0)*ts[i].score;
    }
    printf("%d\n",sum);
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	make
	.type	make, @function
make:
.LFB6:
	.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
	movl	%edi, -20(%rbp)
	movl	$16, %edi
	call	malloc@PLT
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	movl	-20(%rbp), %edx
	movl	%edx, 8(%rax)
	movq	-8(%rbp), %rax
	movq	$0, (%rax)
	movq	-8(%rbp), %rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	make, .-make
	.globl	depth
	.type	depth, @function
depth:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movq	%rdi, -8(%rbp)
	movl	%esi, -12(%rbp)
	cmpq	$0, -8(%rbp)
	jne	.L4
	cmpl	$0, -12(%rbp)
	jne	.L5
	movl	$1, -12(%rbp)
.L5:
	movl	-12(%rbp), %eax
	jmp	.L6
.L4:
	movl	-12(%rbp), %eax
	leal	1(%rax), %edx
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	depth
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	depth, .-depth
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-98304(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$2000, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-100016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-100016(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -100260(%rbp)
	movl	$0, -100300(%rbp)
	movl	$0, -100292(%rbp)
	jmp	.L8
.L14:
	movl	$0, -100284(%rbp)
	movl	$0, -100288(%rbp)
	jmp	.L9
.L12:
	movl	-100288(%rbp), %eax
	cltq
	movl	-100224(%rbp,%rax,8), %edx
	movl	-100292(%rbp), %eax
	cltq
	movzbl	-100016(%rbp,%rax), %eax
	movsbl	%al, %eax
	cmpl	%eax, %edx
	jne	.L10
	movl	-100288(%rbp), %eax
	cltq
	movl	-100220(%rbp,%rax,8), %eax
	leal	1(%rax), %edx
	movl	-100288(%rbp), %eax
	cltq
	movl	%edx, -100220(%rbp,%rax,8)
	movl	$1, -100284(%rbp)
	jmp	.L11
.L10:
	addl	$1, -100288(%rbp)
.L9:
	movl	-100288(%rbp), %eax
	cmpl	-100300(%rbp), %eax
	jl	.L12
.L11:
	cmpl	$0, -100284(%rbp)
	jne	.L13
	movl	-100292(%rbp), %eax
	cltq
	movzbl	-100016(%rbp,%rax), %eax
	movsbl	%al, %edx
	movl	-100300(%rbp), %eax
	cltq
	movl	%edx, -100224(%rbp,%rax,8)
	movl	-100300(%rbp), %eax
	cltq
	movl	$1, -100220(%rbp,%rax,8)
	addl	$1, -100300(%rbp)
.L13:
	addl	$1, -100292(%rbp)
.L8:
	movl	-100292(%rbp), %eax
	cmpl	-100260(%rbp), %eax
	jl	.L14
	movl	-100300(%rbp), %eax
	movl	%eax, -100296(%rbp)
	movl	-100300(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdi
	call	malloc@PLT
	movq	%rax, -100256(%rbp)
	movl	-100300(%rbp), %eax
	cltq
	salq	$3, %rax
	movq	%rax, %rdi
	call	malloc@PLT
	movq	%rax, -100248(%rbp)
	movl	$0, -100292(%rbp)
	jmp	.L15
.L16:
	movl	-100292(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-100256(%rbp), %rax
	addq	%rax, %rdx
	movl	-100292(%rbp), %eax
	cltq
	movl	-100220(%rbp,%rax,8), %eax
	movl	%eax, 8(%rdx)
	movl	-100292(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-100256(%rbp), %rax
	addq	%rdx, %rax
	movq	$0, (%rax)
	movl	-100292(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rcx
	movl	-100292(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	-100256(%rbp), %rdx
	addq	%rcx, %rdx
	movq	%rdx, (%rax)
	addl	$1, -100292(%rbp)
.L15:
	movl	-100292(%rbp), %eax
	cmpl	-100300(%rbp), %eax
	jl	.L16
	jmp	.L17
.L28:
	movq	-100248(%rbp), %rax
	movq	(%rax), %rax
	movl	8(%rax), %eax
	movl	%eax, -100280(%rbp)
	movl	$0, -100276(%rbp)
	movq	-100248(%rbp), %rax
	addq	$8, %rax
	movq	(%rax), %rax
	movl	8(%rax), %eax
	movl	%eax, -100272(%rbp)
	movl	$1, -100268(%rbp)
	movl	-100280(%rbp), %eax
	cmpl	-100272(%rbp), %eax
	jle	.L18
	movl	-100280(%rbp), %eax
	movl	%eax, -100292(%rbp)
	movl	-100272(%rbp), %eax
	movl	%eax, -100280(%rbp)
	movl	-100292(%rbp), %eax
	movl	%eax, -100272(%rbp)
	movl	-100276(%rbp), %eax
	movl	%eax, -100292(%rbp)
	movl	-100268(%rbp), %eax
	movl	%eax, -100276(%rbp)
	movl	-100292(%rbp), %eax
	movl	%eax, -100268(%rbp)
.L18:
	movl	$2, -100292(%rbp)
	jmp	.L19
.L22:
	movl	-100292(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movl	8(%rax), %eax
	cmpl	%eax, -100280(%rbp)
	jle	.L20
	movl	-100280(%rbp), %eax
	movl	%eax, -100272(%rbp)
	movl	-100276(%rbp), %eax
	movl	%eax, -100268(%rbp)
	movl	-100292(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movl	8(%rax), %eax
	movl	%eax, -100280(%rbp)
	movl	-100292(%rbp), %eax
	movl	%eax, -100276(%rbp)
	jmp	.L21
.L20:
	movl	-100292(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movl	8(%rax), %eax
	cmpl	%eax, -100272(%rbp)
	jle	.L21
	movl	-100292(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movl	8(%rax), %eax
	movl	%eax, -100272(%rbp)
	movl	-100292(%rbp), %eax
	movl	%eax, -100268(%rbp)
.L21:
	addl	$1, -100292(%rbp)
.L19:
	movl	-100292(%rbp), %eax
	cmpl	-100296(%rbp), %eax
	jl	.L22
	movl	-100276(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movl	8(%rax), %edx
	movl	-100268(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	movq	-100248(%rbp), %rax
	addq	%rcx, %rax
	movq	(%rax), %rax
	movl	8(%rax), %eax
	addl	%edx, %eax
	movl	%eax, %edi
	call	make
	movq	%rax, -100240(%rbp)
	movl	-100276(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	-100240(%rbp), %rdx
	movq	%rdx, (%rax)
	movl	-100268(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	-100240(%rbp), %rdx
	movq	%rdx, (%rax)
	movl	-100296(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -100276(%rbp)
	jne	.L23
	movl	-100296(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -100268(%rbp)
	je	.L24
	movl	-100268(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, -100232(%rbp)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-16(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movl	-100268(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	movq	-100248(%rbp), %rdx
	addq	%rcx, %rdx
	movq	(%rax), %rax
	movq	%rax, (%rdx)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-16(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rax, %rdx
	movq	-100232(%rbp), %rax
	movq	%rax, (%rdx)
	jmp	.L24
.L23:
	movl	-100296(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -100276(%rbp)
	jne	.L25
	movl	-100296(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -100268(%rbp)
	je	.L24
	movl	-100268(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, -100232(%rbp)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-8(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movl	-100268(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	movq	-100248(%rbp), %rdx
	addq	%rcx, %rdx
	movq	(%rax), %rax
	movq	%rax, (%rdx)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-8(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rax, %rdx
	movq	-100232(%rbp), %rax
	movq	%rax, (%rdx)
	jmp	.L24
.L25:
	movl	-100296(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -100268(%rbp)
	jne	.L26
	movl	-100276(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, -100232(%rbp)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-16(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movl	-100276(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	movq	-100248(%rbp), %rdx
	addq	%rcx, %rdx
	movq	(%rax), %rax
	movq	%rax, (%rdx)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-16(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rax, %rdx
	movq	-100232(%rbp), %rax
	movq	%rax, (%rdx)
	jmp	.L24
.L26:
	movl	-100296(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -100268(%rbp)
	jne	.L27
	movl	-100276(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, -100232(%rbp)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-8(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movl	-100276(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	movq	-100248(%rbp), %rdx
	addq	%rcx, %rdx
	movq	(%rax), %rax
	movq	%rax, (%rdx)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-8(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rax, %rdx
	movq	-100232(%rbp), %rax
	movq	%rax, (%rdx)
	jmp	.L24
.L27:
	movl	-100276(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, -100232(%rbp)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-8(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movl	-100276(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	movq	-100248(%rbp), %rdx
	addq	%rcx, %rdx
	movq	(%rax), %rax
	movq	%rax, (%rdx)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-8(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rax, %rdx
	movq	-100232(%rbp), %rax
	movq	%rax, (%rdx)
	movl	-100268(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, -100232(%rbp)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-16(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movl	-100268(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	movq	-100248(%rbp), %rdx
	addq	%rcx, %rdx
	movq	(%rax), %rax
	movq	%rax, (%rdx)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-16(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rax, %rdx
	movq	-100232(%rbp), %rax
	movq	%rax, (%rdx)
.L24:
	subl	$1, -100296(%rbp)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-8(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rax, %rdx
	movq	-100240(%rbp), %rax
	movq	%rax, (%rdx)
.L17:
	cmpl	$1, -100296(%rbp)
	jg	.L28
	movl	$0, -100264(%rbp)
	movl	$0, -100292(%rbp)
	jmp	.L29
.L30:
	movl	-100292(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-100256(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movl	$0, %esi
	movq	%rax, %rdi
	call	depth
	movl	-100292(%rbp), %edx
	movslq	%edx, %rdx
	movq	%rdx, %rcx
	salq	$4, %rcx
	movq	-100256(%rbp), %rdx
	addq	%rcx, %rdx
	movl	8(%rdx), %edx
	imull	%edx, %eax
	addl	%eax, -100264(%rbp)
	addl	$1, -100292(%rbp)
.L29:
	movl	-100292(%rbp), %eax
	cmpl	-100300(%rbp), %eax
	jl	.L30
	movl	-100264(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	make
	.type	make, @function
make:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movl	%edi, %ebx
	movl	$16, %edi
	call	malloc@PLT
	movl	%ebx, 8(%rax)
	movq	$0, (%rax)
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE51:
	.size	make, .-make
	.p2align 4
	.globl	depth
	.type	depth, @function
depth:
.LFB52:
	.cfi_startproc
	endbr64
	movl	%esi, %eax
	testq	%rdi, %rdi
	je	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	movq	(%rdi), %rdi
	addl	$1, %eax
	testq	%rdi, %rdi
	jne	.L5
.L7:
	testl	%eax, %eax
	movl	$1, %edx
	cmove	%edx, %eax
	ret
	.cfi_endproc
.LFE52:
	.size	depth, .-depth
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC3:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB53:
	.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	-98304(%rsp), %r11
	.cfi_def_cfa 11, 98360
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1976, %rsp
	.cfi_def_cfa_offset 100336
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 100264(%rsp)
	xorl	%eax, %eax
	leaq	256(%rsp), %rbx
	movq	%rbx, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbx, %rdi
	call	strlen@PLT
	testq	%rax, %rax
	je	.L47
	subl	$1, %eax
	movq	%rbx, %rdi
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	leaq	257(%rsp,%rax), %r8
	leaq	48(%rsp), %rsi
	.p2align 4,,10
	.p2align 3
.L16:
	movsbl	(%rdi), %ecx
	xorl	%eax, %eax
	testl	%r14d, %r14d
	jne	.L19
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L17:
	addq	$1, %rax
	cmpq	%r12, %rax
	je	.L22
.L19:
	movslq	%eax, %rdx
	cmpl	%ecx, (%rsi,%rax,8)
	jne	.L17
	addl	$1, 52(%rsp,%rdx,8)
.L18:
	addq	$1, %rdi
	cmpq	%r8, %rdi
	jne	.L16
	movq	%r12, %rdi
	salq	$3, %r12
	leal	-1(%r14), %ebp
	salq	$4, %rdi
	call	malloc@PLT
	movq	%r12, %rdi
	movq	%rax, %rbx
	call	malloc@PLT
	movl	%r14d, 44(%rsp)
	movq	%rax, %r13
	cmpl	$5, %ebp
	jbe	.L51
	movdqu	68(%rsp), %xmm1
	movq	%rbx, %xmm0
	movdqu	52(%rsp), %xmm2
	movl	%ebp, %eax
	punpcklqdq	%xmm0, %xmm0
	shrl	$2, %eax
	movq	$0, (%rbx)
	movd	%xmm1, 40(%rbx)
	punpckhdq	%xmm1, %xmm1
	movd	%xmm1, 56(%rbx)
	movdqa	.LC4(%rip), %xmm1
	movd	%xmm2, 8(%rbx)
	punpckhdq	%xmm2, %xmm2
	paddq	%xmm0, %xmm1
	movq	$0, 16(%rbx)
	movups	%xmm1, 0(%r13)
	movdqa	.LC5(%rip), %xmm1
	movq	$0, 32(%rbx)
	paddq	%xmm0, %xmm1
	movq	$0, 48(%rbx)
	movd	%xmm2, 24(%rbx)
	movups	%xmm1, 16(%r13)
	cmpl	$1, %eax
	je	.L26
	movdqu	100(%rsp), %xmm1
	movdqu	84(%rsp), %xmm2
	movq	$0, 64(%rbx)
	movq	$0, 80(%rbx)
	movd	%xmm1, 104(%rbx)
	punpckhdq	%xmm1, %xmm1
	movd	%xmm1, 120(%rbx)
	movdqa	.LC6(%rip), %xmm1
	movd	%xmm2, 72(%rbx)
	punpckhdq	%xmm2, %xmm2
	paddq	%xmm0, %xmm1
	movq	$0, 96(%rbx)
	movups	%xmm1, 32(%r13)
	movdqa	.LC7(%rip), %xmm1
	movq	$0, 112(%rbx)
	paddq	%xmm0, %xmm1
	movd	%xmm2, 88(%rbx)
	movups	%xmm1, 48(%r13)
	cmpl	$2, %eax
	je	.L26
	movdqu	132(%rsp), %xmm1
	movdqu	116(%rsp), %xmm2
	movq	$0, 128(%rbx)
	movq	$0, 144(%rbx)
	movd	%xmm1, 168(%rbx)
	punpckhdq	%xmm1, %xmm1
	movd	%xmm1, 184(%rbx)
	movdqa	.LC8(%rip), %xmm1
	movd	%xmm2, 136(%rbx)
	punpckhdq	%xmm2, %xmm2
	paddq	%xmm0, %xmm1
	movd	%xmm2, 152(%rbx)
	movups	%xmm1, 64(%r13)
	movdqa	.LC9(%rip), %xmm1
	movq	$0, 160(%rbx)
	movq	$0, 176(%rbx)
	paddq	%xmm0, %xmm1
	movups	%xmm1, 80(%r13)
	cmpl	$3, %eax
	je	.L26
	movdqu	164(%rsp), %xmm1
	movdqu	148(%rsp), %xmm2
	movq	$0, 192(%rbx)
	movq	$0, 208(%rbx)
	movd	%xmm1, 232(%rbx)
	punpckhdq	%xmm1, %xmm1
	movd	%xmm1, 248(%rbx)
	movdqa	.LC10(%rip), %xmm1
	movd	%xmm2, 200(%rbx)
	punpckhdq	%xmm2, %xmm2
	paddq	%xmm0, %xmm1
	movd	%xmm2, 216(%rbx)
	movups	%xmm1, 96(%r13)
	movdqa	.LC11(%rip), %xmm1
	movq	$0, 224(%rbx)
	movq	$0, 240(%rbx)
	paddq	%xmm0, %xmm1
	movups	%xmm1, 112(%r13)
	cmpl	$4, %eax
	je	.L26
	movdqu	196(%rsp), %xmm1
	movdqu	180(%rsp), %xmm2
	movq	$0, 256(%rbx)
	movq	$0, 272(%rbx)
	movd	%xmm1, 296(%rbx)
	punpckhdq	%xmm1, %xmm1
	movd	%xmm1, 312(%rbx)
	movdqa	.LC12(%rip), %xmm1
	movd	%xmm2, 264(%rbx)
	punpckhdq	%xmm2, %xmm2
	paddq	%xmm0, %xmm1
	movd	%xmm2, 280(%rbx)
	movups	%xmm1, 128(%r13)
	movdqa	.LC13(%rip), %xmm1
	movq	$0, 288(%rbx)
	movq	$0, 304(%rbx)
	paddq	%xmm0, %xmm1
	movups	%xmm1, 144(%r13)
	cmpl	$5, %eax
	je	.L26
	movdqu	228(%rsp), %xmm1
	movdqu	212(%rsp), %xmm2
	movq	$0, 320(%rbx)
	movq	$0, 336(%rbx)
	movd	%xmm1, 360(%rbx)
	punpckhdq	%xmm1, %xmm1
	movd	%xmm1, 376(%rbx)
	movdqa	.LC1(%rip), %xmm1
	movq	$0, 352(%rbx)
	paddq	%xmm0, %xmm1
	paddq	.LC2(%rip), %xmm0
	movq	$0, 368(%rbx)
	movd	%xmm2, 328(%rbx)
	punpckhdq	%xmm2, %xmm2
	movd	%xmm2, 344(%rbx)
	movups	%xmm1, 160(%r13)
	movups	%xmm0, 176(%r13)
.L26:
	movl	%ebp, %eax
	andl	$-4, %eax
.L43:
	movslq	%eax, %rcx
	movq	%rcx, %rdx
	movl	52(%rsp,%rcx,8), %esi
	salq	$4, %rdx
	leaq	(%rbx,%rdx), %rdi
	movl	%esi, 8(%rdi)
	leaq	0(,%rcx,8), %rsi
	movq	%rdi, 0(%r13,%rcx,8)
	leal	1(%rax), %ecx
	movq	$0, (%rdi)
	cmpl	%ecx, %r14d
	jle	.L23
	movslq	%ecx, %rcx
	leaq	16(%rbx,%rdx), %rdi
	movl	52(%rsp,%rcx,8), %ecx
	movq	$0, (%rdi)
	movq	%rdi, 8(%r13,%rsi)
	movl	%ecx, 8(%rdi)
	leal	2(%rax), %ecx
	cmpl	%r14d, %ecx
	jge	.L24
	movslq	%ecx, %rcx
	leaq	32(%rbx,%rdx), %rdi
	movl	52(%rsp,%rcx,8), %ecx
	movq	$0, (%rdi)
	movq	%rdi, 16(%r13,%rsi)
	movl	%ecx, 8(%rdi)
	leal	3(%rax), %ecx
	cmpl	%ecx, %r14d
	jle	.L45
	movslq	%ecx, %rcx
	leaq	48(%rbx,%rdx), %rdi
	movl	52(%rsp,%rcx,8), %ecx
	movq	$0, (%rdi)
	movq	%rdi, 24(%r13,%rsi)
	movl	%ecx, 8(%rdi)
	leal	4(%rax), %ecx
	cmpl	%ecx, %r14d
	jle	.L45
	movslq	%ecx, %rcx
	leaq	64(%rbx,%rdx), %rdi
	addl	$5, %eax
	movl	52(%rsp,%rcx,8), %ecx
	movq	$0, (%rdi)
	movq	%rdi, 32(%r13,%rsi)
	movl	%ecx, 8(%rdi)
	cmpl	%eax, %r14d
	jle	.L45
	cltq
	leaq	80(%rbx,%rdx), %rdx
	movl	52(%rsp,%rax,8), %eax
	movq	$0, (%rdx)
	movq	%rdx, 40(%r13,%rsi)
	movl	%eax, 8(%rdx)
.L45:
	addq	%r13, %r12
	leal	-2(%r14), %r9d
	.p2align 4,,10
	.p2align 3
.L36:
	movq	0(%r13), %rax
	movl	8(%rax), %ecx
	movq	8(%r13), %rax
	movl	8(%rax), %edi
	cmpl	%edi, %ecx
	jle	.L48
	movl	%ecx, %eax
	xorl	%esi, %esi
	movl	%edi, %ecx
	movl	$1, %r15d
	movl	%eax, %edi
.L28:
	movl	$2, %eax
	jmp	.L30
	.p2align 4,,10
	.p2align 3
.L76:
	cmpl	%edx, %edi
	jle	.L29
	movl	%eax, %esi
	movl	%edx, %edi
.L29:
	addq	$1, %rax
	cmpl	%eax, %r14d
	jle	.L75
.L30:
	movq	0(%r13,%rax,8), %rdx
	movl	8(%rdx), %edx
	cmpl	%ecx, %edx
	jge	.L76
	movl	%r15d, %esi
	movl	%eax, %r15d
	addq	$1, %rax
	movl	%ecx, %edi
	movl	%edx, %ecx
	cmpl	%eax, %r14d
	jg	.L30
.L75:
	movslq	%r15d, %rax
	movl	$16, %edi
	movl	%r9d, 40(%rsp)
	leaq	0(%r13,%rax,8), %r11
	movslq	%esi, %rax
	movl	%esi, 28(%rsp)
	leaq	0(%r13,%rax,8), %r10
	movq	(%r11), %rdx
	movq	%r11, 32(%rsp)
	movq	(%r10), %rcx
	movq	%r10, 16(%rsp)
	movq	%rdx, (%rsp)
	movl	8(%rcx), %r14d
	addl	8(%rdx), %r14d
	movq	%rcx, 8(%rsp)
	call	malloc@PLT
	movq	(%rsp), %rdx
	cmpl	%r15d, %ebp
	movl	28(%rsp), %esi
	movq	8(%rsp), %rcx
	movq	16(%rsp), %r10
	movl	%r14d, 8(%rax)
	movl	%ebp, %r14d
	movq	$0, (%rax)
	movq	32(%rsp), %r11
	movq	%rax, (%rdx)
	movl	40(%rsp), %r9d
	movq	%rax, (%rcx)
	je	.L77
	cmpl	%r9d, %r15d
	je	.L78
	cmpl	%esi, %ebp
	je	.L79
	movq	-8(%r12), %rcx
	movq	%rcx, (%r11)
	movq	%rdx, -8(%r12)
	cmpl	%r9d, %esi
	je	.L32
	movq	(%r10), %rdx
	movq	-16(%r12), %rcx
	movq	%rcx, (%r10)
	movq	%rdx, -16(%r12)
	.p2align 4,,10
	.p2align 3
.L32:
	movq	%rax, -16(%r12)
	subl	$1, %r9d
	subq	$8, %r12
	cmpl	$2, %ebp
	je	.L27
	subl	$1, %ebp
	jmp	.L36
	.p2align 4,,10
	.p2align 3
.L22:
	addl	$1, %r14d
	movl	%ecx, 48(%rsp,%r12,8)
	movl	$1, 52(%rsp,%r12,8)
	movslq	%r14d, %r12
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L48:
	movl	$1, %esi
	xorl	%r15d, %r15d
	jmp	.L28
	.p2align 4,,10
	.p2align 3
.L77:
	cmpl	%r9d, %esi
	je	.L32
	movq	-16(%r12), %rdx
	movq	%rdx, (%r10)
	movq	%rcx, -16(%r12)
	jmp	.L32
	.p2align 4,,10
	.p2align 3
.L78:
	cmpl	%esi, %ebp
	je	.L32
	movq	-8(%r12), %rdx
	movq	%rdx, (%r10)
	movq	%rcx, -8(%r12)
	jmp	.L32
	.p2align 4,,10
	.p2align 3
.L79:
	movq	-16(%r12), %rcx
	movq	%rcx, (%r11)
	movq	%rdx, -16(%r12)
	jmp	.L32
.L23:
	cmpl	$1, %r14d
	je	.L42
.L24:
	cmpl	$2, %r14d
	jg	.L45
	.p2align 4,,10
	.p2align 3
.L27:
	movq	8(%r13), %r12
	movq	0(%r13), %r14
	movl	8(%r12), %eax
	cmpl	8(%r14), %eax
	jl	.L80
	addl	8(%r14), %eax
	movl	$16, %edi
	movl	%eax, %r13d
	call	malloc@PLT
	movl	%r13d, 8(%rax)
	movq	$0, (%rax)
	movq	%rax, (%r14)
	movq	%rax, (%r12)
.L42:
	movl	44(%rsp), %ebp
	xorl	%r8d, %r8d
	salq	$4, %rbp
	leaq	(%rbx,%rbp), %rcx
	.p2align 4,,10
	.p2align 3
.L40:
	movq	(%rbx), %rax
	xorl	%edx, %edx
	testq	%rax, %rax
	je	.L81
	.p2align 4,,10
	.p2align 3
.L39:
	movq	(%rax), %rax
	addl	$1, %edx
	testq	%rax, %rax
	jne	.L39
	imull	8(%rbx), %edx
	addq	$16, %rbx
	addl	%edx, %r8d
	cmpq	%rbx, %rcx
	jne	.L40
.L15:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movl	$1, %edi
	leaq	.LC3(%rip), %rsi
	call	__printf_chk@PLT
	movq	100264(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L82
	addq	$100280, %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
.L80:
	.cfi_restore_state
	addl	8(%r14), %eax
	movl	$16, %edi
	movl	%eax, %r13d
	call	malloc@PLT
	movl	%r13d, 8(%rax)
	movq	$0, (%rax)
	movq	%rax, (%r12)
	movq	%rax, (%r14)
	jmp	.L42
	.p2align 4,,10
	.p2align 3
.L81:
	movl	$1, %edx
	imull	8(%rbx), %edx
	addq	$16, %rbx
	addl	%edx, %r8d
	cmpq	%rbx, %rcx
	jne	.L40
	jmp	.L15
.L47:
	xorl	%r8d, %r8d
	jmp	.L15
.L51:
	xorl	%eax, %eax
	jmp	.L43
.L82:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE53:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.quad	320
	.quad	336
	.align 16
.LC2:
	.quad	352
	.quad	368
	.align 16
.LC4:
	.quad	0
	.quad	16
	.align 16
.LC5:
	.quad	32
	.quad	48
	.align 16
.LC6:
	.quad	64
	.quad	80
	.align 16
.LC7:
	.quad	96
	.quad	112
	.align 16
.LC8:
	.quad	128
	.quad	144
	.align 16
.LC9:
	.quad	160
	.quad	176
	.align 16
.LC10:
	.quad	192
	.quad	208
	.align 16
.LC11:
	.quad	224
	.quad	240
	.align 16
.LC12:
	.quad	256
	.quad	272
	.align 16
.LC13:
	.quad	288
	.quad	304
	.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	make
	.type	make, @function
make:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movl	%edi, %ebx
	movl	$16, %edi
	call	malloc@PLT
	movl	%ebx, 8(%rax)
	movq	$0, (%rax)
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE51:
	.size	make, .-make
	.p2align 4
	.globl	depth
	.type	depth, @function
depth:
.LFB52:
	.cfi_startproc
	endbr64
	movl	%esi, %eax
	testq	%rdi, %rdi
	je	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	movq	(%rdi), %rdi
	addl	$1, %eax
	testq	%rdi, %rdi
	jne	.L5
.L7:
	testl	%eax, %eax
	movl	$1, %edx
	cmove	%edx, %eax
	ret
	.cfi_endproc
.LFE52:
	.size	depth, .-depth
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC3:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB53:
	.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	-98304(%rsp), %r11
	.cfi_def_cfa 11, 98360
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1976, %rsp
	.cfi_def_cfa_offset 100336
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 100264(%rsp)
	xorl	%eax, %eax
	leaq	256(%rsp), %rbx
	movq	%rbx, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbx, %rdi
	call	strlen@PLT
	testq	%rax, %rax
	je	.L47
	subl	$1, %eax
	movq	%rbx, %rdi
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	leaq	257(%rsp,%rax), %r8
	leaq	48(%rsp), %rsi
	.p2align 4,,10
	.p2align 3
.L16:
	movsbl	(%rdi), %ecx
	xorl	%eax, %eax
	testl	%r14d, %r14d
	jne	.L19
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L17:
	addq	$1, %rax
	cmpq	%r12, %rax
	je	.L22
.L19:
	movslq	%eax, %rdx
	cmpl	%ecx, (%rsi,%rax,8)
	jne	.L17
	addl	$1, 52(%rsp,%rdx,8)
.L18:
	addq	$1, %rdi
	cmpq	%r8, %rdi
	jne	.L16
	movq	%r12, %rdi
	salq	$3, %r12
	leal	-1(%r14), %ebp
	salq	$4, %rdi
	call	malloc@PLT
	movq	%r12, %rdi
	movq	%rax, %rbx
	call	malloc@PLT
	movl	%r14d, 44(%rsp)
	movq	%rax, %r13
	cmpl	$5, %ebp
	jbe	.L51
	movdqu	68(%rsp), %xmm1
	movq	%rbx, %xmm0
	movdqu	52(%rsp), %xmm2
	movl	%ebp, %eax
	punpcklqdq	%xmm0, %xmm0
	shrl	$2, %eax
	movq	$0, (%rbx)
	movd	%xmm1, 40(%rbx)
	punpckhdq	%xmm1, %xmm1
	movd	%xmm1, 56(%rbx)
	movdqa	.LC4(%rip), %xmm1
	movd	%xmm2, 8(%rbx)
	punpckhdq	%xmm2, %xmm2
	paddq	%xmm0, %xmm1
	movq	$0, 16(%rbx)
	movups	%xmm1, 0(%r13)
	movdqa	.LC5(%rip), %xmm1
	movq	$0, 32(%rbx)
	paddq	%xmm0, %xmm1
	movq	$0, 48(%rbx)
	movd	%xmm2, 24(%rbx)
	movups	%xmm1, 16(%r13)
	cmpl	$1, %eax
	je	.L26
	movdqu	100(%rsp), %xmm1
	movdqu	84(%rsp), %xmm2
	movq	$0, 64(%rbx)
	movq	$0, 80(%rbx)
	movd	%xmm1, 104(%rbx)
	punpckhdq	%xmm1, %xmm1
	movd	%xmm1, 120(%rbx)
	movdqa	.LC6(%rip), %xmm1
	movd	%xmm2, 72(%rbx)
	punpckhdq	%xmm2, %xmm2
	paddq	%xmm0, %xmm1
	movq	$0, 96(%rbx)
	movups	%xmm1, 32(%r13)
	movdqa	.LC7(%rip), %xmm1
	movq	$0, 112(%rbx)
	paddq	%xmm0, %xmm1
	movd	%xmm2, 88(%rbx)
	movups	%xmm1, 48(%r13)
	cmpl	$2, %eax
	je	.L26
	movdqu	132(%rsp), %xmm1
	movdqu	116(%rsp), %xmm2
	movq	$0, 128(%rbx)
	movq	$0, 144(%rbx)
	movd	%xmm1, 168(%rbx)
	punpckhdq	%xmm1, %xmm1
	movd	%xmm1, 184(%rbx)
	movdqa	.LC8(%rip), %xmm1
	movd	%xmm2, 136(%rbx)
	punpckhdq	%xmm2, %xmm2
	paddq	%xmm0, %xmm1
	movd	%xmm2, 152(%rbx)
	movups	%xmm1, 64(%r13)
	movdqa	.LC9(%rip), %xmm1
	movq	$0, 160(%rbx)
	movq	$0, 176(%rbx)
	paddq	%xmm0, %xmm1
	movups	%xmm1, 80(%r13)
	cmpl	$3, %eax
	je	.L26
	movdqu	164(%rsp), %xmm1
	movdqu	148(%rsp), %xmm2
	movq	$0, 192(%rbx)
	movq	$0, 208(%rbx)
	movd	%xmm1, 232(%rbx)
	punpckhdq	%xmm1, %xmm1
	movd	%xmm1, 248(%rbx)
	movdqa	.LC10(%rip), %xmm1
	movd	%xmm2, 200(%rbx)
	punpckhdq	%xmm2, %xmm2
	paddq	%xmm0, %xmm1
	movd	%xmm2, 216(%rbx)
	movups	%xmm1, 96(%r13)
	movdqa	.LC11(%rip), %xmm1
	movq	$0, 224(%rbx)
	movq	$0, 240(%rbx)
	paddq	%xmm0, %xmm1
	movups	%xmm1, 112(%r13)
	cmpl	$4, %eax
	je	.L26
	movdqu	196(%rsp), %xmm1
	movdqu	180(%rsp), %xmm2
	movq	$0, 256(%rbx)
	movq	$0, 272(%rbx)
	movd	%xmm1, 296(%rbx)
	punpckhdq	%xmm1, %xmm1
	movd	%xmm1, 312(%rbx)
	movdqa	.LC12(%rip), %xmm1
	movd	%xmm2, 264(%rbx)
	punpckhdq	%xmm2, %xmm2
	paddq	%xmm0, %xmm1
	movd	%xmm2, 280(%rbx)
	movups	%xmm1, 128(%r13)
	movdqa	.LC13(%rip), %xmm1
	movq	$0, 288(%rbx)
	movq	$0, 304(%rbx)
	paddq	%xmm0, %xmm1
	movups	%xmm1, 144(%r13)
	cmpl	$5, %eax
	je	.L26
	movdqu	228(%rsp), %xmm1
	movdqu	212(%rsp), %xmm2
	movq	$0, 320(%rbx)
	movq	$0, 336(%rbx)
	movd	%xmm1, 360(%rbx)
	punpckhdq	%xmm1, %xmm1
	movd	%xmm1, 376(%rbx)
	movdqa	.LC1(%rip), %xmm1
	movq	$0, 352(%rbx)
	paddq	%xmm0, %xmm1
	paddq	.LC2(%rip), %xmm0
	movq	$0, 368(%rbx)
	movd	%xmm2, 328(%rbx)
	punpckhdq	%xmm2, %xmm2
	movd	%xmm2, 344(%rbx)
	movups	%xmm1, 160(%r13)
	movups	%xmm0, 176(%r13)
.L26:
	movl	%ebp, %eax
	andl	$-4, %eax
.L43:
	movslq	%eax, %rcx
	movq	%rcx, %rdx
	movl	52(%rsp,%rcx,8), %esi
	salq	$4, %rdx
	leaq	(%rbx,%rdx), %rdi
	movl	%esi, 8(%rdi)
	leaq	0(,%rcx,8), %rsi
	movq	%rdi, 0(%r13,%rcx,8)
	leal	1(%rax), %ecx
	movq	$0, (%rdi)
	cmpl	%ecx, %r14d
	jle	.L23
	movslq	%ecx, %rcx
	leaq	16(%rbx,%rdx), %rdi
	movl	52(%rsp,%rcx,8), %ecx
	movq	$0, (%rdi)
	movq	%rdi, 8(%r13,%rsi)
	movl	%ecx, 8(%rdi)
	leal	2(%rax), %ecx
	cmpl	%r14d, %ecx
	jge	.L24
	movslq	%ecx, %rcx
	leaq	32(%rbx,%rdx), %rdi
	movl	52(%rsp,%rcx,8), %ecx
	movq	$0, (%rdi)
	movq	%rdi, 16(%r13,%rsi)
	movl	%ecx, 8(%rdi)
	leal	3(%rax), %ecx
	cmpl	%ecx, %r14d
	jle	.L45
	movslq	%ecx, %rcx
	leaq	48(%rbx,%rdx), %rdi
	movl	52(%rsp,%rcx,8), %ecx
	movq	$0, (%rdi)
	movq	%rdi, 24(%r13,%rsi)
	movl	%ecx, 8(%rdi)
	leal	4(%rax), %ecx
	cmpl	%ecx, %r14d
	jle	.L45
	movslq	%ecx, %rcx
	leaq	64(%rbx,%rdx), %rdi
	addl	$5, %eax
	movl	52(%rsp,%rcx,8), %ecx
	movq	$0, (%rdi)
	movq	%rdi, 32(%r13,%rsi)
	movl	%ecx, 8(%rdi)
	cmpl	%eax, %r14d
	jle	.L45
	cltq
	leaq	80(%rbx,%rdx), %rdx
	movl	52(%rsp,%rax,8), %eax
	movq	$0, (%rdx)
	movq	%rdx, 40(%r13,%rsi)
	movl	%eax, 8(%rdx)
.L45:
	addq	%r13, %r12
	leal	-2(%r14), %r9d
	.p2align 4,,10
	.p2align 3
.L36:
	movq	0(%r13), %rax
	movl	8(%rax), %ecx
	movq	8(%r13), %rax
	movl	8(%rax), %edi
	cmpl	%edi, %ecx
	jle	.L48
	movl	%ecx, %eax
	xorl	%esi, %esi
	movl	%edi, %ecx
	movl	$1, %r15d
	movl	%eax, %edi
.L28:
	movl	$2, %eax
	jmp	.L30
	.p2align 4,,10
	.p2align 3
.L76:
	cmpl	%edx, %edi
	jle	.L29
	movl	%eax, %esi
	movl	%edx, %edi
.L29:
	addq	$1, %rax
	cmpl	%eax, %r14d
	jle	.L75
.L30:
	movq	0(%r13,%rax,8), %rdx
	movl	8(%rdx), %edx
	cmpl	%ecx, %edx
	jge	.L76
	movl	%r15d, %esi
	movl	%eax, %r15d
	addq	$1, %rax
	movl	%ecx, %edi
	movl	%edx, %ecx
	cmpl	%eax, %r14d
	jg	.L30
.L75:
	movslq	%r15d, %rax
	movl	$16, %edi
	movl	%r9d, 40(%rsp)
	leaq	0(%r13,%rax,8), %r11
	movslq	%esi, %rax
	movl	%esi, 28(%rsp)
	leaq	0(%r13,%rax,8), %r10
	movq	(%r11), %rdx
	movq	%r11, 32(%rsp)
	movq	(%r10), %rcx
	movq	%r10, 16(%rsp)
	movq	%rdx, (%rsp)
	movl	8(%rcx), %r14d
	addl	8(%rdx), %r14d
	movq	%rcx, 8(%rsp)
	call	malloc@PLT
	movq	(%rsp), %rdx
	cmpl	%r15d, %ebp
	movl	28(%rsp), %esi
	movq	8(%rsp), %rcx
	movq	16(%rsp), %r10
	movl	%r14d, 8(%rax)
	movl	%ebp, %r14d
	movq	$0, (%rax)
	movq	32(%rsp), %r11
	movq	%rax, (%rdx)
	movl	40(%rsp), %r9d
	movq	%rax, (%rcx)
	je	.L77
	cmpl	%r9d, %r15d
	je	.L78
	cmpl	%esi, %ebp
	je	.L79
	movq	-8(%r12), %rcx
	movq	%rcx, (%r11)
	movq	%rdx, -8(%r12)
	cmpl	%r9d, %esi
	je	.L32
	movq	(%r10), %rdx
	movq	-16(%r12), %rcx
	movq	%rcx, (%r10)
	movq	%rdx, -16(%r12)
	.p2align 4,,10
	.p2align 3
.L32:
	movq	%rax, -16(%r12)
	subl	$1, %r9d
	subq	$8, %r12
	cmpl	$2, %ebp
	je	.L27
	subl	$1, %ebp
	jmp	.L36
	.p2align 4,,10
	.p2align 3
.L22:
	addl	$1, %r14d
	movl	%ecx, 48(%rsp,%r12,8)
	movl	$1, 52(%rsp,%r12,8)
	movslq	%r14d, %r12
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L48:
	movl	$1, %esi
	xorl	%r15d, %r15d
	jmp	.L28
	.p2align 4,,10
	.p2align 3
.L77:
	cmpl	%r9d, %esi
	je	.L32
	movq	-16(%r12), %rdx
	movq	%rdx, (%r10)
	movq	%rcx, -16(%r12)
	jmp	.L32
	.p2align 4,,10
	.p2align 3
.L78:
	cmpl	%esi, %ebp
	je	.L32
	movq	-8(%r12), %rdx
	movq	%rdx, (%r10)
	movq	%rcx, -8(%r12)
	jmp	.L32
	.p2align 4,,10
	.p2align 3
.L79:
	movq	-16(%r12), %rcx
	movq	%rcx, (%r11)
	movq	%rdx, -16(%r12)
	jmp	.L32
.L23:
	cmpl	$1, %r14d
	je	.L42
.L24:
	cmpl	$2, %r14d
	jg	.L45
	.p2align 4,,10
	.p2align 3
.L27:
	movq	8(%r13), %r12
	movq	0(%r13), %r14
	movl	8(%r12), %eax
	cmpl	8(%r14), %eax
	jl	.L80
	addl	8(%r14), %eax
	movl	$16, %edi
	movl	%eax, %r13d
	call	malloc@PLT
	movl	%r13d, 8(%rax)
	movq	$0, (%rax)
	movq	%rax, (%r14)
	movq	%rax, (%r12)
.L42:
	movl	44(%rsp), %ebp
	xorl	%r8d, %r8d
	salq	$4, %rbp
	leaq	(%rbx,%rbp), %rcx
	.p2align 4,,10
	.p2align 3
.L40:
	movq	(%rbx), %rax
	xorl	%edx, %edx
	testq	%rax, %rax
	je	.L81
	.p2align 4,,10
	.p2align 3
.L39:
	movq	(%rax), %rax
	addl	$1, %edx
	testq	%rax, %rax
	jne	.L39
	imull	8(%rbx), %edx
	addq	$16, %rbx
	addl	%edx, %r8d
	cmpq	%rbx, %rcx
	jne	.L40
.L15:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movl	$1, %edi
	leaq	.LC3(%rip), %rsi
	call	__printf_chk@PLT
	movq	100264(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L82
	addq	$100280, %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
.L80:
	.cfi_restore_state
	addl	8(%r14), %eax
	movl	$16, %edi
	movl	%eax, %r13d
	call	malloc@PLT
	movl	%r13d, 8(%rax)
	movq	$0, (%rax)
	movq	%rax, (%r12)
	movq	%rax, (%r14)
	jmp	.L42
	.p2align 4,,10
	.p2align 3
.L81:
	movl	$1, %edx
	imull	8(%rbx), %edx
	addq	$16, %rbx
	addl	%edx, %r8d
	cmpq	%rbx, %rcx
	jne	.L40
	jmp	.L15
.L47:
	xorl	%r8d, %r8d
	jmp	.L15
.L51:
	xorl	%eax, %eax
	jmp	.L43
.L82:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE53:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.quad	320
	.quad	336
	.align 16
.LC2:
	.quad	352
	.quad	368
	.align 16
.LC4:
	.quad	0
	.quad	16
	.align 16
.LC5:
	.quad	32
	.quad	48
	.align 16
.LC6:
	.quad	64
	.quad	80
	.align 16
.LC7:
	.quad	96
	.quad	112
	.align 16
.LC8:
	.quad	128
	.quad	144
	.align 16
.LC9:
	.quad	160
	.quad	176
	.align 16
.LC10:
	.quad	192
	.quad	208
	.align 16
.LC11:
	.quad	224
	.quad	240
	.align 16
.LC12:
	.quad	256
	.quad	272
	.align 16
.LC13:
	.quad	288
	.quad	304
	.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 AZ 'z'-'a'+1

typedef struct t{
    struct t *parent;
    int score;
}Tree;

Tree* make(int count){
    Tree *t=(Tree*)malloc(sizeof(Tree));
    t->score = count;
    t->parent = NULL;
    return t;
}

int depth(Tree *t,int c){
    if(t==NULL){
        if(c==0){c=1;}
        return c;
    }
    return depth(t->parent,c+1);
}

int main(void){
    char s[100001];
    int count[AZ][2];
    int n,nn,len,i,j,f;
    int min1,num1,min2,num2,sum;
    Tree *ts,**t,*p,*exc;
    scanf("%s",s);
    len = strlen(s);
    n=0;
    for(i=0;i<len;i++){
        f=0;
        for(j=0;j<n;j++){
            if(count[j][0]==s[i]){
                count[j][1]++;
                f=1;
                break;
            }
        }
        if(f==0){
            count[n][0]=s[i];
            count[n][1]=1;
            n++;
        }
    }
    nn=n;
    ts = (Tree*)malloc(sizeof(Tree)*n);t = (Tree**)malloc(sizeof(Tree*)*n);
    for(i=0;i<n;i++){
        ts[i].score=count[i][1];
        ts[i].parent=NULL;
        t[i] = &ts[i];
    }
    while(nn>1){
        min1 = t[0]->score;num1=0;
        min2 = t[1]->score;num2=1;
        if(min1>min2){
            i=min1;min1=min2;min2=i;
            i=num1;num1=num2;num2=i;
        }
        for(i=2;i<nn;i++){
            if(min1>t[i]->score){
                min2=min1;num2=num1;
                min1=t[i]->score;num1=i;
            }else if(min2>t[i]->score){
                min2=t[i]->score;num2=i;
            }
        }
        p = make(t[num1]->score+t[num2]->score);
        t[num1]->parent=p;t[num2]->parent=p;
        if(num1==nn-1){
            if(num2!=nn-2){
                exc=t[num2];t[num2]=t[nn-2];t[nn-2]=exc;
            }
        }else if(num1==nn-2){
            if(num2!=nn-1){
                exc=t[num2];t[num2]=t[nn-1];t[nn-1]=exc;
            }
        }else if(num2==nn-1){
            exc=t[num1];t[num1]=t[nn-2];t[nn-2]=exc;
        }else if(num2==nn-2){
            exc=t[num1];t[num1]=t[nn-1];t[nn-1]=exc;
        }else{
            exc=t[num1];t[num1]=t[nn-1];t[nn-1]=exc;
            exc=t[num2];t[num2]=t[nn-2];t[nn-2]=exc;
        }
        nn--;
        t[nn-1]=p;
    }
    sum=0;
    for(i=0;i<n;i++){
        sum+=depth(ts[i].parent,0)*ts[i].score;
    }
    printf("%d\n",sum);
}

y
 aaabbcccdeeegfg
 baca
 aaadbcccbeedgfg
 bbcb
 gegdeebcccbeaaa
 aeaaacccbeedgeg
 gegdeebccdaaaea
 gegdfebccdaaaea
 bedc

1
 41
 6
 42
 4
 38
 36
 37
 40
 8

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 AZ 'z'-'a'+1

typedef struct t{
    struct t *parent;
    int score;
}Tree;

Tree* make(int count){
    Tree *t=(Tree*)malloc(sizeof(Tree));
    t->score = count;
    t->parent = NULL;
    return t;
}

int depth(Tree *t,int c){
    if(t==NULL){
        if(c==0){c=1;}
        return c;
    }
    return depth(t->parent,c+1);
}

int main(void){
    char s[100001];
    int count[AZ][2];
    int n,nn,len,i,j,f;
    int min1,num1,min2,num2,sum;
    Tree *ts,**t,*p,*exc;
    scanf("%s",s);
    len = strlen(s);
    n=0;
    for(i=0;i<len;i++){
        f=0;
        for(j=0;j<n;j++){
            if(count[j][0]==s[i]){
                count[j][1]++;
                f=1;
                break;
            }
        }
        if(f==0){
            count[n][0]=s[i];
            count[n][1]=1;
            n++;
        }
    }
    nn=n;
    ts = (Tree*)malloc(sizeof(Tree)*n);t = (Tree**)malloc(sizeof(Tree*)*n);
    for(i=0;i<n;i++){
        ts[i].score=count[i][1];
        ts[i].parent=NULL;
        t[i] = &ts[i];
    }
    while(nn>1){
        min1 = t[0]->score;num1=0;
        min2 = t[1]->score;num2=1;
        if(min1>min2){
            i=min1;min1=min2;min2=i;
            i=num1;num1=num2;num2=i;
        }
        for(i=2;i<nn;i++){
            if(min1>t[i]->score){
                min2=min1;num2=num1;
                min1=t[i]->score;num1=i;
            }else if(min2>t[i]->score){
                min2=t[i]->score;num2=i;
            }
        }
        p = make(t[num1]->score+t[num2]->score);
        t[num1]->parent=p;t[num2]->parent=p;
        if(num1==nn-1){
            if(num2!=nn-2){
                exc=t[num2];t[num2]=t[nn-2];t[nn-2]=exc;
            }
        }else if(num1==nn-2){
            if(num2!=nn-1){
                exc=t[num2];t[num2]=t[nn-1];t[nn-1]=exc;
            }
        }else if(num2==nn-1){
            exc=t[num1];t[num1]=t[nn-2];t[nn-2]=exc;
        }else if(num2==nn-2){
            exc=t[num1];t[num1]=t[nn-1];t[nn-1]=exc;
        }else{
            exc=t[num1];t[num1]=t[nn-1];t[nn-1]=exc;
            exc=t[num2];t[num2]=t[nn-2];t[nn-2]=exc;
        }
        nn--;
        t[nn-1]=p;
    }
    sum=0;
    for(i=0;i<n;i++){
        sum+=depth(ts[i].parent,0)*ts[i].score;
    }
    printf("%d\n",sum);
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	make
	.type	make, @function
make:
.LFB6:
	.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
	movl	%edi, -20(%rbp)
	movl	$16, %edi
	call	malloc@PLT
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	movl	-20(%rbp), %edx
	movl	%edx, 8(%rax)
	movq	-8(%rbp), %rax
	movq	$0, (%rax)
	movq	-8(%rbp), %rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	make, .-make
	.globl	depth
	.type	depth, @function
depth:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movq	%rdi, -8(%rbp)
	movl	%esi, -12(%rbp)
	cmpq	$0, -8(%rbp)
	jne	.L4
	cmpl	$0, -12(%rbp)
	jne	.L5
	movl	$1, -12(%rbp)
.L5:
	movl	-12(%rbp), %eax
	jmp	.L6
.L4:
	movl	-12(%rbp), %eax
	leal	1(%rax), %edx
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	depth
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	depth, .-depth
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-98304(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$2000, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-100016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-100016(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -100260(%rbp)
	movl	$0, -100300(%rbp)
	movl	$0, -100292(%rbp)
	jmp	.L8
.L14:
	movl	$0, -100284(%rbp)
	movl	$0, -100288(%rbp)
	jmp	.L9
.L12:
	movl	-100288(%rbp), %eax
	cltq
	movl	-100224(%rbp,%rax,8), %edx
	movl	-100292(%rbp), %eax
	cltq
	movzbl	-100016(%rbp,%rax), %eax
	movsbl	%al, %eax
	cmpl	%eax, %edx
	jne	.L10
	movl	-100288(%rbp), %eax
	cltq
	movl	-100220(%rbp,%rax,8), %eax
	leal	1(%rax), %edx
	movl	-100288(%rbp), %eax
	cltq
	movl	%edx, -100220(%rbp,%rax,8)
	movl	$1, -100284(%rbp)
	jmp	.L11
.L10:
	addl	$1, -100288(%rbp)
.L9:
	movl	-100288(%rbp), %eax
	cmpl	-100300(%rbp), %eax
	jl	.L12
.L11:
	cmpl	$0, -100284(%rbp)
	jne	.L13
	movl	-100292(%rbp), %eax
	cltq
	movzbl	-100016(%rbp,%rax), %eax
	movsbl	%al, %edx
	movl	-100300(%rbp), %eax
	cltq
	movl	%edx, -100224(%rbp,%rax,8)
	movl	-100300(%rbp), %eax
	cltq
	movl	$1, -100220(%rbp,%rax,8)
	addl	$1, -100300(%rbp)
.L13:
	addl	$1, -100292(%rbp)
.L8:
	movl	-100292(%rbp), %eax
	cmpl	-100260(%rbp), %eax
	jl	.L14
	movl	-100300(%rbp), %eax
	movl	%eax, -100296(%rbp)
	movl	-100300(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdi
	call	malloc@PLT
	movq	%rax, -100256(%rbp)
	movl	-100300(%rbp), %eax
	cltq
	salq	$3, %rax
	movq	%rax, %rdi
	call	malloc@PLT
	movq	%rax, -100248(%rbp)
	movl	$0, -100292(%rbp)
	jmp	.L15
.L16:
	movl	-100292(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-100256(%rbp), %rax
	addq	%rax, %rdx
	movl	-100292(%rbp), %eax
	cltq
	movl	-100220(%rbp,%rax,8), %eax
	movl	%eax, 8(%rdx)
	movl	-100292(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-100256(%rbp), %rax
	addq	%rdx, %rax
	movq	$0, (%rax)
	movl	-100292(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rcx
	movl	-100292(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	-100256(%rbp), %rdx
	addq	%rcx, %rdx
	movq	%rdx, (%rax)
	addl	$1, -100292(%rbp)
.L15:
	movl	-100292(%rbp), %eax
	cmpl	-100300(%rbp), %eax
	jl	.L16
	jmp	.L17
.L28:
	movq	-100248(%rbp), %rax
	movq	(%rax), %rax
	movl	8(%rax), %eax
	movl	%eax, -100280(%rbp)
	movl	$0, -100276(%rbp)
	movq	-100248(%rbp), %rax
	addq	$8, %rax
	movq	(%rax), %rax
	movl	8(%rax), %eax
	movl	%eax, -100272(%rbp)
	movl	$1, -100268(%rbp)
	movl	-100280(%rbp), %eax
	cmpl	-100272(%rbp), %eax
	jle	.L18
	movl	-100280(%rbp), %eax
	movl	%eax, -100292(%rbp)
	movl	-100272(%rbp), %eax
	movl	%eax, -100280(%rbp)
	movl	-100292(%rbp), %eax
	movl	%eax, -100272(%rbp)
	movl	-100276(%rbp), %eax
	movl	%eax, -100292(%rbp)
	movl	-100268(%rbp), %eax
	movl	%eax, -100276(%rbp)
	movl	-100292(%rbp), %eax
	movl	%eax, -100268(%rbp)
.L18:
	movl	$2, -100292(%rbp)
	jmp	.L19
.L22:
	movl	-100292(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movl	8(%rax), %eax
	cmpl	%eax, -100280(%rbp)
	jle	.L20
	movl	-100280(%rbp), %eax
	movl	%eax, -100272(%rbp)
	movl	-100276(%rbp), %eax
	movl	%eax, -100268(%rbp)
	movl	-100292(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movl	8(%rax), %eax
	movl	%eax, -100280(%rbp)
	movl	-100292(%rbp), %eax
	movl	%eax, -100276(%rbp)
	jmp	.L21
.L20:
	movl	-100292(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movl	8(%rax), %eax
	cmpl	%eax, -100272(%rbp)
	jle	.L21
	movl	-100292(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movl	8(%rax), %eax
	movl	%eax, -100272(%rbp)
	movl	-100292(%rbp), %eax
	movl	%eax, -100268(%rbp)
.L21:
	addl	$1, -100292(%rbp)
.L19:
	movl	-100292(%rbp), %eax
	cmpl	-100296(%rbp), %eax
	jl	.L22
	movl	-100276(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movl	8(%rax), %edx
	movl	-100268(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	movq	-100248(%rbp), %rax
	addq	%rcx, %rax
	movq	(%rax), %rax
	movl	8(%rax), %eax
	addl	%edx, %eax
	movl	%eax, %edi
	call	make
	movq	%rax, -100240(%rbp)
	movl	-100276(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	-100240(%rbp), %rdx
	movq	%rdx, (%rax)
	movl	-100268(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	-100240(%rbp), %rdx
	movq	%rdx, (%rax)
	movl	-100296(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -100276(%rbp)
	jne	.L23
	movl	-100296(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -100268(%rbp)
	je	.L24
	movl	-100268(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, -100232(%rbp)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-16(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movl	-100268(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	movq	-100248(%rbp), %rdx
	addq	%rcx, %rdx
	movq	(%rax), %rax
	movq	%rax, (%rdx)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-16(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rax, %rdx
	movq	-100232(%rbp), %rax
	movq	%rax, (%rdx)
	jmp	.L24
.L23:
	movl	-100296(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -100276(%rbp)
	jne	.L25
	movl	-100296(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -100268(%rbp)
	je	.L24
	movl	-100268(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, -100232(%rbp)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-8(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movl	-100268(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	movq	-100248(%rbp), %rdx
	addq	%rcx, %rdx
	movq	(%rax), %rax
	movq	%rax, (%rdx)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-8(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rax, %rdx
	movq	-100232(%rbp), %rax
	movq	%rax, (%rdx)
	jmp	.L24
.L25:
	movl	-100296(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -100268(%rbp)
	jne	.L26
	movl	-100276(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, -100232(%rbp)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-16(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movl	-100276(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	movq	-100248(%rbp), %rdx
	addq	%rcx, %rdx
	movq	(%rax), %rax
	movq	%rax, (%rdx)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-16(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rax, %rdx
	movq	-100232(%rbp), %rax
	movq	%rax, (%rdx)
	jmp	.L24
.L26:
	movl	-100296(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -100268(%rbp)
	jne	.L27
	movl	-100276(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, -100232(%rbp)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-8(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movl	-100276(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	movq	-100248(%rbp), %rdx
	addq	%rcx, %rdx
	movq	(%rax), %rax
	movq	%rax, (%rdx)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-8(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rax, %rdx
	movq	-100232(%rbp), %rax
	movq	%rax, (%rdx)
	jmp	.L24
.L27:
	movl	-100276(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, -100232(%rbp)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-8(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movl	-100276(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	movq	-100248(%rbp), %rdx
	addq	%rcx, %rdx
	movq	(%rax), %rax
	movq	%rax, (%rdx)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-8(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rax, %rdx
	movq	-100232(%rbp), %rax
	movq	%rax, (%rdx)
	movl	-100268(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, -100232(%rbp)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-16(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movl	-100268(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	movq	-100248(%rbp), %rdx
	addq	%rcx, %rdx
	movq	(%rax), %rax
	movq	%rax, (%rdx)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-16(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rax, %rdx
	movq	-100232(%rbp), %rax
	movq	%rax, (%rdx)
.L24:
	subl	$1, -100296(%rbp)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-8(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rax, %rdx
	movq	-100240(%rbp), %rax
	movq	%rax, (%rdx)
.L17:
	cmpl	$1, -100296(%rbp)
	jg	.L28
	movl	$0, -100264(%rbp)
	movl	$0, -100292(%rbp)
	jmp	.L29
.L30:
	movl	-100292(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-100256(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movl	$0, %esi
	movq	%rax, %rdi
	call	depth
	movl	-100292(%rbp), %edx
	movslq	%edx, %rdx
	movq	%rdx, %rcx
	salq	$4, %rcx
	movq	-100256(%rbp), %rdx
	addq	%rcx, %rdx
	movl	8(%rdx), %edx
	imull	%edx, %eax
	addl	%eax, -100264(%rbp)
	addl	$1, -100292(%rbp)
.L29:
	movl	-100292(%rbp), %eax
	cmpl	-100300(%rbp), %eax
	jl	.L30
	movl	-100264(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	make
	.type	make, @function
make:
.LFB6:
	.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
	movl	%edi, -20(%rbp)
	movl	$16, %edi
	call	malloc@PLT
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	movl	-20(%rbp), %edx
	movl	%edx, 8(%rax)
	movq	-8(%rbp), %rax
	movq	$0, (%rax)
	movq	-8(%rbp), %rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	make, .-make
	.globl	depth
	.type	depth, @function
depth:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movq	%rdi, -8(%rbp)
	movl	%esi, -12(%rbp)
	cmpq	$0, -8(%rbp)
	jne	.L4
	cmpl	$0, -12(%rbp)
	jne	.L5
	movl	$1, -12(%rbp)
.L5:
	movl	-12(%rbp), %eax
	jmp	.L6
.L4:
	movl	-12(%rbp), %eax
	leal	1(%rax), %edx
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	depth
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	depth, .-depth
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-98304(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$2000, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-100016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-100016(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -100260(%rbp)
	movl	$0, -100300(%rbp)
	movl	$0, -100292(%rbp)
	jmp	.L8
.L14:
	movl	$0, -100284(%rbp)
	movl	$0, -100288(%rbp)
	jmp	.L9
.L12:
	movl	-100288(%rbp), %eax
	cltq
	movl	-100224(%rbp,%rax,8), %edx
	movl	-100292(%rbp), %eax
	cltq
	movzbl	-100016(%rbp,%rax), %eax
	movsbl	%al, %eax
	cmpl	%eax, %edx
	jne	.L10
	movl	-100288(%rbp), %eax
	cltq
	movl	-100220(%rbp,%rax,8), %eax
	leal	1(%rax), %edx
	movl	-100288(%rbp), %eax
	cltq
	movl	%edx, -100220(%rbp,%rax,8)
	movl	$1, -100284(%rbp)
	jmp	.L11
.L10:
	addl	$1, -100288(%rbp)
.L9:
	movl	-100288(%rbp), %eax
	cmpl	-100300(%rbp), %eax
	jl	.L12
.L11:
	cmpl	$0, -100284(%rbp)
	jne	.L13
	movl	-100292(%rbp), %eax
	cltq
	movzbl	-100016(%rbp,%rax), %eax
	movsbl	%al, %edx
	movl	-100300(%rbp), %eax
	cltq
	movl	%edx, -100224(%rbp,%rax,8)
	movl	-100300(%rbp), %eax
	cltq
	movl	$1, -100220(%rbp,%rax,8)
	addl	$1, -100300(%rbp)
.L13:
	addl	$1, -100292(%rbp)
.L8:
	movl	-100292(%rbp), %eax
	cmpl	-100260(%rbp), %eax
	jl	.L14
	movl	-100300(%rbp), %eax
	movl	%eax, -100296(%rbp)
	movl	-100300(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdi
	call	malloc@PLT
	movq	%rax, -100256(%rbp)
	movl	-100300(%rbp), %eax
	cltq
	salq	$3, %rax
	movq	%rax, %rdi
	call	malloc@PLT
	movq	%rax, -100248(%rbp)
	movl	$0, -100292(%rbp)
	jmp	.L15
.L16:
	movl	-100292(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-100256(%rbp), %rax
	addq	%rax, %rdx
	movl	-100292(%rbp), %eax
	cltq
	movl	-100220(%rbp,%rax,8), %eax
	movl	%eax, 8(%rdx)
	movl	-100292(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-100256(%rbp), %rax
	addq	%rdx, %rax
	movq	$0, (%rax)
	movl	-100292(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rcx
	movl	-100292(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	-100256(%rbp), %rdx
	addq	%rcx, %rdx
	movq	%rdx, (%rax)
	addl	$1, -100292(%rbp)
.L15:
	movl	-100292(%rbp), %eax
	cmpl	-100300(%rbp), %eax
	jl	.L16
	jmp	.L17
.L28:
	movq	-100248(%rbp), %rax
	movq	(%rax), %rax
	movl	8(%rax), %eax
	movl	%eax, -100280(%rbp)
	movl	$0, -100276(%rbp)
	movq	-100248(%rbp), %rax
	addq	$8, %rax
	movq	(%rax), %rax
	movl	8(%rax), %eax
	movl	%eax, -100272(%rbp)
	movl	$1, -100268(%rbp)
	movl	-100280(%rbp), %eax
	cmpl	-100272(%rbp), %eax
	jle	.L18
	movl	-100280(%rbp), %eax
	movl	%eax, -100292(%rbp)
	movl	-100272(%rbp), %eax
	movl	%eax, -100280(%rbp)
	movl	-100292(%rbp), %eax
	movl	%eax, -100272(%rbp)
	movl	-100276(%rbp), %eax
	movl	%eax, -100292(%rbp)
	movl	-100268(%rbp), %eax
	movl	%eax, -100276(%rbp)
	movl	-100292(%rbp), %eax
	movl	%eax, -100268(%rbp)
.L18:
	movl	$2, -100292(%rbp)
	jmp	.L19
.L22:
	movl	-100292(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movl	8(%rax), %eax
	cmpl	%eax, -100280(%rbp)
	jle	.L20
	movl	-100280(%rbp), %eax
	movl	%eax, -100272(%rbp)
	movl	-100276(%rbp), %eax
	movl	%eax, -100268(%rbp)
	movl	-100292(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movl	8(%rax), %eax
	movl	%eax, -100280(%rbp)
	movl	-100292(%rbp), %eax
	movl	%eax, -100276(%rbp)
	jmp	.L21
.L20:
	movl	-100292(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movl	8(%rax), %eax
	cmpl	%eax, -100272(%rbp)
	jle	.L21
	movl	-100292(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movl	8(%rax), %eax
	movl	%eax, -100272(%rbp)
	movl	-100292(%rbp), %eax
	movl	%eax, -100268(%rbp)
.L21:
	addl	$1, -100292(%rbp)
.L19:
	movl	-100292(%rbp), %eax
	cmpl	-100296(%rbp), %eax
	jl	.L22
	movl	-100276(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movl	8(%rax), %edx
	movl	-100268(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	movq	-100248(%rbp), %rax
	addq	%rcx, %rax
	movq	(%rax), %rax
	movl	8(%rax), %eax
	addl	%edx, %eax
	movl	%eax, %edi
	call	make
	movq	%rax, -100240(%rbp)
	movl	-100276(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	-100240(%rbp), %rdx
	movq	%rdx, (%rax)
	movl	-100268(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	-100240(%rbp), %rdx
	movq	%rdx, (%rax)
	movl	-100296(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -100276(%rbp)
	jne	.L23
	movl	-100296(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -100268(%rbp)
	je	.L24
	movl	-100268(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, -100232(%rbp)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-16(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movl	-100268(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	movq	-100248(%rbp), %rdx
	addq	%rcx, %rdx
	movq	(%rax), %rax
	movq	%rax, (%rdx)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-16(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rax, %rdx
	movq	-100232(%rbp), %rax
	movq	%rax, (%rdx)
	jmp	.L24
.L23:
	movl	-100296(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -100276(%rbp)
	jne	.L25
	movl	-100296(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -100268(%rbp)
	je	.L24
	movl	-100268(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, -100232(%rbp)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-8(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movl	-100268(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	movq	-100248(%rbp), %rdx
	addq	%rcx, %rdx
	movq	(%rax), %rax
	movq	%rax, (%rdx)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-8(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rax, %rdx
	movq	-100232(%rbp), %rax
	movq	%rax, (%rdx)
	jmp	.L24
.L25:
	movl	-100296(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -100268(%rbp)
	jne	.L26
	movl	-100276(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, -100232(%rbp)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-16(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movl	-100276(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	movq	-100248(%rbp), %rdx
	addq	%rcx, %rdx
	movq	(%rax), %rax
	movq	%rax, (%rdx)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-16(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rax, %rdx
	movq	-100232(%rbp), %rax
	movq	%rax, (%rdx)
	jmp	.L24
.L26:
	movl	-100296(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -100268(%rbp)
	jne	.L27
	movl	-100276(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, -100232(%rbp)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-8(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movl	-100276(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	movq	-100248(%rbp), %rdx
	addq	%rcx, %rdx
	movq	(%rax), %rax
	movq	%rax, (%rdx)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-8(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rax, %rdx
	movq	-100232(%rbp), %rax
	movq	%rax, (%rdx)
	jmp	.L24
.L27:
	movl	-100276(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, -100232(%rbp)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-8(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movl	-100276(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	movq	-100248(%rbp), %rdx
	addq	%rcx, %rdx
	movq	(%rax), %rax
	movq	%rax, (%rdx)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-8(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rax, %rdx
	movq	-100232(%rbp), %rax
	movq	%rax, (%rdx)
	movl	-100268(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, -100232(%rbp)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-16(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rdx, %rax
	movl	-100268(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	movq	-100248(%rbp), %rdx
	addq	%rcx, %rdx
	movq	(%rax), %rax
	movq	%rax, (%rdx)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-16(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rax, %rdx
	movq	-100232(%rbp), %rax
	movq	%rax, (%rdx)
.L24:
	subl	$1, -100296(%rbp)
	movl	-100296(%rbp), %eax
	cltq
	salq	$3, %rax
	leaq	-8(%rax), %rdx
	movq	-100248(%rbp), %rax
	addq	%rax, %rdx
	movq	-100240(%rbp), %rax
	movq	%rax, (%rdx)
.L17:
	cmpl	$1, -100296(%rbp)
	jg	.L28
	movl	$0, -100264(%rbp)
	movl	$0, -100292(%rbp)
	jmp	.L29
.L30:
	movl	-100292(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-100256(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movl	$0, %esi
	movq	%rax, %rdi
	call	depth
	movl	-100292(%rbp), %edx
	movslq	%edx, %rdx
	movq	%rdx, %rcx
	salq	$4, %rcx
	movq	-100256(%rbp), %rdx
	addq	%rcx, %rdx
	movl	8(%rdx), %edx
	imull	%edx, %eax
	addl	%eax, -100264(%rbp)
	addl	$1, -100292(%rbp)
.L29:
	movl	-100292(%rbp), %eax
	cmpl	-100300(%rbp), %eax
	jl	.L30
	movl	-100264(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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:
