LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/yhg926[P]public_kssd/command_shuffle.c
// Function: parse_shuffle
static error_t parse_shuffle(int key, char* arg, struct argp_state* state) {
  struct arg_shuffle* shuffle = state->input;
  assert( shuffle );
  assert( shuffle->global );
  switch(key)
  {
    case 'k':
  {
   dim_shuffle_stat.k = atoi(arg);
   break;
  }
  case 's':
  {
   dim_shuffle_stat.subk = atoi(arg);
   break;
  }
  case 'l':
  {
   dim_shuffle_stat.drlevel = atoi(arg);
   break;
  }
  case 'o':
  {
   strcpy(shuf_out_file_prefix, arg);
   break;
  }
    case ARGP_KEY_NO_ARGS:
    {
   if(state->argc<2)
   {
       printf("\v");
    argp_state_help(state,stdout,ARGP_HELP_SHORT_USAGE);
    printf("\v");
       argp_state_help(state,stdout,ARGP_HELP_LONG);
       printf("\v");
       return EINVAL;
   }
    }
    break;
  case 999:
  {
   printf("use default values for all options\n");
  }
  break;
    default:
      return ARGP_ERR_UNKNOWN;
  }
  return 0;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq 0x28(%rdx), %rax
testq %rax, %rax
je 0x10556
cmpq $0x0, (%rax)
je 0x1056f
pushq $0x7
popq %rax
leal -0x6b(%rdi), %ecx
cmpl $0x8, %ecx
ja 0x104b2
leaq 0x6112(%rip), %rdx      # 0x165a8
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
movq %rsi, %rdi
callq 0x3410
movl %eax, 0xc827(%rip)      # 0x1ccd4
jmp 0x1054f
cmpl $0x3e7, %edi            # imm = 0x3E7
je 0x10543
cmpl $0x1000002, %edi        # imm = 0x1000002
jne 0x10551
movq %rdx, %rbx
xorl %eax, %eax
cmpl $0x1, 0x8(%rdx)
jg 0x10551
pushq $0xb
popq %rbp
movl %ebp, %edi
callq 0x3050
movq 0xaaf2(%rip), %r14      # 0x1afd8
movq (%r14), %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x30e0
movl %ebp, %edi
callq 0x3050
movq (%r14), %rsi
pushq $0x8
popq %rdx
movq %rbx, %rdi
callq 0x30e0
movl %ebp, %edi
callq 0x3050
pushq $0x16
popq %rax
jmp 0x10551
movq %rsi, %rdi
callq 0x3410
movl %eax, 0xc7b5(%rip)      # 0x1ccd8
jmp 0x1054f
movq %rsi, %rdi
callq 0x3410
movl %eax, 0xc7a9(%rip)      # 0x1ccdc
jmp 0x1054f
leaq 0xc7a4(%rip), %rdi      # 0x1cce0
callq 0x3080
jmp 0x1054f
leaq 0x6535(%rip), %rdi      # 0x16a7f
callq 0x30a0
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x6072(%rip), %rdi      # 0x165cf
leaq 0x64c1(%rip), %rsi      # 0x16a25
leaq 0x64cc(%rip), %rcx      # 0x16a37
pushq $0x39
jmp 0x10586
leaq 0x64f9(%rip), %rdi      # 0x16a6f
leaq 0x64a8(%rip), %rsi      # 0x16a25
leaq 0x64b3(%rip), %rcx      # 0x16a37
pushq $0x3a
popq %rdx
callq 0x3200
// File: /workspace/github_c_makefile_star2_O2/yhg926[P]public_kssd/global_basic.c
// Function: log_printf
void log_printf(struct arg_global* g, int level, const char* fmt, ...)
{
  va_list ap;
  FILE* f = stdout;
  if(g->verbosity < level)
    return;
  if(level == 0)
    f = stderr;
  va_start(ap, fmt);
  vfprintf(f, fmt, ap);
  va_end(ap);
}

// Assembly:
subq $0xd8, %rsp
movq %rcx, 0x38(%rsp)
movq %r8, 0x40(%rsp)
movq %r9, 0x48(%rsp)
testb %al, %al
je 0x10624
movaps %xmm0, 0x50(%rsp)
movaps %xmm1, 0x60(%rsp)
movaps %xmm2, 0x70(%rsp)
movaps %xmm3, 0x80(%rsp)
movaps %xmm4, 0x90(%rsp)
movaps %xmm5, 0xa0(%rsp)
movaps %xmm6, 0xb0(%rsp)
movaps %xmm7, 0xc0(%rsp)
cmpl %esi, (%rdi)
jl 0x1066f
testl %esi, %esi
jne 0x10635
movq 0xa9c5(%rip), %rax      # 0x1aff8
jmp 0x1063c
movq 0xa99c(%rip), %rax      # 0x1afd8
movq (%rax), %rdi
leaq 0x20(%rsp), %rcx
movq %rsp, %rax
movq %rcx, 0x10(%rax)
leaq 0xe0(%rsp), %rcx
movq %rcx, 0x8(%rax)
movabsq $0x3000000018, %rcx     # imm = 0x3000000018
movq %rcx, (%rax)
movq %rdx, %rsi
movq %rax, %rdx
callq 0x33f0
addq $0xd8, %rsp
retq
// File: /workspace/github_c_makefile_star2_O2/yhg926[P]public_kssd/global_basic.c
// Function: fpathopen
FILE * fpathopen (const char *dpath, const char *fname, const char *mode )
{
  char *fullname = malloc(PATHLEN*sizeof(char));
  sprintf(fullname,"%s/%s",dpath,fname);
 struct stat s;
 if(! ( ( stat(dpath, &s) == 0 ) && S_ISDIR(s.st_mode) ) )
  mkdir(dpath, 0777);
  FILE *fp;
  if( (fp = fopen(fullname, mode) ) == NULL )
    err(errno,"fpathopen()::%s",fullname);
  return fp;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %r15
movl $0x100, %edi            # imm = 0x100
callq 0x3340
movq %rax, %rbx
leaq 0x3cf1(%rip), %rsi      # 0x14393
movq %rax, %rdi
movq %r15, %rdx
movq %r12, %rcx
xorl %eax, %eax
callq 0x3430
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0x32e0
testl %eax, %eax
jne 0x106d3
movl $0xf000, %eax           # imm = 0xF000
andl 0x20(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
je 0x106e0
movq %r15, %rdi
movl $0x1ff, %esi            # imm = 0x1FF
callq 0x3090
movq %rbx, %rdi
movq %r14, %rsi
callq 0x33a0
testq %rax, %rax
je 0x106ff
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
callq 0x3060
movl (%rax), %edi
leaq 0x663e(%rip), %rsi      # 0x16d4b
movq %rbx, %rdx
xorl %eax, %eax
callq 0x3330
// File: /workspace/github_c_makefile_star2_O2/yhg926[P]public_kssd/global_basic.c
// Function: infile_fmt_count
infile_fmt_count_t *infile_fmt_count ( infile_tab_t * infile_tab )
{
 infile_fmt_count_t tmp_fmt_count = {0,0,0,0};
 infile_fmt_count_t* fmt_count = (infile_fmt_count_t*)malloc(sizeof(infile_fmt_count_t));
 *fmt_count = tmp_fmt_count;
 for(int i = 0; i < infile_tab->infile_num; i++ )
 {
  if( isOK_fmt_infile(infile_tab->organized_infile_tab[i].fpath,fasta_fmt,FAS_FMT_SZ) )
   fmt_count->fasta++;
  else if (isOK_fmt_infile (infile_tab->organized_infile_tab[i].fpath, fastq_fmt,FQ_FMT_SZ ) )
   fmt_count->fastq++;
  else if(isOK_fmt_infile (infile_tab->organized_infile_tab[i].fpath, co_fmt,CO_FMT_SZ) )
   fmt_count->co++;
  else if(isOK_fmt_infile (infile_tab->organized_infile_tab[i].fpath, mco_fmt,MCO_FMT_SZ))
   fmt_count->mco++;
  else if(infile_tab->organized_infile_tab[i].fsize != 0)
   err(errno,"infile_fmt_count(): %s is not accept format(.fasta,.fastq,.co)",infile_tab->organized_infile_tab[i].fpath);
 }
 return fmt_count;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
pushq $0x1
popq %rdi
pushq $0x10
popq %rsi
callq 0x32a0
movq %rax, %r14
addq $0x4, %rax
movq %rax, 0x10(%rsp)
leaq 0x8(%r14), %rax
movq %rax, 0x8(%rsp)
movq %r14, %rax
addq $0xc, %rax
movq %rax, (%rsp)
pushq $0x8
popq %r12
xorl %r13d, %r13d
leaq 0xc067(%rip), %r15      # 0x1cfc0
pushq $0x4
popq %rbp
movslq (%rbx), %rax
cmpq %rax, %r13
jge 0x11016
movq 0x8(%rbx), %rax
movq (%rax,%r12), %rdi
movq %r15, %rsi
movl %ebp, %edx
callq 0x10a80
movq %r14, %rcx
testl %eax, %eax
jne 0x10fe0
movq 0x8(%rbx), %rax
movq (%rax,%r12), %rdi
leaq 0xc050(%rip), %rsi      # 0x1cfe0
pushq $0x2
popq %rdx
callq 0x10a80
movq 0x10(%rsp), %rcx
testl %eax, %eax
jne 0x10fe0
movq 0x8(%rbx), %rax
movq (%rax,%r12), %rdi
leaq 0xc040(%rip), %rsi      # 0x1cff0
pushq $0x1
popq %rdx
callq 0x10a80
movq 0x8(%rsp), %rcx
testl %eax, %eax
jne 0x10fe0
movq 0x8(%rbx), %rax
movq (%rax,%r12), %rdi
leaq 0xc028(%rip), %rsi      # 0x1cff8
pushq $0x1
popq %rdx
callq 0x10a80
movq (%rsp), %rcx
testl %eax, %eax
je 0x10fee
incl (%rcx)
incq %r13
addq $0x10, %r12
jmp 0x10f5c
movq 0x8(%rbx), %rax
cmpq $0x0, -0x8(%rax,%r12)
je 0x10fe2
movq %rax, %rbx
callq 0x3060
movl (%rax), %edi
movq (%rbx,%r12), %rdx
leaq 0x5e9f(%rip), %rsi      # 0x16eae
xorl %eax, %eax
callq 0x3330
movq %r14, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/yhg926[P]public_kssd/global_basic.c
// Function: find_lgst_primer_2pow
llong find_lgst_primer_2pow(int w)
{
 if( w < 2 || w > 62 ){
  perror("find_1st_primer_after_2pow: argument should between 8 and 62");
  exit(EXIT_FAILURE);
 }
  llong n = ( 1llu << w ) ;
 llong hshsz = (llong) ( (double)n * CTX_SPC_USE_L / LD_FCTR) ;
 printf("w=%d\tspace_sz=%llu\thashsize=%llu\tkmerlimt=%llu\n",w,n,hshsz,(llong)(hshsz*LD_FCTR) ) ;
 llong i = 3, c ; llong prime = 0;
 for(i = n - 1 ; i > (n >> 1) ; i--)
 {
  for ( c = 2 ; c <= (int)pow(i+1,0.5) ; c++ )
  {
   if( i%c == 0 )
    break;
  }
  if( c*c > i ){
   prime = i;
   break;
  }
 }
 printf("nearest prime=%llu\n",prime);
 return prime;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %edi, %esi
leal -0x3f(%rsi), %eax
cmpl $-0x3e, %eax
jbe 0x11425
pushq $0x1
popq %rbx
movl %esi, %ecx
shlq %cl, %rbx
movq %rsi, %rax
shlq $0x34, %rax
movabsq $0x4020000000000000, %rcx # imm = 0x4020000000000000
addq %rax, %rcx
movq %rcx, %xmm0
movsd 0x2eac(%rip), %xmm1     # 0x141f0
divsd %xmm1, %xmm0
cvttsd2si %xmm0, %rax
movq %rax, %rdx
sarq $0x3f, %rdx
movsd 0x33b4(%rip), %xmm2     # 0x14710
subsd %xmm2, %xmm0
cvttsd2si %xmm0, %rcx
andq %rdx, %rcx
orq %rax, %rcx
movq %rcx, %xmm0
punpckldq 0x2cb8(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x2cc0(%rip), %xmm0     # 0x14040
movapd %xmm0, %xmm3
unpckhpd %xmm0, %xmm3            # xmm3 = xmm3[1],xmm0[1]
addsd %xmm0, %xmm3
mulsd %xmm1, %xmm3
cvttsd2si %xmm3, %rax
movq %rax, %rdx
sarq $0x3f, %rdx
subsd %xmm2, %xmm3
cvttsd2si %xmm3, %r8
andq %rdx, %r8
orq %rax, %r8
leaq 0x5b95(%rip), %rdi      # 0x16f47
movq %rbx, %rdx
xorl %eax, %eax
callq 0x3170
movq %rbx, %rcx
shrq %rcx
pushq $0x2
popq %rsi
leaq -0x1(%rbx), %r14
cmpq %rcx, %r14
jbe 0x11406
cvtsi2sd %rbx, %xmm0
sqrtsd %xmm0, %xmm0
cvttsd2si %xmm0, %eax
movslq %eax, %r8
movq %rsi, %rdi
cmpq %r8, %rdi
ja 0x113f8
movq %r14, %rax
xorl %edx, %edx
divq %rdi
testq %rdx, %rdx
je 0x113f8
incq %rdi
jmp 0x113e1
imulq %rdi, %rdi
movq %r14, %rbx
cmpq %r14, %rdi
jbe 0x113c5
jmp 0x11409
xorl %r14d, %r14d
leaq 0x5b67(%rip), %rdi      # 0x16f77
movq %r14, %rsi
xorl %eax, %eax
callq 0x3170
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x5ade(%rip), %rdi      # 0x16f0a
callq 0x33b0
pushq $0x1
popq %rdi
callq 0x3440
// File: /workspace/github_c_makefile_star2_O2/yhg926[P]public_kssd/global_basic.c
// Function: nextPrime
int nextPrime(int n){
    int j;
    int tag = 0;
    while (1){
        for(j=2;j<=(int)sqrt(n);j++){
            if(n%j == 0){
                tag = 1;
                break;
            }
        }
        if(tag == 1){
            if(n == 0x7FFFFFFF){
                printf("[ERROR] n exceed 0x7FFFFFFF, Can't find a valid prime\n");
                exit(1);
            }
            n++;
            tag = 0;
        }else{
            return n;
        }
    }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %edi, %ebx
pushq $0x2
popq %rbp
xorpd %xmm1, %xmm1
cvtsi2sd %ebx, %xmm2
sqrtsd %xmm2, %xmm3
movl %ebp, %r14d
movsd %xmm2, 0x8(%rsp)
movsd %xmm3, (%rsp)
ucomisd %xmm1, %xmm2
movapd %xmm3, %xmm0
jae 0x11482
movapd %xmm2, %xmm0
callq 0x3460
movsd (%rsp), %xmm3
movsd 0x8(%rsp), %xmm2
xorpd %xmm1, %xmm1
cvttsd2si %xmm0, %eax
cmpl %eax, %r14d
jg 0x114a4
movl %ebx, %eax
cltd
idivl %r14d
incl %r14d
testl %edx, %edx
jne 0x11460
cmpl $0x7fffffff, %ebx       # imm = 0x7FFFFFFF
je 0x114af
incl %ebx
jmp 0x1144a
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x5ad5(%rip), %rdi      # 0x16f8b
callq 0x30a0
pushq $0x1
popq %rdi
callq 0x3440
nop
// File: /workspace/github_c_makefile_star2_O2/yhg926[P]public_kssd/iseq2comem.c
// Function: seq2co_global_var_initial
void seq2co_global_var_initial(void)
{
 rand_id = dim_shuffle->dim_shuffle_stat.id ;
 half_ctx_len = dim_shuffle->dim_shuffle_stat.k ;
 half_subctx_len = dim_shuffle->dim_shuffle_stat.subk ;
 half_outctx_len = half_ctx_len - half_subctx_len;
  drlevel = dim_shuffle->dim_shuffle_stat.drlevel;
 hashlimit = hashsize * LD_FCTR ;
 printf("rand_id=%d\thalf_ctx_len=%d\thashsize=%d\thashlimit=%d\n",rand_id,half_ctx_len,hashsize,hashlimit);
 component_num = half_ctx_len - drlevel > COMPONENT_SZ ?
         1LU << 4*(half_ctx_len - drlevel - COMPONENT_SZ ) : 1 ;
 comp_bittl = 64-4*half_ctx_len;
 crvsaddmove = 4*half_ctx_len-2;
 tupmask = _64MASK >> comp_bittl;
 TL = 2*half_ctx_len ;
 domask = ( (1LLU << ( half_subctx_len*4 ) ) - 1 ) << (2*half_outctx_len);
 undomask = ( (1LLU << (half_outctx_len*2)) - 1 )
         << (2*(half_ctx_len + half_subctx_len));
 dim_shuf_arr = dim_shuffle->shuffled_dim;
 dim_shuf_arr_len = 1LLU << (4*half_subctx_len) ;
 dim_start = 0;
 llong subspace_sz = 1LLU << 4*(half_subctx_len - drlevel) ;
 dim_end = dim_start + (subspace_sz > MIN_SUBCTX_DIM_SMP_SZ ?subspace_sz :MIN_SUBCTX_DIM_SMP_SZ);
}

// Assembly:
pushq %rax
movq 0x4bf0c(%rip), %rax     # 0x5d610
movl (%rax), %esi
movl 0x4(%rax), %edx
movl %edx, 0x4bf09(%rip)     # 0x5d618
movl 0x8(%rax), %ecx
movl %ecx, 0x4bf04(%rip)     # 0x5d61c
movl %edx, %edi
subl %ecx, %edi
movl %edi, 0x4befe(%rip)     # 0x5d620
movl 0xc(%rax), %eax
movl 0x4befd(%rip), %ecx     # 0x5d628
cvtsi2sd %rcx, %xmm0
mulsd 0x2ab8(%rip), %xmm0     # 0x141f0
movl %eax, 0x4bee6(%rip)     # 0x5d624
cvttsd2si %xmm0, %r8
movl %r8d, 0x4bee2(%rip)     # 0x5d62c
leaq 0x597e(%rip), %rdi      # 0x170cf
xorl %eax, %eax
callq 0x3170
movl 0x4beba(%rip), %eax     # 0x5d618
movl 0x4bec0(%rip), %edi     # 0x5d624
movl %eax, %edx
subl %edi, %edx
leal (,%rdx,4), %ecx
addb $-0x1c, %cl
pushq $0x1
popq %rsi
movq %rsi, %r8
shlq %cl, %r8
cmpl $0x8, %edx
pushq $0x1
popq %rcx
cmovgel %r8d, %ecx
movl %ecx, 0x4bea5(%rip)     # 0x5d630
leal (,%rax,4), %ecx
leal -0x2(,%rax,4), %edx
movl %edx, 0x4be95(%rip)     # 0x5d634
negb %cl
pushq $-0x1
popq %r8
movq %r8, %rdx
shrq %cl, %rdx
movq %rdx, 0x4be86(%rip)     # 0x5d638
movl 0x4be64(%rip), %edx     # 0x5d61c
leal (,%rdx,4), %ecx
movq %r8, %r9
shlq %cl, %r9
leal (%rax,%rax), %r10d
notq %r9
movb 0x4be4e(%rip), %cl      # 0x5d620
addb %cl, %cl
shlq %cl, %r9
shlq %cl, %r8
movl %r10d, 0x4be5f(%rip)    # 0x5d640
notq %r8
addl %edx, %eax
addl %eax, %eax
movl %eax, %ecx
shlq %cl, %r8
movq %r9, 0x4be54(%rip)      # 0x5d648
movq %r8, 0x4be55(%rip)      # 0x5d650
movq 0x4be0e(%rip), %rax     # 0x5d610
movq 0x10(%rax), %rax
movq %rax, 0x4be4b(%rip)     # 0x5d658
subl %edi, %edx
shll $0x2, %edx
movl %edx, %ecx
shlq %cl, %rsi
cmpq $0x1001, %rsi           # imm = 0x1001
movl $0x1000, %eax           # imm = 0x1000
cmovaeq %rsi, %rax
movl %eax, 0x4be33(%rip)     # 0x5d660
popq %rax
retq
// File: /workspace/github_c_makefile_star2_O2/yhg926[P]public_kssd/iseq2comem.c
// Function: write_fqkoc2file
llong write_fqkoc2file(char* cofilename, llong *co)
{
  int comp_code_bits = half_ctx_len - drlevel > COMPONENT_SZ ? 4*(half_ctx_len - drlevel - COMPONENT_SZ ) : 0 ;
  FILE **outf;
  outf = malloc(component_num * sizeof(FILE *));
  char cofilename_with_component[PATHLEN];
  for(int i=0;i<component_num ;i++)
  {
    sprintf(cofilename_with_component,"%s.%d",cofilename,i);
    if ( (outf[i] = fopen(cofilename_with_component,"wb") ) == NULL )
      err(errno,"write_fqkoc2file()") ;
  };
  unsigned int count, wr = 0;
 llong newid;
  for(count=0;count < hashsize; count++)
  {
    if( co[count] > 0 ) {
   newid = ((co[count] >> (comp_code_bits + OCCRC_BIT)) << OCCRC_BIT ) | (co[count] & OCCRC_MAX) ;
      fwrite( &newid, sizeof(llong),1,outf[ (co[count] >> OCCRC_BIT ) % component_num ] );
      wr++;
    }
  }
  for(int i=0;i<component_num ;i++)
    fclose(outf[i]);
 free(outf);
  return wr;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movq %rsi, 0x10(%rsp)
movl 0x4ac9b(%rip), %eax     # 0x5d618
subl 0x4aca1(%rip), %eax     # 0x5d624
movq %rdi, %r12
cmpl $0x8, %eax
leal -0xc(,%rax,4), %eax
pushq $0x10
popq %rcx
cmovgel %eax, %ecx
movq %rcx, 0x8(%rsp)
movslq 0x4ac8e(%rip), %rdi     # 0x5d630
shlq $0x3, %rdi
callq 0x3340
movq %rax, %rbx
leaq 0x16ac(%rip), %r13      # 0x14061
leaq 0x20(%rsp), %rbp
leaq 0x16a9(%rip), %r15      # 0x1406a
xorl %r14d, %r14d
movslq 0x4ac65(%rip), %rax     # 0x5d630
cmpq %rax, %r14
jge 0x12a0f
movq %rbp, %rdi
movq %r13, %rsi
movq %r12, %rdx
movl %r14d, %ecx
xorl %eax, %eax
callq 0x3430
movq %rbp, %rdi
movq %r15, %rsi
callq 0x33a0
movq %rax, (%rbx,%r14,8)
incq %r14
testq %rax, %rax
jne 0x129c4
callq 0x3060
movl (%rax), %edi
leaq 0x488d(%rip), %rsi      # 0x17295
xorl %eax, %eax
callq 0x3330
xorl %r15d, %r15d
movl 0x4ac10(%rip), %ecx     # 0x5d628
leaq 0x18(%rsp), %r12
pushq $0x8
popq %r13
pushq $0x1
popq %rbp
xorl %r14d, %r14d
movl %ecx, %eax
cmpq %rax, %r15
jae 0x12a86
movq 0x10(%rsp), %rax
movq (%rax,%r15,8), %rax
testq %rax, %rax
je 0x12a81
movq %rax, %rdx
movq 0x8(%rsp), %rcx
shrq %cl, %rdx
shlq $0x10, %rdx
movzwl %ax, %ecx
orq %rdx, %rcx
movq %rcx, 0x18(%rsp)
shrq $0x10, %rax
movslq 0x4abcf(%rip), %rcx     # 0x5d630
xorl %edx, %edx
divq %rcx
movq (%rbx,%rdx,8), %rcx
movq %r12, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x3450
incl %r14d
movl 0x4aba7(%rip), %ecx     # 0x5d628
incq %r15
jmp 0x12a27
xorl %r15d, %r15d
movslq 0x4aba0(%rip), %rax     # 0x5d630
cmpq %rax, %r15
jge 0x12aa3
movq (%rbx,%r15,8), %rdi
callq 0x3100
incq %r15
jmp 0x12a89
movq %rbx, %rdi
callq 0x3040
movl %r14d, %eax
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/yhg926[P]public_kssd/iseq2comem.c
// Function: write_fqco2file
llong write_fqco2file(char* cofilename, llong *co)
{
 int comp_code_bits = half_ctx_len - drlevel > COMPONENT_SZ ? 4*(half_ctx_len - drlevel - COMPONENT_SZ ) : 0 ;
 FILE **outf;
 outf = malloc(component_num * sizeof(FILE *));
 char cofilename_with_component[PATHLEN];
 for(int i=0;i<component_num ;i++)
  {
    sprintf(cofilename_with_component,"%s.%d",cofilename,i);
    if ( (outf[i] = fopen(cofilename_with_component,"wb") ) == NULL )
      err(errno,"write_fqco2file()") ;
  };
 unsigned int count, wr = 0, newid;
 for(count=0;count < hashsize; count++)
 {
  if( (co[count] & CT_MAX) == CT_MAX ) {
   newid = (unsigned int)( co[count] >> (comp_code_bits + CT_BIT) ) ;
   fwrite( &newid, sizeof(unsigned int),1,outf[(int)( (co[count] >> CT_BIT ) % component_num )] );
      wr++;
  }
 }
 for(int i=0;i<component_num ;i++)
   fclose(outf[i]);
 free(outf);
 return wr;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movq %rsi, 0x18(%rsp)
movl 0x4ab3c(%rip), %eax     # 0x5d618
subl 0x4ab42(%rip), %eax     # 0x5d624
movq %rdi, %r12
cmpl $0x8, %eax
leal -0x18(,%rax,4), %eax
pushq $0x4
popq %rcx
cmovgel %eax, %ecx
movq %rcx, 0x10(%rsp)
movslq 0x4ab2f(%rip), %rdi     # 0x5d630
shlq $0x3, %rdi
callq 0x3340
movq %rax, %rbx
leaq 0x154d(%rip), %r13      # 0x14061
leaq 0x20(%rsp), %rbp
leaq 0x154a(%rip), %r15      # 0x1406a
xorl %r14d, %r14d
movslq 0x4ab06(%rip), %rax     # 0x5d630
cmpq %rax, %r14
jge 0x12b6e
movq %rbp, %rdi
movq %r13, %rsi
movq %r12, %rdx
movl %r14d, %ecx
xorl %eax, %eax
callq 0x3430
movq %rbp, %rdi
movq %r15, %rsi
callq 0x33a0
movq %rax, (%rbx,%r14,8)
incq %r14
testq %rax, %rax
jne 0x12b23
callq 0x3060
movl (%rax), %edi
leaq 0x4741(%rip), %rsi      # 0x172a8
xorl %eax, %eax
callq 0x3330
xorl %r15d, %r15d
movl 0x4aab1(%rip), %ecx     # 0x5d628
leaq 0xc(%rsp), %r12
pushq $0x4
popq %r13
pushq $0x1
popq %rbp
xorl %r14d, %r14d
movl %ecx, %eax
cmpq %rax, %r15
jae 0x12be1
movq 0x18(%rsp), %rax
movq (%rax,%r15,8), %rax
movl %eax, %edx
notl %edx
testb $0xf, %dl
jne 0x12bdc
movq %rax, %rdx
movq 0x10(%rsp), %rcx
shrq %cl, %rdx
movl %edx, 0xc(%rsp)
shrq $0x4, %rax
movslq 0x4aa77(%rip), %rcx     # 0x5d630
xorl %edx, %edx
divq %rcx
movslq %edx, %rax
movq (%rbx,%rax,8), %rcx
movq %r12, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x3450
incl %r14d
movl 0x4aa4c(%rip), %ecx     # 0x5d628
incq %r15
jmp 0x12b86
xorl %r15d, %r15d
movslq 0x4aa45(%rip), %rax     # 0x5d630
cmpq %rax, %r15
jge 0x12bfe
movq (%rbx,%r15,8), %rdi
callq 0x3100
incq %r15
jmp 0x12be4
movq %rbx, %rdi
callq 0x3040
movl %r14d, %eax
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/yhg926[P]public_kssd/iseq2comem.c
// Function: wrt_co2cmpn_use_inn_subctx
llong wrt_co2cmpn_use_inn_subctx(char* cofilename, llong *co)
{
 int comp_code_bits = half_ctx_len - drlevel > COMPONENT_SZ ? 4*(half_ctx_len - drlevel - COMPONENT_SZ ) : 0 ;
 FILE **outf;
 outf = malloc(component_num * sizeof(FILE *));
 char cofilename_with_component[PATHLEN];
  for(int i=0;i<component_num ;i++)
  {
    sprintf(cofilename_with_component,"%s.%d",cofilename,i);
    if ( (outf[i] = fopen(cofilename_with_component,"wb") ) == NULL )
      err(errno,"wrt_co2cmpn_use_inn_subctx()") ;
  };
  unsigned int count, wr = 0, newid;
 for(count=0;count < hashsize; count++)
 {
  if( co[count] != 0 && co[count] < HIBITSET1 )
  {
   newid = (unsigned int)( co[count] >> comp_code_bits ) ;
   fwrite( &newid, sizeof(unsigned int),1,outf[(int)( co[count] % component_num )] );
   wr++;
  }
 }
 for(int i=0;i<component_num ;i++)
   fclose(outf[i]);
 free(outf);
  return wr;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movq %rsi, 0x18(%rsp)
movl 0x4a9e1(%rip), %eax     # 0x5d618
subl 0x4a9e7(%rip), %eax     # 0x5d624
movq %rdi, %r12
xorl %ecx, %ecx
cmpl $0x8, %eax
leal -0x1c(,%rax,4), %eax
cmovll %ecx, %eax
movq %rax, 0x10(%rsp)
movslq 0x4a9d5(%rip), %rdi     # 0x5d630
shlq $0x3, %rdi
callq 0x3340
movq %rax, %rbx
leaq 0x13f3(%rip), %r13      # 0x14061
leaq 0x20(%rsp), %rbp
leaq 0x13f0(%rip), %r15      # 0x1406a
xorl %r14d, %r14d
movslq 0x4a9ac(%rip), %rax     # 0x5d630
cmpq %rax, %r14
jge 0x12cc8
movq %rbp, %rdi
movq %r13, %rsi
movq %r12, %rdx
movl %r14d, %ecx
xorl %eax, %eax
callq 0x3430
movq %rbp, %rdi
movq %r15, %rsi
callq 0x33a0
movq %rax, (%rbx,%r14,8)
incq %r14
testq %rax, %rax
jne 0x12c7d
callq 0x3060
movl (%rax), %edi
leaq 0x45f9(%rip), %rsi      # 0x172ba
xorl %eax, %eax
callq 0x3330
xorl %r15d, %r15d
movl 0x4a957(%rip), %ecx     # 0x5d628
leaq 0xc(%rsp), %r12
pushq $0x4
popq %r13
pushq $0x1
popq %rbp
xorl %r14d, %r14d
movl %ecx, %eax
cmpq %rax, %r15
jae 0x12d33
movq 0x18(%rsp), %rax
movq (%rax,%r15,8), %rax
testq %rax, %rax
jle 0x12d2e
movq %rax, %rdx
movq 0x10(%rsp), %rcx
shrq %cl, %rdx
movl %edx, 0xc(%rsp)
movslq 0x4a925(%rip), %rcx     # 0x5d630
xorl %edx, %edx
divq %rcx
movslq %edx, %rax
movq (%rbx,%rax,8), %rcx
movq %r12, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x3450
incl %r14d
movl 0x4a8fa(%rip), %ecx     # 0x5d628
incq %r15
jmp 0x12ce0
xorl %r15d, %r15d
movslq 0x4a8f3(%rip), %rax     # 0x5d630
cmpq %rax, %r15
jge 0x12d50
movq (%rbx,%r15,8), %rdi
callq 0x3100
incq %r15
jmp 0x12d36
movq %rbx, %rdi
callq 0x3040
movl %r14d, %eax
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/yhg926[P]public_kssd/kssd.c
// Function: main
int main(int argc, char** argv)
{
  setvbuf(stdout, (char *)NULL, _IOLBF, 0);
  setvbuf(stderr, (char *)NULL, _IOLBF, 0);
 const char subcommand_n[] = "<subcommand>";
  domain = (char*) malloc(strlen(argv[0])+1);
  strcpy(domain,argv[0]);
  long_domain = (char*) malloc( strlen(domain) + strlen(subcommand_n) + 1);
  snprintf(long_domain,strlen(domain) + strlen(subcommand_n) + 2,"%s %s",domain,subcommand_n);
  cmd_global(argc, argv);
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movl %edi, %ebp
movq 0x7b3c(%rip), %rax      # 0x1afd8
movq (%rax), %rdi
pushq $0x1
popq %r14
xorl %esi, %esi
movl %r14d, %edx
xorl %ecx, %ecx
callq 0x3370
movq 0x7b42(%rip), %rax      # 0x1aff8
movq (%rax), %rdi
xorl %esi, %esi
movl %r14d, %edx
xorl %ecx, %ecx
callq 0x3370
movabsq $0x3e646e616d6d6f, %rax # imm = 0x3E646E616D6D6F
movq %rsp, %r14
movq %rax, 0x5(%r14)
movabsq $0x6d6d6f636275733c, %rax # imm = 0x6D6D6F636275733C
movq %rax, (%r14)
movq (%rbx), %rdi
callq 0x3130
leaq 0x1(%rax), %rdi
callq 0x3340
movq %rax, %r15
leaq 0x4a102(%rip), %rax     # 0x5d600
movq %r15, (%rax)
movq (%rbx), %rsi
movq %r15, %rdi
callq 0x3080
movq %r15, %rdi
callq 0x3130
movq %rax, %r12
leaq 0xd(%rax), %rdi
callq 0x3340
leaq 0x4a0e1(%rip), %rcx     # 0x5d608
movq %rax, (%rcx)
addq $0xe, %r12
leaq 0x3bcf(%rip), %rdx      # 0x17104
movq %rax, %rdi
movq %r12, %rsi
movq %r15, %rcx
movq %r14, %r8
xorl %eax, %eax
callq 0x31b0
movl %ebp, %edi
movq %rbx, %rsi
callq 0x114c4
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O2/mgrosvenor[P]evec/demo1.c
// Function: main
int main(int argc, char** argv)
{
    int* a = NULL;
    evpsh(a, 2);
    evpsh(a, 4);
    evpsh(a, 6);

    for(int i =0; i < evcnt(a); i++){
        printf("%i: %i\n", i, a[i]);
    }

    a = evfree(a);
    return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
leaq 0xc(%rsp), %rsi
movl $0x2, (%rsi)
pushq $0x4
popq %rbx
xorl %edi, %edi
movq %rbx, %rdx
callq 0x1630
leaq 0x8(%rsp), %rsi
movl $0x4, (%rsi)
movq %rax, %rdi
movq %rbx, %rdx
callq 0x1630
leaq 0x4(%rsp), %rsi
movl $0x6, (%rsi)
movq %rax, %rdi
movq %rbx, %rdx
callq 0x1630
movq %rax, %rbx
leaq 0x9e9(%rip), %r14       # 0x2380
xorl %r15d, %r15d
movq %rbx, %rdi
callq 0x16fd
cmpq %r15, %rax
jbe 0x19bd
movl (%rbx,%r15,4), %edx
movq %r14, %rdi
movl %r15d, %esi
xorl %eax, %eax
callq 0x1050
incq %r15
jmp 0x199a
movq %rbx, %rdi
callq 0x18fa
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/CkTD[P]btree/btree_test2.c
// Function: main
int main()
{
    uint64_t       k, n;
    BTree         *bt;
    BTreeOpenFlag  flag;
    BTreeValues   *values;

    
    flag.create_if_missing = 1;
    flag.error_if_exist = 0;
    flag.file = "./test.bt";
    flag.order = 501;

    bt = bt_open(flag);
    //bt_print(bt);

    n = 544;

    printf("插入1000000个随机的 key/value pair...");
    for(k=0;k<1000000;k++)
    {
        n = rand() % 1000000;
        bt_insert(bt, n, n);
        if(n<10)
        {
            printf("\tinsert (%ld, %ld)\n", n, n);
        }
        //bt_insert(bt, rand(), rand());
        //bt_print(bt);
    }
    printf("Insert done.\n");
    
    printf("搜索 [0, 10] 范围的 key...\n");
    values = bt_search_range(bt, 100, 0, 10);
    printf("\tSearch Result[%lu]: ", bt_values_get_count(values));
    for(k=0;k<bt_values_get_count(values); k++)
        printf("%lu ", bt_values_get_value(values, k));
    printf("\n");
    bt_values_destory(values);

    printf("Search done.\n");
    bt_close(bt);
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq $0x1, 0x28(%rsp)
leaq 0x12b6(%rip), %rax      # 0x393e
movq %rax, 0x18(%rsp)
movq $0x1f5, 0x20(%rsp)      # imm = 0x1F5
movq 0x28(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x18(%rsp), %xmm0
movups %xmm0, (%rsp)
callq 0x18a6
movq %rax, %rbx
leaq 0x1290(%rip), %rdi      # 0x3948
xorl %eax, %eax
callq 0x1090
movl $0xf4240, %r12d         # imm = 0xF4240
movl $0xf4240, %ebp          # imm = 0xF4240
leaq 0x12a3(%rip), %r14      # 0x3974
subq $0x1, %r12
jb 0x2708
callq 0x1150
cltd
idivl %ebp
movslq %edx, %r15
movq %rbx, %rdi
movq %r15, %rsi
movq %r15, %rdx
callq 0x1633
cmpl $0x9, %r15d
ja 0x26d1
movq %r14, %rdi
movq %r15, %rsi
movq %r15, %rdx
xorl %eax, %eax
callq 0x1090
jmp 0x26d1
leaq 0x128f(%rip), %rdi      # 0x399e
callq 0x1060
leaq 0x1290(%rip), %rdi      # 0x39ab
callq 0x1060
pushq $0x64
popq %rsi
pushq $0xa
popq %rcx
movq %rbx, %rdi
xorl %edx, %edx
callq 0x180f
movq %rax, %r14
movq %rax, %rdi
callq 0x14f4
leaq 0x1246(%rip), %rdi      # 0x3988
movq %rax, %rsi
xorl %eax, %eax
callq 0x1090
leaq 0xb64(%rip), %r15       # 0x32b7
xorl %r12d, %r12d
movq %r14, %rdi
callq 0x14f4
cmpq %rax, %r12
jae 0x2780
movq %r14, %rdi
movq %r12, %rsi
callq 0x14f8
movq %r15, %rdi
movq %rax, %rsi
xorl %eax, %eax
callq 0x1090
incq %r12
jmp 0x2756
pushq $0xa
popq %rdi
callq 0x1040
movq %r14, %rdi
callq 0x14de
leaq 0x1234(%rip), %rdi      # 0x39cb
callq 0x1060
movq %rbx, %rdi
callq 0x1b31
xorl %eax, %eax
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/lyda[P]tz/zdump.c
// Function: yeartot
static time_t
yeartot(y)
const long	y;
{
	register long	myy;
	register long	seconds;
	register time_t	t;

	myy = EPOCH_YEAR;
	t = 0;
	while (myy != y) {
		if (myy < y) {
			seconds = isleap(myy) ? SECSPERLYEAR : SECSPERNYEAR;
			++myy;
			if (t > absolute_max_time - seconds) {
				t = absolute_max_time;
				break;
			}
			t += seconds;
		} else {
			--myy;
			seconds = isleap(myy) ? SECSPERLYEAR : SECSPERNYEAR;
			if (t < absolute_min_time + seconds) {
				t = absolute_min_time;
				break;
			}
			t -= seconds;
		}
	}
	return t;
}

// Assembly:
pushq %rbx
movq 0x69de(%rip), %r8       # 0x8588
movl $0x7b2, %esi            # imm = 0x7B2
movq 0x69da(%rip), %r9       # 0x8590
xorl %ecx, %ecx
movabsq $0x64, %r10
movl $0x190, %r11d           # imm = 0x190
movl $0x1e28500, %ebx        # imm = 0x1E28500
cmpq %rdi, %rsi
je 0x1c69
jge 0x1c1c
movl $0x1e13380, %eax        # imm = 0x1E13380
testb $0x3, %sil
jne 0x1c09
movq %rsi, %rax
cqto
idivq %r10
movl $0x1e28500, %eax        # imm = 0x1E28500
testq %rdx, %rdx
jne 0x1c09
movq %rsi, %rax
cqto
idivq %r11
testq %rdx, %rdx
movl $0x1e13380, %eax        # imm = 0x1E13380
cmoveq %rbx, %rax
movq %r9, %rdx
subq %rax, %rdx
cmpq %rdx, %rcx
jg 0x1c61
incq %rsi
addq %rax, %rcx
jmp 0x1bcd
decq %rsi
movl $0x1e13380, %eax        # imm = 0x1E13380
testb $0x3, %sil
jne 0x1c50
movq %rsi, %rax
cqto
idivq %r10
movl $0x1e28500, %eax        # imm = 0x1E28500
testq %rdx, %rdx
jne 0x1c50
movq %rsi, %rax
cqto
idivq %r11
testq %rdx, %rdx
movl $0x1e13380, %eax        # imm = 0x1E13380
cmoveq %rbx, %rax
leaq (%r8,%rax), %rdx
cmpq %rdx, %rcx
jl 0x1c66
subq %rax, %rcx
jmp 0x1bcd
movq %r9, %rcx
jmp 0x1c69
movq %r8, %rcx
movq %rcx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/lyda[P]tz/zdump.c
// Function: delta
static long
delta(newp, oldp)
struct tm *	newp;
struct tm *	oldp;
{
	register long	result;
	register int	tmy;

	if (newp->tm_year < oldp->tm_year)
		return -delta(oldp, newp);
	result = 0;
	for (tmy = oldp->tm_year; tmy < newp->tm_year; ++tmy)
		result += DAYSPERNYEAR + isleap_sum(tmy, TM_YEAR_BASE);
	result += newp->tm_yday - oldp->tm_yday;
	result *= HOURSPERDAY;
	result += newp->tm_hour - oldp->tm_hour;
	result *= MINSPERHOUR;
	result += newp->tm_min - oldp->tm_min;
	result *= SECSPERMIN;
	result += newp->tm_sec - oldp->tm_sec;
	return result;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rcx
movl 0x14(%rdi), %r10d
movl 0x14(%rsi), %edi
cmpl %edi, %r10d
jge 0x1ee8
movq %rsi, %rdi
movq %rcx, %rsi
callq 0x1ec3
negq %rax
jmp 0x1f8b
xorl %r9d, %r9d
movl $0x190, %r11d           # imm = 0x190
movw $0x64, %bx
movw $0x190, %bp             # imm = 0x190
cmpl %edi, %r10d
je 0x1f49
movl %edi, %eax
cltd
idivl %r11d
movl %edx, %r8d
movl $0x16d, %eax            # imm = 0x16D
testb $0x3, %r8b
jne 0x1f42
addl $0x12c, %r8d            # imm = 0x12C
movl %r8d, %eax
cwtd
idivw %bx
movl $0x16e, %eax            # imm = 0x16E
testw %dx, %dx
jne 0x1f42
movl %r8d, %eax
cwtd
idivw %bp
cmpw $0x1, %dx
movl $0x0, %eax
adcq $0x16d, %rax            # imm = 0x16D
addq %rax, %r9
incl %edi
jmp 0x1ef9
movslq 0x1c(%rcx), %rax
movslq 0x1c(%rsi), %rdx
subq %rdx, %rax
addq %rax, %r9
imulq $0x18, %r9, %rax
movslq 0x8(%rcx), %rdx
movslq 0x8(%rsi), %rdi
subq %rdi, %rdx
addq %rax, %rdx
imulq $0x3c, %rdx, %rax
movslq 0x4(%rcx), %rdx
movslq 0x4(%rsi), %rdi
subq %rdi, %rdx
addq %rax, %rdx
imulq $0x3c, %rdx, %rdx
movslq (%rcx), %rax
movslq (%rsi), %rcx
subq %rcx, %rax
addq %rdx, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/lyda[P]tz/zdump.c
// Function: dumptime
static void
dumptime(timeptr)
register const struct tm *	timeptr;
{
	static const char	wday_name[][3] = {
		"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"
	};
	static const char	mon_name[][3] = {
		"Jan", "Feb", "Mar", "Apr", "May", "Jun",
		"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
	};
	register const char *	wn;
	register const char *	mn;
	register int		lead;
	register int		trail;

	if (timeptr == NULL) {
		(void) printf("NULL");
		return;
	}
	/*
	** The packaged versions of localtime and gmtime never put out-of-range
	** values in tm_wday or tm_mon, but since this code might be compiled
	** with other (perhaps experimental) versions, paranoia is in order.
	*/
	if (timeptr->tm_wday < 0 || timeptr->tm_wday >=
		(int) (sizeof wday_name / sizeof wday_name[0]))
			wn = "???";
	else		wn = wday_name[timeptr->tm_wday];
	if (timeptr->tm_mon < 0 || timeptr->tm_mon >=
		(int) (sizeof mon_name / sizeof mon_name[0]))
			mn = "???";
	else		mn = mon_name[timeptr->tm_mon];
	(void) printf("%.3s %.3s%3d %.2d:%.2d:%.2d ",
		wn, mn,
		timeptr->tm_mday, timeptr->tm_hour,
		timeptr->tm_min, timeptr->tm_sec);
#define DIVISOR	10
	trail = timeptr->tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR;
	lead = timeptr->tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR +
		trail / DIVISOR;
	trail %= DIVISOR;
	if (trail < 0 && lead > 0) {
		trail += DIVISOR;
		--lead;
	} else if (lead < 0 && trail > 0) {
		trail -= DIVISOR;
		++lead;
	}
	if (lead == 0)
		(void) printf("%d", trail);
	else	(void) printf("%d%d", lead, ((trail < 0) ? -trail : trail));
}

// Assembly:
testq %rdi, %rdi
je 0x202a
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movl 0x18(%rdi), %eax
leaq (%rax,%rax,2), %rcx
leaq 0x321f(%rip), %rsi      # 0x51d0
addq %rcx, %rsi
cmpq $0x7, %rax
leaq 0x3145(%rip), %rax      # 0x5104
cmovaeq %rax, %rsi
movl 0x10(%rdi), %ecx
leaq (%rcx,%rcx,2), %rdi
leaq 0x321f(%rip), %rdx      # 0x51f0
addq %rdi, %rdx
cmpq $0xc, %rcx
cmovaeq %rax, %rdx
movl 0xc(%rbx), %ecx
movl 0x8(%rbx), %r8d
movl (%rbx), %eax
movl 0x4(%rbx), %r9d
movl %eax, (%rsp)
leaq 0x3115(%rip), %rdi      # 0x5108
xorl %eax, %eax
callq 0x10e0
movl 0x14(%rbx), %ecx
pushq $0xa
popq %rsi
movl %ecx, %eax
cltd
idivl %esi
testl %edx, %edx
setns %sil
cmpl $0xfffff895, %ecx       # imm = 0xFFFFF895
setl %dil
orb %sil, %dil
leaq 0x10(%rsp), %rsp
popq %rbx
jne 0x2038
addl $0xa, %edx
addl $0xbd, %eax
jmp 0x205b
leaq 0x30ce(%rip), %rdi      # 0x50ff
xorl %eax, %eax
jmp 0x10e0
cmpl $0xfffff88b, %ecx       # imm = 0xFFFFF88B
setge %cl
testl %edx, %edx
setle %sil
orb %cl, %sil
jne 0x2056
addl $-0xa, %edx
addl $0xbf, %eax
jmp 0x205b
addl $0xbe, %eax
testl %eax, %eax
je 0x2078
movl %edx, %ecx
negl %ecx
cmovsl %edx, %ecx
leaq 0x30b8(%rip), %rdi      # 0x5125
movl %eax, %esi
movl %ecx, %edx
xorl %eax, %eax
jmp 0x10e0
leaq 0x3079(%rip), %rdi      # 0x50f8
movl %edx, %esi
xorl %eax, %eax
jmp 0x10e0
// File: /workspace/github_c_makefile_star2_O2/lyda[P]tz/localtime.c
// Function: tzset
void
tzset(void)
{
	register const char *	name;

	name = getenv("TZ");
	if (name == NULL) {
		tzsetwall();
		return;
	}

	if (lcl_is_set > 0 && strcmp(lcl_TZname, name) == 0)
		return;
	lcl_is_set = strlen(name) < sizeof lcl_TZname;
	if (lcl_is_set)
		(void) strcpy(lcl_TZname, name);

#ifdef ALL_STATE
	if (lclptr == NULL) {
		lclptr = (struct state *) calloc(1, sizeof *lclptr);
		if (lclptr == NULL) {
			settzname();	/* all we can do */
			return;
		}
	}
#endif /* defined ALL_STATE */
	if (*name == '\0') {
		/*
		** User wants it fast rather than right.
		*/
		lclptr->leapcnt = 0;		/* so, we're off a little */
		lclptr->timecnt = 0;
		lclptr->typecnt = 0;
		lclptr->ttis[0].tt_isdst = 0;
		lclptr->ttis[0].tt_gmtoff = 0;
		lclptr->ttis[0].tt_abbrind = 0;
		(void) strcpy(lclptr->chars, gmt);
	} else if (tzload(name, lclptr, TRUE) != 0)
		if (name[0] == ':' || tzparse(name, lclptr, FALSE) != 0)
			(void) gmtload(lclptr);
	settzname();
}

// Assembly:
pushq %rbx
leaq 0x3198(%rip), %rdi      # 0x5228
callq 0x1030
movq %rax, %rbx
movl 0x6502(%rip), %eax      # 0x85a0
testq %rbx, %rbx
je 0x211b
testl %eax, %eax
jle 0x20be
leaq 0x6502(%rip), %rdi      # 0x85b0
movq %rbx, %rsi
callq 0x1130
testl %eax, %eax
je 0x2149
movq %rbx, %rdi
callq 0x10b0
xorl %ecx, %ecx
cmpq $0x100, %rax            # imm = 0x100
setb %cl
movl %ecx, 0x64c9(%rip)      # 0x85a0
jae 0x20e8
leaq 0x64d0(%rip), %rdi      # 0x85b0
movq %rbx, %rsi
callq 0x1080
cmpb $0x0, (%rbx)
je 0x214b
leaq 0x65bc(%rip), %rsi      # 0x86b0
pushq $0x1
popq %rdx
movq %rbx, %rdi
callq 0x2174
testl %eax, %eax
je 0x216e
cmpb $0x3a, (%rbx)
je 0x213b
leaq 0x65a1(%rip), %rsi      # 0x86b0
movq %rbx, %rdi
xorl %edx, %edx
callq 0x28a2
jmp 0x2137
testl %eax, %eax
js 0x2149
orl $-0x1, 0x647a(%rip)     # 0x85a0
leaq 0x6583(%rip), %rsi      # 0x86b0
pushq $0x1
popq %rdx
xorl %edi, %edi
callq 0x2174
testl %eax, %eax
je 0x216e
leaq 0x656e(%rip), %rdi      # 0x86b0
callq 0x2d7d
jmp 0x216e
popq %rbx
retq
andq $0x0, 0x655d(%rip)      # 0x86b0
andl $0x0, 0x655e(%rip)      # 0x86b8
xorps %xmm0, %xmm0
movups %xmm0, 0x8f94(%rip)     # 0xb0f8
movl $0x544d47, 0xa78a(%rip) # imm = 0x544D47
popq %rbx
jmp 0x2dac
// File: /workspace/github_c_makefile_star2_O2/lyda[P]tz/localtime.c
// Function: settzname
static void
settzname(void)
{
	register struct state * const	sp = lclptr;
	register int			i;

	tzname[0] = wildabbr;
	tzname[1] = wildabbr;
#ifdef USG_COMPAT
	daylight = 0;
	timezone = 0;
#endif /* defined USG_COMPAT */
#ifdef ALTZONE
	altzone = 0;
#endif /* defined ALTZONE */
#ifdef ALL_STATE
	if (sp == NULL) {
		tzname[0] = tzname[1] = gmt;
		return;
	}
#endif /* defined ALL_STATE */
	/*
	** And to get the latest zone names into tzname. . .
	*/
	for (i = 0; i < sp->timecnt; ++i) {
		register const struct ttinfo * const	ttisp =
							&sp->ttis[
								sp->types[i]];

		tzname[ttisp->tt_isdst] =
			&sp->chars[ttisp->tt_abbrind];
#ifdef USG_COMPAT
		if (ttisp->tt_isdst)
			daylight = 1;
		if (!ttisp->tt_isdst)
			timezone = -(ttisp->tt_gmtoff);
#endif /* defined USG_COMPAT */
#ifdef ALTZONE
		if (ttisp->tt_isdst)
			altzone = -(ttisp->tt_gmtoff);
#endif /* defined ALTZONE */
	}
	/*
	** Finally, scrub the abbreviations.
	** First, replace bogus characters.
	*/
	for (i = 0; i < sp->charcnt; ++i)
		if (strchr(TZ_ABBR_CHAR_SET, sp->chars[i]) == NULL)
			sp->chars[i] = TZ_ABBR_ERR_CHAR;
	/*
	** Second, truncate long abbreviations.
	*/
	for (i = 0; i < sp->typecnt; ++i) {
		register const struct ttinfo * const	ttisp = &sp->ttis[i];
		register char *				cp = &sp->chars[ttisp->tt_abbrind];

		if (strlen(cp) > TZ_ABBR_MAX_LEN &&
			strcmp(cp, GRANDPARENTED) != 0)
				*(cp + TZ_ABBR_MAX_LEN) = '\0';
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0x5382(%rip), %rax      # 0x8140
movq %rax, 0x538b(%rip)      # 0x8150
movq %rax, 0x538c(%rip)      # 0x8158
movl 0x58e2(%rip), %eax      # 0x86b4
xorl %ecx, %ecx
testl %eax, %eax
cmovlel %ecx, %eax
leaq 0x58d0(%rip), %r15      # 0x86b0
leaq 0x5369(%rip), %rdx      # 0x8150
cmpq %rcx, %rax
je 0x2e1c
movzbl 0x2598(%rcx,%r15), %esi
imulq $0x18, %rsi, %rsi
movslq 0x2a54(%rsi,%r15), %rdi
addq %r15, %rdi
addq $0x4248, %rdi           # imm = 0x4248
movslq 0x2a50(%rsi,%r15), %rsi
movq %rdi, (%rdx,%rsi,8)
incq %rcx
jmp 0x2de7
movl 0x5899(%rip), %r12d     # 0x86bc
xorl %r13d, %r13d
testl %r12d, %r12d
cmovlel %r13d, %r12d
leaq 0x2434(%rip), %rbx      # 0x5268
pushq $0x45
popq %r14
cmpq %r13, %r12
je 0x2e64
movsbl 0x4248(%r13,%r15), %esi
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1100
testq %rax, %rax
jne 0x2e5f
movb $0x5f, 0x4248(%r13,%r15)
incq %r13
jmp 0x2e38
leaq 0x8299(%rip), %r12      # 0xb104
movl 0x5847(%rip), %ebp      # 0x86b8
xorl %r13d, %r13d
leaq 0x2432(%rip), %rbx      # 0x52ad
movslq %ebp, %rax
cmpq %rax, %r13
jge 0x2ec3
movslq (%r12), %rax
leaq (%rax,%r15), %r14
addq $0x4248, %r14           # imm = 0x4248
movq %r14, %rdi
callq 0x10b0
cmpq $0x11, %rax
jb 0x2eba
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1130
testl %eax, %eax
je 0x2eba
movb $0x0, 0x10(%r14)
movl 0x57fe(%rip), %ebp      # 0x86b8
incq %r13
addq $0x18, %r12
jmp 0x2e7b
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/lyda[P]tz/localtime.c
// Function: detzcode
static long
detzcode(codep)
const char * const	codep;
{
	register long	result;
	register int	i;

	result = (codep[0] & 0x80) ? ~0L : 0;
	for (i = 0; i < 4; ++i)
		result = (result << 8) | (codep[i] & 0xff);
	return result;
}

// Assembly:
movb (%rdi), %al
sarb $0x7, %al
movsbq %al, %rax
xorl %ecx, %ecx
cmpq $0x4, %rcx
je 0x32f0
shlq $0x8, %rax
movzbl (%rdi,%rcx), %edx
orq %rdx, %rax
incq %rcx
jmp 0x32da
retq
// File: /workspace/github_c_makefile_star2_O2/lyda[P]tz/localtime.c
// Function: detzcode64
static time_t
detzcode64(codep)
const char * const	codep;
{
	register time_t	result;
	register int	i;

	result = (codep[0] & 0x80) ?  (~(int_fast64_t) 0) : 0;
	for (i = 0; i < 8; ++i)
		result = result * 256 + (codep[i] & 0xff);
	return result;
}

// Assembly:
movb (%rdi), %al
sarb $0x7, %al
movsbq %al, %rax
xorl %ecx, %ecx
cmpq $0x8, %rcx
je 0x3312
shlq $0x8, %rax
movzbl (%rdi,%rcx), %edx
orq %rdx, %rax
incq %rcx
jmp 0x32fc
retq
// File: /workspace/github_c_makefile_star2_O2/lyda[P]tz/localtime.c
// Function: typesequiv
static int
typesequiv(sp, a, b)
const struct state * const	sp;
const int			a;
const int			b;
{
	register int	result;

	if (sp == NULL ||
		a < 0 || a >= sp->typecnt ||
		b < 0 || b >= sp->typecnt)
			result = FALSE;
	else {
		register const struct ttinfo *	ap = &sp->ttis[a];
		register const struct ttinfo *	bp = &sp->ttis[b];
		result = ap->tt_gmtoff == bp->tt_gmtoff &&
			ap->tt_isdst == bp->tt_isdst &&
			ap->tt_ttisstd == bp->tt_ttisstd &&
			ap->tt_ttisgmt == bp->tt_ttisgmt &&
			strcmp(&sp->chars[ap->tt_abbrind],
			&sp->chars[bp->tt_abbrind]) == 0;
	}
	return result;
}

// Assembly:
xorl %eax, %eax
testq %rdi, %rdi
je 0x33af
movl 0x8(%rdi), %ecx
cmpl %esi, %ecx
setle %r8b
cmpl %edx, %ecx
setle %cl
orb %r8b, %cl
jne 0x33af
movl %esi, %ecx
imulq $0x18, %rcx, %rcx
movl %edx, %edx
imulq $0x18, %rdx, %rsi
movq 0x2a48(%rdi,%rcx), %rdx
cmpq 0x2a48(%rdi,%rsi), %rdx
jne 0x33af
leaq (%rdi,%rcx), %rdx
addq $0x2a48, %rdx           # imm = 0x2A48
leaq (%rdi,%rsi), %rcx
addq $0x2a48, %rcx           # imm = 0x2A48
movl 0x8(%rdx), %esi
cmpl 0x8(%rcx), %esi
jne 0x33af
movl 0x10(%rdx), %esi
cmpl 0x10(%rcx), %esi
jne 0x33af
movl 0x14(%rdx), %esi
cmpl 0x14(%rcx), %esi
jne 0x33af
pushq %rax
movslq 0xc(%rdx), %rax
addq %rdi, %rax
addq $0x4248, %rax           # imm = 0x4248
movslq 0xc(%rcx), %rcx
leaq (%rdi,%rcx), %rsi
addq $0x4248, %rsi           # imm = 0x4248
movq %rax, %rdi
callq 0x1130
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
sete %al
addq $0x8, %rsp
retq
// File: /workspace/github_c_makefile_star2_O2/lyda[P]tz/localtime.c
// Function: getqzname
static const char *
getqzname(register const char *strp, const int delim)
{
	register int	c;

	while ((c = *strp) != '\0' && c != delim)
		++strp;
	return strp;
}

// Assembly:
movq %rdi, %rax
movzbl (%rax), %ecx
testl %ecx, %ecx
je 0x33c4
cmpl $0x3e, %ecx
je 0x33c4
incq %rax
jmp 0x33b3
retq
// File: /workspace/github_c_makefile_star2_O2/lyda[P]tz/localtime.c
// Function: increment_overflow
static int
increment_overflow(ip, j)
int * const	ip;
int		j;
{
	register int const	i = *ip;

	/*
	** If i >= 0 there can only be overflow if i + j > INT_MAX
	** or if j > INT_MAX - i; given i >= 0, INT_MAX - i cannot overflow.
	** If i < 0 there can only be overflow if i + j < INT_MIN
	** or if j < INT_MIN - i; given i < 0, INT_MIN - i cannot overflow.
	*/
	if ((i >= 0) ? (j > INT_MAX - i) : (j < INT_MIN - i))
		return TRUE;
	*ip += j;
	return FALSE;
}

// Assembly:
movl (%rdi), %eax
testl %eax, %eax
js 0x3c40
movl %eax, %ecx
xorl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl %esi, %ecx
jge 0x3c4b
pushq $0x1
popq %rax
retq
movl $0x80000000, %ecx       # imm = 0x80000000
subl %eax, %ecx
cmpl %esi, %ecx
jg 0x3c3c
addl %esi, %eax
movl %eax, (%rdi)
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O2/lyda[P]tz/localtime.c
// Function: normalize_overflow
static int
normalize_overflow(tensptr, unitsptr, base)
int * const	tensptr;
int * const	unitsptr;
const int	base;
{
	register int	tensdelta;

	tensdelta = (*unitsptr >= 0) ?
		(*unitsptr / base) :
		(-1 - (-1 - *unitsptr) / base);
	*unitsptr -= tensdelta * base;
	return increment_overflow(tensptr, tensdelta);
}

// Assembly:
movl %edx, %ecx
movl (%rsi), %r8d
movl %r8d, %eax
testl %r8d, %r8d
js 0x4158
xorl %edx, %edx
divl %ecx
jmp 0x4160
notl %eax
xorl %edx, %edx
divl %ecx
notl %eax
imull %eax, %ecx
subl %ecx, %r8d
movl %r8d, (%rsi)
movl %eax, %esi
jmp 0x3c2a
// File: /workspace/github_c_makefile_star2_O2/lyda[P]tz/localtime.c
// Function: long_increment_overflow
static int
long_increment_overflow(lp, m)
long * const	lp;
int const	m;
{
	register long const	l = *lp;

	if ((l >= 0) ? (m > LONG_MAX - l) : (m < LONG_MIN - l))
		return TRUE;
	*lp += m;
	return FALSE;
}

// Assembly:
movabsq $0x7fffffffffffffff, %rdx # imm = 0x7FFFFFFFFFFFFFFF
movq (%rdi), %rax
movslq %esi, %rcx
subq %rax, %rdx
testq %rax, %rax
js 0x4191
cmpq %rcx, %rdx
jge 0x4199
pushq $0x1
popq %rax
retq
incq %rdx
cmpq %rcx, %rdx
jg 0x418d
addq %rcx, %rax
movq %rax, (%rdi)
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O2/lyda[P]tz/localtime.c
// Function: tmcomp
static int
tmcomp(atmp, btmp)
register const struct tm * const atmp;
register const struct tm * const btmp;
{
	register int	result;

	if ((result = (atmp->tm_year - btmp->tm_year)) == 0 &&
		(result = (atmp->tm_mon - btmp->tm_mon)) == 0 &&
		(result = (atmp->tm_mday - btmp->tm_mday)) == 0 &&
		(result = (atmp->tm_hour - btmp->tm_hour)) == 0 &&
		(result = (atmp->tm_min - btmp->tm_min)) == 0)
			result = atmp->tm_sec - btmp->tm_sec;
	return result;
}

// Assembly:
movl 0x14(%rdi), %eax
subl 0x14(%rsi), %eax
je 0x41ab
retq
movl 0x10(%rdi), %eax
subl 0x10(%rsi), %eax
jne 0x41aa
movl 0xc(%rdi), %eax
subl 0xc(%rsi), %eax
jne 0x41aa
movl 0x8(%rdi), %eax
subl 0x8(%rsi), %eax
jne 0x41aa
movl 0x4(%rdi), %eax
subl 0x4(%rsi), %eax
jne 0x41aa
movl (%rdi), %eax
subl (%rsi), %eax
retq
// File: /workspace/github_c_makefile_star2_O2/dpw[P]skinny-mutex/test.c
// Function: main
int main(void)
{
	test_static_mutex();

	do_test(test_lock_unlock, 1);
	do_test(test_contention, 1);
	do_test(test_lock_cancellation, 1);
	do_test(test_trylock, 0);
	do_test(test_cond_wait, 1);
	do_test(test_cond_timedwait, 1);
	do_test(test_cond_wait_cancellation, 1);
	do_test(test_unlock_not_held, 0);

	return 0;
}

// Assembly:
pushq %rbx
leaq 0x4848(%rip), %rdi      # 0x60f8
callq 0x2642
testl %eax, %eax
jne 0x1956
leaq 0x4834(%rip), %rdi      # 0x60f8
callq 0x2655
testl %eax, %eax
jne 0x196f
cmpq $0x0, 0x481f(%rip)      # 0x60f8
jne 0x1988
leaq 0x481(%rip), %rdi       # 0x1d67
pushq $0x1
popq %rbx
movl %ebx, %esi
callq 0x19a5
leaq 0x4c1(%rip), %rdi       # 0x1db8
movl %ebx, %esi
callq 0x19a5
leaq 0x643(%rip), %rdi       # 0x1f48
movl %ebx, %esi
callq 0x19a5
leaq 0x73a(%rip), %rdi       # 0x204d
xorl %esi, %esi
callq 0x19a5
leaq 0x8d6(%rip), %rdi       # 0x21f7
movl %ebx, %esi
callq 0x19a5
leaq 0xa50(%rip), %rdi       # 0x237f
movl %ebx, %esi
callq 0x19a5
leaq 0xb9f(%rip), %rdi       # 0x24dc
movl %ebx, %esi
callq 0x19a5
leaq 0xccb(%rip), %rdi       # 0x2616
xorl %esi, %esi
callq 0x19a5
xorl %eax, %eax
popq %rbx
retq
leaq 0x17d7(%rip), %rdi      # 0x3134
leaq 0x17f2(%rip), %rsi      # 0x3156
leaq 0x17f2(%rip), %rcx      # 0x315d
pushq $0xc
jmp 0x199f
leaq 0x1804(%rip), %rdi      # 0x317a
leaq 0x17d9(%rip), %rsi      # 0x3156
leaq 0x17d9(%rip), %rcx      # 0x315d
pushq $0xd
jmp 0x199f
leaq 0x180f(%rip), %rdi      # 0x319e
leaq 0x17c0(%rip), %rsi      # 0x3156
leaq 0x17c0(%rip), %rcx      # 0x315d
pushq $0xe
popq %rdx
callq 0x10b0