// File: TooruAkagi[P]GCIS_Index/gcis_nep_locate.cpp
// Function: findups(unsigned int*, int*, int*, int, int, int, int*, int*, int*, int*, int*, int)
int findups(unsigned int *D,int *D_2,int *D_3,int startm,int mrlen,int round,int *B1,int *B2,int *B3,int *Ls,int *Rs,int count){
    if(DEBUGFLAG==1){
        printf("\n[%d]を探す(round %d / %d)",occart2[round-1][2],round,fround);
        alldr(D,D_2,D_3,occart2[round-1][2],round-1);
        for(int i = 0; i<10; i++){printf("[%d]",occart2[round-1][i]);}
    }
    //1つroundが下の場所でBコアが発見できたものをXとする．
    //Xを探し，その左右のデータを追加するのがこの仕事．
    //count回分だけ下の文字を2-3個揃えるのが仕事．
    if(round==fround){return findupsintop(D,D_2,D_3,startm,mrlen,B1,B2,B3,Ls,Rs,count);}
    int rofs=0;
    if(round>1){rofs=dc2s[round-1];}
    for(int y8=dc2s[round];y8<dc2s[round+1];y8++){
        //printf("\n[%d(%d)]",y8,D_2[y8+1]-D_2[y8]);
        //int tg = 0;
        int ofs = 0;
        for(int y9=D_2[y8];y9<D_2[y8+1];y9++){
            //printf(" %d",rofs+D[y9]);
            if(rofs+D[y9]==occart2[round-1][2]){ //該当する1文字を見つけたら
                gate++;
                if(DEBUGFLAG==1){
                     printf("\n[%dの%d文字目に発見(+%d)]",y8,y9-D_2[y8],ofs);
                }
                //coreans++;
                //左がないなら左を探す(このroundで1つ見つかれば良い)
                for(int i = 0; i<10; i++){occart2[round][i] = occart2[round-1][i];} //コアを見つけたら下階層からゲット
                if(y9==D_2[y8] || occart2[round-1][0]>-1){ //先頭にないか，左[0]が埋まっているなら左は追加できない
                }
                else{ 
                    if(occart2[round][1] == -1){ //2つとも埋まっていないなら
                        occart2[round][1] = rofs+D[y9-1];
                        if(D_2[y8]+1<y9){occart2[round][0] = rofs+D[y9-2];}
                        //printf("\n[%d]記入数 %d %d",y9-D_2[y8],occart2[round][0],occart2[round][1]);
                        if(occart2[round][7]%2==0){
                            if(coreAcheck(D,D_2,round-1,count,round,startm)==-1){
                                 if(DEBUGFLAG==1){printf("Aミスマッチ");}
                                continue;
                            }
                            else{occart2[round][7]++;} //1文字少なくとも入れたはずだし0が帰ってきていれば必ずAコアは調べ終わっている
                        }
                        else{leftopennd(D,D_2,D_3,round-1,count,round);}
                    }
                    else{ //1つ埋まっていないなら
                        occart2[round][0] = rofs+D[y9-1];
                        leftopen(D,D_2,D_3,round-1,count,round);
                    }
                }
                //printf("\n演算[%d = %d][%d]",y9+1,D_2[y8],occart2[round-1][6]);
                if(y9+1<D_2[y8+1] && occart2[round-1][6]==-1){ //右があり，右が埋まっていないなら
                    if(occart2[round][5]==-1){ //2文字埋まってないなら
                        if(occart2[round][4]==-1){ //3文字埋まってないなら
                            occart2[round][4] = rofs+D[y9+1];
                            if(y9+2<D_2[y8+1]){occart2[round][5] = rofs+D[y9+2];}
                            if(y9+3<D_2[y8+1]){occart2[round][6] = rofs+D[y9+3];}
                            if(occart2[round][7]/2<1){
                                if(coreCcheck(D,D_2,round-1,count,round)==-1){
                                     if(DEBUGFLAG==1){printf("Cコアミスマッチ");}
                                    continue;}
                            } //Cのチェックもしていないなら
                            else{rightopennd3(D,D_2,round-1,count,round,3);}
                        }
                        else{
                            occart2[round][5] = rofs+D[y9+1];
                            if(y9+2<D_2[y8+1]){occart2[round][6] = rofs+D[y9+2];}
                            rightopennd3(D,D_2,round-1,count,round,2);
                        }
                    }
                    else{ //1つだけ
                        occart2[round][6] = rofs+D[y9+1];
                        rightopennd3(D,D_2,round-1,count,round,1);
                    }
                    //exit(7);
                }
                //printf("\n結果:");
                //for(int i = 0; i<10; i++){printf("[%d]",occart2[round][i]);}
                if(occart2[round][6]> -1 && occart2[round][0] > -1){
                    //printf("\n[早速チェック]");
                    int e2[2] = {occart2[round][1],occart2[round][0]};
                    int tk = rpsck(D,D_2,Ls,B1,e2,round-count-1);
                    //if(tk==-1){printf("\nこれはコアではない");}
                    if(tk==0){
                        int e[3] = {occart2[round][4],occart2[round][5],occart2[round][6]};
                        tk = psck(D,D_2,Rs,B2,e,round-count-1);
                        //if(tk==-1){printf("\nこれはコアではない");}
                        if(tk==0){ //左右も完璧に合ってた
                            //printf("\n正しい出現を%dの+%dに発見!\n",y8,occart2[round][3]+ofs);
                            findinround1(D,D_2,D_3,y8,round+1,occart2[round][3]+ofs);
                            //exit(1);
                        }
                    }
                }
                else{ //もっと上の階層に再帰するしかない
                    int e[3] = {occart2[round][4],occart2[round][5],occart2[round][6]};
                    int tk = psck(D,D_2,Rs,B2,e,round-count-1);
                    if(tk!=-1){
                        occart2[round][2] = y8;occart2[round][3] += ofs;
                        findups(D,D_2,D_3,startm,mrlen,round+1,B1,B2,B3,Ls,Rs,count+1);
                    }
                    //else{printf("\n[排除できる例(%d,%d)]",y8,y9-D_2[y8]);}
                }
            }
            if(round>0){ofs+=D_3[rofs+D[y9]];}else{ofs++;}
        }
    }
    //printf("\n--[%d]探し 終了--\n",occart2[round-1][2]);
    return 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x98, %rsp
movl 0x38(%rbp), %eax
movq 0x30(%rbp), %rax
movq 0x28(%rbp), %rax
movq 0x20(%rbp), %rax
movq 0x18(%rbp), %rax
movq 0x10(%rbp), %rax
movq %rdi, -0x28(%rbp)
movq %rsi, -0x30(%rbp)
movq %rdx, -0x38(%rbp)
movl %ecx, -0x3c(%rbp)
movl %r8d, -0x40(%rbp)
movl %r9d, -0x44(%rbp)
movl -0x44(%rbp), %eax
cmpl 0x8891(%rip), %eax      # 0xd738
jne 0x4ef7
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq -0x38(%rbp), %rdx
movl -0x3c(%rbp), %ecx
movl -0x40(%rbp), %r8d
movq 0x10(%rbp), %r9
movq 0x18(%rbp), %r14
movq 0x20(%rbp), %rbx
movq 0x28(%rbp), %r11
movq 0x30(%rbp), %r10
movl 0x38(%rbp), %eax
movq %r14, (%rsp)
movq %rbx, 0x8(%rsp)
movq %r11, 0x10(%rsp)
movq %r10, 0x18(%rsp)
movl %eax, 0x20(%rsp)
callq 0x4620
movl %eax, -0x1c(%rbp)
jmp 0x5685
movl $0x0, -0x48(%rbp)
cmpl $0x1, -0x44(%rbp)
jle 0x4f1a
movl -0x44(%rbp), %eax
subl $0x1, %eax
movslq %eax, %rcx
leaq 0x879c(%rip), %rax      # 0xd6b0
movl (%rax,%rcx,4), %eax
movl %eax, -0x48(%rbp)
movslq -0x44(%rbp), %rcx
leaq 0x878b(%rip), %rax      # 0xd6b0
movl (%rax,%rcx,4), %eax
movl %eax, -0x4c(%rbp)
movl -0x4c(%rbp), %eax
movl -0x44(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rdx
leaq 0x8772(%rip), %rcx      # 0xd6b0
cmpl (%rcx,%rdx,4), %eax
jge 0x567e
movl $0x0, -0x50(%rbp)
movq -0x30(%rbp), %rax
movslq -0x4c(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x54(%rbp)
movl -0x54(%rbp), %eax
movq -0x30(%rbp), %rcx
movl -0x4c(%rbp), %edx
addl $0x1, %edx
movslq %edx, %rdx
cmpl (%rcx,%rdx,4), %eax
jge 0x566e
movl -0x48(%rbp), %eax
movq -0x28(%rbp), %rcx
movslq -0x54(%rbp), %rdx
addl (%rcx,%rdx,4), %eax
movl -0x44(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rdx
leaq 0x81ed(%rip), %rcx      # 0xd180
imulq $0x28, %rdx, %rdx
addq %rdx, %rcx
cmpl 0x8(%rcx), %eax
jne 0x5630
movl 0x8763(%rip), %eax      # 0xd70c
addl $0x1, %eax
movl %eax, 0x875a(%rip)      # 0xd70c
movl $0x0, -0x58(%rbp)
cmpl $0xa, -0x58(%rbp)
jge 0x5001
movl -0x44(%rbp), %eax
subl $0x1, %eax
movslq %eax, %rcx
leaq 0x81b1(%rip), %rax      # 0xd180
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movslq -0x58(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movslq -0x44(%rbp), %rcx
leaq 0x8198(%rip), %rax      # 0xd180
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movslq -0x58(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x58(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x58(%rbp)
jmp 0x4fb9
movl -0x54(%rbp), %eax
movq -0x30(%rbp), %rcx
movslq -0x4c(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
je 0x502d
movl -0x44(%rbp), %eax
subl $0x1, %eax
movslq %eax, %rcx
leaq 0x815f(%rip), %rax      # 0xd180
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
cmpl $-0x1, (%rax)
jle 0x5032
jmp 0x5180
movslq -0x44(%rbp), %rcx
leaq 0x8143(%rip), %rax      # 0xd180
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
cmpl $-0x1, 0x4(%rax)
jne 0x5138
movl -0x48(%rbp), %ecx
movq -0x28(%rbp), %rax
movl -0x54(%rbp), %edx
subl $0x1, %edx
movslq %edx, %rdx
addl (%rax,%rdx,4), %ecx
movslq -0x44(%rbp), %rdx
leaq 0x8114(%rip), %rax      # 0xd180
imulq $0x28, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 0x4(%rax)
movq -0x30(%rbp), %rax
movslq -0x4c(%rbp), %rcx
movl (%rax,%rcx,4), %eax
addl $0x1, %eax
cmpl -0x54(%rbp), %eax
jge 0x50b0
movl -0x48(%rbp), %ecx
movq -0x28(%rbp), %rax
movl -0x54(%rbp), %edx
subl $0x2, %edx
movslq %edx, %rdx
addl (%rax,%rdx,4), %ecx
movslq -0x44(%rbp), %rdx
leaq 0x80d9(%rip), %rax      # 0xd180
imulq $0x28, %rdx, %rdx
addq %rdx, %rax
movl %ecx, (%rax)
movslq -0x44(%rbp), %rcx
leaq 0x80c5(%rip), %rax      # 0xd180
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movl 0x1c(%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
cmpl $0x0, %edx
jne 0x5117
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
movl -0x44(%rbp), %edx
subl $0x1, %edx
movl 0x38(%rbp), %ecx
movl -0x44(%rbp), %r8d
movl -0x3c(%rbp), %r9d
callq 0x3de0
cmpl $-0x1, %eax
jne 0x50fa
jmp 0x5660
movslq -0x44(%rbp), %rcx
leaq 0x807b(%rip), %rax      # 0xd180
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movl 0x1c(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x1c(%rax)
jmp 0x5136
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq -0x38(%rbp), %rdx
movl -0x44(%rbp), %ecx
subl $0x1, %ecx
movl 0x38(%rbp), %r8d
movl -0x44(%rbp), %r9d
callq 0x3c50
jmp 0x517e
movl -0x48(%rbp), %ecx
movq -0x28(%rbp), %rax
movl -0x54(%rbp), %edx
subl $0x1, %edx
movslq %edx, %rdx
addl (%rax,%rdx,4), %ecx
movslq -0x44(%rbp), %rdx
leaq 0x802a(%rip), %rax      # 0xd180
imulq $0x28, %rdx, %rdx
addq %rdx, %rax
movl %ecx, (%rax)
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq -0x38(%rbp), %rdx
movl -0x44(%rbp), %ecx
subl $0x1, %ecx
movl 0x38(%rbp), %r8d
movl -0x44(%rbp), %r9d
callq 0x3b80
jmp 0x5180
movl -0x54(%rbp), %eax
addl $0x1, %eax
movq -0x30(%rbp), %rcx
movl -0x4c(%rbp), %edx
addl $0x1, %edx
movslq %edx, %rdx
cmpl (%rcx,%rdx,4), %eax
jge 0x53de
movl -0x44(%rbp), %eax
subl $0x1, %eax
movslq %eax, %rcx
leaq 0x7fd4(%rip), %rax      # 0xd180
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
cmpl $-0x1, 0x18(%rax)
jne 0x53de
movslq -0x44(%rbp), %rcx
leaq 0x7fb8(%rip), %rax      # 0xd180
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
cmpl $-0x1, 0x14(%rax)
jne 0x5394
movslq -0x44(%rbp), %rcx
leaq 0x7f9c(%rip), %rax      # 0xd180
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
cmpl $-0x1, 0x10(%rax)
jne 0x530a
movl -0x48(%rbp), %ecx
movq -0x28(%rbp), %rax
movl -0x54(%rbp), %edx
addl $0x1, %edx
movslq %edx, %rdx
addl (%rax,%rdx,4), %ecx
movslq -0x44(%rbp), %rdx
leaq 0x7f6d(%rip), %rax      # 0xd180
imulq $0x28, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 0x10(%rax)
movl -0x54(%rbp), %eax
addl $0x2, %eax
movq -0x30(%rbp), %rcx
movl -0x4c(%rbp), %edx
addl $0x1, %edx
movslq %edx, %rdx
cmpl (%rcx,%rdx,4), %eax
jge 0x525d
movl -0x48(%rbp), %ecx
movq -0x28(%rbp), %rax
movl -0x54(%rbp), %edx
addl $0x2, %edx
movslq %edx, %rdx
addl (%rax,%rdx,4), %ecx
movslq -0x44(%rbp), %rdx
leaq 0x7f2d(%rip), %rax      # 0xd180
imulq $0x28, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 0x14(%rax)
movl -0x54(%rbp), %eax
addl $0x3, %eax
movq -0x30(%rbp), %rcx
movl -0x4c(%rbp), %edx
addl $0x1, %edx
movslq %edx, %rdx
cmpl (%rcx,%rdx,4), %eax
jge 0x529d
movl -0x48(%rbp), %ecx
movq -0x28(%rbp), %rax
movl -0x54(%rbp), %edx
addl $0x3, %edx
movslq %edx, %rdx
addl (%rax,%rdx,4), %ecx
movslq -0x44(%rbp), %rdx
leaq 0x7eed(%rip), %rax      # 0xd180
imulq $0x28, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 0x18(%rax)
movslq -0x44(%rbp), %rcx
leaq 0x7ed8(%rip), %rax      # 0xd180
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movl 0x1c(%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
cmpl $0x1, %eax
jge 0x52e5
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
movl -0x44(%rbp), %edx
subl $0x1, %edx
movl 0x38(%rbp), %ecx
movl -0x44(%rbp), %r8d
callq 0x3820
cmpl $-0x1, %eax
jne 0x52e3
jmp 0x5660
jmp 0x5305
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
movl -0x44(%rbp), %edx
subl $0x1, %edx
movl 0x38(%rbp), %ecx
movl -0x44(%rbp), %r8d
movl $0x3, %r9d
callq 0x35e0
jmp 0x5392
movl -0x48(%rbp), %ecx
movq -0x28(%rbp), %rax
movl -0x54(%rbp), %edx
addl $0x1, %edx
movslq %edx, %rdx
addl (%rax,%rdx,4), %ecx
movslq -0x44(%rbp), %rdx
leaq 0x7e58(%rip), %rax      # 0xd180
imulq $0x28, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 0x14(%rax)
movl -0x54(%rbp), %eax
addl $0x2, %eax
movq -0x30(%rbp), %rcx
movl -0x4c(%rbp), %edx
addl $0x1, %edx
movslq %edx, %rdx
cmpl (%rcx,%rdx,4), %eax
jge 0x5372
movl -0x48(%rbp), %ecx
movq -0x28(%rbp), %rax
movl -0x54(%rbp), %edx
addl $0x2, %edx
movslq %edx, %rdx
addl (%rax,%rdx,4), %ecx
movslq -0x44(%rbp), %rdx
leaq 0x7e18(%rip), %rax      # 0xd180
imulq $0x28, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 0x18(%rax)
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
movl -0x44(%rbp), %edx
subl $0x1, %edx
movl 0x38(%rbp), %ecx
movl -0x44(%rbp), %r8d
movl $0x2, %r9d
callq 0x35e0
jmp 0x53dc
movl -0x48(%rbp), %ecx
movq -0x28(%rbp), %rax
movl -0x54(%rbp), %edx
addl $0x1, %edx
movslq %edx, %rdx
addl (%rax,%rdx,4), %ecx
movslq -0x44(%rbp), %rdx
leaq 0x7dce(%rip), %rax      # 0xd180
imulq $0x28, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 0x18(%rax)
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
movl -0x44(%rbp), %edx
subl $0x1, %edx
movl 0x38(%rbp), %ecx
movl -0x44(%rbp), %r8d
movl $0x1, %r9d
callq 0x35e0
jmp 0x53de
movslq -0x44(%rbp), %rcx
leaq 0x7d97(%rip), %rax      # 0xd180
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
cmpl $-0x1, 0x18(%rax)
jle 0x5529
movslq -0x44(%rbp), %rcx
leaq 0x7d7b(%rip), %rax      # 0xd180
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
cmpl $-0x1, (%rax)
jle 0x5529
movslq -0x44(%rbp), %rcx
leaq 0x7d60(%rip), %rax      # 0xd180
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movl 0x4(%rax), %eax
movl %eax, -0x60(%rbp)
movslq -0x44(%rbp), %rcx
leaq 0x7d48(%rip), %rax      # 0xd180
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movl (%rax), %eax
movl %eax, -0x5c(%rbp)
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq 0x28(%rbp), %rdx
movq 0x10(%rbp), %rcx
leaq -0x60(%rbp), %r8
movl -0x44(%rbp), %r9d
subl 0x38(%rbp), %r9d
subl $0x1, %r9d
callq 0x27e0
movl %eax, -0x64(%rbp)
cmpl $0x0, -0x64(%rbp)
jne 0x5524
movslq -0x44(%rbp), %rcx
leaq 0x7cff(%rip), %rax      # 0xd180
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movl 0x10(%rax), %eax
movl %eax, -0x70(%rbp)
movslq -0x44(%rbp), %rcx
leaq 0x7ce7(%rip), %rax      # 0xd180
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movl 0x14(%rax), %eax
movl %eax, -0x6c(%rbp)
movslq -0x44(%rbp), %rcx
leaq 0x7ccf(%rip), %rax      # 0xd180
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movl 0x18(%rax), %eax
movl %eax, -0x68(%rbp)
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq 0x30(%rbp), %rdx
movq 0x18(%rbp), %rcx
leaq -0x70(%rbp), %r8
movl -0x44(%rbp), %r9d
subl 0x38(%rbp), %r9d
subl $0x1, %r9d
callq 0x2ae0
movl %eax, -0x64(%rbp)
cmpl $0x0, -0x64(%rbp)
jne 0x5522
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq -0x38(%rbp), %rdx
movl -0x4c(%rbp), %ecx
movl -0x44(%rbp), %r8d
addl $0x1, %r8d
movslq -0x44(%rbp), %r9
leaq 0x7c72(%rip), %rax      # 0xd180
imulq $0x28, %r9, %r9
addq %r9, %rax
movl 0xc(%rax), %r9d
addl -0x50(%rbp), %r9d
callq 0x4130
jmp 0x5524
jmp 0x562e
movslq -0x44(%rbp), %rcx
leaq 0x7c4c(%rip), %rax      # 0xd180
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movl 0x10(%rax), %eax
movl %eax, -0x7c(%rbp)
movslq -0x44(%rbp), %rcx
leaq 0x7c34(%rip), %rax      # 0xd180
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movl 0x14(%rax), %eax
movl %eax, -0x78(%rbp)
movslq -0x44(%rbp), %rcx
leaq 0x7c1c(%rip), %rax      # 0xd180
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movl 0x18(%rax), %eax
movl %eax, -0x74(%rbp)
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq 0x30(%rbp), %rdx
movq 0x18(%rbp), %rcx
leaq -0x7c(%rbp), %r8
movl -0x44(%rbp), %r9d
subl 0x38(%rbp), %r9d
subl $0x1, %r9d
callq 0x2ae0
movl %eax, -0x80(%rbp)
cmpl $-0x1, -0x80(%rbp)
je 0x562c
movl -0x4c(%rbp), %ecx
movslq -0x44(%rbp), %rdx
leaq 0x7bcf(%rip), %rax      # 0xd180
imulq $0x28, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 0x8(%rax)
movl -0x50(%rbp), %ecx
movslq -0x44(%rbp), %rdx
leaq 0x7bb7(%rip), %rax      # 0xd180
imulq $0x28, %rdx, %rdx
addq %rdx, %rax
addl 0xc(%rax), %ecx
movl %ecx, 0xc(%rax)
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq -0x38(%rbp), %rdx
movl -0x3c(%rbp), %ecx
movl -0x40(%rbp), %r8d
movl -0x44(%rbp), %r9d
addl $0x1, %r9d
movq 0x10(%rbp), %r15
movq 0x18(%rbp), %r14
movq 0x20(%rbp), %rbx
movq 0x28(%rbp), %r11
movq 0x30(%rbp), %r10
movl 0x38(%rbp), %eax
addl $0x1, %eax
movq %r15, (%rsp)
movq %r14, 0x8(%rsp)
movq %rbx, 0x10(%rsp)
movq %r11, 0x18(%rsp)
movq %r10, 0x20(%rsp)
movl %eax, 0x28(%rsp)
callq 0x4e60
jmp 0x562e
jmp 0x5630
cmpl $0x0, -0x44(%rbp)
jle 0x5655
movq -0x38(%rbp), %rax
movl -0x48(%rbp), %ecx
movq -0x28(%rbp), %rdx
movslq -0x54(%rbp), %rsi
addl (%rdx,%rsi,4), %ecx
movl %ecx, %ecx
movl (%rax,%rcx,4), %eax
addl -0x50(%rbp), %eax
movl %eax, -0x50(%rbp)
jmp 0x565e
movl -0x50(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x50(%rbp)
jmp 0x5660
movl -0x54(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x54(%rbp)
jmp 0x4f5c
jmp 0x5670
movl -0x4c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4c(%rbp)
jmp 0x4f2b
movl $0x1, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
addq $0x98, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nopw %cs:(%rax,%rax)