// File: /workspace/github_cpp_makefile_star2_O3/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 $0x58, %rsp
movl 0x653d3955(%rip), %eax  # 0x653d74c0
movslq 0x653d3952(%rip), %rbx  # 0x653d74c4
movl 0x653d395f(%rip), %r14d # 0x653d74d8
movl 0x653d395d(%rip), %ecx  # 0x653d74dc
movq %rcx, -0x40(%rbp)
movl 0x653d3956(%rip), %r12d # 0x653d74e0
movl 0x653d3954(%rip), %ecx  # 0x653d74e4
movq %rcx, -0x38(%rbp)
movslq 0x653d392d(%rip), %r11  # 0x653d74c8
movslq 0x653d392a(%rip), %r15  # 0x653d74cc
movslq 0x653d3927(%rip), %rcx  # 0x653d74d0
movq %rcx, -0x30(%rbp)
movslq 0x653d3920(%rip), %rcx  # 0x653d74d4
movq %rcx, -0x48(%rbp)
cmpl %eax, %ebx
cmovgl %ebx, %eax
cltq
movq %rax, -0x50(%rbp)
leaq 0x519538e6(%rip), %r13  # 0x519574b0
cmpq -0x50(%rbp), %rbx
je 0x3e97
movq 0x651d38d5(%rip), %rdx  # 0x651d74b0
leaq (%rbx,%rbx,2), %rsi
shlq $0x4, %rsi
leaq 0xed360c6(%rip), %rdi   # 0xed39cb0
leaq (%rdi,%rsi), %rax
movb (%rsi,%rdi), %r9b
movb 0x1(%rsi,%rdi), %cl
movzbl 0x2(%rsi,%rdi), %esi
movb $0x1, %dil
movl %r14d, %r8d
movzbl %r9b, %r9d
movq (%rdx,%r9,8), %r10
testq %r10, %r10
je 0x3c13
movq %r10, %rdx
jmp 0x3c32
leal 0x1(%r8), %r14d
movl %r14d, 0x653d38ba(%rip) # 0x653d74d8
movslq %r8d, %r8
shlq $0xb, %r8
addq %r13, %r8
movq %r8, (%rdx,%r9,8)
movq %r8, %rdx
movl %r14d, %r8d
movl %ecx, %r9d
testb $0x1, %dil
movl $0x0, %edi
jne 0x3c01
movq (%rdx,%rsi,8), %rcx
testq %rcx, %rcx
jne 0x3c70
movq -0x40(%rbp), %rdi
movslq %edi, %rcx
incl %edi
movl %edi, 0x653d3884(%rip)  # 0x653d74dc
shlq $0xc, %rcx
leaq 0x5677384d(%rip), %r8   # 0x567774b0
addq %r8, %rcx
movq %rcx, (%rdx,%rsi,8)
movl %edi, %edx
movq %rdx, -0x40(%rbp)
leaq 0x54063839(%rip), %r10  # 0x540674b0
movq 0x651d383a(%rip), %rdx  # 0x651d74b8
movups (%rax), %xmm0
movups 0x10(%rax), %xmm1
movups 0x20(%rax), %xmm2
movaps %xmm2, -0x60(%rbp)
movaps %xmm1, -0x70(%rbp)
movaps %xmm0, -0x80(%rbp)
movb $0x1, %sil
xorl %r8d, %r8d
movl %r12d, %edi
movzbl -0x7c(%rbp,%r8), %r8d
movq (%rdx,%r8,8), %r9
testq %r9, %r9
je 0x3cb2
movq %r9, %rdx
jmp 0x3cd1
leal 0x1(%rdi), %r12d
movl %r12d, 0x653d3823(%rip) # 0x653d74e0
movslq %edi, %rdi
shlq $0xb, %rdi
addq %r10, %rdi
movq %rdi, (%rdx,%r8,8)
movq %rdi, %rdx
movl %r12d, %edi
movl $0x1, %r8d
testb $0x1, %sil
movl $0x0, %esi
jne 0x3c9e
movzbl -0x7a(%rbp), %edi
movq (%rdx,%rdi,8), %rsi
testq %rsi, %rsi
jne 0x3d19
movq -0x38(%rbp), %r8
movslq %r8d, %rsi
incl %r8d
movl %r8d, 0x653d37e4(%rip)  # 0x653d74e4
shlq $0xc, %rsi
leaq 0x5dca37a5(%rip), %r9   # 0x5dca74b0
addq %r9, %rsi
movq %rsi, (%rdx,%rdi,8)
movl %r8d, %edx
movq %rdx, -0x38(%rbp)
movzbl 0x3(%rax), %edx
movq 0x800(%rcx,%rdx,8), %r8
movq %r11, %rdi
shlq $0x4, %rdi
leaq 0x2b6f977d(%rip), %r9   # 0x2b6fd4b0
addq %r9, %rdi
testq %r8, %r8
je 0x3d4d
movq %rdi, 0x8(%r8)
movq 0x800(%rcx,%rdx,8), %rdi
movq 0x8(%rdi), %rdi
jmp 0x3d51
movq %rdi, (%rcx,%rdx,8)
movq %rdi, 0x800(%rcx,%rdx,8)
incq %r11
movl %r11d, 0x653d3765(%rip) # 0x653d74c8
movzbl 0x7(%rax), %ecx
movq 0x800(%rsi,%rcx,8), %rdi
movq %r15, %rdx
shlq $0x4, %rdx
leaq 0x34f8ff33(%rip), %r8   # 0x34f93cb0
addq %r8, %rdx
testq %rdi, %rdi
je 0x3d97
movq %rdx, 0x8(%rdi)
movq 0x800(%rsi,%rcx,8), %rdx
movq 0x8(%rdx), %rdx
jmp 0x3d9b
movq %rdx, (%rsi,%rcx,8)
movq %rdx, 0x800(%rsi,%rcx,8)
incq %r15
movl %r15d, 0x653d371f(%rip) # 0x653d74cc
movzwl 0x20(%rax), %ecx
rolw $0x8, %cx
movzwl %cx, %ecx
leaq 0x651d3701(%rip), %rdi  # 0x651d74c0
movq 0x80000(%rdi,%rcx,8), %rsi
movq -0x30(%rbp), %rdx
shlq $0x4, %rdx
leaq 0x3e8266da(%rip), %r8   # 0x3e82a4b0
addq %r8, %rdx
testq %rsi, %rsi
je 0x3df0
movq %rdx, 0x8(%rsi)
movq 0x80000(%rdi,%rcx,8), %rdx
movq 0x8(%rdx), %rdx
jmp 0x3df4
movq %rdx, (%rdi,%rcx,8)
movq %r15, %r13
movq %rdx, 0x80000(%rdi,%rcx,8)
movq -0x30(%rbp), %rcx
incq %rcx
movq %rcx, -0x30(%rbp)
movl %ecx, 0x653d36c0(%rip)  # 0x653d74d0
movzwl 0x22(%rax), %eax
rolw $0x8, %ax
movzwl %ax, %eax
leaq 0x652d369e(%rip), %rdi  # 0x652d74c0
movq 0x80000(%rdi,%rax,8), %rdx
movq -0x48(%rbp), %rsi
movq %rsi, %rcx
shlq $0x4, %rcx
leaq 0x480bce74(%rip), %r8   # 0x480c0cb0
addq %r8, %rcx
movq %r11, %r15
testq %rdx, %rdx
je 0x3e59
movq %rcx, 0x8(%rdx)
movq 0x80000(%rdi,%rax,8), %rcx
movq 0x8(%rcx), %rcx
jmp 0x3e5d
movq %rcx, (%rdi,%rax,8)
movq %rcx, 0x80000(%rdi,%rax,8)
incq %rsi
movq %rsi, -0x48(%rbp)
movl %esi, 0x653d3662(%rip)  # 0x653d74d4
incq %rbx
movl %ebx, 0x653d3649(%rip)  # 0x653d74c4
callq 0x4126
testb %al, %al
movq %r15, %r11
movq %r13, %r15
leaq 0x51953621(%rip), %r13  # 0x519574b0
je 0x3bca
jmp 0x3e99
xorl %eax, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq