// File: /workspace/github_c_makefile_star2_O1/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 $0x1c8, %rsp            # imm = 0x1C8
movl %ecx, 0x14(%rsp)
movl %edx, 0x10(%rsp)
movl %esi, %ebx
movq %rdi, 0x20(%rsp)
movl $0x10000000, %edi       # imm = 0x10000000
movl $0x8, %esi
callq 0x32a0
movq %rax, %r12
movl %ebx, 0xc(%rsp)
testl %ebx, %ebx
je 0x4290
xorl %eax, %eax
movl %eax, 0x8(%rsp)
leaq 0xc0(%rsp), %r13
movq %r13, %rdi
leaq 0x10fef(%rip), %rsi     # 0x1512b
movq 0x20(%rsp), %rdx
movl 0x10(%rsp), %ecx
movl 0x8(%rsp), %r8d
movl 0x14(%rsp), %r9d
xorl %eax, %eax
callq 0x3430
movq %r13, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq 0x3380
movl %eax, %ebx
movl %eax, %r14d
shrl $0x1f, %r14d
callq 0x3060
movq %rax, %r15
movl (%rax), %edi
callq 0x3470
movl %r14d, %edi
leaq 0x1102b(%rip), %rsi     # 0x151af
movq %r13, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x46d6
movl %ebx, %edi
leaq 0x30(%rsp), %rsi
callq 0x34a0
movq 0x60(%rsp), %r13
xorl %edi, %edi
movq %r13, %rsi
movl $0x1, %edx
movl $0x2, %ecx
movl %ebx, %r8d
xorl %r9d, %r9d
callq 0x3150
movq %rax, %r14
xorl %ebp, %ebp
cmpq $-0x1, %rax
sete %bpl
movq %r15, 0x18(%rsp)
movl (%r15), %edi
callq 0x3470
movl %ebp, %edi
leaq 0x10fe3(%rip), %rsi     # 0x151c2
leaq 0xc0(%rsp), %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x46d6
movl %ebx, %edi
callq 0x3220
movl 0x8(%rsp), %ecx
movq %r13, 0x28(%rsp)
shrq $0x2, %r13
testl %r13d, %r13d
jle 0x4273
andl $0x7fffffff, %r13d      # imm = 0x7FFFFFFF
xorl %ebp, %ebp
movl (%r14,%rbp,4), %ebx
cmpq $0x0, (%r12,%rbx,8)
jne 0x4235
movl $0x1, %edi
movl $0x10, %esi
callq 0x32a0
movl 0x8(%rsp), %ecx
movq %rax, (%r12,%rbx,8)
movq (%r12,%rbx,8), %r15
movl (%r15), %ebx
andq $0xf, %rbx
jne 0x4261
movl $0x48, %edi
callq 0x3340
testq %rax, %rax
je 0x42a5
movq 0x8(%r15), %rcx
movq %rcx, 0x40(%rax)
movq %rax, 0x8(%r15)
movl 0x8(%rsp), %ecx
movq 0x8(%r15), %rax
movl %ecx, (%rax,%rbx,4)
incl (%r15)
incq %rbp
cmpq %rbp, %r13
jne 0x4213
movq %r14, %rdi
movq 0x28(%rsp), %rsi
callq 0x3360
movl 0x8(%rsp), %eax
incl %eax
cmpl 0xc(%rsp), %eax
jne 0x4126
movq %r12, %rax
addq $0x1c8, %rsp            # imm = 0x1C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x18(%rsp), %rax
movl (%rax), %edi
leaq 0x10e87(%rip), %rsi     # 0x1513a
xorl %eax, %eax
callq 0x3330