LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/thegenemyers[P]DAMASKER/datander.c
// Function: Clean_Exit
void Clean_Exit(int val)
{ char *command;

  command = CommandBuffer("",SORT_PATH);
  sprintf(command,"rm -r %s",SORT_PATH);
  if (system(command) != 0)
    { fprintf(stderr,"%s: Command Failed:\n%*s      %s\n",
                     Prog_Name,(int) strlen(Prog_Name),"",command);
      exit (1);
    }
  exit (val);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edi, %ebp
movq 0x20c1c(%rip), %rsi     # 0x241c8
leaq 0x1acc1(%rip), %rdi     # 0x1e274
callq 0x362c
movq %rax, %rbx
movq 0x20c06(%rip), %rdx     # 0x241c8
leaq 0x19a7f(%rip), %rsi     # 0x1d048
movq %rax, %rdi
xorl %eax, %eax
callq 0x22d0
movq %rbx, %rdi
callq 0x2130
testl %eax, %eax
jne 0x35e6
movl %ebp, %edi
callq 0x22e0
movq 0x20a0b(%rip), %rax     # 0x23ff8
movq (%rax), %r14
leaq 0x20c69(%rip), %rax     # 0x24260
movq (%rax), %r15
movq %r15, %rdi
callq 0x2120
leaq 0x19e78(%rip), %rsi     # 0x1d481
leaq 0x1ac64(%rip), %r8      # 0x1e274
movq %r14, %rdi
movq %r15, %rdx
movl %eax, %ecx
movq %rbx, %r9
xorl %eax, %eax
callq 0x2200
movl $0x1, %edi
callq 0x22e0
// File: /workspace/github_c_makefile_star2_O1/thegenemyers[P]DAMASKER/datander.c
// Function: CommandBuffer
static char *CommandBuffer(char *bname, char *spath)
{ static char *cat = NULL;
  static int   max = -1;
  int len;

  len = 2*(strlen(bname) + strlen(spath)) + 200;
  if (len > max)
    { max = ((int) (1.2*len)) + 100;
      if ((cat = (char *) realloc(cat,max+1)) == NULL)
        { fprintf(stderr,"%s: Out of memory (Making path name)\n",Prog_Name);
          Clean_Exit(1);
        }
    }
  return (cat);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
callq 0x2120
movq %rax, %r14
movq %rbx, %rdi
callq 0x2120
addl %r14d, %eax
leal 0xc8(,%rax,2), %eax
cmpl 0x20b55(%rip), %eax     # 0x241a8
jle 0x368c
cvtsi2sd %eax, %xmm0
mulsd 0x199a7(%rip), %xmm0    # 0x1d008
cvttsd2si %xmm0, %eax
leal 0x64(%rax), %ecx
movl %ecx, 0x20b3a(%rip)     # 0x241a8
movq 0x20b63(%rip), %rdi     # 0x241d8
addl $0x65, %eax
movslq %eax, %rsi
callq 0x2270
movq %rax, 0x20b51(%rip)     # 0x241d8
testq %rax, %rax
je 0x369b
movq 0x20b45(%rip), %rax     # 0x241d8
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x2340
// File: /workspace/github_c_makefile_star2_O1/thegenemyers[P]DAMASKER/tandem.c
// Function: Set_Filter_Params
int Set_Filter_Params(int kmer, int binshift, int hitmin, int nthreads)
{ if (kmer <= 1)
    return (1);

  Kmer     = kmer;
  Binshift = binshift;
  Hitmin   = hitmin;

  Kshift = 2*Kmer;
  if (Kmer == 32)
    Kmask = 0xffffffffffffffffllu;
  else
    Kmask = (0x1llu << Kshift) - 1;

  NTHREADS = 1;
  NSHIFT   = 0;
  while (2*NTHREADS <= nthreads)
    { NTHREADS *= 2;
      NSHIFT   += 1;
    }

  return (0);
}

// Assembly:
movl $0x1, %eax
cmpl $0x2, %edi
jl 0x4180
movl %ecx, %r8d
movl %edi, 0x200cd(%rip)     # 0x241e0
movl %esi, 0x200cb(%rip)     # 0x241e4
movl %edx, 0x200c9(%rip)     # 0x241e8
leal (%rdi,%rdi), %ecx
movl %ecx, 0x200c4(%rip)     # 0x241ec
movq $-0x1, %rax
movq $-0x1, %rdx
shlq %cl, %rdx
cmpl $0x20, %edi
notq %rdx
cmoveq %rax, %rdx
movq %rdx, 0x200a6(%rip)     # 0x241f0
movl $0x1, 0x200a4(%rip)     # 0x241f8
xorl %eax, %eax
movl $0x0, %ecx
cmpl $0x2, %r8d
jl 0x417a
xorl %ecx, %ecx
movl $0x2, %esi
movl %esi, %edx
incl %ecx
leal (%rdx,%rdx), %esi
cmpl %r8d, %esi
jle 0x4168
movl %edx, 0x2007e(%rip)     # 0x241f8
movl %ecx, 0x2007c(%rip)     # 0x241fc
retq
// File: /workspace/github_c_makefile_star2_O1/thegenemyers[P]DAMASKER/tandem.c
// Function: Diagonal_Span
void Diagonal_Span(Path *path, int *mind, int *maxd)
{ uint16 *points;
  int     i, tlen;
  int     dd, low, hgh;

  points = path->trace;
  tlen   = path->tlen;

  dd = path->abpos - path->bbpos;
  low = hgh = dd;

  dd = path->aepos - path->bepos;
  if (dd < low)
    low = dd;
  else if (dd > hgh)
    hgh = dd;

  dd = (path->abpos/MR_tspace)*MR_tspace - path->bbpos;
  tlen -= 2;
  for (i = 1; i < tlen; i += 2)
    { dd += MR_tspace - points[i];
      if (dd < low)
        low = dd;
      else if (dd > hgh)
        hgh = dd;
    }

  *mind = (low >> Binshift)-1;
  *maxd = (hgh >> Binshift)+1;
}

// Assembly:
pushq %rbp
pushq %rbx
movq %rdx, %r8
movl 0x10(%rdi), %ecx
movl 0x14(%rdi), %ebp
movl %ecx, %eax
subl %ebp, %eax
movl 0x18(%rdi), %r9d
subl 0x1c(%rdi), %r9d
cmpl %eax, %r9d
movl %eax, %r10d
cmovgl %r9d, %r10d
movslq 0x8(%rdi), %r11
cmovgel %eax, %r9d
cmpq $0x4, %r11
jl 0x41f2
movq (%rdi), %rdi
movl 0x20047(%rip), %ebx     # 0x24200
addq $-0x2, %r11
movl %ecx, %eax
cltd
idivl %ebx
addl %edx, %ebp
subl %ebp, %ecx
movl $0x1, %eax
movzwl (%rdi,%rax,2), %edx
movl %ebx, %ebp
subl %edx, %ebp
addl %ebp, %ecx
cmpl %r10d, %ecx
movl %r10d, %edx
cmovgl %ecx, %edx
cmpl %r9d, %ecx
cmovll %ecx, %r9d
cmovgel %edx, %r10d
addq $0x2, %rax
cmpq %r11, %rax
jl 0x41cb
movb 0x1ffec(%rip), %cl      # 0x241e4
sarl %cl, %r9d
sarl %cl, %r10d
decl %r9d
movl %r9d, (%rsi)
incl %r10d
movl %r10d, (%r8)
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/thegenemyers[P]DAMASKER/tandem.c
// Function: count_thread
static void *count_thread(void *arg)
{ Merge_Arg  *data  = (Merge_Arg *) arg;
  int64      *kptr  = data->kptr;
  KmerPos    *asort = MG_alist;
  int         aend  = data->aend;

  uint64 ca, da;
  int    ia;
  int    ar, nr;
  int    ap, np;

  ia = data->abeg;
  da = asort[ia].code;
  while (ia < aend)
    { ca = da;
      ar = asort[ia].read;
      ap = asort[ia].rpos;
      kptr[ap & BMASK] += 1;
      while ((da = asort[++ia].code) == ca)
        { np = asort[ia].rpos;
          if ((nr = asort[ia].read) == ar)
            asort[ia].code = np - ap;
          else
            { asort[ia].code = 0;
              ar = nr;
            }
          ap = np;
          kptr[ap & BMASK] += 1;
        }
      asort[ia].code = 0;
    }
            
  return (NULL);
}

// Assembly:
movl (%rdi), %eax
movl 0x4(%rdi), %ecx
cmpl %ecx, %eax
jge 0x4e75
pushq %rbp
pushq %r14
pushq %rbx
movq 0x8(%rdi), %rdx
movq 0x1f40f(%rip), %rsi     # 0x24208
movslq %eax, %rdi
shlq $0x4, %rdi
movq (%rsi,%rdi), %r8
xorl %edi, %edi
cltq
movq %rax, %r9
shlq $0x4, %r9
addq %rsi, %r9
addq $0x10, %r9
movl -0x8(%r9), %r10d
movl -0x4(%r9), %r11d
movzbl %r10b, %ebx
incq (%rdx,%rbx,8)
incl %eax
movq (%r9), %rbx
cmpq %r8, %rbx
jne 0x4e63
movl 0x8(%r9), %ebp
movl 0xc(%r9), %r14d
movl %ebp, %ebx
subl %r10d, %ebx
cmpl %r11d, %r14d
cmovnel %edi, %ebx
movslq %ebx, %r10
movq %r10, (%r9)
movzbl %bpl, %r10d
incq (%rdx,%r10,8)
movq 0x10(%r9), %rbx
addq $0x10, %r9
incl %eax
movl %ebp, %r10d
movl %r14d, %r11d
jmp 0x4e2b
movq $0x0, (%r9)
movq %rbx, %r8
cmpl %ecx, %eax
jl 0x4e06
popq %rbx
popq %r14
popq %rbp
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/thegenemyers[P]DAMASKER/tandem.c
// Function: tuple_thread
static void *tuple_thread(void *arg)
{ Tuple_Arg  *data  = (Tuple_Arg *) arg;
  int         tnum  = data->tnum;
  int64      *kptr  = data->kptr;
  KmerPos    *list  = TA_list;
  int         i, m, n, x, p;
  uint64      c;
  char       *s;

  c  = TA_block->nreads;
  i  = (c * tnum) >> NSHIFT;
  n  = TA_block->reads[i].boff;
  s  = ((char *) (TA_block->bases)) + n;
  n -= Kmer*i;

  for (m = (c * (tnum+1)) >> NSHIFT; i < m; i++)
    { c = p = 0;
      for (x = 1; x < Kmer; x++)
        c = (c << 2) | s[p++];
      while ((x = s[p]) != 4)
        { c = ((c << 2) | x) & Kmask;
          list[n].read = i;
          list[n].rpos = ++p;
          list[n].code = c;
          n += 1;
          kptr[c & BMASK] += 1;
        }
      s += (p+1);
    }

  return (NULL);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movslq (%rdi), %rax
movq 0x1e6ae(%rip), %rsi     # 0x24220
movslq 0x30(%rsi), %r8
movq %r8, %rdx
imulq %rax, %rdx
movb 0x1e679(%rip), %cl      # 0x241fc
shrq %cl, %rdx
incq %rax
imulq %r8, %rax
shrq %cl, %rax
cmpl %eax, %edx
jge 0x5c95
movq 0x8(%rdi), %rcx
movq 0x1e685(%rip), %r14     # 0x24228
movl 0x1e637(%rip), %edi     # 0x241e0
movq 0x60(%rsi), %r8
movslq %edx, %r9
leaq (%r9,%r9,4), %r9
movq 0x10(%r8,%r9,8), %r8
movl %edi, %r10d
imull %edx, %r10d
movslq %r8d, %r9
subl %r10d, %r8d
addq 0x58(%rsi), %r9
movq 0x1e61f(%rip), %r10     # 0x241f0
cmpl $0x2, %edi
movl $0x1, %r11d
cmovgel %edi, %r11d
leal -0x1(%rdi), %ebx
leal -0x1(%r11), %esi
addq $0xc, %r14
movq %r14, -0x8(%rsp)
incq %rsi
movq %rsi, -0x10(%rsp)
cmpl $0x2, %edi
jl 0x5c1b
xorl %esi, %esi
xorl %r15d, %r15d
movq %r15, %r12
shlq $0x2, %r12
movsbq (%r9,%rsi), %r15
incq %rsi
orq %r12, %r15
cmpq %rsi, %rbx
jne 0x5c00
movl %ebx, %ebp
jmp 0x5c20
xorl %ebp, %ebp
xorl %r15d, %r15d
movl %ebp, %esi
movb (%r9,%rsi), %sil
cmpb $0x4, %sil
je 0x5c83
movslq %r8d, %r12
shlq $0x4, %r12
addq -0x8(%rsp), %r12
movq -0x10(%rsp), %r14
leaq (%r9,%r14), %r13
movl %r11d, %ebp
shlq $0x2, %r15
movsbq %sil, %r14
orq %r15, %r14
andq %r10, %r14
movl %edx, (%r12)
movl %ebp, -0x4(%r12)
movq %r14, -0xc(%r12)
movzbl %r14b, %esi
incq (%rcx,%rsi,8)
movb (%r13), %sil
addq $0x10, %r12
incl %r8d
incl %ebp
incq %r13
movq %r14, %r15
cmpb $0x4, %sil
jne 0x5c44
decl %ebp
movl %ebp, %esi
addq %rsi, %r9
incq %r9
incl %edx
cmpl %eax, %edx
jne 0x5bf6
xorl %eax, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/Joy-Division[P]tools-mgs/dat-merge.c
// Function: main
int main(int argc, char** argv) {
	FILE *f = NULL;
	FILE *o = NULL;
	
	uint32_t numvfsfiles;
	vfsfile* vfsfiles;
	
	unsigned int i;
	
	if( argc < 2 ) {
		printf("Not enough args!\nUse: %s dat-file\n", argv[0]);
		return 1;
	}
	
	if( !(f = fopen( argv[1], "rb" ))) {
		printf("Couldnt open file %s\n", argv[1]);
		return 1;
	}
	
	fread(&numvfsfiles, 4, 1, f);
	vfsfiles = malloc(sizeof(vfsfile)*numvfsfiles);
	fread(vfsfiles, sizeof(vfsfile)*numvfsfiles, 1, f);
	
	for(i = 0; i < numvfsfiles; i++) {
		printf("File %s offset %08x size %08x sectors\n", vfsfiles[i].name, vfsfiles[i].offset, vfsfiles[i].size);
		fseek(f, vfsfiles[i].offset*0x800, SEEK_SET);
		if( !(o = fopen(vfsfiles[i].name, "wb" ))) {
			printf("Couldnt open files %s\n", vfsfiles[i].name);
			return 1;
		}
		writeFile(f, vfsfiles[i].size*0x800, o);
		fclose(o);
	}
	
	free(vfsfiles);
	fclose(f);
	
	printf("Done.\n");
	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
cmpl $0x1, %edi
jg 0x12c0
movq (%r14), %rsi
leaq 0xd97(%rip), %rdi       # 0x2052
jmp 0x13d2
movq 0x8(%r14), %rdi
leaq 0xdaa(%rip), %rsi       # 0x2075
callq 0x10a0
testq %rax, %rax
je 0x13bb
movq %rax, %rbx
leaq 0x14(%rsp), %r14
movl $0x4, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rax, %rcx
callq 0x1050
movl (%r14), %r14d
leaq (,%r14,8), %rax
leaq (%rax,%rax,2), %r15
movq %r15, %rdi
callq 0x1080
movl $0x1, %edx
movq %rax, 0x8(%rsp)
movq %rax, %rdi
movq %r15, %rsi
movq %rbx, %rcx
callq 0x1050
testq %r14, %r14
je 0x1399
leaq 0xd5d(%rip), %r12       # 0x208e
leaq 0xd7d(%rip), %r13       # 0x20b5
movq 0x8(%rsp), %r15
movl 0x10(%r15), %edx
movl 0x14(%r15), %ecx
movq %r12, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x1070
movl 0x10(%r15), %esi
shll $0xb, %esi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x1090
movq %r15, %rdi
movq %r13, %rsi
callq 0x10a0
testq %rax, %rax
je 0x13c8
movq %rax, %rbp
movl 0x14(%r15), %esi
shll $0xb, %esi
movq %rbx, %rdi
movq %rax, %rdx
callq 0x11cc
movq %rbp, %rdi
callq 0x1060
addq $0x18, %r15
decq %r14
jne 0x133d
movq 0x8(%rsp), %rdi
callq 0x1030
movq %rbx, %rdi
callq 0x1060
leaq 0xd1d(%rip), %rdi       # 0x20cf
callq 0x1040
xorl %eax, %eax
jmp 0x13de
movq 0x8(%r14), %rsi
leaq 0xcb2(%rip), %rdi       # 0x2078
jmp 0x13d2
leaq 0xce9(%rip), %rdi       # 0x20b8
movq %r15, %rsi
xorl %eax, %eax
callq 0x1070
movl $0x1, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/liuhaotian[P]xmppsh/libstrophe/examples/bot.c
// Function: main
int main(int argc, char **argv)
{
    xmpp_ctx_t *ctx;
    xmpp_conn_t *conn;
    xmpp_log_t *log;
    char *jid, *pass;

    /* take a jid and password on the command line */
    if (argc != 3) {
	fprintf(stderr, "Usage: bot <jid> <pass>\n\n");
	return 1;
    }
    
    jid = argv[1];
    pass = argv[2];

    /* init library */
    xmpp_initialize();

    /* create a context */
    log = xmpp_get_default_logger(XMPP_LEVEL_DEBUG); /* pass NULL instead to silence output */
    ctx = xmpp_ctx_new(NULL, log);

    /* create a connection */
    conn = xmpp_conn_new(ctx);

    /* setup authentication information */
    xmpp_conn_set_jid(conn, jid);
    xmpp_conn_set_pass(conn, pass);

    /* initiate connection */
    xmpp_connect_client(conn, NULL, 0, conn_handler, ctx);

    /* enter the event loop - 
       our connect handler will trigger an exit */
    xmpp_run(ctx);

    /* release our connection and context */
    xmpp_conn_release(conn);
    xmpp_ctx_free(ctx);

    /* final shutdown of the library */
    xmpp_shutdown();

    return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
cmpl $0x3, %edi
jne 0x2947
movq 0x8(%rsi), %r15
movq 0x10(%rsi), %r12
callq 0x4c54
xorl %ebx, %ebx
xorl %edi, %edi
callq 0x4cac
xorl %edi, %edi
movq %rax, %rsi
callq 0x5015
movq %rax, %r14
movq %rax, %rdi
callq 0x4038
movq %rax, %r13
movq %rax, %rdi
movq %r15, %rsi
callq 0x4668
movq %r13, %rdi
movq %r12, %rsi
callq 0x46a4
leaq -0x86(%rip), %rcx       # 0x2889
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %r14, %r8
callq 0x46e3
movq %r14, %rdi
callq 0x5654
movq %r13, %rdi
callq 0x443a
movq %r14, %rdi
callq 0x507e
callq 0x4c60
movl %ebx, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
callq 0x2436
movl $0x1, %ebx
jmp 0x293b
nop
// File: /workspace/github_c_makefile_star2_O1/rongarret[P]clmm/verify.c
// Function: main
int main(int argc, char** argv) {

  c_string filename;

  if (argc == 2) {
    filename = argv[1];
  } else {
    printf("Usage: %s filename\n", argv[0]);
    exit(1);
  }

  // Read the file to verify

  c_string signature_string = (c_string)file_contents(filename, 0)->data;

  // Parse the public key

  p_vector pk = b64decode(signature_string + strlen("CLMM signed by: "), 0);

  // Parse the signature

  u64 smlen = crypto_sign_BYTES + crypto_hash_BYTES;
  u8* buffer1 = malloc(smlen);
  u8* p1 = buffer1;
  c_string p2 = strstr(signature_string, "\n") + 1;

  for (int i=0; i<4; i++) {
    for (int j=0; j<32; j++) {
      int k;
      sscanf(p2, "%02x", &k);
      *p1++ = (u8)k;
      p2+=2;
    }
    p2+=1;
  }

  // Verify the signature

  u64 mlen;
  u8* buffer2 = malloc(smlen);
  int status = crypto_sign_open(buffer2, &mlen, buffer1, smlen, pk->data);
  printf(status ? "NOT valid\n" : "valid\n");
  return status;
    
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
cmpl $0x2, %edi
jne 0x1370
movq 0x8(%rsi), %rdi
xorl %esi, %esi
callq 0x14ac
movq 0x10(%rax), %r15
leaq 0x10(%r15), %rdi
xorl %esi, %esi
callq 0x15e5
movq %rax, -0x38(%rbp)
movl $0x80, %edi
callq 0x10e0
movq %rax, %rbx
movq %r15, %rdi
movl $0xa, %esi
callq 0x1060
movq %rax, %r15
leaq 0x2d40(%rip), %r12      # 0x4018
leaq -0x30(%rbp), %r13
movq %rbx, -0x40(%rbp)
xorl %eax, %eax
movl %eax, -0x2c(%rbp)
incq %r15
xorl %r14d, %r14d
leaq (%r15,%r14), %rdi
movq %r12, %rsi
movq %r13, %rdx
xorl %eax, %eax
callq 0x10f0
movb -0x30(%rbp), %al
movb %al, (%rbx)
incq %rbx
addq $0x2, %r14
cmpl $0x40, %r14d
jne 0x12eb
movl -0x2c(%rbp), %eax
incl %eax
addq %r14, %r15
cmpl $0x4, %eax
jne 0x12e2
movl $0x80, %edi
callq 0x10e0
movq -0x38(%rbp), %rcx
movq 0x10(%rcx), %r8
leaq -0x48(%rbp), %rsi
movl $0x80, %ecx
movq %rax, %rdi
movq -0x40(%rbp), %rdx
callq 0x32d2
movl %eax, %ebx
testl %eax, %eax
leaq 0x2cd4(%rip), %rax      # 0x4021
leaq 0x2cc9(%rip), %rdi      # 0x401d
cmoveq %rax, %rdi
xorl %eax, %eax
callq 0x1070
movl %ebx, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq (%rsi), %rsi
leaq 0x2c8a(%rip), %rdi      # 0x4004
xorl %eax, %eax
callq 0x1070
movl $0x1, %edi
callq 0x1140
nop
// File: /workspace/github_c_makefile_star2_O1/KhuramAli[P]JAM-Benchmark/queue_lock-Synchronzied/code03.cpp
// Function: main
int main()
{
	std::thread t1{produce};
	std::thread t2{consume};
	std::thread t3{consume};
	t1.join();
	t2.join();
	t3.join();
	consume();
	std::cout << sum << '\n';
}

// Assembly:
subq $0x28, %rsp
leaq -0x125(%rip), %rsi      # 0x130c
leaq 0x20(%rsp), %rdi
callq 0x14f6
leaq -0x91(%rip), %rsi       # 0x13b1
leaq 0x18(%rsp), %rdi
callq 0x14f6
leaq -0xa2(%rip), %rsi       # 0x13b1
leaq 0x10(%rsp), %rdi
callq 0x14f6
leaq 0x20(%rsp), %rdi
callq 0x1150
leaq 0x18(%rsp), %rdi
callq 0x1150
leaq 0x10(%rsp), %rdi
callq 0x1150
callq 0x13b1
movl 0x2cb2(%rip), %esi      # 0x4138
movq 0x2b4b(%rip), %rdi      # 0x3fd8
callq 0x1160
leaq 0xf(%rsp), %rsi
movb $0xa, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x10f0
cmpq $0x0, 0x10(%rsp)
jne 0x14ea
cmpq $0x0, 0x18(%rsp)
jne 0x14ea
cmpq $0x0, 0x20(%rsp)
jne 0x14ea
xorl %eax, %eax
addq $0x28, %rsp
retq
jmp 0x14d2
jmp 0x14da
cmpq $0x0, 0x10(%rsp)
jne 0x14ea
cmpq $0x0, 0x18(%rsp)
jne 0x14ea
cmpq $0x0, 0x20(%rsp)
jne 0x14ea
movq %rax, %rdi
callq 0x1170
callq 0x1030
nop
// File: /workspace/github_c_makefile_star2_O1/maandree[P]libkeccak/./libkeccak.h
// Function: libkeccak_state_destroy
inline void
libkeccak_state_destroy(volatile struct libkeccak_state *state)
{
	if (state) {
		libkeccak_state_wipe(state);
		free(state->M);
		state->M = NULL;
	}
}

// Assembly:
testq %rdi, %rdi
je 0x64c6
pushq %rbx
movq %rdi, %rbx
callq 0x2120
movq 0x118(%rbx), %rdi
callq 0x2040
movq $0x0, 0x118(%rbx)
popq %rbx
retq
nop
// File: /workspace/github_c_makefile_star2_O1/maandree[P]libkeccak/extra/../libkeccak/extra.h
// Function: libkeccak_state_fast_free
inline void
libkeccak_state_fast_free(struct libkeccak_state *state)
{
	if (state) {
		free(state->M);
		state->M = NULL;
		free(state);
	}
}

// Assembly:
testq %rdi, %rdi
je 0x675d
pushq %rbx
movq %rdi, %rbx
movq 0x118(%rdi), %rdi
callq 0x2040
movq $0x0, 0x118(%rbx)
movq %rbx, %rdi
popq %rbx
jmp 0x2040
retq
nop
// File: /workspace/github_c_makefile_star2_O1/maandree[P]libkeccak/hmac/libkeccak_hmac_copy.c
// Function: libkeccak_hmac_copy
int
libkeccak_hmac_copy(struct libkeccak_hmac_state *restrict dest, const struct libkeccak_hmac_state *restrict src)
{
	size_t size;

	dest->key_opad = NULL;
	dest->key_ipad = NULL;

	if (libkeccak_state_copy(&dest->sponge, &src->sponge) < 0)
		return -1;

	dest->key_length = src->key_length;
	dest->leftover = src->leftover;

	size = (src->key_length + 7) >> 3;
	dest->key_opad = malloc(2 * size);
	if (!dest->key_opad) {
		libkeccak_state_destroy(&dest->sponge);
		return -1;
	}
	dest->key_ipad = dest->key_opad + size;

	memcpy(dest->key_opad, src->key_opad, size);
	memcpy(dest->key_ipad, src->key_ipad, size);

	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x18(%rdi), %r15
addq $0x18, %rsi
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq %r15, %rdi
callq 0x20b0
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
testl %eax, %eax
js 0x6a6d
movq 0x10(%r14), %r12
movq %r12, 0x10(%rbx)
movb 0x148(%r14), %al
movb %al, 0x148(%rbx)
addq $0x7, %r12
shrq $0x3, %r12
leaq (%r12,%r12), %rdi
callq 0x2160
movq %rax, (%rbx)
testq %rax, %rax
je 0x6a4e
movq %rax, %r15
addq %r12, %r15
movq %r15, 0x8(%rbx)
movq (%r14), %rsi
movq %rax, %rdi
movq %r12, %rdx
callq 0x2130
movq 0x8(%r14), %rsi
movq %r15, %rdi
movq %r12, %rdx
callq 0x2130
xorl %ebp, %ebp
jmp 0x6a6d
movq %r15, %rdi
callq 0x2120
movq 0x130(%rbx), %rdi
callq 0x2040
movq $0x0, 0x130(%rbx)
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/maandree[P]libkeccak/hmac/../libkeccak/hmac.h
// Function: libkeccak_hmac_create
inline struct libkeccak_hmac_state *
libkeccak_hmac_create(const struct libkeccak_spec *restrict spec, const void *restrict key, size_t key_length)
{
	struct libkeccak_hmac_state *state = malloc(sizeof(struct libkeccak_hmac_state));
	if (!state || libkeccak_hmac_initialise(state, spec, key, key_length)) {
		free(state);
		return NULL;
	}
	return state;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r13
movl $0x150, %edi            # imm = 0x150
callq 0x2160
movq %rax, %rbx
testq %rax, %rax
je 0x6af6
movq %rax, %r14
addq $0x18, %r14
movq %r14, %rdi
movq %r13, %rsi
callq 0x20d0
testl %eax, %eax
js 0x6af6
movq %rbx, %rdi
movq %r12, %rsi
movq %r15, %rdx
callq 0x2090
testl %eax, %eax
js 0x6ad7
xorps %xmm0, %xmm0
movups %xmm0, 0x138(%rbx)
movb $0x0, 0x148(%rbx)
jmp 0x6b00
movq %r14, %rdi
callq 0x2120
movq 0x130(%rbx), %rdi
callq 0x2040
movq $0x0, 0x130(%rbx)
movq %rbx, %rdi
callq 0x2040
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/maandree[P]libkeccak/hmac/../libkeccak/hmac.h
// Function: libkeccak_hmac_destroy
inline void
libkeccak_hmac_destroy(volatile struct libkeccak_hmac_state *state)
{
	if (!state)
		return;
	libkeccak_hmac_wipe(state);
	free(state->key_opad);
	state->key_opad = NULL;
	state->key_ipad = NULL;
	state->key_length = 0;
	state->leftover = 0;
	free(state->buffer);
	state->buffer = NULL;
	state->buffer_size = 0;
}

// Assembly:
testq %rdi, %rdi
je 0x6b5f
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x20a0
movq (%rbx), %rdi
callq 0x2040
xorl %r14d, %r14d
movq %r14, (%rbx)
movq %r14, 0x8(%rbx)
movq %r14, 0x10(%rbx)
movb $0x0, 0x148(%rbx)
movq 0x138(%rbx), %rdi
callq 0x2040
movq %r14, 0x138(%rbx)
movq %r14, 0x140(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/maandree[P]libkeccak/hmac/../libkeccak/hmac.h
// Function: libkeccak_hmac_duplicate
inline struct libkeccak_hmac_state *
libkeccak_hmac_duplicate(const struct libkeccak_hmac_state *src)
{
	struct libkeccak_hmac_state *dest = malloc(sizeof(struct libkeccak_hmac_state));
	if (!dest || libkeccak_hmac_copy(dest, src)) {
		libkeccak_hmac_free(dest);
		return NULL;
	}
	return dest;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movl $0x150, %edi            # imm = 0x150
callq 0x2160
movq %rax, %rbx
testq %rax, %rax
je 0x6db4
movq %rbx, %rdi
movq %r14, %rsi
callq 0x20f0
testl %eax, %eax
je 0x6dbe
testq %rbx, %rbx
je 0x6db4
movq %rbx, %rdi
callq 0x20a0
movq (%rbx), %rdi
callq 0x2040
xorl %r14d, %r14d
movq %r14, (%rbx)
movq %r14, 0x8(%rbx)
movq %r14, 0x10(%rbx)
movb $0x0, 0x148(%rbx)
movq 0x138(%rbx), %rdi
callq 0x2040
movq %r14, 0x138(%rbx)
movq %r14, 0x140(%rbx)
movq %rbx, %rdi
callq 0x2040
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/maandree[P]libkeccak/hmac/../libkeccak/hmac.h
// Function: libkeccak_hmac_fast_destroy
inline void
libkeccak_hmac_fast_destroy(struct libkeccak_hmac_state *state)
{
	if (!state)
		return;
	free(state->key_opad);
	state->key_opad = NULL;
	state->key_ipad = NULL;
	state->key_length = 0;
	free(state->buffer);
	state->buffer = NULL;
	state->buffer_size = 0;
}

// Assembly:
testq %rdi, %rdi
je 0x6e02
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rdi
callq 0x2040
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
movq 0x138(%rbx), %rdi
callq 0x2040
xorps %xmm0, %xmm0
movups %xmm0, 0x138(%rbx)
popq %rbx
retq
nop
// File: /workspace/github_c_makefile_star2_O1/maandree[P]libkeccak/hmac/libkeccak_hmac_fast_update.c
// Function: libkeccak_hmac_fast_update
int
libkeccak_hmac_fast_update(struct libkeccak_hmac_state *restrict state, const void *restrict msg_, size_t msglen)
{
	const unsigned char *restrict msg = msg_;
	void *new;
	size_t i;
	int n, cn;

	if (state->key_ipad) {
		if (libkeccak_fast_update(&state->sponge, state->key_ipad, state->key_length >> 3) < 0)
			return -1;
		if (state->key_length & 7)
			state->leftover = state->key_ipad[state->key_length >> 3];
		state->key_ipad = NULL;
	}

	if (!msg || !msglen)
		return 0;

	if (!(state->key_length & 7))
		return libkeccak_fast_update(&state->sponge, msg, msglen);

	if (msglen != state->buffer_size) {
		new = realloc(state->buffer, msglen);
		if (!new)
			return -1;
		state->buffer = new;
		state->buffer_size = msglen;
	}

	n = (int)(state->key_length & 7);
	cn = 8 - n;
	for (i = 1; i < msglen; i++)
		state->buffer[i] = (unsigned char)((msg[i - 1] >> cn) | (msg[i] << n));
	state->buffer[0] = (unsigned char)((state->leftover & ((1 << n) - 1)) | (msg[0] << n));
	state->leftover = (unsigned char)(msg[msglen - 1] >> cn);

	return libkeccak_fast_update(&state->sponge, state->buffer, msglen);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movq 0x8(%rdi), %rsi
testq %rsi, %rsi
je 0x706e
leaq 0x18(%r14), %rdi
movq 0x10(%r14), %rdx
shrq $0x3, %rdx
callq 0x21b0
testl %eax, %eax
js 0x714b
movq 0x10(%r14), %rax
testb $0x7, %al
je 0x7066
movq 0x8(%r14), %rcx
shrq $0x3, %rax
movb (%rcx,%rax), %al
movb %al, 0x148(%r14)
movq $0x0, 0x8(%r14)
testq %r15, %r15
sete %cl
testq %rbx, %rbx
sete %dl
xorl %eax, %eax
orb %cl, %dl
jne 0x7150
testb $0x7, 0x10(%r14)
je 0x7156
cmpq %rbx, 0x140(%r14)
je 0x70be
movq 0x138(%r14), %rdi
movq %rbx, %rsi
callq 0x2180
testq %rax, %rax
je 0x714b
movq %rax, 0x138(%r14)
movq %rbx, 0x140(%r14)
movl 0x10(%r14), %edx
andl $0x7, %edx
movl $0x8, %eax
subl %edx, %eax
cmpq $0x2, %rbx
jb 0x7101
movl $0x1, %esi
movzbl -0x1(%r15,%rsi), %edi
movl %eax, %ecx
shrl %cl, %edi
movzbl (%r15,%rsi), %r8d
movl %edx, %ecx
shll %cl, %r8d
orl %edi, %r8d
movq 0x138(%r14), %rcx
movb %r8b, (%rcx,%rsi)
incq %rsi
cmpq %rsi, %rbx
jne 0x70d7
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl %edx, %ecx
shll %cl, %esi
movzbl 0x148(%r14), %ecx
notl %esi
andl %ecx, %esi
movzbl (%r15), %edi
movl %edx, %ecx
shll %cl, %edi
orl %esi, %edi
movq 0x138(%r14), %rcx
movb %dil, (%rcx)
movzbl -0x1(%r15,%rbx), %edx
movl %eax, %ecx
shrl %cl, %edx
movb %dl, 0x148(%r14)
movq 0x138(%r14), %rsi
addq $0x18, %r14
movq %r14, %rdi
jmp 0x7160
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
popq %rbx
popq %r14
popq %r15
retq
addq $0x18, %r14
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x21b0
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/maandree[P]libkeccak/hmac/../libkeccak/hmac.h
// Function: libkeccak_hmac_free
inline void
libkeccak_hmac_free(volatile struct libkeccak_hmac_state *state)
{
#ifdef __GNUC__
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wcast-qual"
#endif
	libkeccak_hmac_destroy(state);
	free((struct libkeccak_hmac_state *)state);
#ifdef __GNUC__
# pragma GCC diagnostic pop
#endif
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rdi, %rdi
je 0x71bb
movq %rbx, %rdi
callq 0x20a0
movq (%rbx), %rdi
callq 0x2040
xorl %r14d, %r14d
movq %r14, (%rbx)
movq %r14, 0x8(%rbx)
movq %r14, 0x10(%rbx)
movb $0x0, 0x148(%rbx)
movq 0x138(%rbx), %rdi
callq 0x2040
movq %r14, 0x138(%rbx)
movq %r14, 0x140(%rbx)
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x2040
nop
// File: /workspace/github_c_makefile_star2_O1/maandree[P]libkeccak/hmac/../libkeccak/hmac.h
// Function: libkeccak_hmac_initialise
inline int
libkeccak_hmac_initialise(struct libkeccak_hmac_state *restrict state, const struct libkeccak_spec *restrict spec,
                          const void *restrict key, size_t key_length)
{
	if (libkeccak_state_initialise(&state->sponge, spec) < 0)
		return -1;
	if (libkeccak_hmac_set_key(state, key, key_length) < 0) {
		libkeccak_state_destroy(&state->sponge);
		return -1;
	}
	state->leftover = 0;
	state->buffer = NULL;
	state->buffer_size = 0;
	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rcx, %r15
movq %rdx, %r12
movq %rdi, %rbx
leaq 0x18(%rdi), %r14
movq %r14, %rdi
callq 0x20d0
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
testl %eax, %eax
js 0x7238
movq %rbx, %rdi
movq %r12, %rsi
movq %r15, %rdx
callq 0x2090
testl %eax, %eax
js 0x7219
xorps %xmm0, %xmm0
movups %xmm0, 0x138(%rbx)
movb $0x0, 0x148(%rbx)
xorl %ebp, %ebp
jmp 0x7238
movq %r14, %rdi
callq 0x2120
movq 0x130(%rbx), %rdi
callq 0x2040
movq $0x0, 0x130(%rbx)
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O1/maandree[P]libkeccak/hmac/../libkeccak/hmac.h
// Function: libkeccak_hmac_marshal
inline size_t
libkeccak_hmac_marshal(const struct libkeccak_hmac_state *restrict state, void *restrict data_)
{
	unsigned char *restrict data = data_;
	size_t written = libkeccak_state_marshal(&state->sponge, data);
	if (data) {
		data += written;
#if defined(__clang__)
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wcast-align"
#endif
		memcpy(data, &state->key_length, sizeof(state->key_length));
#if defined(__clang__)
# pragma clang diagnostic pop
#endif
		data += sizeof(size_t);
		memcpy(data, state->key_opad, (state->key_length + 7) >> 3);
		data += (state->key_length + 7) >> 3;
		data[0] = (unsigned char)!!state->key_ipad;
		data[1] = state->leftover;
	}
	return written + sizeof(size_t) + ((state->key_length + 7) >> 3) + 2 * sizeof(char);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %r15
movq %rdi, %rbx
addq $0x18, %rdi
callq 0x2080
movq %rax, %r14
testq %r15, %r15
je 0x72a1
leaq (%r15,%r14), %r13
movq 0x10(%rbx), %r12
movq %r12, (%r15,%r14)
leaq (%r15,%r14), %rdi
addq $0x8, %rdi
movq (%rbx), %rsi
addq $0x7, %r12
shrq $0x3, %r12
movq %r12, %rdx
callq 0x2130
cmpq $0x0, 0x8(%rbx)
setne 0x8(%r12,%r13)
movb 0x148(%rbx), %al
movb %al, 0x9(%r12,%r13)
movq 0x10(%rbx), %rax
addq $0x7, %rax
shrq $0x3, %rax
addq %r14, %rax
addq $0xa, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
nop
// File: /workspace/github_c_makefile_star2_O1/maandree[P]libkeccak/hmac/libkeccak_hmac_set_key.c
// Function: libkeccak_hmac_set_key
int
libkeccak_hmac_set_key(struct libkeccak_hmac_state *restrict state, const void *restrict key, size_t key_length)
{
	size_t i, size, new_key_length, key_bytes;
	void *new;

	size = (size_t)(state->sponge.r) > key_length ? (size_t)(state->sponge.r) : key_length;
	new_key_length = size;
	size = (size + 7) >> 3;
	key_bytes = (key_length + 7) >> 3;

	if (size != key_bytes) {
		new = realloc(state->key_opad, 2 * size);
		if (!new)
			return -1;
		state->key_opad = new;
		state->key_ipad = state->key_opad + size;
	}

	memcpy(state->key_opad, key, key_bytes);
	if (key_length & 7)
		state->key_opad[(key_bytes >> 3) - 1] &= (unsigned char)((1 << (key_length & 7)) - 1);

	if ((size_t)(state->sponge.r) > key_length)
		__builtin_memset(state->key_opad + key_bytes, 0, size - key_bytes);

	for (i = 0; i < size; i++) {
		state->key_ipad[i] = state->key_opad[i] ^ HMAC_INNER_PAD;
		state->key_opad[i] ^= HMAC_OUTER_PAD;
	}

	state->key_length = new_key_length;

	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r15
movq 0xe0(%rdi), %rbp
cmpq %rdx, %rbp
movq %rdx, %rax
cmovaq %rbp, %rax
movq %rax, 0x20(%rsp)
leaq 0x7(%rax), %r13
movq %r13, 0x18(%rsp)
shrq $0x3, %r13
leaq 0x7(%rdx), %rbx
movq %rbx, %r12
shrq $0x3, %r12
movq %r13, %rax
subq %r12, %rax
movq %rax, 0x10(%rsp)
je 0x738b
movq %rsi, 0x8(%rsp)
movq %rdi, %r14
movq (%rdi), %rdi
leaq (,%r13,2), %rsi
callq 0x2180
testq %rax, %rax
je 0x7419
movq %rax, (%r14)
addq %r13, %rax
movq %rax, 0x8(%r14)
movq %r14, %rdi
movq 0x8(%rsp), %rsi
movq %rdi, 0x8(%rsp)
movq (%rdi), %r14
movq %r14, %rdi
movq %r12, %rdx
callq 0x2130
movq %r15, %rcx
andq $0x7, %rcx
je 0x73b6
movb $-0x1, %al
shlb %cl, %al
notb %al
shrq $0x6, %rbx
andb %al, -0x1(%r14,%rbx)
cmpq %r15, %rbp
jbe 0x73cd
addq %r14, %r12
movq %r12, %rdi
xorl %esi, %esi
movq 0x10(%rsp), %rdx
callq 0x20e0
cmpq $0x8, 0x18(%rsp)
movq 0x8(%rsp), %rsi
jb 0x73ff
movq 0x8(%rsi), %rax
cmpq $0x1, %r13
adcq $0x0, %r13
xorl %ecx, %ecx
movb (%r14,%rcx), %dl
xorb $0x36, %dl
movb %dl, (%rax,%rcx)
xorb $0x5c, (%r14,%rcx)
incq %rcx
cmpq %rcx, %r13
jne 0x73e8
movq 0x20(%rsp), %rax
movq %rax, 0x10(%rsi)
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
jmp 0x740a
// File: /workspace/github_c_makefile_star2_O1/maandree[P]libkeccak/hmac/libkeccak_hmac_unmarshal.c
// Function: libkeccak_hmac_unmarshal
size_t
libkeccak_hmac_unmarshal(struct libkeccak_hmac_state *restrict state, const void *restrict data_)
{
	const unsigned char *restrict data = data_;
	size_t parsed, size, i;

	state->key_opad = NULL;
	state->key_ipad = NULL;

	parsed = libkeccak_state_unmarshal(state ? &state->sponge : NULL, data);
	if (!parsed)
		return 0;
	data += parsed;

	__builtin_memcpy(&size, data, sizeof(size));
	data += sizeof(size_t);
	if (state)
		size = state->key_length;
	size = (state->key_length + 7) >> 3;

	if (state) {
		state->key_opad = malloc(2 * size);
		if (!state->key_opad) {
			libkeccak_state_destroy(&state->sponge);
			return 0;
		}
		memcpy(state->key_opad, data, size);
		data += size;

		if (data[0]) {
			state->key_ipad = &state->key_opad[size];
			memcpy(state->key_ipad, state->key_opad, size);
			for (i = 0; i < size; i++)
				state->key_ipad[i] ^= (char)(HMAC_OUTER_PAD ^ HMAC_INNER_PAD);
		}

		state->leftover = data[1];
		state->buffer = NULL;
		state->buffer_size = 0;
	}

	return parsed + sizeof(size_t) + size + 2 * sizeof(char);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r13
movq %rdi, %rbx
leaq 0x18(%rdi), %r12
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq %r12, %rdi
callq 0x21f0
movq %rax, (%rsp)
testq %rax, %rax
je 0x7506
movq 0x10(%rbx), %r14
addq $0x7, %r14
movq %r14, %r15
shrq $0x3, %r15
leaq (%r15,%r15), %rdi
callq 0x2160
movq %rax, (%rbx)
testq %rax, %rax
je 0x74e7
movq %rax, %rbp
movq (%rsp), %rax
leaq (%rax,%r13), %r12
addq $0x8, %r12
addq %rax, %r13
movq %rbp, %rdi
movq %r12, %rsi
movq %r15, %rdx
callq 0x2130
cmpb $0x0, 0x8(%r15,%r13)
je 0x74c5
addq %r15, %rbp
movq %rbp, 0x8(%rbx)
movq %rbp, %rdi
movq %r12, %rsi
movq %r15, %rdx
callq 0x2130
cmpq $0x8, %r14
jb 0x74c5
xorl %eax, %eax
movq 0x8(%rbx), %rcx
xorb $0x6a, (%rcx,%rax)
incq %rax
cmpq %rax, %r15
jne 0x74b5
movb 0x1(%r12,%r15), %al
movb %al, 0x148(%rbx)
movq (%rsp), %rax
addq %r15, %rax
addq $0xa, %rax
xorps %xmm0, %xmm0
movups %xmm0, 0x138(%rbx)
jmp 0x7508
movq %r12, %rdi
callq 0x2120
movq 0x130(%rbx), %rdi
callq 0x2040
movq $0x0, 0x130(%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O1/maandree[P]libkeccak/hmac/libkeccak_hmac_update.c
// Function: libkeccak_hmac_update
int
libkeccak_hmac_update(struct libkeccak_hmac_state *restrict state, const void *restrict msg_, size_t msglen)
{
	const unsigned char *restrict msg = msg_;
	size_t i;
	int n, cn, r;

	if (state->key_ipad) {
		if (libkeccak_update(&state->sponge, state->key_ipad, state->key_length >> 3) < 0)
			return -1;
		if (state->key_length & 7)
			state->leftover = state->key_ipad[state->key_length >> 3];
		state->key_ipad = NULL;
	}

	if (!msg || !msglen)
		return 0;

	if (!(state->key_length & 7))
		return libkeccak_update(&state->sponge, msg, msglen);

	if (msglen != state->buffer_size) {
		free(state->buffer);
		state->buffer = malloc(state->buffer_size = msglen);
		if (!state->buffer)
			return -1;
	}

	n = (int)(state->key_length & 7);
	cn = 8 - n;
	for (i = 1; i < msglen; i++)
		state->buffer[i] = (unsigned char)((msg[i - 1] >> cn) | (msg[i] << n));
	state->buffer[0] = (unsigned char)((state->leftover & ((1 << n) - 1)) | (msg[0] << n));
	state->leftover = (unsigned char)(msg[msglen - 1] >> cn);

	r = libkeccak_update(&state->sponge, state->buffer, msglen);
	my_explicit_bzero(state->buffer, msglen);
	return r;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movq 0x8(%rdi), %rsi
testq %rsi, %rsi
je 0x756c
leaq 0x18(%r14), %rdi
movq 0x10(%r14), %rdx
shrq $0x3, %rdx
callq 0x2170
testl %eax, %eax
js 0x766c
movq 0x10(%r14), %rax
testb $0x7, %al
je 0x7564
movq 0x8(%r14), %rcx
shrq $0x3, %rax
movb (%rcx,%rax), %al
movb %al, 0x148(%r14)
movq $0x0, 0x8(%r14)
testq %r15, %r15
sete %cl
testq %rbx, %rbx
sete %dl
xorl %eax, %eax
orb %cl, %dl
jne 0x7671
testb $0x7, 0x10(%r14)
je 0x767c
cmpq %rbx, 0x140(%r14)
je 0x75c1
movq 0x138(%r14), %rdi
callq 0x2040
movq %rbx, 0x140(%r14)
movq %rbx, %rdi
callq 0x2160
movq %rax, 0x138(%r14)
testq %rax, %rax
je 0x766c
movl 0x10(%r14), %edx
andl $0x7, %edx
movl $0x8, %eax
subl %edx, %eax
cmpq $0x2, %rbx
jb 0x7604
movl $0x1, %esi
movzbl -0x1(%r15,%rsi), %edi
movl %eax, %ecx
shrl %cl, %edi
movzbl (%r15,%rsi), %r8d
movl %edx, %ecx
shll %cl, %r8d
orl %edi, %r8d
movq 0x138(%r14), %rcx
movb %r8b, (%rcx,%rsi)
incq %rsi
cmpq %rsi, %rbx
jne 0x75da
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl %edx, %ecx
shll %cl, %esi
movzbl 0x148(%r14), %ecx
notl %esi
andl %ecx, %esi
movzbl (%r15), %edi
movl %edx, %ecx
shll %cl, %edi
orl %esi, %edi
movq 0x138(%r14), %rcx
movb %dil, (%rcx)
movzbl -0x1(%r15,%rbx), %edx
movl %eax, %ecx
shrl %cl, %edx
movb %dl, 0x148(%r14)
leaq 0x18(%r14), %rdi
movq 0x138(%r14), %rsi
movq %rbx, %rdx
callq 0x2170
movl %eax, %ebp
movq 0x138(%r14), %rdi
movq 0x3aaf(%rip), %rax      # 0xb110
xorl %esi, %esi
movq %rbx, %rdx
callq *%rax
movl %ebp, %eax
jmp 0x7671
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
addq $0x18, %r14
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x2170
// File: /workspace/github_c_makefile_star2_O1/maandree[P]libkeccak/hmac/libkeccak_hmac_wipe.c
// Function: libkeccak_hmac_wipe
void
libkeccak_hmac_wipe(volatile struct libkeccak_hmac_state *state)
{
	volatile unsigned char *restrict key_pads;
	size_t i, size;

	key_pads = state->key_opad;
	size = 2 * ((state->key_length + 7) >> 3);

	libkeccak_state_wipe(&state->sponge);
	for (i = 0; i < size; i++)
		key_pads[i] = 0;
	state->leftover = 0;
	__builtin_memset(state->buffer, 0, state->buffer_size);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %r14
movq 0x10(%rdi), %r15
addq $0x7, %r15
shrq $0x2, %r15
addq $0x18, %rdi
callq 0x2120
movabsq $0x3ffffffffffffffe, %rax # imm = 0x3FFFFFFFFFFFFFFE
andq %r15, %rax
je 0x76d6
xorl %ecx, %ecx
movb $0x0, (%r14,%rcx)
incq %rcx
cmpq %rcx, %rax
jne 0x76c9
movb $0x0, 0x148(%rbx)
movq 0x138(%rbx), %rdi
movq 0x140(%rbx), %rdx
xorl %esi, %esi
popq %rbx
popq %r14
popq %r15
jmp 0x20e0
nop
// File: /workspace/github_c_makefile_star2_O1/maandree[P]libkeccak/spec/../libkeccak/keccak.h
// Function: libkeccak_generalised_spec_initialise
inline void
libkeccak_generalised_spec_initialise(struct libkeccak_generalised_spec *spec)
{
	spec->bitrate    = LIBKECCAK_GENERALISED_SPEC_AUTOMATIC;
	spec->capacity   = LIBKECCAK_GENERALISED_SPEC_AUTOMATIC;
	spec->output     = LIBKECCAK_GENERALISED_SPEC_AUTOMATIC;
	spec->state_size = LIBKECCAK_GENERALISED_SPEC_AUTOMATIC;
	spec->word_size  = LIBKECCAK_GENERALISED_SPEC_AUTOMATIC;
}

// Assembly:
movq $-0x10000, %rax         # imm = 0xFFFF0000
movq %rax, (%rdi)
movq %rax, 0x8(%rdi)
movq %rax, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movq %rax, 0x20(%rdi)
retq
nop
// File: /workspace/github_c_makefile_star2_O1/maandree[P]libkeccak/spec/../libkeccak/keccak.h
// Function: libkeccak_spec_check
inline int
libkeccak_spec_check(const struct libkeccak_spec *spec)
{
	unsigned long int state_size = (unsigned long int)(spec->capacity + spec->bitrate);
	uint32_t word_size = (uint32_t)(state_size / 25U);

	if (spec->bitrate <= 0)  return LIBKECCAK_SPEC_ERROR_BITRATE_NONPOSITIVE;
	if (spec->bitrate % 8)   return LIBKECCAK_SPEC_ERROR_BITRATE_MOD_8;
	if (spec->capacity <= 0) return LIBKECCAK_SPEC_ERROR_CAPACITY_NONPOSITIVE;
	if (spec->capacity % 8)  return LIBKECCAK_SPEC_ERROR_CAPACITY_MOD_8;
	if (spec->output <= 0)   return LIBKECCAK_SPEC_ERROR_OUTPUT_NONPOSITIVE;
	if (state_size > 1600)   return LIBKECCAK_SPEC_ERROR_STATE_TOO_LARGE;
	if (state_size % 25)     return LIBKECCAK_SPEC_ERROR_STATE_MOD_25;
	if (word_size % 8)       return LIBKECCAK_SPEC_ERROR_WORD_MOD_8;

	if ((word_size & -word_size) != word_size)
		return LIBKECCAK_SPEC_ERROR_WORD_NON_2_POTENT;

	return 0;
}

// Assembly:
movq (%rdi), %r8
movq 0x8(%rdi), %rsi
leaq (%r8,%rsi), %rcx
movabsq $0x47ae147ae147ae15, %rdx # imm = 0x47AE147AE147AE15
movq %rcx, %rax
mulq %rdx
testq %r8, %r8
jle 0x79d8
movl $0x2, %eax
testb $0x7, %r8b
je 0x79de
retq
movl $0x1, %eax
retq
testq %rsi, %rsi
jle 0x7a3e
movl $0x4, %eax
testb $0x7, %sil
jne 0x79d7
cmpq $0x0, 0x10(%rdi)
jle 0x7a44
movl $0x6, %eax
cmpq $0x640, %rcx            # imm = 0x640
ja 0x79d7
movq %rcx, %rsi
subq %rdx, %rsi
shrq %rsi
addq %rdx, %rsi
shrq $0x4, %rsi
leaq (%rsi,%rsi,4), %rax
leaq (%rax,%rax,4), %rdx
movl $0x7, %eax
subq %rdx, %rcx
jne 0x79d7
movl $0x9, %eax
testb $0x7, %sil
jne 0x79d7
leal 0x7f(%rsi), %ecx
xorl %eax, %eax
testl %esi, %ecx
setne %al
shll $0x3, %eax
retq
movl $0x3, %eax
retq
movl $0x5, %eax
retq
nop
// File: /workspace/github_c_makefile_star2_O1/ryuichiueda[P]glueutils/src_con12/con12.c
// Function: thread_read
void thread_read(void *arg)
{
	int *fd = (int *)arg;
	char buf[1024];
	int ret = 1;
	while (ret > 0){
		ret = read(*fd, &buf, 1024);
		for(int i=0;i<ret;i++){
			putchar(buf[i]);
		}
	}
	fflush(stdout);

	if(ret == -1){
		fputs("Error: reading error\n", stderr);
		exit(1);
	}
	try_close(*fd);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x400, %rsp            # imm = 0x400
movq %rdi, %rbx
movq %rsp, %r14
movl (%rbx), %edi
movl $0x400, %edx            # imm = 0x400
movq %r14, %rsi
callq 0x10a0
movq %rax, %r15
testl %r15d, %r15d
jle 0x13cc
movl %r15d, %r12d
andl $0x7fffffff, %r12d      # imm = 0x7FFFFFFF
xorl %r13d, %r13d
movsbl (%rsp,%r13), %edi
callq 0x1030
incq %r13
cmpq %r13, %r12
jne 0x13ba
testl %r15d, %r15d
jg 0x1396
movq 0x2c00(%rip), %rax      # 0x3fd8
movq (%rax), %rdi
callq 0x10c0
cmpl $-0x1, %r15d
je 0x13fd
movl (%rbx), %edi
addq $0x400, %rsp            # imm = 0x400
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x134c
callq 0x1194
// File: /workspace/github_c_makefile_star2_O1/teodorst[P]app-huffman/huffman_decodification_mpi.c
// Function: main
int main (int argc, char* argv[]) {
	
	MPI_Init (&argc, &argv);

	if (argc == 4) {
		huffman_decompress(argv[INPUT_FILE], argv[OUTPUT_FILE], argv[CODIFICATION]);
	}
	else {
		printf("Bad arguments\n");
		printf("Usage huffman_serial operation[compress/decompress] input_file ouput_file codification_file_name\n");
		MPI_Finalize();
		return 1;
	}
	MPI_Finalize();
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x18, %rsp
leaq -0x14(%rbp), %rbx
movl %edi, (%rbx)
leaq -0x10(%rbp), %rax
movq %rsi, (%rax)
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10f0
cmpl $0x4, (%rbx)
jne 0x17f8
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rdi
movq 0x10(%rax), %rsi
movq 0x18(%rax), %rdx
callq 0x1359
xorl %ebx, %ebx
jmp 0x1815
leaq 0x185e(%rip), %rdi      # 0x305d
callq 0x1080
leaq 0x1860(%rip), %rdi      # 0x306b
callq 0x1080
movl $0x1, %ebx
callq 0x11a0
movl %ebx, %eax
addq $0x18, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O1/ikbenlike[P]nngutils/src/tac.c
// Function: parse_arg
struct tac_args *parse_arg(struct tac_args *args, int argc, char **argv){
    args->files = calloc(1, sizeof(char*) * argc);
    args->nfiles = 0;
    for(int i = 1; i < argc; i++){
        if(argv[i][0] == '-'){
            if(!strcmp(argv[i], "-b")){
                args->before = true;
            }
            else if(!strcmp(argv[i], "-r")){
                args->regex = true;
            }
            else if(!strcmp(argv[i], "-s")){
                args->separator = true;
                if(i + 1 < argc){
                    args->sep = argv[++i];
                }
                else {
                    fprintf(stderr, "%s: missing operand after '-s'\n");
                    exit(1);
                }
           }
        }
        else {

        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movl %esi, %r14d
movq %rdi, %r15
movslq %esi, %r12
leaq (,%r12,8), %rsi
movl $0x1, %edi
callq 0x1030
movq %rax, 0x10(%r15)
movl $0x0, 0x18(%r15)
cmpl $0x2, %r12d
jl 0x1254
movl $0x1, %r12d
movslq %r12d, %rax
movq (%rbx,%rax,8), %r13
cmpb $0x2d, (%r13)
jne 0x124c
movq %r13, %rdi
leaq 0xe0c(%rip), %rsi       # 0x2004
callq 0x1040
testl %eax, %eax
je 0x1241
movq %r13, %rdi
leaq 0xdfc(%rip), %rsi       # 0x2007
callq 0x1040
testl %eax, %eax
je 0x1247
movq %r13, %rdi
leaq 0xdec(%rip), %rsi       # 0x200a
callq 0x1040
testl %eax, %eax
jne 0x124c
movb $0x1, 0x2(%r15)
incl %r12d
cmpl %r14d, %r12d
jge 0x1263
movslq %r12d, %rax
movq (%rbx,%rax,8), %rax
movq %rax, 0x8(%r15)
jmp 0x124c
movb $0x1, (%r15)
jmp 0x124c
movb $0x1, 0x1(%r15)
incl %r12d
cmpl %r14d, %r12d
jl 0x11e0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x1080
// File: /workspace/github_c_makefile_star2_O1/arachsys[P]containers/console.c
// Function: getconsole
int getconsole(void) {
  int master, null;

  if ((null = open("/dev/null", O_RDWR)) < 0)
    errx(EXIT_FAILURE, "Failed to open /dev/null");

  if (fcntl(STDIN_FILENO, F_GETFD) < 0)
    dup2(null, STDIN_FILENO);
  if (fcntl(STDOUT_FILENO, F_GETFD) < 0)
    dup2(null, STDOUT_FILENO);
  if (fcntl(STDERR_FILENO, F_GETFD) < 0)
    dup2(null, STDERR_FILENO);

  if (null != STDIN_FILENO)
    if (null != STDOUT_FILENO)
      if (null != STDERR_FILENO)
        close(null);

  if ((master = posix_openpt(O_RDWR | O_NOCTTY)) < 0)
    errx(EXIT_FAILURE, "Failed to allocate a console pseudo-terminal");
  grantpt(master);
  unlockpt(master);
  return master;
}

// Assembly:
pushq %rbx
leaq 0x28d8(%rip), %rdi      # 0x5368
movl $0x2, %esi
xorl %eax, %eax
callq 0x23f0
testl %eax, %eax
js 0x2b31
movl %eax, %ebx
xorl %edi, %edi
movl $0x1, %esi
xorl %eax, %eax
callq 0x20e0
testl %eax, %eax
jns 0x2ac1
movl %ebx, %edi
xorl %esi, %esi
callq 0x21c0
movl $0x1, %edi
movl $0x1, %esi
xorl %eax, %eax
callq 0x20e0
testl %eax, %eax
jns 0x2ae2
movl %ebx, %edi
movl $0x1, %esi
callq 0x21c0
movl $0x2, %edi
movl $0x1, %esi
xorl %eax, %eax
callq 0x20e0
testl %eax, %eax
jns 0x2b03
movl %ebx, %edi
movl $0x2, %esi
callq 0x21c0
cmpl $0x3, %ebx
jb 0x2b0f
movl %ebx, %edi
callq 0x2210
movl $0x102, %edi            # imm = 0x102
callq 0x24a0
testl %eax, %eax
js 0x2b3a
movl %eax, %ebx
movl %eax, %edi
callq 0x2440
movl %ebx, %edi
callq 0x2280
movl %ebx, %eax
popq %rbx
retq
leaq 0x2821(%rip), %rsi      # 0x5359
jmp 0x2b41
leaq 0x2831(%rip), %rsi      # 0x5372
movl $0x1, %edi
xorl %eax, %eax
callq 0x21b0
// File: /workspace/github_c_makefile_star2_O1/arachsys[P]containers/console.c
// Function: setconsole
void setconsole(char *name) {
  int console;
  struct termios termios;

  setsid();

  if ((console = open(name, O_RDWR)) < 0)
    errx(EXIT_FAILURE, "Failed to open console in container");
  ioctl(console, TIOCSCTTY, NULL);

  if (tcgetattr(console, &termios) < 0)
    err(EXIT_FAILURE, "tcgetattr");
  termios.c_iflag |= IGNBRK | IUTF8;
  tcsetattr(console, TCSANOW, &termios);

  dup2(console, STDIN_FILENO);
  dup2(console, STDOUT_FILENO);
  dup2(console, STDERR_FILENO);
  if (console != STDIN_FILENO)
    if (console != STDOUT_FILENO)
      if (console != STDERR_FILENO)
        close(console);
}

// Assembly:
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
callq 0x2230
movq %rbx, %rdi
movl $0x2, %esi
xorl %eax, %eax
callq 0x23f0
testl %eax, %eax
js 0x2bd6
movl %eax, %ebx
movl $0x540e, %esi           # imm = 0x540E
movl %eax, %edi
xorl %edx, %edx
xorl %eax, %eax
callq 0x2200
leaq 0x4(%rsp), %rsi
movl %ebx, %edi
callq 0x23d0
testl %eax, %eax
js 0x2be9
leaq 0x4(%rsp), %rdx
orl $0x4001, (%rdx)         # imm = 0x4001
movl %ebx, %edi
xorl %esi, %esi
callq 0x23e0
movl %ebx, %edi
xorl %esi, %esi
callq 0x21c0
movl %ebx, %edi
movl $0x1, %esi
callq 0x21c0
movl %ebx, %edi
movl $0x2, %esi
callq 0x21c0
cmpl $0x3, %ebx
jb 0x2bd0
movl %ebx, %edi
callq 0x2210
addq $0x40, %rsp
popq %rbx
retq
leaq 0x27c2(%rip), %rsi      # 0x539f
movl $0x1, %edi
xorl %eax, %eax
callq 0x21b0
leaq 0x27d3(%rip), %rsi      # 0x53c3
movl $0x1, %edi
xorl %eax, %eax
callq 0x2320