LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/samtools[P]htslib/test/test_expr.c
// Function: main
int main(int argc, char **argv) {
    if (argc > 1) {
        hts_expr_val_t v = HTS_EXPR_VAL_INIT;
        hts_filter_t *filt = hts_filter_init(argv[1]);
        if (hts_filter_eval2(filt, NULL, lookup, &v))
            return 1;

        printf("%s\t", v.is_true ? "true":"false");

        if (v.is_str)
            puts(v.s.s);
        else
            printf("%g\n", v.d);

        hts_expr_val_free(&v);
        hts_filter_free(filt);
        return 0;
    }

    return test();
}

// Assembly:
cmpl $0x2, %edi
jl 0x6075
pushq %r14
pushq %rbx
subq $0x28, %rsp
xorps %xmm0, %xmm0
movq %rsp, %r14
movaps %xmm0, 0x10(%r14)
movaps %xmm0, (%r14)
movq $0x0, 0x20(%r14)
movq 0x8(%rsi), %rdi
callq 0x7bf8
movq %rax, %rbx
leaq -0x1d6b(%rip), %rdx     # 0x5dfc
movq %rax, %rdi
xorl %esi, %esi
movq %r14, %rcx
callq 0x7d92
movl %eax, %ecx
movl $0x1, %eax
testl %ecx, %ecx
jne 0x7bef
cmpb $0x0, 0x1(%rsp)
leaq 0x8bb20(%rip), %rax     # 0x936ab
leaq 0x8b6a4(%rip), %rsi     # 0x93236
cmoveq %rax, %rsi
leaq 0x8bb64(%rip), %rdi     # 0x93701
xorl %eax, %eax
callq 0x4060
cmpb $0x0, (%rsp)
je 0x7bb6
movq 0x18(%rsp), %rdi
callq 0x47d0
jmp 0x7bca
movsd 0x20(%rsp), %xmm0
leaq 0x8bb42(%rip), %rdi     # 0x93705
movb $0x1, %al
callq 0x4060
movq 0x18(%rsp), %rdi
callq 0x45c0
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rsp)
movq $0x0, 0x18(%rsp)
movq %rbx, %rdi
callq 0x7c51
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_c_makefile_star2_O1/eric-lo[P]3150/9-File/endian.c
// Function: main
int main(void) 	{
	unsigned long temp = 0x89ABCDEF;
	int i;
	unsigned char *ptr = (unsigned char *) &temp;

	if(ptr[0] == 0xef) {
		printf("This CPU is little endian, i.e., ending value in small (little) address\n");
	}
	else {
		printf("This CPU is big endian, i.e., ending value in big address\n");
	}

	printf("Byte-by-byte printing:\t");
	for(i = 0; i < sizeof(unsigned long); i++)
		printf("%x", ptr[i]);
	printf("\n");

	printf("Printing by value:\t");
	printf("%lx\n", temp);

	return 0;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl $0x89abcdef, %eax       # imm = 0x89ABCDEF
movq %rax, (%rsp)
leaq 0xec8(%rip), %rdi       # 0x2038
callq 0x1040
leaq 0xe88(%rip), %rdi       # 0x2004
xorl %eax, %eax
callq 0x1050
leaq 0xe92(%rip), %rbx       # 0x201c
xorl %r14d, %r14d
movzbl (%rsp,%r14), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq 0x1050
incq %r14
cmpq $0x8, %r14
jne 0x118d
movl $0xa, %edi
callq 0x1030
leaq 0xe69(%rip), %rdi       # 0x201f
xorl %eax, %eax
callq 0x1050
leaq 0xe6f(%rip), %rdi       # 0x2033
movl $0x89abcdef, %esi       # imm = 0x89ABCDEF
xorl %eax, %eax
callq 0x1050
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/lesgourg[P]class_public/build/../source/background.c
// Function: background_free_input
int background_free_input(
                          struct background *pba
                          ) {

  int k;

  if (pba->Omega0_ncdm_tot != 0.) {
    for (k=0; k<pba->N_ncdm; k++) {
      free(pba->q_ncdm[k]);
      free(pba->w_ncdm[k]);
      free(pba->q_ncdm_bg[k]);
      free(pba->w_ncdm_bg[k]);
      free(pba->dlnf0_dlnq_ncdm[k]);
    }
    free(pba->ncdm_quadrature_strategy);
    free(pba->ncdm_input_q_size);
    free(pba->ncdm_qmax);
    free(pba->q_ncdm);
    free(pba->w_ncdm);
    free(pba->q_ncdm_bg);
    free(pba->w_ncdm_bg);
    free(pba->dlnf0_dlnq_ncdm);
    free(pba->q_size_ncdm);
    free(pba->q_size_ncdm_bg);
    free(pba->M_ncdm);
    free(pba->T_ncdm);
    free(pba->ksi_ncdm);
    free(pba->deg_ncdm);
    free(pba->Omega0_ncdm);
    free(pba->m_ncdm_in_eV);
    free(pba->factor_ncdm);
    if (pba->got_files!=NULL)
      free(pba->got_files);
    if (pba->ncdm_psd_files!=NULL)
      free(pba->ncdm_psd_files);
    if (pba->ncdm_psd_parameters!=NULL)
      free(pba->ncdm_psd_parameters);
  }

  if (pba->Omega0_scf != 0.) {
    if (pba->scf_parameters != NULL)
      free(pba->scf_parameters);
  }
  return _SUCCESS_;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movsd 0xa8(%rdi), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x5ac96
jnp 0x5adf7
cmpl $0x0, 0x70(%rbx)
jle 0x5acfb
xorl %r14d, %r14d
movq 0x350(%rbx), %rax
movq (%rax,%r14,8), %rdi
callq 0x8410
movq 0x358(%rbx), %rax
movq (%rax,%r14,8), %rdi
callq 0x8410
movq 0x340(%rbx), %rax
movq (%rax,%r14,8), %rdi
callq 0x8410
movq 0x348(%rbx), %rax
movq (%rax,%r14,8), %rdi
callq 0x8410
movq 0x360(%rbx), %rax
movq (%rax,%r14,8), %rdi
callq 0x8410
incq %r14
movslq 0x70(%rbx), %rax
cmpq %rax, %r14
jl 0x5ac9f
movq 0x338(%rbx), %rdi
callq 0x8410
movq 0xe0(%rbx), %rdi
callq 0x8410
movq 0xe8(%rbx), %rdi
callq 0x8410
movq 0x350(%rbx), %rdi
callq 0x8410
movq 0x358(%rbx), %rdi
callq 0x8410
movq 0x340(%rbx), %rdi
callq 0x8410
movq 0x348(%rbx), %rdi
callq 0x8410
movq 0x360(%rbx), %rdi
callq 0x8410
movq 0x370(%rbx), %rdi
callq 0x8410
movq 0x368(%rbx), %rdi
callq 0x8410
movq 0x90(%rbx), %rdi
callq 0x8410
movq 0xb0(%rbx), %rdi
callq 0x8410
movq 0xc0(%rbx), %rdi
callq 0x8410
movq 0xd0(%rbx), %rdi
callq 0x8410
movq 0xa0(%rbx), %rdi
callq 0x8410
movq 0x98(%rbx), %rdi
callq 0x8410
movq 0x378(%rbx), %rdi
callq 0x8410
movq 0x80(%rbx), %rdi
testq %rdi, %rdi
je 0x5add8
callq 0x8410
movq 0x78(%rbx), %rdi
testq %rdi, %rdi
je 0x5ade6
callq 0x8410
movq 0x88(%rbx), %rdi
testq %rdi, %rdi
je 0x5adf7
callq 0x8410
movsd 0x108(%rbx), %xmm0
ucomisd 0x86451(%rip), %xmm0    # 0xe1258
jne 0x5ae0b
jnp 0x5ae1c
movq 0x148(%rbx), %rdi
testq %rdi, %rdi
je 0x5ae1c
callq 0x8410
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/lesgourg[P]class_public/build/../source/primordial.c
// Function: primordial_analytic_spectrum
int primordial_analytic_spectrum(
                                 struct primordial * ppm,
                                 int index_md,
                                 int index_ic1_ic2,
                                 double k,
                                 double * pk
                                 ) {

  if (ppm->is_non_zero[index_md][index_ic1_ic2] == _TRUE_) {
    *pk = ppm->amplitude[index_md][index_ic1_ic2]
      *exp((ppm->tilt[index_md][index_ic1_ic2]-1.)*log(k/ppm->k_pivot)
           + 0.5 * ppm->running[index_md][index_ic1_ic2] * pow(log(k/ppm->k_pivot), 2.));

  }
  else {
    *pk = 0.;
  }

  return _SUCCESS_;

}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, %rbx
movapd %xmm0, %xmm1
movq 0x2b0(%rdi), %rax
movslq %esi, %r15
movq (%rax,%r15,8), %rax
movslq %edx, %r12
xorpd %xmm0, %xmm0
cmpw $0x1, (%rax,%r12,2)
jne 0x87dbf
movq %rdi, %r14
movq 0x2b8(%rdi), %rax
movq 0x2c0(%rdi), %rcx
movq (%rax,%r15,8), %rax
movq (%rcx,%r15,8), %rcx
movsd (%rcx,%r12,8), %xmm0
addsd 0x59aa6(%rip), %xmm0    # 0xe17e8
movsd %xmm0, 0x18(%rsp)
movsd (%rax,%r12,8), %xmm0
movsd %xmm0, 0x20(%rsp)
movapd %xmm1, %xmm0
divsd (%rdi), %xmm0
movsd %xmm1, (%rsp)
callq 0x82c0
movsd %xmm0, 0x10(%rsp)
movq 0x2c8(%r14), %rax
movq (%rax,%r15,8), %rax
movsd (%rax,%r12,8), %xmm0
mulsd 0x59f4b(%rip), %xmm0    # 0xe1cd0
movsd %xmm0, 0x8(%rsp)
movsd (%rsp), %xmm0
divsd (%r14), %xmm0
callq 0x82c0
mulsd %xmm0, %xmm0
mulsd 0x8(%rsp), %xmm0
movsd 0x10(%rsp), %xmm1
mulsd 0x18(%rsp), %xmm1
addsd %xmm1, %xmm0
callq 0x8670
mulsd 0x20(%rsp), %xmm0
movsd %xmm0, (%rbx)
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/X1319RAY[P]fileIO/fscanf.c
// Function: main
int main(int argc, char* argv[]){
	
	// コマンドライン引数のチェック
	if(argc != 2){
		fprintf(stderr, "引数の数が間違っています．\n");
		fprintf(stderr, "./fgets input.txt\n");
		return 1;
	}
	
	// C言語のファイル入力のための準備
	FILE* fp; // FILE型構造体
	// 読み込みモードでファイルを開く
	fp = fopen(argv[1], "r"); // 失敗するとNULLを返す
	// ファイルを開くのに失敗したときの処理
	if(fp == NULL){
		fprintf(stderr, "Error: file not opened.\n");
		return 1;
	}
	
	// fscanf()で書式指定で1行ずつ読み込む
	char tmp[BUFSIZE];
	int num;
	int sum = 0;
	while(fscanf(fp, "%s %d", tmp, &num) != EOF){
		// ここでtmpを煮るなり焼くなりする
		printf("%s %d\n", tmp, num); // そのまま出力
		// 値をsumに加算
		sum += num;
	}
	
	printf("\nsum: %d\n", sum);
	
	// ファイルを閉じる
	fclose(fp);
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x408, %rsp            # imm = 0x408
cmpl $0x2, %edi
jne 0x12be
movq 0x8(%rsi), %rdi
leaq 0xe2c(%rip), %rsi       # 0x2040
callq 0x1060
testq %rax, %rax
je 0x12c5
movq %rax, %r14
leaq 0xe2f(%rip), %rsi       # 0x205b
leaq -0x430(%rbp), %rdx
leaq -0x2c(%rbp), %rcx
movq %rax, %rdi
xorl %eax, %eax
callq 0x1030
movl $0x0, %r15d
cmpl $-0x1, %eax
je 0x1291
leaq -0x430(%rbp), %r13
leaq 0xe01(%rip), %rbx       # 0x205b
leaq -0x2c(%rbp), %r12
xorl %r15d, %r15d
movl -0x2c(%rbp), %edx
leaq 0xdf6(%rip), %rdi       # 0x2061
movq %r13, %rsi
xorl %eax, %eax
callq 0x1050
addl -0x2c(%rbp), %r15d
movq %r14, %rdi
movq %rbx, %rsi
movq %r13, %rdx
movq %r12, %rcx
xorl %eax, %eax
callq 0x1030
cmpl $-0x1, %eax
jne 0x1261
leaq 0xdd0(%rip), %rdi       # 0x2068
movl %r15d, %esi
xorl %eax, %eax
callq 0x1050
movq %r14, %rdi
callq 0x1040
xorl %eax, %eax
addq $0x408, %rsp            # imm = 0x408
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x1090
jmp 0x12ca
callq 0x10cf
movl $0x1, %eax
jmp 0x12ac
// File: /workspace/github_c_makefile_star2_O1/zhoudian64[P]OS2-exp/receiver.c
// Function: main
int main() {
	char buf[20];
	close(0);
	open("./mypipe.txt", O_RDWR);
	while(1) {
		scanf("%s",buf);
		printf("recive %s\n", buf);
	}
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
xorl %edi, %edi
callq 0x1040
leaq 0xe7d(%rip), %rdi       # 0x2004
movl $0x2, %esi
xorl %eax, %eax
callq 0x1050
leaq 0xe77(%rip), %rbx       # 0x2011
leaq -0x30(%rbp), %r14
leaq 0xe6f(%rip), %r15       # 0x2014
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x1060
movq %r15, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x1030
jmp 0x11a5
// File: /workspace/github_c_makefile_star2_O1/ohkimur[P]the-c-programming-language-2nd-edition-solutions/chapter_7/exercise_7_02/print.c
// Function: main
int main(int argc, char *argv[])
{
  if (!parse_arg_list(argc, argv))
  {
    puts("Error: invalid arguments.");
    return EXIT_FAILURE;
  }

  int c;
  size_t col_pos = 1;
  while ((c = getc(stdin)) != EOF)
  {
    if (is_ascii(c))
    {
      if (c == '\n')
      {
        c = ' ';
      }

      putc(c, stdout);
      ++col_pos;
    }
    else
    {
      if (octal)
      {
        col_pos += printf("\\%o", c) - 1;
      }
      else
      {
        col_pos += printf("\\%x", c) - 1;
      }
    }

    if (col_pos >= MAX_LINE_LEN - OFFSET)
    {
      if (isblank(c))
      {
        col_pos = 1;
        putc('\n', stdout);
      }
    }
  }
  putc('\n', stdout);

  return EXIT_SUCCESS;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
callq 0x128b
testl %eax, %eax
je 0x126b
movq 0x2e35(%rip), %r15      # 0x3fe0
movq (%r15), %rdi
callq 0x1070
cmpl $-0x1, %eax
je 0x1253
movl %eax, %ebp
movl $0x1, %ebx
leaq 0xe54(%rip), %r14       # 0x201e
movq 0x2e07(%rip), %r12      # 0x3fd8
movl $0x20, %r13d
cmpl $0x7f, %ebp
jle 0x11ea
cmpl $0x0, 0x2e75(%rip)      # 0x4058
je 0x1203
movq %r14, %rdi
jmp 0x120a
cmpl $0xa, %ebp
cmovel %r13d, %ebp
movq (%r12), %rsi
movl %ebp, %edi
callq 0x1050
movl $0x1, %eax
jmp 0x1217
leaq 0xe18(%rip), %rdi       # 0x2022
movl %ebp, %esi
xorl %eax, %eax
callq 0x1040
decl %eax
cltq
addq %rax, %rbx
cmpq $0x46, %rbx
jb 0x1244
callq 0x1080
movq (%rax), %rax
movslq %ebp, %rcx
testb $0x1, (%rax,%rcx,2)
je 0x1244
movq (%r12), %rsi
movl $0xa, %edi
callq 0x1050
movl $0x1, %ebx
movq (%r15), %rdi
callq 0x1070
movl %eax, %ebp
cmpl $-0x1, %eax
jne 0x11d7
movq 0x2d7e(%rip), %rax      # 0x3fd8
movq (%rax), %rsi
movl $0xa, %edi
callq 0x1050
xorl %eax, %eax
jmp 0x127c
leaq 0xd92(%rip), %rdi       # 0x2004
callq 0x1030
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/miniupnp[P]hfsplustools/src/hfsdisplay.c
// Function: main
int main(int argc, char * * argv)
{
	FILE * f;

	if(argc < 2) {
		fprintf(stderr, "usage: %s <file.iso>\n", argv[0]);
		return 1;
	}
	f = fopen(argv[1], "rb");
	if(!f) {
		fprintf(stderr, "Failed to open file %s\n", argv[1]);
		return 2;
	}
	read_partition_map(f);
	if(hfs_part_sector == 0 && hfs_part_sector_count == 0) {
		printf("HFS/HFS+ partition not found\n");
	} else {
		read_hfs_volume_header(f);
		read_catalog(f);
	}
	fclose(f);
	return 0;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
cmpl $0x1, %edi
jle 0x14cc
movq 0x8(%r14), %rdi
leaq 0x1ba7(%rip), %rsi      # 0x301a
callq 0x1100
testq %rax, %rax
je 0x14db
movq %rax, %rbx
movq %rax, %rdi
callq 0x274f
leaq 0x4c25(%rip), %rax      # 0x60b4
leaq 0x4c22(%rip), %rcx      # 0x60b8
movl (%rcx), %ecx
orl (%rax), %ecx
jne 0x14aa
leaq 0x1b92(%rip), %rdi      # 0x3035
callq 0x1060
jmp 0x14ba
movq %rbx, %rdi
callq 0x1620
movq %rbx, %rdi
callq 0x26b0
movq %rbx, %rdi
callq 0x1080
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %r14, %rdi
callq 0x116e
movl $0x1, %eax
jmp 0x14c4
addq $0x8, %r14
movq %r14, %rdi
callq 0x1150
movl $0x2, %eax
jmp 0x14c4
nop
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/tt.c
// Function: interrupt_handler
static void interrupt_handler( int signum ) {
	signal( signum, interrupt_handler );
	env.interrupted = 1;
	if( env.worker ) {
		/* Terminate current worker. */
		( ( struct worker * ) env.worker )->env.interrupted = 1;
	}
}

// Assembly:
pushq %rax
leaq -0x8(%rip), %rsi        # 0x3679
callq 0x3190
movb $0x1, 0x16a43(%rip)     # 0x1a0d0
movq 0x16dc4(%rip), %rax     # 0x1a458
testq %rax, %rax
je 0x369d
movb $0x1, 0x38(%rax)
popq %rax
retq
nop
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: new_element
struct element* new_element( int str_len ) {
	struct element *elem = malloc( sizeof( struct element ) + sizeof( char ) * ( str_len + 1 ) );
	if( elem ) {
		memset( elem, 0, sizeof( struct element ) );
		elem->str.string = ( char * ) &elem[ 1 ];
		elem->str.string[ str_len ] = 0;
		elem->str.reference_count = 1;
		elem->str.length = str_len;
		elem->str.type = ELEMENT;
	}
	return elem;
}

// Assembly:
pushq %rbx
movslq %edi, %rbx
leaq 0x31(%rbx), %rdi
callq 0x31b0
testq %rax, %rax
je 0x36de
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x10(%rax)
movq %rax, %rcx
addq $0x30, %rcx
movq %rcx, 0x8(%rax)
movb $0x0, 0x30(%rax,%rbx)
movq $0x1, (%rax)
movl %ebx, 0x10(%rax)
movb $0x1, 0x14(%rax)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: new_array
struct array* new_array( struct environment *env, int length, int str_len ) {
	size_t refs_size = length * sizeof( struct string * );
	size_t nums_size = length * sizeof( number );
	struct array *arr = calloc( 1, sizeof( struct array ) + refs_size + nums_size + str_len + 1 );
	if( arr ) {
		arr->string_values = ( struct string ** ) &arr[ 1 ];
		arr->number_values = ( number * ) &arr->string_values[ length ];
		arr->str.string = ( char * ) &arr->number_values[ length ];
		arr->str.length = str_len;
		arr->str.reference_count = 1;
		arr->str.type = ARRAY;
		arr->length = length;
		arr->prev = &env->arrays;
		arr->next = env->arrays.next;
		if( arr->next ) {
			arr->next->prev = arr;
		} 
		env->arrays.next = arr;
	}
	return arr;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %edx, %ebp
movq %rdi, %rbx
movslq %esi, %r14
movslq %edx, %rax
leaq (%r14,%r14,2), %rcx
leaq (%rax,%rcx,4), %rsi
addq $0x49, %rsi
movl $0x1, %edi
callq 0x3130
testq %rax, %rax
je 0x3755
leaq 0x48(%rax), %rcx
movq %rcx, 0x20(%rax)
leaq (%rax,%r14,8), %rcx
addq $0x48, %rcx
movq %rcx, 0x18(%rax)
leaq (%rcx,%r14,4), %rcx
movq %rcx, 0x8(%rax)
movl %ebp, 0x10(%rax)
movq $0x1, (%rax)
movb $0x2, 0x14(%rax)
movl %r14d, 0x40(%rax)
leaq 0x38(%rbx), %rcx
movq %rcx, 0x30(%rax)
movq 0x70(%rbx), %rcx
movq %rcx, 0x38(%rax)
testq %rcx, %rcx
je 0x3751
movq %rax, 0x30(%rcx)
movq %rax, 0x70(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: new_source
struct source* new_source( int str_len ) {
	struct source *src = malloc( sizeof( struct source ) + sizeof( char ) * ( str_len + 1 ) );
	if( src ) {
		memset( src, 0, sizeof( struct source ) );
		src->str.string = ( char * ) &src[ 1 ];
		src->str.reference_count = 1;
		src->str.length = str_len;
		src->str.type = SOURCE;
	}
	return src;
}

// Assembly:
pushq %rbx
movl %edi, %ebx
movslq %edi, %rdi
addq $0x21, %rdi
callq 0x31b0
testq %rax, %rax
je 0x3791
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0x10(%rax)
movq %rax, %rcx
addq $0x20, %rcx
movq %rcx, 0x8(%rax)
movq $0x1, (%rax)
movl %ebx, 0x10(%rax)
movb $0x8, 0x14(%rax)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: new_string
struct string* new_string( int length ) {
	struct string *str = malloc( sizeof( struct string ) + sizeof( char ) * ( length + 1 ) );
	if( str ) {
		memset( str, 0, sizeof( struct string ) );
		str->string = ( char * ) &str[ 1 ];
		str->string[ length ] = 0;
		str->reference_count = 1;
		str->length = length;
	}
	return str;
}

// Assembly:
pushq %rbx
movslq %edi, %rbx
leaq 0x19(%rbx), %rdi
callq 0x31b0
testq %rax, %rax
je 0x37cd
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq $0x0, 0x10(%rax)
movq %rax, %rcx
addq $0x18, %rcx
movq %rcx, 0x8(%rax)
movb $0x0, 0x18(%rax,%rbx)
movq $0x1, (%rax)
movl %ebx, 0x10(%rax)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: new_string_value
struct string* new_string_value( char *source ) {
	struct string *str = new_string( strlen( source ) );
	if( str ) {
		strcpy( str->string, source );
	}
	return str;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x30c0
movq %rax, %r14
movslq %r14d, %r12
leaq 0x19(%r12), %rdi
callq 0x31b0
movq %rax, %r15
testq %rax, %rax
je 0x382e
xorps %xmm0, %xmm0
movups %xmm0, (%r15)
movq $0x0, 0x10(%r15)
movq %r15, %rax
addq $0x18, %rax
movq %rax, 0x8(%r15)
movb $0x0, 0x18(%r15,%r12)
movq $0x1, (%r15)
movl %r14d, 0x10(%r15)
movq 0x8(%r15), %rdi
movq %rbx, %rsi
callq 0x3070
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: load_file
long load_file( char *file_name, char *buffer, long offset, long count, char *message ) {
	long length, remain = -1;
	FILE *input_file = fopen( file_name, "rb" );
	if( input_file != NULL ) {
		if( fseek( input_file, 0L, SEEK_END ) == 0 ) {
			length = ftell( input_file );
			if( length >= 0 ) {
				if( offset < 0 || offset > length ) {
					offset = length;
				}
				remain = length - offset;
				if( remain > 0 && buffer ) {
					if( count > remain ) {
						count = remain;
					}
					remain = fseek( input_file, offset, SEEK_SET );
					if( remain == 0 ) {
						clearerr( input_file );
						remain = fread( buffer, 1, count, input_file );
						if( ferror( input_file ) ) {
							remain = -1;
						}
					}
				}
			}
		}
		fclose( input_file );
	}
	if( remain < 0 ) {
		strncpy( message, strerror( errno ), 63 );
		message[ 63 ] = 0;
	}
	return remain;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %rbx
movq %rcx, %r15
movq %rdx, %rbp
movq %rsi, %r12
leaq 0xe914(%rip), %rsi      # 0x1216f
callq 0x31d0
testq %rax, %rax
je 0x3894
movq %rax, %r14
movq %rbx, (%rsp)
movq %rax, %rdi
xorl %esi, %esi
movl $0x2, %edx
callq 0x31c0
movq $-0x1, %r13
testl %eax, %eax
je 0x38d2
movq %r14, %rdi
callq 0x30a0
movq (%rsp), %rbx
jmp 0x389b
movq $-0x1, %r13
testq %r13, %r13
jns 0x38c0
callq 0x3040
movl (%rax), %edi
callq 0x3220
movl $0x3f, %edx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x3050
movb $0x0, 0x3f(%rbx)
movq %r13, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r14, %rdi
callq 0x3160
testq %rax, %rax
js 0x3886
movq %rax, %rbx
cmpq %rbp, %rax
cmovbq %rax, %rbp
subq %rbp, %rbx
setle %al
testq %r12, %r12
sete %cl
orb %al, %cl
jne 0x3912
movq %r14, %rdi
movq %rbp, %rsi
xorl %edx, %edx
callq 0x31c0
testl %eax, %eax
je 0x391a
movslq %eax, %r13
jmp 0x3886
movq %rbx, %r13
jmp 0x3886
cmpq %r15, %rbx
cmovlq %rbx, %r15
movq %r14, %rdi
callq 0x3170
movl $0x1, %esi
movq %r12, %rdi
movq %r15, %rdx
movq %r14, %rcx
callq 0x3090
movq %rax, %rbx
movq %r14, %rdi
callq 0x3080
xorl %r13d, %r13d
negl %eax
sbbq %r13, %r13
orq %rbx, %r13
jmp 0x3886
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: dispose_variable
void dispose_variable( struct variable *var ) {
	var->number_value = 0;
	if( var->string_value ) {
		unref_string( var->string_value );
		var->string_value = NULL;
	}
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl $0x0, (%rdi)
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
je 0x3977
callq 0x3979
movq $0x0, 0x8(%rbx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: unref_string
void unref_string( struct string *str ) {
	if( str->reference_count == 1 ) {
		switch( str->type ) {
			default:
			case STRING:
				free( str );
				break;
			case ELEMENT:
				dispose_element( ( struct element * ) str );
				break;
			case ARRAY:
				dispose_array( ( struct array * ) str );
				break;
			case STRUCT:
				dispose_structure( ( struct structure * ) str );
				break;
			case GLOBAL: case CONST:
				dispose_global_variable( ( struct global_variable * ) str );
				break;
			case FUNCTION:
				dispose_function( ( struct function * ) str );
				break;
			case SOURCE:
				dispose_source( ( struct source * ) str );
				break;
			case CUSTOM:
				( ( struct custom * ) str )->type->dispose( str );
				break;
		}
	} else {
		str->reference_count--;
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rax
cmpq $0x1, %rax
jne 0x39d2
movzbl 0x14(%rbx), %eax
decl %eax
cmpl $0x8, %eax
ja 0x3a69
leaq 0xe6f5(%rip), %rcx      # 0x12094
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x20(%rbx), %rdi
testq %rdi, %rdi
je 0x39b6
callq 0x3979
movq 0x30(%rbx), %rdi
testq %rdi, %rdi
je 0x39c4
callq 0x3979
movq 0x38(%rbx), %rdi
callq 0x3b29
jmp 0x3a69
decq %rax
movq %rax, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq 0x28(%rbx), %rdi
cmpq %rbx, %rdi
je 0x39ee
callq 0x3979
movq 0x30(%rbx), %rdi
testq %rdi, %rdi
je 0x39fc
callq 0x3979
movq 0x48(%rbx), %rdi
testq %rdi, %rdi
je 0x3a16
movq 0x18(%rdi), %r14
callq 0x3030
movq %r14, %rdi
testq %r14, %r14
jne 0x3a05
movq 0x58(%rbx), %rdi
callq 0x3aeb
jmp 0x3a69
movq %rbx, %rdi
callq 0x7fc0
movq 0x30(%rbx), %rax
testq %rax, %rax
je 0x3a69
movq 0x38(%rbx), %rcx
movq %rcx, 0x38(%rax)
movq 0x38(%rbx), %rcx
testq %rcx, %rcx
je 0x3a69
movq %rax, 0x30(%rcx)
jmp 0x3a69
movq 0x18(%rbx), %rdi
jmp 0x3a64
movq 0x18(%rbx), %rax
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmpq *0x18(%rax)
movq 0x20(%rbx), %rdi
callq 0x3c4f
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x3030
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x3b6f
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: assign_variable
void assign_variable( struct variable *src, struct variable *dest ) {
	if( dest->string_value ) {
		unref_string( dest->string_value );
	}
	dest->number_value = src->number_value;
	dest->string_value = src->string_value;
	if( dest->string_value ) {
		dest->string_value->reference_count++;
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rsi), %rdi
testq %rdi, %rdi
je 0x3aad
callq 0x3979
movl (%r14), %eax
movl %eax, (%rbx)
movq 0x8(%r14), %rax
movq %rax, 0x8(%rbx)
testq %rax, %rax
je 0x3ac2
incq (%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: evaluate_string_literal_expression
enum result evaluate_string_literal_expression( struct expression *this,
	struct variables *vars, struct variable *result ) {
	result->number_value = ( ( struct value_expression * ) this )->num;
	result->string_value = ( ( struct value_expression * ) this )->str;
	result->string_value->reference_count++;
	return OKAY;
}

// Assembly:
movl 0x28(%rdi), %eax
movl %eax, (%rdx)
movq 0x20(%rdi), %rax
movq %rax, 0x8(%rdx)
incq (%rax)
movl $0x1, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: dispose_statements
void dispose_statements( struct statement *statements ) {
	struct statement *next;
	while( statements ) {
		next = statements->next;
		dispose_expressions( statements->source );
		if( statements->dispose ) {
			statements->dispose( statements );
		} else {
			free( statements );
		}
		statements = next;
	}
}

// Assembly:
testq %rdi, %rdi
je 0x3b28
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rbx), %rdi
movq 0x20(%rbx), %r14
callq 0x3b29
movq 0x18(%rbx), %rax
movq %rbx, %rdi
testq %rax, %rax
je 0x3b14
callq *%rax
jmp 0x3b19
callq 0x3030
movq %r14, %rbx
testq %r14, %r14
jne 0x3af7
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: dispose_expressions
static void dispose_expressions( struct expression *expr ) {
	struct expression *next;
	while( expr ) {
		next = expr->next;
		dispose_expressions( expr->parameters );
		if( expr->evaluate == evaluate_string_literal_expression ) {
			unref_string( ( ( struct value_expression * ) expr )->str );
		}
		free( expr );
		expr = next;
	}
}

// Assembly:
testq %rdi, %rdi
je 0x3b6e
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq -0x68(%rip), %r14       # 0x3ad5
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %r15
callq 0x3b29
cmpq %r14, 0x18(%rbx)
jne 0x3b59
movq 0x20(%rbx), %rdi
callq 0x3979
movq %rbx, %rdi
callq 0x3030
movq %r15, %rbx
testq %r15, %r15
jne 0x3b3d
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: dispose_element
static void dispose_element( struct element *elem ) {
	struct element *prev;
	while( elem ) {
		if( elem->str.reference_count == 1 ) {
			if( elem->child ) {
				dispose_element( elem->child );
			}
			prev = elem;
			elem = elem->next;
			free( prev );
		} else {
			elem->str.reference_count--;
			elem = NULL;
		}
	}
}

// Assembly:
testq %rdi, %rdi
je 0x3bb7
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rbx), %rax
cmpq $0x1, %rax
jne 0x3ba3
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x3b92
callq 0x3b6f
movq 0x20(%rbx), %r14
movq %rbx, %rdi
callq 0x3030
movq %r14, %rbx
jmp 0x3bab
decq %rax
movq %rax, (%rbx)
xorl %ebx, %ebx
testq %rbx, %rbx
jne 0x3b7b
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: dispose_environment
void dispose_environment( struct environment *env ) {
	int idx;
	for( idx = 0; idx < 32; idx++ ) {
		dispose_string_list( env->decls_index[ idx ] );
		dispose_keywords( env->statements_index[ idx ] );
		dispose_operators( env->operators_index[ idx ] );
	}
	dispose_string_list( env->globals );
	dispose_arrays( &env->arrays );
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
xorl %r14d, %r14d
movq 0x280(%rbx,%r14,8), %rdi
callq 0x3c4f
movq 0x80(%rbx,%r14,8), %rdi
testq %rdi, %rdi
je 0x3bee
movq 0x18(%rdi), %r15
callq 0x3030
movq %r15, %rdi
testq %r15, %r15
jne 0x3bdd
movq 0x180(%rbx,%r14,8), %rdi
testq %rdi, %rdi
je 0x3c0c
movq 0x18(%rdi), %r15
callq 0x3030
movq %r15, %rdi
testq %r15, %r15
jne 0x3bfb
incq %r14
cmpq $0x20, %r14
jne 0x3bc3
movq 0x380(%rbx), %rdi
callq 0x3c4f
movq 0x70(%rbx), %r14
testq %r14, %r14
je 0x3c40
incq (%r14)
movq %r14, %rdi
callq 0x7fc0
movq 0x38(%r14), %r14
jmp 0x3c25
callq 0x3979
movq 0x70(%rbx), %rdi
testq %rdi, %rdi
jne 0x3c3b
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: dispose_string_list
static void dispose_string_list( struct string_list *list ) {
	struct string_list *next;
	while( list ) {
		next = list->next;
		unref_string( list->str );
		free( list );
		list = next;
	}
}

// Assembly:
testq %rdi, %rdi
je 0x3c7e
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rbx), %rdi
movq 0x8(%rbx), %r14
callq 0x3979
movq %rbx, %rdi
callq 0x3030
movq %r14, %rbx
testq %r14, %r14
jne 0x3c5b
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: throw_exit
enum result throw_exit( struct variables *vars, number exit_code, const char *message ) {
	struct variable *exception = vars->exception;
	struct environment *env = vars->func->env;
	env->exit.reference_count = 2;
	env->exit.type = EXIT;
	env->exit.string = ( char * ) message;
	dispose_temporary( exception );
	exception->number_value = exit_code;
	exception->string_value = &env->exit;
	return EXCEPTION;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl %esi, %ebx
movq 0x8(%rdi), %r14
movq 0x18(%rdi), %rax
movq 0x40(%rax), %rax
leaq 0x20(%rax), %r15
movq $0x2, 0x20(%rax)
movb $0xa, 0x34(%rax)
movq %rdx, 0x28(%rax)
movq 0x8(%r14), %rdi
testq %rdi, %rdi
je 0x3cb4
callq 0x3979
movl %ebx, (%r14)
movq %r15, 0x8(%r14)
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: throw
enum result throw( struct variables *vars, struct expression *source, number num, const char *string ) {
	struct variable *exception = vars->exception;
	struct array *arr = NULL;
	if( string ) {
		arr = stack_trace( source, vars, strlen( string ), 16 );
		if( arr ) {
			strcpy( arr->str.string, string );
		} else {
			return throw_exit( vars, 1, OUT_OF_MEMORY );
		}
	}
	dispose_temporary( exception );
	exception->number_value = num;
	exception->string_value = &arr->str;
	return EXCEPTION;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movl %edx, %ebx
movq 0x8(%rdi), %r13
testq %rcx, %rcx
je 0x3d0b
movq %rcx, %r15
movq %rsi, %r14
movq %rdi, %r12
movq %rcx, %rdi
callq 0x30c0
movq %r14, %rdi
movq %r12, %rsi
movl %eax, %edx
callq 0x3d73
testq %rax, %rax
je 0x3d26
movq %rax, %r14
movq 0x8(%rax), %rdi
movq %r15, %rsi
callq 0x3070
jmp 0x3d0e
xorl %r14d, %r14d
movq 0x8(%r13), %rdi
testq %rdi, %rdi
je 0x3d1c
callq 0x3979
movl %ebx, (%r13)
movq %r14, 0x8(%r13)
jmp 0x3d67
movq 0x15443(%rip), %rax     # 0x19170
movq 0x8(%r12), %rbx
movq 0x18(%r12), %rcx
movq 0x40(%rcx), %rcx
leaq 0x20(%rcx), %r14
movq $0x2, 0x20(%rcx)
movb $0xa, 0x34(%rcx)
movq %rax, 0x28(%rcx)
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x3d5d
callq 0x3979
movl $0x1, (%rbx)
movq %r14, 0x8(%rbx)
xorl %eax, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: stack_trace
static struct array* stack_trace( struct expression *expr, struct variables *vars, int msg_len, int max_depth ) {
	struct array *arr = new_array( vars->func->env, max_depth, msg_len );
	int idx = 0, line = expr->line;
	if( arr ) {
		while( vars && vars->func && idx < max_depth ) {
			vars->func->str.reference_count++;
			arr->string_values[ idx ] = &vars->func->str;
			arr->number_values[ idx++ ] = line;
			line = vars->line;
			vars = vars->parent;
		}
		arr->length = idx;
	}
	return arr;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x18(%rsi), %rax
movq 0x40(%rax), %rdi
movl $0x10, %esi
callq 0x36e0
testq %rax, %rax
je 0x3dd7
xorl %ecx, %ecx
testq %rbx, %rbx
je 0x3dd4
movq 0x18(%rbx), %rdx
testq %rdx, %rdx
je 0x3dd4
cmpq $0xf, %rcx
ja 0x3dd4
movl (%r14), %esi
incq (%rdx)
movq 0x20(%rax), %rdi
movq %rdx, (%rdi,%rcx,8)
movq 0x18(%rax), %rdx
movl %esi, (%rdx,%rcx,4)
incq %rcx
movq (%rbx), %rdx
addq $0x20, %rbx
movq %rbx, %r14
movq %rdx, %rbx
testq %rdx, %rdx
jne 0x3d9b
movl %ecx, 0x40(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: write_byte_string
int write_byte_string( char *bytes, int count, char *output ) {
	int chr, size, idx = 0, length = 0;
	if( output ) {
		output[ length++ ] = '"';
		while( idx < count ) {
			chr = bytes[ idx++ ];
			if( chr == '"' || chr == '\\' ) {
				output[ length++ ] = '\\';
				output[ length++ ] = chr;
			} else if( ( chr & 0x7F ) < 32 || chr == 127 ) {
				output[ length++ ] = '\\';
				output[ length++ ] = '0' + ( ( chr >> 6 ) & 0x3 );
				output[ length++ ] = '0' + ( ( chr >> 3 ) & 0x7 );
				output[ length++ ] = '0' + ( chr & 0x7 );
			} else {
				output[ length++ ] = chr;
			}
		}
		output[ length++ ] = '"';
	} else {
		length = 2;
		while( idx < count && length > 0 ) {
			chr = bytes[ idx++ ];
			if( chr == '"' || chr == '\\' ) {
				size = 2;
			} else if( ( chr & 0x7F ) < 32 || chr == 127 ) {
				size = 4;
			} else {
				size = 1;
			}
			if( MAX_INTEGER - length > size ) {
				length += size;
			} else {
				length = -1;
			}
		}
	}
	return length;
}

// Assembly:
testq %rdx, %rdx
je 0x3e86
movb $0x22, (%rdx)
testl %esi, %esi
jle 0x3ef1
movl %esi, %ecx
movl $0x1, %eax
xorl %esi, %esi
movzbl (%rdi,%rsi), %r8d
cmpl $0x5c, %r8d
je 0x3e0d
cmpl $0x22, %r8d
jne 0x3e2b
movslq %eax, %r9
movb $0x5c, (%rdx,%r9)
leal 0x2(%r9), %eax
movb %r8b, 0x1(%rdx,%r9)
incq %rsi
cmpq %rsi, %rcx
jne 0x3dfc
jmp 0x3ef6
testb $0x60, %r8b
setne %r10b
cmpb $0x7f, %r8b
setne %r11b
movslq %eax, %r9
testb %r10b, %r11b
jne 0x3e7e
movb $0x5c, (%rdx,%r9)
movl %r8d, %r10d
shrb $0x6, %r10b
orb $0x30, %r10b
movb %r10b, 0x1(%rdx,%r9)
movl %r8d, %r10d
shrb $0x3, %r10b
andb $0x7, %r10b
orb $0x30, %r10b
movb %r10b, 0x2(%rdx,%r9)
andb $0x7, %r8b
orb $0x30, %r8b
addl $0x4, %eax
movb %r8b, 0x3(%rdx,%r9)
jmp 0x3e1e
incl %eax
movb %r8b, (%rdx,%r9)
jmp 0x3e1e
testl %esi, %esi
jle 0x3f00
movl %esi, %ecx
movl $0x2, %eax
movl $0x1, %edx
movl $0x4, %esi
movzbl -0x1(%rdi,%rdx), %r9d
movl $0x2, %r8d
cmpl $0x22, %r9d
je 0x3ecb
cmpl $0x5c, %r9d
je 0x3ecb
xorl %r8d, %r8d
testb $0x60, %r9b
sete %r8b
cmpb $0x7f, %r9b
leal 0x1(%r8,%r8,2), %r8d
cmovel %esi, %r8d
movl %eax, %r9d
xorl $0x7fffffff, %r9d       # imm = 0x7FFFFFFF
cmpl %r8d, %r9d
ja 0x3ee1
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
jmp 0x3ee4
addl %r8d, %eax
cmpq %rcx, %rdx
jae 0x3ef0
incq %rdx
testl %eax, %eax
jg 0x3e9b
retq
movl $0x1, %eax
movslq %eax, %rcx
incl %eax
movb $0x22, (%rdx,%rcx)
retq
movl $0x2, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: add_decl
struct string_list* add_decl( struct string *decl, int line, struct environment *env, char *message ) {
	struct string_list *list = NULL;
	int hash = validate_decl( decl, line, env, message ) - 1;
	if( message[ 0 ] == 0 ) {
		list = new_string_list( decl, env->decls_index[ hash ] );
		if( list ) {
			env->decls_index[ hash ] = list;
		} else {
			strcpy( message, OUT_OF_MEMORY );
		}
	}
	return list;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r14
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r15
callq 0x8b50
movl %eax, %r12d
testl %eax, %eax
je 0x3f62
leal -0x1(%r12), %eax
movq 0x280(%rbx,%rax,8), %rdi
movq 0x8(%r15), %r13
movl 0x10(%r15), %edx
movq %r13, %rsi
xorl %ecx, %ecx
callq 0x8a37
testq %rax, %rax
je 0x3f62
leaq 0xea89(%rip), %rsi      # 0x129dc
movq %r14, %rdi
movq %r13, %rdx
movl %ebp, %ecx
xorl %eax, %eax
callq 0x3200
cmpb $0x0, (%r14)
je 0x3f6c
xorl %eax, %eax
jmp 0x3f9b
movslq %r12d, %r12
movq 0x278(%rbx,%r12,8), %r13
movl $0x10, %edi
callq 0x31b0
testq %rax, %rax
je 0x3faa
movq %r15, (%rax)
incq (%r15)
decq %r12
movq %r13, 0x8(%rax)
movq %rax, 0x280(%rbx,%r12,8)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x151bf(%rip), %rsi     # 0x19170
movq %r14, %rdi
callq 0x3070
jmp 0x3f68
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: add_constants
int add_constants( struct constant *constants, struct environment *env, char *message ) {
	struct global_variable *global;
	while( constants->name && message[ 0 ] == 0 ) {
		global = new_global_variable( constants->name, NULL, NULL, NULL, message );
		if( global ) {
			if( add_global( global, 0, env, message ) ) {
				global->str.type = CONST;
				global->value.number_value = constants->number_value;
				if( constants->string_value ) {
					global->value.string_value = new_string_literal( constants->string_value );
					if( global->value.string_value == NULL ) {
						strcpy( message, OUT_OF_MEMORY );
					}
				}
			}
			unref_string( &global->str );
		}
		constants++;
	}
	return message[ 0 ] == 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r15
movq (%rdi), %rdi
testq %rdi, %rdi
je 0x4056
movq %rsi, %r14
addq $0x18, %r15
cmpb $0x0, (%rbx)
jne 0x4056
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
movq %rbx, %r8
callq 0x406a
testq %rax, %rax
je 0x404a
movq %rax, %r12
movq %rax, %rdi
xorl %esi, %esi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x4139
testq %rax, %rax
je 0x4042
movb $0x5, 0x14(%r12)
movl -0x10(%r15), %eax
movl %eax, 0x18(%r12)
movq -0x8(%r15), %rdi
testq %rdi, %rdi
je 0x4042
callq 0x419c
movq %rax, 0x20(%r12)
testq %rax, %rax
jne 0x4042
movq 0x15136(%rip), %rsi     # 0x19170
movq %rbx, %rdi
callq 0x3070
movq %r12, %rdi
callq 0x3979
movq (%r15), %rdi
addq $0x18, %r15
testq %rdi, %rdi
jne 0x3fdc
xorl %eax, %eax
cmpb $0x0, (%rbx)
sete %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: new_global_variable
static struct global_variable* new_global_variable( char *name,
	struct structure *type, struct function *init_function, struct expression *initializer, char *message ) {
	int nlen = strlen( name );
	int qlen = qualify_name( init_function, name, nlen, NULL );
	struct global_variable *global = malloc( sizeof( struct global_variable ) + sizeof( char ) * ( qlen + 1 ) );
	if( global ) {
		global->str.reference_count = 1;
		global->str.string = ( char * ) &global[ 1 ];
		qualify_name( init_function, name, nlen, global->str.string );
		global->str.length = qlen;
		global->str.type = GLOBAL;
		global->value.number_value = 0;
		global->value.string_value = NULL;
		global->type = type;
		global->init_function = init_function;
		if( init_function ) {
			init_function->str.reference_count++;
		}
		global->initializer = initializer;
	} else {
		strcpy( message, OUT_OF_MEMORY );
	}
	return global;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, 0x8(%rsp)
movq %rcx, 0x10(%rsp)
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
callq 0x30c0
movq %rax, %rbp
movl %ebp, %r13d
testq %r14, %r14
je 0x40b1
movq 0x30(%r14), %rax
movl %ebp, %r13d
testq %rax, %rax
je 0x40b1
movl 0x10(%rax), %eax
leal (%rax,%rbp), %r13d
incl %r13d
movslq %r13d, %rdi
addq $0x41, %rdi
callq 0x31b0
movq %rax, %rbx
testq %rax, %rax
je 0x4116
movq $0x1, (%rbx)
movq %rbx, %rcx
addq $0x40, %rcx
movq %rcx, 0x8(%rbx)
movq %r14, %rdi
movq %r12, %rsi
movl %ebp, %edx
callq 0x800c
movl %r13d, 0x10(%rbx)
movb $0x4, 0x14(%rbx)
movl $0x0, 0x18(%rbx)
movq $0x0, 0x20(%rbx)
movq %r15, 0x28(%rbx)
movq %r14, 0x30(%rbx)
testq %r14, %r14
je 0x410b
incq (%r14)
movq 0x10(%rsp), %rax
movq %rax, 0x38(%rbx)
jmp 0x4127
movq 0x15053(%rip), %rsi     # 0x19170
movq 0x8(%rsp), %rdi
callq 0x3070
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: add_global
static struct string_list* add_global( struct global_variable *global, int line, struct environment *env, char *message ) {
	struct string_list *list = append_string_list( &env->globals, &env->globals_tail, &global->str );
	if( list ) {
		list = add_decl( &global->str, line, env, message );
	} else {
		strcpy( message, OUT_OF_MEMORY );
	}
	return list;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r14
movl %esi, %ebp
movq %rdi, %r15
leaq 0x380(%rdx), %rdi
leaq 0x388(%rdx), %rsi
movq %r15, %rdx
callq 0x8098
testq %rax, %rax
je 0x4180
movq %r15, %rdi
movl %ebp, %esi
movq %r14, %rdx
movq %rbx, %rcx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x3f06
movq 0x14fe9(%rip), %rsi     # 0x19170
movq %rbx, %rdi
callq 0x3070
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: new_string_literal
static struct string* new_string_literal( char *source ) {
	struct string *str = new_string( unquote_string( source, NULL, '"' ) );
	if( str ) {
		str->length = unquote_string( source, str->string, '"' );
	}
	return str;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
xorl %esi, %esi
movl $0x22, %edx
callq 0x80dc
movslq %eax, %r15
leaq 0x19(%r15), %rdi
callq 0x31b0
movq %rax, %r14
testq %rax, %rax
je 0x4204
xorps %xmm0, %xmm0
movups %xmm0, (%r14)
movq $0x0, 0x10(%r14)
movq %r14, %rax
addq $0x18, %rax
movq %rax, 0x8(%r14)
movb $0x0, 0x18(%r14,%r15)
movq $0x1, (%r14)
movl %r15d, 0x10(%r14)
movq 0x8(%r14), %rsi
movq %rbx, %rdi
movl $0x22, %edx
callq 0x80dc
movl %eax, 0x10(%r14)
movq %r14, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: evaluate_local
enum result evaluate_local( struct expression *this,
	struct variables *vars, struct variable *result ) {
	struct variable *var = &vars->locals[ this->index ];
	result->number_value = var->number_value;
	if( var->string_value ) {
		result->string_value = var->string_value;
		result->string_value->reference_count++;
	}
	return OKAY;
}

// Assembly:
movq 0x10(%rsi), %rax
movslq 0x4(%rdi), %rcx
shlq $0x4, %rcx
movl (%rax,%rcx), %esi
movl %esi, (%rdx)
movq 0x8(%rax,%rcx), %rax
testq %rax, %rax
je 0x422f
movq %rax, 0x8(%rdx)
incq (%rax)
movl $0x1, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: evaluate_local_post_inc
enum result evaluate_local_post_inc( struct expression *this,
	struct variables *vars, struct variable *result ) {
	struct variable *var = &vars->locals[ this->index ];
	if( var->string_value ) {
		return throw( vars, this, 0, "Not a number." );
	} else {
		result->number_value = var->number_value++;
	}
	return OKAY;
}

// Assembly:
pushq %rbx
movq %rdi, %rax
movq 0x10(%rsi), %rcx
movslq 0x4(%rdi), %rdi
shlq $0x4, %rdi
cmpq $0x0, 0x8(%rcx,%rdi)
je 0x4265
leaq 0xdf1e(%rip), %rcx      # 0x12172
xorl %ebx, %ebx
movq %rsi, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x3cc3
jmp 0x4276
addq %rdi, %rcx
movl (%rcx), %eax
leal 0x1(%rax), %esi
movl %esi, (%rcx)
movl %eax, (%rdx)
movl $0x1, %ebx
movl %ebx, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: evaluate_global
enum result evaluate_global( struct expression *this,
	struct variables *vars, struct variable *result ) {
	struct variable *var = &( ( struct global_variable * ) ( ( struct value_expression * ) this )->str )->value;
	result->number_value = var->number_value;
	if( var->string_value ) {
		result->string_value = var->string_value;
		result->string_value->reference_count++;
	}
	return OKAY;
}

// Assembly:
movq 0x20(%rdi), %rax
movl 0x18(%rax), %ecx
movl %ecx, (%rdx)
movq 0x20(%rax), %rax
testq %rax, %rax
je 0x42d8
movq %rax, 0x8(%rdx)
incq (%rax)
movl $0x1, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: execute_local_assignment
enum result execute_local_assignment( struct statement *this,
	struct variables *vars, struct variable *result ) {
	struct variable var = { 0 }, *dest = &vars->locals[ this->local ];
	enum result ret = this->source->evaluate( this->source, vars, &var );
	if( ret ) {
		dispose_temporary( dest );
		dest->number_value = var.number_value;
		dest->string_value = var.string_value;
	}
	return ret;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
xorps %xmm0, %xmm0
movq %rsp, %rdx
movaps %xmm0, (%rdx)
movq 0x10(%rsi), %r14
movslq (%rdi), %r15
movq 0x8(%rdi), %rdi
callq *0x18(%rdi)
movl %eax, %ebx
testl %eax, %eax
je 0x432e
shlq $0x4, %r15
leaq (%r14,%r15), %r12
movq 0x8(%r14,%r15), %rdi
testq %rdi, %rdi
je 0x431d
callq 0x3979
movl (%rsp), %eax
movl %eax, (%r12)
movq 0x8(%rsp), %rax
movq %rax, 0x8(%r12)
movl %ebx, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: throw_interrupted
enum result throw_interrupted( struct variables *vars, struct expression *source ) {
	if( vars->func->env->worker ) {
		return throw_exit( vars, 0, "Interrupted." );
	} else {
		return throw( vars, source, 0, "Interrupted.");
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq 0x18(%rdi), %rax
movq 0x40(%rax), %rax
cmpq $0x0, 0x3a0(%rax)
je 0x43a0
movq 0x8(%rdi), %rbx
leaq 0x20(%rax), %r14
movq $0x2, 0x20(%rax)
movb $0xa, 0x34(%rax)
leaq 0xddfe(%rip), %rcx      # 0x12180
movq %rcx, 0x28(%rax)
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x4394
callq 0x3979
movl $0x0, (%rbx)
movq %r14, 0x8(%rbx)
jmp 0x43ae
leaq 0xddd9(%rip), %rcx      # 0x12180
xorl %edx, %edx
callq 0x3cc3
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: is_instance
enum result is_instance( struct variable *var, struct structure *type, struct variables *vars, struct expression *source ) {
	char msg[ 128 ];
	struct structure *struc;
	if( var->string_value && var->string_value->type == ARRAY ) {
		struc = ( ( struct array * ) var->string_value )->structure;
		while( struc ) {
			if( type == struc ) {
				return OKAY;
			}
			struc = struc->super;
		}
	}
	if( vars ) {
		sprintf( msg, "Not an instance of '%.64s'.", type->str.string );
		return throw( vars, source, var->number_value, msg );
	}
	return EXCEPTION;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x80, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movq %rdi, %r15
movq 0x8(%rdi), %rax
testq %rax, %rax
je 0x4412
cmpb $0x2, 0x14(%rax)
jne 0x4412
movq 0x28(%rax), %rax
testq %rax, %rax
je 0x4412
cmpq %rsi, %rax
je 0x4448
movq 0x30(%rax), %rax
jmp 0x4402
testq %r14, %r14
je 0x4444
movq 0x8(%rsi), %rdx
leaq 0xdd6b(%rip), %rsi      # 0x1218d
xorl %ebp, %ebp
movq %rsp, %r12
movq %r12, %rdi
xorl %eax, %eax
callq 0x3200
movl (%r15), %edx
movq %r14, %rdi
movq %rbx, %rsi
movq %r12, %rcx
callq 0x3cc3
jmp 0x444d
xorl %ebp, %ebp
jmp 0x444d
movl $0x1, %ebp
movl %ebp, %eax
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: evaluate_string
enum result evaluate_string( struct expression *expr, struct variables *vars, struct variable *result ) {
	enum result ret = expr->evaluate( expr, vars, result );
	if( ret && result->string_value == NULL ) {
		ret = throw( vars, expr, 0, "Not a string." );
	}
	return ret;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %r14
callq *0x18(%rdi)
testl %eax, %eax
je 0x4499
movl %eax, %ebx
cmpq $0x0, 0x8(%r12)
jne 0x449b
leaq 0xdd21(%rip), %rcx      # 0x121a9
xorl %ebx, %ebx
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x3cc3
jmp 0x449b
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq