// File: /workspace/github_c_makefile_star2_O3/yhg926[P]public_kssd/co2mco.c
// Function: co2unitllmco
mco_entry_stat_t** co2unitllmco(const char *codirname, int bin_sz, int bin_id, int component_id)
{
 size_t comp_sz = (1LLU << 4*COMPONENT_SZ) ;
 mco_entry_stat_t** mco = calloc(comp_sz, sizeof(mco_entry_stat_t*) );
 gid_arr_llist_t* tmp;
 char cofname[PATHLEN];
 mmp_uint_t mmpcofile;
 unsigned int ind;
 int mod;
 for(unsigned int i = 0 ; i < bin_sz ; i++)
 {
  sprintf(cofname,"%s/%d.%d.co.%d",codirname,bin_id,i,component_id);
  mmpcofile = mmp_uint_arr(cofname);
  int ctx_num = mmpcofile.fsize/sizeof(unsigned int);
  for(int j = 0; j < ctx_num; j++ )
  {
   ind = mmpcofile.mmpco[j];
   if(mco[ind] == NULL) mco[ind] = calloc( 1, sizeof(mco_entry_stat_t) );
   mod = mco[ind]->g_num % GID_ARR_SZ ;
   if(mod == 0)
   {
    if ( (tmp = malloc(sizeof(gid_arr_llist_t)) ) == NULL) err(errno,"co2unitllmco()") ;
    tmp->next = mco[ind]->next;
    mco[ind]->next = tmp ;
   }
   mco[ind]->next->gidobj[mod] = i ;
   mco[ind]->g_num++;
  };
  munmap(mmpcofile.mmpco, mmpcofile.fsize);
 }
 return mco;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1d8, %rsp            # imm = 0x1D8
movl %ecx, 0x24(%rsp)
movl %edx, 0x20(%rsp)
movl %esi, %ebx
movq %rdi, 0x30(%rsp)
movl $0x10000000, %edi       # imm = 0x10000000
movl $0x8, %esi
callq 0x32a0
movq %rax, 0x10(%rsp)
movl %ebx, 0x1c(%rsp)
testl %ebx, %ebx
je 0x42a1
xorl %ebx, %ebx
movl %ebx, 0xc(%rsp)
leaq 0xd0(%rsp), %rbx
movq %rbx, %rdi
leaq 0x10fea(%rip), %rsi     # 0x1512b
movq 0x30(%rsp), %rdx
movl 0x20(%rsp), %ecx
movl 0xc(%rsp), %r8d
movl 0x24(%rsp), %r9d
xorl %eax, %eax
callq 0x3430
movq %rbx, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq 0x3380
movl %eax, %r13d
movl %eax, %r14d
shrl $0x1f, %r14d
callq 0x3060
movq %rax, %r15
movl (%rax), %edi
callq 0x3470
movl %r14d, %edi
leaq 0x11025(%rip), %rsi     # 0x151af
movq %rbx, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x46f2
movl %r13d, %edi
leaq 0x40(%rsp), %rsi
callq 0x34a0
movq 0x70(%rsp), %r12
xorl %edi, %edi
movq %r12, %rsi
movl $0x1, %edx
movl $0x2, %ecx
movl %r13d, %r8d
xorl %r9d, %r9d
callq 0x3150
movq %rax, %r14
xorl %ebp, %ebp
cmpq $-0x1, %rax
sete %bpl
movq %r15, 0x28(%rsp)
movl (%r15), %edi
callq 0x3470
movl %ebp, %edi
leaq 0x10fdc(%rip), %rsi     # 0x151c2
movq %rbx, %rdx
movl 0xc(%rsp), %ebx
movq %rax, %rcx
xorl %eax, %eax
callq 0x46f2
movl %r13d, %edi
callq 0x3220
movq %r12, 0x38(%rsp)
movq %r12, %rbp
shrq $0x2, %rbp
testl %ebp, %ebp
movq 0x10(%rsp), %rdx
jle 0x4288
andl $0x7fffffff, %ebp       # imm = 0x7FFFFFFF
xorl %r15d, %r15d
movl (%r14,%r15,4), %r12d
movq (%rdx,%r12,8), %r13
testq %r13, %r13
je 0x423a
movl (%r13), %ecx
andq $0xf, %rcx
je 0x4257
movq 0x8(%r13), %rax
jmp 0x4279
movl $0x1, %edi
movl $0x10, %esi
movq %rdx, %rbx
callq 0x32a0
movq %rax, %r13
movq %rax, (%rbx,%r12,8)
movl 0xc(%rsp), %ebx
movl $0x48, %edi
callq 0x3340
testq %rax, %rax
je 0x42b8
movq 0x8(%r13), %rcx
movq %rcx, 0x40(%rax)
movq %rax, 0x8(%r13)
xorl %ecx, %ecx
movq 0x10(%rsp), %rdx
movl %ebx, (%rax,%rcx,4)
incl (%r13)
incq %r15
cmpq %r15, %rbp
jne 0x421d
movq %r14, %rdi
movq 0x38(%rsp), %rsi
callq 0x3360
incl %ebx
cmpl 0x1c(%rsp), %ebx
jne 0x412b
movq 0x10(%rsp), %rax
addq $0x1d8, %rsp            # imm = 0x1D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x28(%rsp), %rax
movl (%rax), %edi
leaq 0x10e74(%rip), %rsi     # 0x1513a
xorl %eax, %eax
callq 0x3330