// File: yueww[P]TSR/index.cpp
// Function: index()
byte index(){
    int i;
    byte ret=0;
    while(outBase<inBase){
        /*
        for(i=0;i<FLOWPERPROCESS;i++){
            leafNode *pSrcLeafNode=locateLeafNode(srcIpRootNode,flowWaitExport[outBase+i],1);
            leafNode *pDstLeafNode=locateLeafNode(dstIpRootNode,flowWaitExport[outBase+i],2);
            recordIpIndexNum(pSrcLeafNode,flowWaitExport[outBase+i],1);
            recordIpIndexNum(pDstLeafNode,flowWaitExport[outBase+i],2);
            recordPortIndexNum(flowWaitExport[outBase+i],1);
            recordPortIndexNum(flowWaitExport[outBase+i],2);
            ret=judgeExport();
            if(ret!=0) return ret;
        }
        outBase+=FLOWPERPROCESS;
        */
        leafNode *pSrcLeafNode=locateLeafNode(srcIpRootNode,flowWaitExport[outBase],1);
        leafNode *pDstLeafNode=locateLeafNode(dstIpRootNode,flowWaitExport[outBase],2);
        recordIpIndexNum(pSrcLeafNode,flowWaitExport[outBase],1);
        recordIpIndexNum(pDstLeafNode,flowWaitExport[outBase],2);
        recordPortIndexNum(flowWaitExport[outBase],1);
        recordPortIndexNum(flowWaitExport[outBase],2);
        outBase++;
        ret=judgeExport();
        if(ret!=0) return ret;
    }
    return ret;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x190, %rsp            # imm = 0x190
movb $0x0, -0x9(%rbp)
movl 0x653d6e6f(%rip), %eax  # 0x653dc4f4
cmpl 0x653d6e65(%rip), %eax  # 0x653dc4f0
jge 0x58ee
movq 0x651d6e48(%rip), %rax  # 0x651dc4e0
movq %rax, -0x160(%rbp)
movslq 0x653d6e4e(%rip), %rax  # 0x653dc4f4
leaq 0xed39633(%rip), %rsi   # 0xed3ece0
imulq $0x30, %rax, %rax
addq %rax, %rsi
leaq -0x48(%rbp), %rdi
movl $0x30, %edx
callq 0x2260
movq -0x160(%rbp), %rdi
movups -0x48(%rbp), %xmm0
movups -0x38(%rbp), %xmm1
movups -0x28(%rbp), %xmm2
movq %rsp, %rax
movups %xmm2, 0x20(%rax)
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
movl $0x1, %esi
callq 0x5900
movq %rax, -0x18(%rbp)
movq 0x651d6df0(%rip), %rax  # 0x651dc4e8
movq %rax, -0x158(%rbp)
movslq 0x653d6dee(%rip), %rax  # 0x653dc4f4
leaq 0xed395d3(%rip), %rsi   # 0xed3ece0
imulq $0x30, %rax, %rax
addq %rax, %rsi
leaq -0x80(%rbp), %rdi
movl $0x30, %edx
callq 0x2260
movq -0x158(%rbp), %rdi
movups -0x80(%rbp), %xmm0
movups -0x70(%rbp), %xmm1
movups -0x60(%rbp), %xmm2
movq %rsp, %rax
movups %xmm2, 0x20(%rax)
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
movl $0x2, %esi
callq 0x5900
movq %rax, -0x50(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x150(%rbp)
movslq 0x653d6d91(%rip), %rax  # 0x653dc4f4
leaq 0xed39576(%rip), %rsi   # 0xed3ece0
imulq $0x30, %rax, %rax
addq %rax, %rsi
leaq -0xb0(%rbp), %rdi
movl $0x30, %edx
callq 0x2260
movq -0x150(%rbp), %rdi
movups -0xb0(%rbp), %xmm0
movups -0xa0(%rbp), %xmm1
movups -0x90(%rbp), %xmm2
movq %rsp, %rax
movups %xmm2, 0x20(%rax)
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
movl $0x1, %esi
callq 0x5b00
movq -0x50(%rbp), %rax
movq %rax, -0x148(%rbp)
movslq 0x653d6d2c(%rip), %rax  # 0x653dc4f4
leaq 0xed39511(%rip), %rsi   # 0xed3ece0
imulq $0x30, %rax, %rax
addq %rax, %rsi
leaq -0xe0(%rbp), %rdi
movl $0x30, %edx
callq 0x2260
movq -0x148(%rbp), %rdi
movups -0xe0(%rbp), %xmm0
movups -0xd0(%rbp), %xmm1
movups -0xc0(%rbp), %xmm2
movq %rsp, %rax
movups %xmm2, 0x20(%rax)
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
movl $0x2, %esi
callq 0x5b00
movslq 0x653d6cd2(%rip), %rax  # 0x653dc4f4
leaq 0xed394b7(%rip), %rsi   # 0xed3ece0
imulq $0x30, %rax, %rax
addq %rax, %rsi
leaq -0x110(%rbp), %rdi
movl $0x30, %edx
callq 0x2260
movups -0x110(%rbp), %xmm0
movups -0x100(%rbp), %xmm1
movups -0xf0(%rbp), %xmm2
movq %rsp, %rax
movups %xmm2, 0x20(%rax)
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
movl $0x1, %edi
callq 0x5c80
movslq 0x653d6c7f(%rip), %rax  # 0x653dc4f4
leaq 0xed39464(%rip), %rsi   # 0xed3ece0
imulq $0x30, %rax, %rax
addq %rax, %rsi
leaq -0x140(%rbp), %rdi
movl $0x30, %edx
callq 0x2260
movups -0x140(%rbp), %xmm0
movups -0x130(%rbp), %xmm1
movups -0x120(%rbp), %xmm2
movq %rsp, %rax
movups %xmm2, 0x20(%rax)
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
movl $0x2, %edi
callq 0x5c80
movl 0x653d6c2d(%rip), %eax  # 0x653dc4f4
addl $0x1, %eax
movl %eax, 0x653d6c24(%rip)  # 0x653dc4f4
callq 0x5e50
movb %al, -0x9(%rbp)
movzbl -0x9(%rbp), %eax
cmpl $0x0, %eax
je 0x58e9
movb -0x9(%rbp), %al
movb %al, -0x1(%rbp)
jmp 0x58f4
jmp 0x567f
movb -0x9(%rbp), %al
movb %al, -0x1(%rbp)
movb -0x1(%rbp), %al
addq $0x190, %rsp            # imm = 0x190
popq %rbp
retq