// File: /workspace/github_cpp_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl 0x653d2a44(%rip), %r13d # 0x653d64c4
leaq 0xed35229(%rip), %r12   # 0xed38cb0
leaq 0x651d2a32(%rip), %rbx  # 0x651d64c0
leaq 0x652d2a2b(%rip), %r14  # 0x652d64c0
cmpl 0x653d2a24(%rip), %r13d # 0x653d64c0
jge 0x3c86
movq 0x651d2a07(%rip), %rdi  # 0x651d64b0
movslq %r13d, %rax
imulq $0x30, %rax, %rax
movups (%rax,%r12), %xmm0
movups 0x10(%rax,%r12), %xmm1
movups 0x20(%rax,%r12), %xmm2
movups %xmm2, 0x20(%rsp)
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
pushq $0x1
popq %rsi
callq 0x3c97
movq %rax, %r15
movq 0x651d29d7(%rip), %rdi  # 0x651d64b8
movslq 0x653d29dc(%rip), %rax  # 0x653d64c4
imulq $0x30, %rax, %rax
movups (%rax,%r12), %xmm0
movups 0x10(%rax,%r12), %xmm1
movups 0x20(%rax,%r12), %xmm2
movups %xmm2, 0x20(%rsp)
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
pushq $0x2
popq %rsi
callq 0x3c97
movslq 0x653d29aa(%rip), %r13  # 0x653d64c4
imulq $0x30, %r13, %rcx
movzbl 0x3(%rcx,%r12), %edx
movq 0x800(%r15,%rdx,8), %r8
movslq 0x653d2995(%rip), %rsi  # 0x653d64c8
movq %rsi, %rdi
shlq $0x4, %rdi
leaq 0x2b6f896f(%rip), %r9   # 0x2b6fc4b0
addq %r9, %rdi
testq %r8, %r8
je 0x3b5b
movq %rdi, 0x8(%r8)
movq 0x800(%r15,%rdx,8), %rdi
movq 0x8(%rdi), %rdi
jmp 0x3b5f
movq %rdi, (%r15,%rdx,8)
addq %r12, %rcx
movq %rdi, 0x800(%r15,%rdx,8)
incl %esi
movl %esi, 0x653d2956(%rip)  # 0x653d64c8
movzbl 0x7(%rcx), %esi
movq 0x800(%rax,%rsi,8), %r8
movslq 0x653d2947(%rip), %rdx  # 0x653d64cc
movq %rdx, %rdi
shlq $0x4, %rdi
leaq 0x34f8f11d(%rip), %r9   # 0x34f92cb0
addq %r9, %rdi
testq %r8, %r8
je 0x3bad
movq %rdi, 0x8(%r8)
movq 0x800(%rax,%rsi,8), %rdi
movq 0x8(%rdi), %rdi
jmp 0x3bb1
movq %rdi, (%rax,%rsi,8)
movq %rdi, 0x800(%rax,%rsi,8)
incl %edx
movzwl 0x20(%rcx), %eax
rolw $0x8, %ax
movl %edx, 0x653d2903(%rip)  # 0x653d64cc
movzwl %ax, %edx
movq 0x80000(%rbx,%rdx,8), %rdi
movslq 0x653d28f5(%rip), %rax  # 0x653d64d0
movq %rax, %rsi
shlq $0x4, %rsi
leaq 0x3e8258c7(%rip), %r8   # 0x3e8294b0
addq %r8, %rsi
testq %rdi, %rdi
je 0x3c03
movq %rsi, 0x8(%rdi)
movq 0x80000(%rbx,%rdx,8), %rsi
movq 0x8(%rsi), %rsi
jmp 0x3c07
movq %rsi, (%rbx,%rdx,8)
movq %rsi, 0x80000(%rbx,%rdx,8)
incl %eax
movzwl 0x22(%rcx), %ecx
rolw $0x8, %cx
movl %eax, 0x653d28b1(%rip)  # 0x653d64d0
movzwl %cx, %eax
movq 0x80000(%r14,%rax,8), %rsi
movslq 0x653d28a3(%rip), %rcx  # 0x653d64d4
movq %rcx, %rdx
shlq $0x4, %rdx
leaq 0x480bc071(%rip), %rdi  # 0x480bfcb0
addq %rdi, %rdx
testq %rsi, %rsi
je 0x3c59
movq %rdx, 0x8(%rsi)
movq 0x80000(%r14,%rax,8), %rdx
movq 0x8(%rdx), %rdx
jmp 0x3c5d
movq %rdx, (%r14,%rax,8)
movq %rdx, 0x80000(%r14,%rax,8)
incl %ecx
movl %ecx, 0x653d2867(%rip)  # 0x653d64d4
incl %r13d
movl %r13d, 0x653d284d(%rip) # 0x653d64c4
callq 0x3ef9
testb %al, %al
je 0x3a95
jmp 0x3c88
xorl %eax, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq