// File: TooruAkagi[P]GCIS_Index/gcis_uni_locate.cpp
// Function: findups(int*, int, int, int, int*, int*, int*, int*, int*, int)
int findups(int *m,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,loops);
        for(int i = 0; i<10; i++){printf("[%d]",occart2[round-1][i]);}
        uhdisp(occart2[round-1][2]);
    }
    if(round==loops){return findupsintop(m,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++){
        std::vector<int> x;
        xdisp(x,y8);
        int ofs = 0;
        for(int y9=0;y9<x.size();y9++){
            //printf(" %d",rofs+D[y9]);
            if(rofs+x[y9]==occart2[round-1][2]){ //該当する1文字を見つけたら
                gate++;
                if(DEBUGFLAG==1){
                     printf("\n[%dの%d文字目に発見(+%d)]",y8,y9,ofs);
                }
                coreans++;
                //左がないなら左を探す(このroundで1つ見つかれば良い)
                for(int i = 0; i<10; i++){occart2[round][i] = occart2[round-1][i];} //コアを見つけたら下階層からゲット
                if(y9==0 || occart2[round-1][0]>-1){ //先頭にないか，左[0]が埋まっているなら左は追加できない
                }
                else{ 
                    if(occart2[round][1] == -1){ //2つとも埋まっていないなら
                        occart2[round][1] = rofs+x[y9-1];
                        if(1<y9){occart2[round][0] = rofs+x[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(m,round-1,count,round,startm)==-1){
                                 if(DEBUGFLAG==1){printf("Aミスマッチ");}
                                continue;
                            }
                            else{occart2[round][7]++;} //1文字少なくとも入れたはずだし0が帰ってきていれば必ずAコアは調べ終わっている
                        }
                        else{leftopennd(m,round-1,count,round);}
                    }
                    else{ //1つ埋まっていないなら
                        occart2[round][0] = rofs+x[y9-1];
                        leftopen(m,round-1,count,round);
                    }
                }
                //printf("\n演算[%d = %d][%d]",y9+1,D_2[y8],occart2[round-1][6]);
                if(y9+1<x.size() && occart2[round-1][6]==-1){ //右があり，右が埋まっていないなら
                    if(occart2[round][5]==-1){ //2文字埋まってないなら
                        if(occart2[round][4]==-1){ //3文字埋まってないなら
                            occart2[round][4] = rofs+x[y9+1];
                            if(y9+2<x.size()){occart2[round][5] = rofs+x[y9+2];}
                            if(y9+3<x.size()){occart2[round][6] = rofs+x[y9+3];}
                            if(occart2[round][7]/2<1){
                                if(coreCcheck(m,round-1,count,round)==-1){
                                     if(DEBUGFLAG==1){printf("Cコアミスマッチ");}
                                    continue;}
                            } //Cのチェックもしていないなら
                            else{rightopennd3(m,round-1,count,round,3);}
                        }
                        else{
                            occart2[round][5] = rofs+x[y9+1];
                            if(y9+2<x.size()){occart2[round][6] = rofs+x[y9+2];}
                            rightopennd3(m,round-1,count,round,2);
                        }
                    }
                    else{ //1つだけ
                        occart2[round][6] = rofs+x[y9+1];
                        rightopennd3(m,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(m,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(m,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(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(m,Rs,B2,e,round-count-1);
                    if(tk!=-1){
                        occart2[round][2] = y8;occart2[round][3] += ofs;
                        findups(m,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+=D3access(rofs+x[y9]);}else{ofs++;}
        }
    }
   if(DEBUGFLAG==1){printf("\nfindups--[%d]探し 終了--\n",occart2[round-1][2]);}
    return 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x130, %rsp            # imm = 0x130
movl 0x28(%rbp), %eax
movq 0x20(%rbp), %rax
movq 0x18(%rbp), %rax
movq 0x10(%rbp), %rax
movq %rdi, -0x20(%rbp)
movl %esi, -0x24(%rbp)
movl %edx, -0x28(%rbp)
movl %ecx, -0x2c(%rbp)
movq %r8, -0x38(%rbp)
movq %r9, -0x40(%rbp)
movl -0x2c(%rbp), %eax
cmpl 0x7e81(%rip), %eax      # 0xe19c
jne 0x6358
movq -0x20(%rbp), %rdi
movl -0x24(%rbp), %esi
movl -0x28(%rbp), %edx
movq -0x38(%rbp), %rcx
movq -0x40(%rbp), %r8
movq 0x10(%rbp), %r9
movq 0x18(%rbp), %r11
movq 0x20(%rbp), %r10
movl 0x28(%rbp), %eax
movq %r11, (%rsp)
movq %r10, 0x8(%rsp)
movl %eax, 0x10(%rsp)
callq 0x5ae0
movl %eax, -0x14(%rbp)
jmp 0x6bf6
movl $0x0, -0x44(%rbp)
cmpl $0x1, -0x2c(%rbp)
jle 0x637b
movl -0x2c(%rbp), %eax
subl $0x1, %eax
movslq %eax, %rcx
leaq 0x7f7b(%rip), %rax      # 0xe2f0
movl (%rax,%rcx,4), %eax
movl %eax, -0x44(%rbp)
movslq -0x2c(%rbp), %rcx
leaq 0x7f6a(%rip), %rax      # 0xe2f0
movl (%rax,%rcx,4), %eax
movl %eax, -0x48(%rbp)
movl -0x48(%rbp), %eax
movl -0x2c(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rdx
leaq 0x7f51(%rip), %rcx      # 0xe2f0
cmpl (%rcx,%rdx,4), %eax
jge 0x6bef
leaq -0x60(%rbp), %rdi
movq %rdi, -0xa8(%rbp)
callq 0x9db0
movq -0xa8(%rbp), %rdi
movl -0x48(%rbp), %esi
callq 0x34c0
jmp 0x63c9
movl $0x0, -0x70(%rbp)
movl $0x0, -0x74(%rbp)
movslq -0x74(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x9d90
movq %rax, %rcx
movq -0xb0(%rbp), %rax
cmpq %rcx, %rax
jae 0x6bd8
movl -0x44(%rbp), %eax
movl %eax, -0xb4(%rbp)
movslq -0x74(%rbp), %rsi
leaq -0x60(%rbp), %rdi
callq 0x9dd0
movq %rax, %rcx
movl -0xb4(%rbp), %eax
addl (%rcx), %eax
movl -0x2c(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rdx
leaq 0xb091(%rip), %rcx      # 0x114c0
imulq $0x28, %rdx, %rdx
addq %rdx, %rcx
cmpl 0x8(%rcx), %eax
jne 0x6b8e
movl 0x808f(%rip), %eax      # 0xe4d4
addl $0x1, %eax
movl %eax, 0x8086(%rip)      # 0xe4d4
movl 0x7fd8(%rip), %eax      # 0xe42c
addl $0x1, %eax
movl %eax, 0x7fcf(%rip)      # 0xe42c
movl $0x0, -0x78(%rbp)
cmpl $0xa, -0x78(%rbp)
jge 0x64c6
movl -0x2c(%rbp), %eax
subl $0x1, %eax
movslq %eax, %rcx
leaq 0xb046(%rip), %rax      # 0x114c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movslq -0x78(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movslq -0x2c(%rbp), %rcx
leaq 0xb02d(%rip), %rax      # 0x114c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movslq -0x78(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x78(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x78(%rbp)
jmp 0x6464
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x9df0
jmp 0x6c05
cmpl $0x0, -0x74(%rbp)
je 0x64e8
movl -0x2c(%rbp), %eax
subl $0x1, %eax
movslq %eax, %rcx
leaq 0xafe4(%rip), %rax      # 0x114c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
cmpl $-0x1, (%rax)
jle 0x64ed
jmp 0x6658
movslq -0x2c(%rbp), %rcx
leaq 0xafc8(%rip), %rax      # 0x114c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
cmpl $-0x1, 0x4(%rax)
jne 0x6609
movl -0x44(%rbp), %eax
movl %eax, -0xb8(%rbp)
movl -0x74(%rbp), %eax
subl $0x1, %eax
movslq %eax, %rsi
leaq -0x60(%rbp), %rdi
callq 0x9dd0
movl -0xb8(%rbp), %ecx
addl (%rax), %ecx
movslq -0x2c(%rbp), %rdx
leaq 0xaf89(%rip), %rax      # 0x114c0
imulq $0x28, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 0x4(%rax)
movl $0x1, %eax
cmpl -0x74(%rbp), %eax
jge 0x6582
movl -0x44(%rbp), %eax
movl %eax, -0xbc(%rbp)
movl -0x74(%rbp), %eax
subl $0x2, %eax
movslq %eax, %rsi
leaq -0x60(%rbp), %rdi
callq 0x9dd0
movl -0xbc(%rbp), %ecx
addl (%rax), %ecx
movslq -0x2c(%rbp), %rdx
leaq 0xaf47(%rip), %rax      # 0x114c0
imulq $0x28, %rdx, %rdx
addq %rdx, %rax
movl %ecx, (%rax)
movslq -0x2c(%rbp), %rcx
leaq 0xaf33(%rip), %rax      # 0x114c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movl 0x1c(%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
cmpl $0x0, %edx
jne 0x65f0
movq -0x20(%rbp), %rdi
movl -0x2c(%rbp), %ecx
movl %ecx, %esi
decl %esi
movl 0x28(%rbp), %edx
movl -0x24(%rbp), %r8d
callq 0x5120
movl %eax, -0xc0(%rbp)
jmp 0x65c3
movl -0xc0(%rbp), %eax
cmpl $-0x1, %eax
jne 0x65d3
jmp 0x6bca
movslq -0x2c(%rbp), %rcx
leaq 0xaee2(%rip), %rax      # 0x114c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movl 0x1c(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x1c(%rax)
jmp 0x6607
movq -0x20(%rbp), %rdi
movl -0x2c(%rbp), %ecx
movl %ecx, %esi
decl %esi
movl 0x28(%rbp), %edx
callq 0x4f80
jmp 0x6605
jmp 0x6607
jmp 0x6656
movl -0x44(%rbp), %eax
movl %eax, -0xc4(%rbp)
movl -0x74(%rbp), %eax
decl %eax
movslq %eax, %rsi
leaq -0x60(%rbp), %rdi
callq 0x9dd0
movl -0xc4(%rbp), %edx
movl (%rax), %eax
addl %eax, %edx
movslq -0x2c(%rbp), %rax
leaq (%rax,%rax,4), %rcx
leaq 0xae84(%rip), %rax      # 0x114c0
movl %edx, (%rax,%rcx,8)
movq -0x20(%rbp), %rdi
movl -0x2c(%rbp), %ecx
movl %ecx, %esi
decl %esi
movl 0x28(%rbp), %edx
callq 0x4e70
jmp 0x6654
jmp 0x6656
jmp 0x6658
movl -0x74(%rbp), %eax
addl $0x1, %eax
cltq
movq %rax, -0xd0(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x9d90
movq %rax, %rcx
movq -0xd0(%rbp), %rax
cmpq %rcx, %rax
jae 0x694f
movl -0x2c(%rbp), %eax
subl $0x1, %eax
movslq %eax, %rcx
leaq 0xae2d(%rip), %rax      # 0x114c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
cmpl $-0x1, 0x18(%rax)
jne 0x694f
movslq -0x2c(%rbp), %rcx
leaq 0xae11(%rip), %rax      # 0x114c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
cmpl $-0x1, 0x14(%rax)
jne 0x68f9
movslq -0x2c(%rbp), %rcx
leaq 0xadf5(%rip), %rax      # 0x114c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
cmpl $-0x1, 0x10(%rax)
jne 0x6843
movl -0x44(%rbp), %eax
movl %eax, -0xdc(%rbp)
movl -0x74(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rsi
leaq -0x60(%rbp), %rdi
callq 0x9dd0
movl -0xdc(%rbp), %ecx
addl (%rax), %ecx
movslq -0x2c(%rbp), %rdx
leaq 0xadb6(%rip), %rax      # 0x114c0
imulq $0x28, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 0x10(%rax)
movl -0x74(%rbp), %eax
addl $0x2, %eax
cltq
movq %rax, -0xd8(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x9d90
movq %rax, %rcx
movq -0xd8(%rbp), %rax
cmpq %rcx, %rax
jae 0x6773
movl -0x44(%rbp), %eax
movl %eax, -0xe0(%rbp)
movl -0x74(%rbp), %eax
addl $0x2, %eax
movslq %eax, %rsi
leaq -0x60(%rbp), %rdi
callq 0x9dd0
movl -0xe0(%rbp), %ecx
addl (%rax), %ecx
movslq -0x2c(%rbp), %rdx
leaq 0xad57(%rip), %rax      # 0x114c0
imulq $0x28, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 0x14(%rax)
movl -0x74(%rbp), %eax
addl $0x3, %eax
cltq
movq %rax, -0xe8(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x9d90
movq %rax, %rcx
movq -0xe8(%rbp), %rax
cmpq %rcx, %rax
jae 0x67d2
movl -0x44(%rbp), %eax
movl %eax, -0xec(%rbp)
movl -0x74(%rbp), %eax
addl $0x3, %eax
movslq %eax, %rsi
leaq -0x60(%rbp), %rdi
callq 0x9dd0
movl -0xec(%rbp), %ecx
addl (%rax), %ecx
movslq -0x2c(%rbp), %rdx
leaq 0xacf8(%rip), %rax      # 0x114c0
imulq $0x28, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 0x18(%rax)
movslq -0x2c(%rbp), %rcx
leaq 0xace3(%rip), %rax      # 0x114c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movl 0x1c(%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
cmpl $0x1, %eax
jge 0x6821
movq -0x20(%rbp), %rdi
movl -0x2c(%rbp), %ecx
movl %ecx, %esi
decl %esi
movl 0x28(%rbp), %edx
callq 0x4ab0
movl %eax, -0xf0(%rbp)
jmp 0x680f
movl -0xf0(%rbp), %eax
cmpl $-0x1, %eax
jne 0x681f
jmp 0x6bca
jmp 0x683e
movq -0x20(%rbp), %rdi
movl -0x2c(%rbp), %ecx
movl %ecx, %esi
decl %esi
movl 0x28(%rbp), %edx
movl $0x3, %r8d
callq 0x4820
jmp 0x683c
jmp 0x683e
jmp 0x68f7
movl -0x44(%rbp), %eax
movl %eax, -0xfc(%rbp)
movl -0x74(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rsi
leaq -0x60(%rbp), %rdi
callq 0x9dd0
movl -0xfc(%rbp), %ecx
addl (%rax), %ecx
movslq -0x2c(%rbp), %rdx
leaq 0xac4f(%rip), %rax      # 0x114c0
imulq $0x28, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 0x14(%rax)
movl -0x74(%rbp), %eax
addl $0x2, %eax
cltq
movq %rax, -0xf8(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x9d90
movq %rax, %rcx
movq -0xf8(%rbp), %rax
cmpq %rcx, %rax
jae 0x68da
movl -0x44(%rbp), %eax
movl %eax, -0x100(%rbp)
movl -0x74(%rbp), %eax
addl $0x2, %eax
movslq %eax, %rsi
leaq -0x60(%rbp), %rdi
callq 0x9dd0
movl -0x100(%rbp), %ecx
addl (%rax), %ecx
movslq -0x2c(%rbp), %rdx
leaq 0xabf0(%rip), %rax      # 0x114c0
imulq $0x28, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 0x18(%rax)
movq -0x20(%rbp), %rdi
movl -0x2c(%rbp), %ecx
movl %ecx, %esi
decl %esi
movl 0x28(%rbp), %edx
movl $0x2, %r8d
callq 0x4820
jmp 0x68f5
jmp 0x68f7
jmp 0x694d
movl -0x44(%rbp), %eax
movl %eax, -0x104(%rbp)
movl -0x74(%rbp), %eax
incl %eax
movslq %eax, %rsi
leaq -0x60(%rbp), %rdi
callq 0x9dd0
movl -0x104(%rbp), %edx
movl (%rax), %eax
addl %eax, %edx
movslq -0x2c(%rbp), %rax
leaq (%rax,%rax,4), %rcx
leaq 0xab94(%rip), %rax      # 0x114c0
movl %edx, 0x18(%rax,%rcx,8)
movq -0x20(%rbp), %rdi
movl -0x2c(%rbp), %ecx
movl %ecx, %esi
decl %esi
movl 0x28(%rbp), %edx
movl $0x1, %r8d
callq 0x4820
jmp 0x694b
jmp 0x694d
jmp 0x694f
movslq -0x2c(%rbp), %rcx
leaq 0xab66(%rip), %rax      # 0x114c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
cmpl $-0x1, 0x18(%rax)
jle 0x6a9b
movslq -0x2c(%rbp), %rcx
leaq 0xab4a(%rip), %rax      # 0x114c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
cmpl $-0x1, (%rax)
jle 0x6a9b
movslq -0x2c(%rbp), %rax
leaq (%rax,%rax,4), %rcx
leaq 0xab2b(%rip), %rax      # 0x114c0
movl 0x4(%rax,%rcx,8), %ecx
movl %ecx, -0x80(%rbp)
movslq -0x2c(%rbp), %rcx
leaq (%rcx,%rcx,4), %rcx
movl (%rax,%rcx,8), %eax
movl %eax, -0x7c(%rbp)
movq -0x20(%rbp), %rdi
movq 0x18(%rbp), %rsi
movq -0x38(%rbp), %rdx
movl -0x2c(%rbp), %eax
movl 0x28(%rbp), %r8d
notl %r8d
addl %eax, %r8d
leaq -0x80(%rbp), %rcx
callq 0x3520
movl %eax, -0x108(%rbp)
jmp 0x69d4
movl -0x108(%rbp), %eax
movl %eax, -0x84(%rbp)
cmpl $0x0, -0x84(%rbp)
jne 0x6a96
movslq -0x2c(%rbp), %rax
leaq (%rax,%rax,4), %rcx
leaq 0xaac4(%rip), %rax      # 0x114c0
movl 0x10(%rax,%rcx,8), %ecx
movl %ecx, -0x90(%rbp)
movslq -0x2c(%rbp), %rcx
leaq (%rcx,%rcx,4), %rcx
movl 0x14(%rax,%rcx,8), %ecx
movl %ecx, -0x8c(%rbp)
movslq -0x2c(%rbp), %rcx
leaq (%rcx,%rcx,4), %rcx
movl 0x18(%rax,%rcx,8), %eax
movl %eax, -0x88(%rbp)
movq -0x20(%rbp), %rdi
movq 0x20(%rbp), %rsi
movq -0x40(%rbp), %rdx
movl -0x2c(%rbp), %eax
movl 0x28(%rbp), %r8d
notl %r8d
addl %eax, %r8d
leaq -0x90(%rbp), %rcx
callq 0x3990
movl %eax, -0x10c(%rbp)
jmp 0x6a57
movl -0x10c(%rbp), %eax
movl %eax, -0x84(%rbp)
cmpl $0x0, -0x84(%rbp)
jne 0x6a94
movl -0x48(%rbp), %edi
movslq -0x2c(%rbp), %rax
movl %eax, %esi
incl %esi
leaq (%rax,%rax,4), %rcx
leaq 0xaa3e(%rip), %rax      # 0x114c0
movl 0xc(%rax,%rcx,8), %edx
movl -0x70(%rbp), %eax
addl %eax, %edx
callq 0x5950
jmp 0x6a92
jmp 0x6a94
jmp 0x6a96
jmp 0x6b8c
movslq -0x2c(%rbp), %rax
leaq (%rax,%rax,4), %rcx
leaq 0xaa16(%rip), %rax      # 0x114c0
movl 0x10(%rax,%rcx,8), %ecx
movl %ecx, -0x9c(%rbp)
movslq -0x2c(%rbp), %rcx
leaq (%rcx,%rcx,4), %rcx
movl 0x14(%rax,%rcx,8), %ecx
movl %ecx, -0x98(%rbp)
movslq -0x2c(%rbp), %rcx
leaq (%rcx,%rcx,4), %rcx
movl 0x18(%rax,%rcx,8), %eax
movl %eax, -0x94(%rbp)
movq -0x20(%rbp), %rdi
movq 0x20(%rbp), %rsi
movq -0x40(%rbp), %rdx
movl -0x2c(%rbp), %eax
movl 0x28(%rbp), %r8d
notl %r8d
addl %eax, %r8d
leaq -0x9c(%rbp), %rcx
callq 0x3990
movl %eax, -0x110(%rbp)
jmp 0x6b05
movl -0x110(%rbp), %eax
movl %eax, -0xa0(%rbp)
cmpl $-0x1, -0xa0(%rbp)
je 0x6b8a
movl -0x48(%rbp), %edx
movslq -0x2c(%rbp), %rax
leaq (%rax,%rax,4), %rcx
leaq 0xa994(%rip), %rax      # 0x114c0
movl %edx, 0x8(%rax,%rcx,8)
movl -0x70(%rbp), %esi
movslq -0x2c(%rbp), %rcx
leaq (%rcx,%rcx,4), %rcx
movl 0xc(%rax,%rcx,8), %edx
addl %esi, %edx
movl %edx, 0xc(%rax,%rcx,8)
movq -0x20(%rbp), %rdi
movl -0x24(%rbp), %esi
movl -0x28(%rbp), %edx
movl -0x2c(%rbp), %ecx
incl %ecx
movq -0x38(%rbp), %r8
movq -0x40(%rbp), %r9
movq 0x10(%rbp), %r10
movq 0x18(%rbp), %r11
movq 0x20(%rbp), %rbx
movl 0x28(%rbp), %r14d
incl %r14d
movq %rsp, %rax
movl %r14d, 0x18(%rax)
movq %rbx, 0x10(%rax)
movq %r11, 0x8(%rax)
movq %r10, (%rax)
callq 0x62e0
jmp 0x6b88
jmp 0x6b8a
jmp 0x6b8c
jmp 0x6b8e
cmpl $0x0, -0x2c(%rbp)
jle 0x6bbf
movl -0x44(%rbp), %eax
movl %eax, -0x114(%rbp)
movslq -0x74(%rbp), %rsi
leaq -0x60(%rbp), %rdi
callq 0x9dd0
movl -0x114(%rbp), %edi
addl (%rax), %edi
callq 0x46f0
addl -0x70(%rbp), %eax
movl %eax, -0x70(%rbp)
jmp 0x6bc8
movl -0x70(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x70(%rbp)
jmp 0x6bca
movl -0x74(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x74(%rbp)
jmp 0x63d7
leaq -0x60(%rbp), %rdi
callq 0x9df0
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x638c
movl $0x1, -0x14(%rbp)
movl -0x14(%rbp), %eax
addq $0x130, %rsp            # imm = 0x130
popq %rbx
popq %r14
popq %rbp
retq
movq -0x68(%rbp), %rdi
callq 0x2250
nop