// File: /workspace/github_cpp_makefile_star2_O1/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 $0x68, %rsp
movl 0x653d3965(%rip), %eax  # 0x653d74d0
movslq 0x653d3962(%rip), %rdx  # 0x653d74d4
movl %eax, -0x34(%rbp)
movq %rdx, -0x30(%rbp)
cmpl %eax, %edx
jge 0x3eb7
movslq 0x653d395c(%rip), %r10  # 0x653d74e4
movslq 0x653d3951(%rip), %r9   # 0x653d74e0
movslq 0x653d3946(%rip), %r15  # 0x653d74dc
movslq 0x653d393b(%rip), %r12  # 0x653d74d8
movl 0x653d3951(%rip), %eax  # 0x653d74f4
movq %rax, -0x48(%rbp)
movl 0x653d3942(%rip), %r14d # 0x653d74f0
movl 0x653d3938(%rip), %eax  # 0x653d74ec
movq %rax, -0x40(%rbp)
movl 0x653d3929(%rip), %r13d # 0x653d74e8
leaq 0x519538fa(%rip), %r8   # 0x519574c0
movq 0x651d38f3(%rip), %rcx  # 0x651d74c0
movq -0x30(%rbp), %rax
leaq (%rax,%rax,2), %rdx
shlq $0x4, %rdx
leaq 0xed360e0(%rip), %rsi   # 0xed39cc0
leaq (%rsi,%rdx), %rax
movups (%rdx,%rsi), %xmm0
movups 0x10(%rdx,%rsi), %xmm1
movups 0x20(%rdx,%rsi), %xmm2
movaps %xmm2, -0x70(%rbp)
movaps %xmm1, -0x80(%rbp)
movaps %xmm0, -0x90(%rbp)
xorl %edx, %edx
movl %r13d, %esi
movzbl -0x90(%rbp,%rdx), %edi
cmpq $0x0, (%rcx,%rdi,8)
jne 0x3c31
leal 0x1(%rsi), %r13d
movl %r13d, 0x653d38c8(%rip) # 0x653d74e8
movslq %esi, %rsi
shlq $0xb, %rsi
addq %r8, %rsi
movq %rsi, (%rcx,%rdi,8)
movl %r13d, %esi
movq (%rcx,%rdi,8), %rcx
incq %rdx
cmpq $0x1, %rdx
je 0x3c06
movzbl -0x8e(%rbp), %edx
cmpq $0x0, (%rcx,%rdx,8)
jne 0x3c73
movq -0x40(%rbp), %rdi
movslq %edi, %rsi
incl %edi
movl %edi, 0x653d3891(%rip)  # 0x653d74ec
shlq $0xc, %rsi
leaq 0x5677385a(%rip), %r8   # 0x567774c0
addq %r8, %rsi
movq %rsi, (%rcx,%rdx,8)
movl %edi, %esi
movq %rsi, -0x40(%rbp)
movq (%rcx,%rdx,8), %rcx
movq 0x651d384a(%rip), %rdx  # 0x651d74c8
movups (%rax), %xmm0
movups 0x10(%rax), %xmm1
movups 0x20(%rax), %xmm2
movaps %xmm2, -0x70(%rbp)
movaps %xmm1, -0x80(%rbp)
movaps %xmm0, -0x90(%rbp)
movl $0x4, %esi
movl %r14d, %edi
movzbl -0x90(%rbp,%rsi), %r8d
cmpq $0x0, (%rdx,%r8,8)
jne 0x3cd3
leal 0x1(%rdi), %r14d
movl %r14d, 0x653d3835(%rip) # 0x653d74f0
movslq %edi, %rdi
shlq $0xb, %rdi
leaq 0x540637f7(%rip), %r11  # 0x540674c0
addq %r11, %rdi
movq %rdi, (%rdx,%r8,8)
movl %r14d, %edi
movq (%rdx,%r8,8), %rdx
incq %rsi
cmpq $0x5, %rsi
je 0x3ca0
movzbl -0x8a(%rbp), %esi
cmpq $0x0, (%rdx,%rsi,8)
jne 0x3d18
movq -0x48(%rbp), %r8
movslq %r8d, %rdi
incl %r8d
movl %r8d, 0x653d37f5(%rip)  # 0x653d74f4
shlq $0xc, %rdi
leaq 0x5dca37b6(%rip), %r11  # 0x5dca74c0
addq %r11, %rdi
movq %rdi, (%rdx,%rsi,8)
movl %r8d, %edi
movq %rdi, -0x48(%rbp)
movq (%rdx,%rsi,8), %rdx
movzbl 0x3(%rax), %esi
movq 0x800(%rcx,%rsi,8), %r8
movq %r12, %rdi
shlq $0x4, %rdi
leaq 0x2b6f978a(%rip), %r11  # 0x2b6fd4c0
addq %r11, %rdi
testq %r8, %r8
je 0x3d50
movq %rdi, 0x8(%r8)
movq 0x800(%rcx,%rsi,8), %rdi
movq 0x8(%rdi), %rdi
jmp 0x3d54
movq %rdi, (%rcx,%rsi,8)
movq %rdi, 0x800(%rcx,%rsi,8)
incq %r12
movl %r12d, 0x653d3772(%rip) # 0x653d74d8
movzbl 0x7(%rax), %ecx
movq 0x800(%rdx,%rcx,8), %rdi
movq %r15, %rsi
shlq $0x4, %rsi
leaq 0x34f8ff40(%rip), %r8   # 0x34f93cc0
addq %r8, %rsi
testq %rdi, %rdi
je 0x3d9a
movq %rsi, 0x8(%rdi)
movq 0x800(%rdx,%rcx,8), %rsi
movq 0x8(%rsi), %rsi
jmp 0x3d9e
movq %rsi, (%rdx,%rcx,8)
movq %rsi, 0x800(%rdx,%rcx,8)
incq %r15
movl %r15d, 0x653d372c(%rip) # 0x653d74dc
movzwl 0x20(%rax), %ecx
rolw $0x8, %cx
movzwl %cx, %ecx
leaq 0x651d370e(%rip), %rdi  # 0x651d74d0
movq 0x80000(%rdi,%rcx,8), %rsi
movq %r9, %rdx
shlq $0x4, %rdx
leaq 0x3e8266e8(%rip), %r8   # 0x3e82a4c0
addq %r8, %rdx
testq %rsi, %rsi
je 0x3df2
movq %rdx, 0x8(%rsi)
movq 0x80000(%rdi,%rcx,8), %rdx
movq 0x8(%rdx), %rdx
jmp 0x3df6
movq %rdx, (%rdi,%rcx,8)
movq %rdx, 0x80000(%rdi,%rcx,8)
incq %r9
movl %r9d, 0x653d36d8(%rip)  # 0x653d74e0
movzwl 0x22(%rax), %eax
rolw $0x8, %ax
movzwl %ax, %eax
leaq 0x652d36b6(%rip), %rsi  # 0x652d74d0
movq 0x80000(%rsi,%rax,8), %rdx
movq %r10, %rcx
shlq $0x4, %rcx
leaq 0x480bce90(%rip), %rdi  # 0x480c0cc0
addq %rdi, %rcx
testq %rdx, %rdx
movq %r9, -0x60(%rbp)
movq %r15, -0x58(%rbp)
movq %r12, -0x50(%rbp)
je 0x3e56
movq %rcx, 0x8(%rdx)
movq 0x80000(%rsi,%rax,8), %rcx
movq 0x8(%rcx), %rcx
jmp 0x3e5a
movq %rcx, (%rsi,%rax,8)
movq %rcx, 0x80000(%rsi,%rax,8)
incq %r10
movq %r10, %r15
movl %r10d, 0x653d3675(%rip) # 0x653d74e4
movq -0x30(%rbp), %r12
incq %r12
movl %r12d, 0x653d3657(%rip) # 0x653d74d4
callq 0x4113
movzbl %bl, %ecx
movzbl %al, %ebx
testb %al, %al
cmovel %ecx, %ebx
jne 0x3eb9
cmpl %r12d, -0x34(%rbp)
movq -0x60(%rbp), %r9
movq %r15, %r10
movq %r12, -0x30(%rbp)
movq -0x58(%rbp), %r15
movq -0x50(%rbp), %r12
leaq 0x51953613(%rip), %r8   # 0x519574c0
jne 0x3bc6
movl %eax, %ebx
jmp 0x3eb9
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq