LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: parse_library_declaration
static struct element* parse_library_declaration( struct element *elem,
	struct function *func, struct variables *vars, struct statement *prev, char *message ) {
	struct function *init;
	struct element *next = elem->next;
	struct string *library = get_decl_indexed( func, next->str.string, next->str.length, LIBRARY );
	if( library ) {
		library->reference_count++;
	} else {
		library = new_string_value( next->str.string );
		if( library ) {
			library->type = LIBRARY;
			add_decl( library, next->line, func->env, message );
		} else {
			strcpy( message, OUT_OF_MEMORY );
		}
	}
	if( message[ 0 ] == 0 && import_library( library, func->file, message ) ) {
		init = new_function( "[Init]", NULL );
		if( init ) {
			init->file = func->file;
			init->file->reference_count++;
			init->library = library;
			library->reference_count++;
			init->env = func->env;
			next = next->next;
			parse_keywords( library_decls, next->child, init, NULL, NULL, message );
			next = next->next;
			unref_string( &init->str );
		} else {
			strcpy( message, OUT_OF_MEMORY );
		}
		unref_string( library );
	}
	return next;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %r8, %r14
movq %rsi, %r12
movq 0x20(%rdi), %rbx
movq 0x8(%rbx), %r13
movl 0x10(%rbx), %edx
movq %rsi, %rdi
movq %r13, %rsi
movl $0x7, %ecx
callq 0x8a06
testq %rax, %rax
je 0x92b7
movq %rax, %r15
incq (%rax)
jmp 0x92f2
movq %r13, %rdi
callq 0x37cf
testq %rax, %rax
je 0x92e0
movq %rax, %r15
movb $0x7, 0x14(%rax)
movl 0x28(%rbx), %esi
movq 0x40(%r12), %rdx
movq %rax, %rdi
movq %r14, %rcx
callq 0x3f06
jmp 0x92f2
movq 0xfe89(%rip), %rsi      # 0x19170
movq %r14, %rdi
callq 0x3070
xorl %r15d, %r15d
cmpb $0x0, (%r14)
jne 0x9386
movq 0x28(%r12), %rsi
movq %r15, %rdi
movq %r14, %rdx
callq 0x942f
testl %eax, %eax
je 0x9386
leaq 0x91f6(%rip), %rdi      # 0x1250d
xorl %esi, %esi
callq 0x73b3
testq %rax, %rax
je 0x936f
movq %rax, %r13
movq 0x28(%r12), %rax
movq %rax, 0x28(%r13)
incq (%rax)
movq %r15, 0x30(%r13)
incq (%r15)
movq 0x40(%r12), %rax
movq %rax, 0x40(%r13)
movq 0x20(%rbx), %rbx
movq 0x18(%rbx), %rsi
leaq 0x10a7f(%rip), %rdi     # 0x19dd0
movq %r13, %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
movq %r14, %r9
callq 0x799a
movq 0x20(%rbx), %rbx
movq %r13, %rdi
callq 0x3979
jmp 0x937e
movq 0xfdfa(%rip), %rsi      # 0x19170
movq %r14, %rdi
callq 0x3070
movq %r15, %rdi
callq 0x3979
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: parse_program_declaration
static struct element* parse_program_declaration( struct element *elem,
	struct function *func, struct variables *vars, struct statement *prev, char *message ) {
	struct environment *env = func->env;
	struct element *next = elem->next;
	struct function *prog = new_function( next->str.string, NULL );
	if( prog ) {
		prog->line = elem->line;
		prog->file = func->file;
		prog->file->reference_count++;
		if( func->library ) {
			prog->library = func->library;
			prog->library->reference_count++;
		}
		prog->body = next->next;
		prog->env = env;
		if( add_decl( &prog->str, next->line, env, message ) ) {
			env->entry_point = prog;
			next = next->next->next;
		}
		unref_string( &prog->str );
	}
	return next;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r12
movq %rsi, %r13
movq %rdi, %rbp
movq 0x40(%rsi), %r14
movq 0x20(%rdi), %rbx
movq 0x8(%rbx), %rdi
xorl %esi, %esi
callq 0x73b3
testq %rax, %rax
je 0x941d
movq %rax, %r15
movl 0x28(%rbp), %eax
movl %eax, 0x18(%r15)
movq 0x28(%r13), %rax
movq %rax, 0x28(%r15)
incq (%rax)
movq 0x30(%r13), %rax
testq %rax, %rax
je 0x93e4
movq %rax, 0x30(%r15)
incq (%rax)
movq 0x20(%rbx), %rax
movq %rax, 0x38(%r15)
movq %r14, 0x40(%r15)
movl 0x28(%rbx), %esi
movq %r15, %rdi
movq %r14, %rdx
movq %r12, %rcx
callq 0x3f06
testq %rax, %rax
je 0x9415
movq %r15, 0x398(%r14)
movq 0x20(%rbx), %rax
movq 0x20(%rax), %rbx
movq %r15, %rdi
callq 0x3979
movq %rbx, %rax
addq $0x8, %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: import_library
static int import_library( struct string *library, struct string *source, char *message ) {
	struct string_list *imports;
	if( source->type == SOURCE ) {
		imports = ( ( struct source * ) source )->imports;
		while( imports ) {
			if( imports->str == library ) {
				return 1;
			}
			imports = imports->next;
		}
		imports = new_string_list( library, ( ( struct source * ) source )->imports );
		if( imports ) {
			( ( struct source * ) source )->imports = imports;
		} else {
			strcpy( message, OUT_OF_MEMORY );
			return 0;
		}
	}
	return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movl $0x1, %ebx
cmpb $0x8, 0x14(%rsi)
jne 0x9495
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %r12
movq 0x18(%rsi), %rax
testq %rax, %rax
je 0x9460
cmpq %r12, (%rax)
je 0x9495
movq 0x8(%rax), %rax
jmp 0x9450
movq 0x18(%r14), %r13
movl $0x10, %edi
callq 0x31b0
testq %rax, %rax
je 0x9484
movq %r12, (%rax)
incq (%r12)
movq %r13, 0x8(%rax)
movq %rax, 0x18(%r14)
jmp 0x9495
movq 0xfce5(%rip), %rsi      # 0x19170
movq %r15, %rdi
callq 0x3070
xorl %ebx, %ebx
movl %ebx, %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: str_idx
static int str_idx( char *str, char *chars, int idx ) {
	char *chr, *end;
	if( idx < 0 ) {
		chr = end = field_end( str, chars );
		while( *end ) {
			chr = end;
			end = field_end( end + 1, chars );
		}
	} else {
		chr = field_end( str + idx, chars );
	}
	if( *chr ) {
		return chr - str;
	}
	return -1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
testl %edx, %edx
js 0x94c2
movl %edx, %edi
addq %rbx, %rdi
movq %r14, %rsi
callq 0x84da
movq %rax, %r15
jmp 0x94e6
movq %rbx, %rdi
movq %r14, %rsi
callq 0x84da
cmpb $0x0, (%rax)
je 0x94bd
movq %rax, %r15
leaq 0x1(%rax), %rdi
movq %r14, %rsi
callq 0x84da
cmpb $0x0, (%rax)
jne 0x94d2
movl %r15d, %ecx
subl %ebx, %ecx
xorl %eax, %eax
cmpb $0x1, (%r15)
sbbl %eax, %eax
orl %ecx, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: parse_function_declaration
static struct element* parse_function_declaration( struct element *elem,
	struct function *func, struct variables *vars, struct statement *prev, char *message ) {
	struct element *next = elem->next;
	struct function *decl = parse_function( next->next, next->str.string, func, message );
	if( decl ) {
		if( add_decl( &decl->str, next->line, func->env, message ) ) {
			next = next->next->next->next;
		}
		unref_string( &decl->str );
	}
	return next;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r15
movq %rsi, %r12
movq 0x20(%rdi), %rbx
movq 0x8(%rbx), %rsi
movq 0x20(%rbx), %rdi
movq %r12, %rdx
movq %r8, %rcx
callq 0x7175
testq %rax, %rax
je 0x9554
movq %rax, %r14
movl 0x28(%rbx), %esi
movq 0x40(%r12), %rdx
movq %rax, %rdi
movq %r15, %rcx
callq 0x3f06
testq %rax, %rax
je 0x954c
movq 0x20(%rbx), %rax
movq 0x20(%rax), %rax
movq 0x20(%rax), %rbx
movq %r14, %rdi
callq 0x3979
movq %rbx, %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: add_global_constant
static int add_global_constant( struct element *elem,
	struct function *func, struct structure *type, struct expression *initializer,
	struct statement *prev, char *message ) {
	struct global_variable *global = new_global_variable( elem->str.string, type, func, initializer, message );
	if( global ) {
		if( add_global( global, elem->line, func->env, message ) ) {
			global->str.type = CONST;
		}
		unref_string( &global->str );
	}
	return message[ 0 ] == 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %rbx
movq %rsi, %r15
movq %rdi, %r12
movq 0x8(%rdi), %rdi
movq %rdx, %rsi
movq %r15, %rdx
movq %r9, %r8
callq 0x406a
testq %rax, %rax
je 0x9b33
movq %rax, %r14
movl 0x28(%r12), %esi
movq 0x40(%r15), %rdx
movq %rax, %rdi
movq %rbx, %rcx
callq 0x4139
testq %rax, %rax
je 0x9b2b
movb $0x5, 0x14(%r14)
movq %r14, %rdi
callq 0x3979
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: expr_set_line
static void expr_set_line( struct expression *expr, int line ) {
	while( expr ) {
		expr->line = line;
		expr_set_line( expr->parameters, line );
		expr = expr->next;
	}
}

// Assembly:
testq %rdi, %rdi
je 0x9eb5
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
movl %ebx, (%r14)
movq 0x8(%r14), %rdi
movl %ebx, %esi
callq 0x9e89
movq 0x10(%r14), %r14
testq %r14, %r14
jne 0x9e97
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: add_global_variable
static int add_global_variable( struct element *elem,
	struct function *func, struct structure *type, struct expression *initializer,
	struct statement *prev, char *message ) {
	struct global_variable *global = new_global_variable( elem->str.string, type, func, initializer, message );
	if( global ) {
		add_global( global, elem->line, func->env, message );
		unref_string( &global->str );
	}
	return message[ 0 ] == 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %rbx
movq %rsi, %r14
movq %rdi, %r12
movq 0x8(%rdi), %rdi
movq %rdx, %rsi
movq %r14, %rdx
movq %r9, %r8
callq 0x406a
testq %rax, %rax
je 0x9efd
movq %rax, %r15
movl 0x28(%r12), %esi
movq 0x40(%r14), %rdx
movq %rax, %rdi
movq %rbx, %rcx
callq 0x4139
movq %r15, %rdi
callq 0x3979
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: parse_break_statement
static struct element* parse_break_statement( struct element *elem,
	struct function *func, struct variables *vars, struct statement *prev, char *message ) {
	struct element *next = elem->next;
	struct statement *stmt = calloc( 1, sizeof( struct statement ) );
	if( stmt ) {
		stmt->execute = execute_break_statement;
		prev->next = stmt;
		next = next->next;
	} else {
		strcpy( message, OUT_OF_MEMORY );
	}
	return next;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %r8, %r15
movq %rcx, %r14
movq 0x20(%rdi), %rbx
movl $0x1, %edi
movl $0x28, %esi
callq 0x3130
testq %rax, %rax
je 0xa7e2
leaq 0xddc(%rip), %rcx       # 0xb5b0
movq %rcx, 0x10(%rax)
movq %rax, 0x20(%r14)
movq 0x20(%rbx), %rbx
jmp 0xa7f1
movq 0xe987(%rip), %rsi      # 0x19170
movq %r15, %rdi
callq 0x3070
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: parse_continue_statement
static struct element* parse_continue_statement( struct element *elem,
	struct function *func, struct variables *vars, struct statement *prev, char *message ) {
	struct element *next = elem->next;
	struct statement *stmt = calloc( 1, sizeof( struct statement ) );
	if( stmt ) {
		stmt->execute = execute_continue_statement;
		prev->next = stmt;
		next = next->next;
	} else {
		strcpy( message, OUT_OF_MEMORY );
	}
	return next;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %r8, %r15
movq %rcx, %r14
movq 0x20(%rdi), %rbx
movl $0x1, %edi
movl $0x28, %esi
callq 0x3130
testq %rax, %rax
je 0xa832
leaq 0xd92(%rip), %rcx       # 0xb5b6
movq %rcx, 0x10(%rax)
movq %rax, 0x20(%r14)
movq 0x20(%rbx), %rbx
jmp 0xa841
movq 0xe937(%rip), %rsi      # 0x19170
movq %r15, %rdi
callq 0x3070
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: parse_until_statement
static struct element* parse_until_statement( struct element *elem,
	struct function *func, struct variables *vars, struct statement *prev, char *message ) {
	struct element *next = parse_while_statement( elem, func, vars, prev, message );
	if( message[ 0 ] == 0 ) {
		prev->next->execute = execute_until_statement;
	}
	return next;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %r8, %r14
movq %rcx, %rbx
callq 0xab1c
cmpb $0x0, (%r14)
jne 0xace2
movq 0x20(%rbx), %rcx
leaq 0xf13(%rip), %rdx       # 0xbbf1
movq %rdx, 0x10(%rcx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: parse_try_statement
static struct element* parse_try_statement( struct element *elem,
	struct function *func, struct variables *vars, struct statement *prev, char *message ) {
	struct statement try_block = { 0 };
	struct block_statement *try_stmt = calloc( 1, sizeof( struct block_statement ) );
	if( try_stmt ) {
		try_stmt->stmt.dispose = dispose_block_statement;
		prev->next = &try_stmt->stmt;
		elem = elem->next;
		if( elem->child ) {
			parse_keywords_indexed( func->env->statements_index, elem->child, func, vars, &try_block, message );
			try_stmt->if_block = try_block.next;
		}
		if( message[ 0 ] == 0 ) {
			elem = parse_catch_block( elem->next, func, vars, try_stmt, message );
			while( message[ 0 ] == 0 && elem
			&& ( is_keyword( elem->str.string, "catch" ) || is_keyword( elem->str.string, "finally" ) ) ) {
				try_stmt = calloc( 1, sizeof( struct block_statement ) );
				if( try_stmt ) {
					try_stmt->stmt.dispose = dispose_block_statement;
					try_stmt->if_block = prev->next;
					prev->next = &try_stmt->stmt;
					elem = parse_catch_block( elem, func, vars, try_stmt, message );
				} else {
					strcpy( message, OUT_OF_MEMORY );
				}
			}
		}
	} else {
		strcpy( message, OUT_OF_MEMORY );
	}
	return elem;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movaps %xmm0, (%rsp)
movq $0x0, 0x20(%rsp)
movl $0x1, %edi
movl $0x48, %esi
callq 0x3130
testq %rax, %rax
je 0xae32
movq %rax, %rbp
leaq -0x6995(%rip), %rax     # 0x43b8
movq %rax, 0x18(%rbp)
movq %rbp, 0x20(%r15)
movq 0x20(%rbx), %rbx
movq 0x18(%rbx), %rsi
testq %rsi, %rsi
je 0xad86
movq 0x40(%r13), %rdi
subq $-0x80, %rdi
movq %rsp, %r8
movq %r13, %rdx
movq %r12, %rcx
movq %r14, %r9
callq 0x6fe6
movq %rsp, %rax
movq 0x20(%rax), %rax
movq %rax, 0x28(%rbp)
cmpb $0x0, (%r14)
jne 0xae41
movq 0x20(%rbx), %rdi
movq %r13, %rsi
movq %r12, %rdx
movq %rbp, %rcx
movq %r14, %r8
callq 0xbd04
movq %rax, %rbx
cmpb $0x0, (%r14)
jne 0xae41
testq %rbx, %rbx
je 0xae41
movq 0x8(%rbx), %rbp
movq %rbp, %rdi
leaq 0x7604(%rip), %rsi      # 0x123cd
callq 0x66af
testl %eax, %eax
jne 0xade5
movq %rbp, %rdi
leaq 0x75f7(%rip), %rsi      # 0x123d3
callq 0x66af
testl %eax, %eax
je 0xae41
movl $0x1, %edi
movl $0x48, %esi
callq 0x3130
testq %rax, %rax
jne 0xae0a
movq 0xe370(%rip), %rsi      # 0x19170
movq %r14, %rdi
callq 0x3070
jmp 0xada8
leaq -0x6a59(%rip), %rcx     # 0x43b8
movq %rcx, 0x18(%rax)
movq 0x20(%r15), %rcx
movq %rcx, 0x28(%rax)
movq %rax, 0x20(%r15)
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rdx
movq %rax, %rcx
jmp 0xad9d
movq 0xe337(%rip), %rsi      # 0x19170
movq %r14, %rdi
callq 0x3070
movq %rbx, %rax
addq $0x28, %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: parse_increment_statement
static struct element* parse_increment_statement( struct element *elem,
	struct function *func, struct variables *vars, struct statement *prev, char *message ) {
	struct local_variable *local;
	struct element *next = elem->next;
	struct statement *stmt = calloc( 1, sizeof( struct statement ) );
	if( stmt ) {
		prev->next = stmt;
		local = get_local_variable( func->variable_decls, next->str.string, "" );
		if( local ) {
			stmt->source = calloc( 1, sizeof( struct expression ) );
			if( stmt->source ) {
				stmt->local = local->index;
				stmt->source->line = next->line;
				stmt->execute = execute_increment_statement;
				next = next->next->next;
			} else {
				strcpy( message, OUT_OF_MEMORY );
			}
		} else {
			sprintf( message, "Undeclared local variable '%.64s' on line %d.", next->str.string, next->line );
		}
	} else {
		strcpy( message, OUT_OF_MEMORY );
	}
	return next;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %r8, %r14
movq %rcx, %r13
movq %rsi, %r12
movq 0x20(%rdi), %rbx
movl $0x1, %edi
movl $0x28, %esi
callq 0x3130
testq %rax, %rax
je 0xb066
movq %rax, %r15
movq %rax, 0x20(%r13)
movq 0x48(%r12), %rdi
movq 0x8(%rbx), %r12
leaq 0x7039(%rip), %rdx      # 0x12056
movq %r12, %rsi
callq 0x5cf3
testq %rax, %rax
je 0xb077
movq %rax, %r13
movl $0x1, %edi
movl $0x20, %esi
callq 0x3130
movq %rax, 0x8(%r15)
testq %rax, %rax
je 0xb066
movl (%r13), %ecx
movl %ecx, (%r15)
movl 0x28(%rbx), %ecx
movl %ecx, (%rax)
leaq -0x6636(%rip), %rax     # 0x4a22
movq %rax, 0x10(%r15)
movq 0x20(%rbx), %rax
movq 0x20(%rax), %rbx
jmp 0xb08e
movq 0xe103(%rip), %rsi      # 0x19170
movq %r14, %rdi
callq 0x3070
jmp 0xb08e
movl 0x28(%rbx), %ecx
leaq 0x7daf(%rip), %rsi      # 0x12e30
movq %r14, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq 0x3200
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: parse_append_statement
static struct element* parse_append_statement( struct element *elem,
	struct function *func, struct variables *vars, struct statement *prev, char *message ) {
	struct element *next = parse_save_statement( elem, func, vars, prev, message );
	if( prev->next && message[ 0 ] == 0 ) {
		prev->next->local = 1;
	}
	return next;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %r8, %rbx
movq %rcx, %r14
leaq 0x1474(%rip), %r8       # 0xc5ee
movq %rbx, %r9
callq 0x65de
movq 0x20(%r14), %rcx
testq %rcx, %rcx
je 0xb196
cmpb $0x0, (%rbx)
jne 0xb196
movl $0x1, (%rcx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: add_local_variable
static int add_local_variable( struct element *elem,
	struct function *func, struct structure *type, struct expression *initializer,
	struct statement *prev, char *message ) {
	struct statement *stmt;
	struct local_variable *param = new_local_variable( func, elem, type, message );
	if( param ) {
		/*printf("Local variable '%s'\n", elem->str.string);*/
		if( get_local_variable( func->variable_decls, elem->str.string, "" ) == NULL ) {
			func->num_variables = func->num_variables + 1;
			if( func->variable_decls ) {
				func->variable_decls_tail->next = param;
			} else {
				func->variable_decls = param;
			}
			func->variable_decls_tail = param;
			if( initializer ) {
				stmt = calloc( 1, sizeof( struct statement ) );
				if( stmt ) {
					prev->next = stmt;
					stmt->source = initializer;
					stmt->local = func->num_variables - 1;
					stmt->execute = execute_local_assignment;
				} else {
					strcpy( message, OUT_OF_MEMORY );
				}
			}
		} else {
			dispose_local_variables( param );
			sprintf( message, "Local variable '%.64s' already declared on line %d.", elem->str.string, elem->line );
		}
	}
	return message[ 0 ] == 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %rbx
movq %r8, %r14
movq %rcx, (%rsp)
movq %rsi, %r13
movq %rdi, %rbp
movq %rsi, %rdi
movq %rbp, %rsi
movq %r9, %rcx
callq 0x8a9f
testq %rax, %rax
je 0xb218
movq %rax, %r12
movq 0x48(%r13), %r15
movq 0x8(%rbp), %rsi
leaq 0x6e78(%rip), %rdx      # 0x12056
movq %r15, %rdi
callq 0x5cf3
testq %rax, %rax
je 0xb22f
movq 0x18(%r12), %r14
movq %r12, %rdi
callq 0x3030
movq %r14, %r12
testq %r14, %r14
jne 0xb1eb
movq 0x8(%rbp), %rdx
movl 0x28(%rbp), %ecx
leaq 0x7ae6(%rip), %rsi      # 0x12cf4
movq %rbx, %rdi
xorl %eax, %eax
callq 0x3200
xorl %eax, %eax
cmpb $0x0, (%rbx)
sete %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl 0x20(%r13), %ebp
leal 0x1(%rbp), %eax
movl %eax, 0x20(%r13)
testq %r15, %r15
je 0xb249
movq 0x50(%r13), %rax
addq $0x18, %rax
jmp 0xb24d
leaq 0x48(%r13), %rax
movq %r12, (%rax)
movq %r12, 0x50(%r13)
cmpq $0x0, (%rsp)
je 0xb218
movl $0x1, %edi
movl $0x28, %esi
callq 0x3130
testq %rax, %rax
je 0xb28a
movq %rax, 0x20(%r14)
movq (%rsp), %rcx
movq %rcx, 0x8(%rax)
movl %ebp, (%rax)
leaq -0x6fa6(%rip), %rcx     # 0x42de
movq %rcx, 0x10(%rax)
jmp 0xb218
movq 0xdedf(%rip), %rsi      # 0x19170
movq %rbx, %rdi
callq 0x3070
jmp 0xb218
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: execute_struct_assignment
static enum result execute_struct_assignment( struct statement *this,
	struct variables *vars, struct variable *result ) {
	struct array *arr;
	struct expression *destination = this->source->next;
	struct variable obj = { 0, NULL }, var = { 0, NULL };
	enum result ret = destination->evaluate( destination, vars, &obj );
	if( ret ) {
		ret = is_instance( &obj, ( ( struct structure_statement * ) this )->structure, vars, destination );
		if( ret ) {
			arr = ( struct array * ) obj.string_value;
			ret = this->source->evaluate( this->source, vars, &var );
			if( ret ) {
				arr->number_values[ this->local ] = var.number_value;
				if( arr->string_values ) {
					if( arr->string_values[ this->local ] ) {
						unref_string( arr->string_values[ this->local ] );
					}
					arr->string_values[ this->local ] = var.string_value;
				} else {
					dispose_temporary( &var );
				}
			}
		}
		dispose_temporary( &obj );
	}
	return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rdi), %rax
movq 0x10(%rax), %r15
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rdx
movaps %xmm0, (%rdx)
movaps %xmm0, (%rsp)
movq %r15, %rdi
callq *0x18(%r15)
testl %eax, %eax
je 0xb33c
movq 0x28(%rbx), %rsi
leaq 0x10(%rsp), %rdi
movq %r14, %rdx
movq %r15, %rcx
callq 0x43d7
xorl %ebp, %ebp
testl %eax, %eax
je 0xb352
movq 0x18(%rsp), %r15
movq 0x8(%rbx), %rdi
movq %rsp, %rdx
movq %r14, %rsi
callq *0x18(%rdi)
testl %eax, %eax
je 0xb352
movl %eax, %r14d
movl (%rsp), %eax
movq 0x18(%r15), %rcx
movslq (%rbx), %rdx
movl %eax, (%rcx,%rdx,4)
movq 0x20(%r15), %rax
testq %rax, %rax
je 0xb340
movslq (%rbx), %rcx
movq (%rax,%rcx,8), %rdi
testq %rdi, %rdi
je 0xb32a
callq 0x3979
movq 0x8(%rsp), %rax
movq 0x20(%r15), %rcx
movslq (%rbx), %rdx
movq %rax, (%rcx,%rdx,8)
jmp 0xb34f
xorl %ebp, %ebp
jmp 0xb361
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0xb34f
callq 0x3979
movl %r14d, %ebp
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0xb361
callq 0x3979
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: execute_global_assignment
static enum result execute_global_assignment( struct statement *this,
	struct variables *vars, struct variable *result ) {
	struct variable var = { 0 }, *dest = ( ( struct global_assignment_statement * ) this )->destination;
	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 %r14
pushq %rbx
subq $0x18, %rsp
xorps %xmm0, %xmm0
movq %rsp, %rdx
movaps %xmm0, (%rdx)
movq 0x8(%rdi), %rax
movq 0x28(%rdi), %r14
movq %rax, %rdi
callq *0x18(%rax)
movl %eax, %ebx
testl %eax, %eax
je 0xb3af
movq 0x8(%r14), %rdi
testq %rdi, %rdi
je 0xb3a0
callq 0x3979
movl (%rsp), %eax
movl %eax, (%r14)
movq 0x8(%rsp), %rax
movq %rax, 0x8(%r14)
movl %ebx, %eax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: write_string_expression
static enum result write_string_expression( struct expression *expr, struct variables *vars, int lf, FILE *output ) {
	struct variable value = { 0, NULL };
	struct string *str;
	enum result ret = expr->evaluate( expr, vars, &value );
	if( ret ) {
		if( value.string_value ) {
			if( value.string_value->type == CUSTOM && ( ( struct custom * ) value.string_value )->type->to_str ) {
				ret = ( ( struct custom * ) value.string_value )->type->to_str( &value, &str, vars, expr );
				dispose_temporary( &value );
				if( ret ) {
					value.string_value = str;
				} else {
					return ret;
				}
			}
			fwrite( value.string_value->string, 1, value.string_value->length, output );
		} else {
#if defined( FLOATING_POINT )
			fprintf( output, "%.16g", value.number_value );
#else
			fprintf( output, "%d", value.number_value );
#endif
		}
		if( lf ) {
			fputc( '\n', output );
		}
		dispose_temporary( &value );
	}
	return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %rbx
movl %edx, %ebp
movq %rsi, %r13
movq %rdi, %r12
xorps %xmm0, %xmm0
movq %rsp, %rdx
movaps %xmm0, (%rdx)
callq *0x18(%rdi)
xorl %r15d, %r15d
testl %eax, %eax
je 0xb4a4
movl %eax, %r14d
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0xb46d
cmpb $0x9, 0x14(%rax)
jne 0xb451
movq 0x18(%rax), %rax
movq 0x10(%rax), %rax
testq %rax, %rax
je 0xb451
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
movq %r13, %rdx
movq %r12, %rcx
callq *%rax
movl %eax, %r14d
movq %rsp, %rax
movq 0x8(%rax), %rdi
testq %rdi, %rdi
je 0xb442
callq 0x3979
testl %r14d, %r14d
je 0xb4a4
movq 0x10(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
movq 0x8(%rax), %rdi
movslq 0x10(%rax), %rdx
movl $0x1, %esi
movq %rbx, %rcx
callq 0x3210
jmp 0xb481
movl (%rsp), %edx
leaq 0x796d(%rip), %rsi      # 0x12de4
movq %rbx, %rdi
xorl %eax, %eax
callq 0x3150
testl %ebp, %ebp
je 0xb492
movl $0xa, %edi
movq %rbx, %rsi
callq 0x3100
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0xb4a1
callq 0x3979
movl %r14d, %r15d
movl %r15d, %eax
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: execute_throw_statement
static enum result execute_throw_statement( struct statement *this,
	struct variables *vars, struct variable *result ) {
	struct variable exc = { 0, NULL };
	this->source->evaluate( this->source, vars, &exc );
	dispose_temporary( vars->exception );
	vars->exception->number_value = exc.number_value;
	vars->exception->string_value = exc.string_value;
	return EXCEPTION;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
xorps %xmm0, %xmm0
movq %rsp, %rdx
movaps %xmm0, (%rdx)
movq 0x8(%rdi), %rdi
callq *0x18(%rdi)
movq 0x8(%rbx), %rax
movq 0x8(%rax), %rdi
testq %rdi, %rdi
je 0xb50d
callq 0x3979
movl (%rsp), %eax
movq 0x8(%rbx), %rcx
movl %eax, (%rcx)
movq 0x8(%rsp), %rax
movq %rax, 0x8(%rcx)
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: execute_exit_statement
static enum result execute_exit_statement( struct statement *this,
	struct variables *vars, struct variable *result ) {
	struct variable exit_code = { 0, NULL };
	char *message = NULL;
	enum result ret = this->source->evaluate( this->source, vars, &exit_code );
	if( ret ) {
		vars->func->env->interrupted = 1;
		if( vars->func->env->worker ) {
			message = "Worker exited.";
		}
		ret = throw_exit( vars, exit_code.number_value, message );
		dispose_temporary( &exit_code );
	}
	return ret;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
xorps %xmm0, %xmm0
movq %rsp, %rdx
movaps %xmm0, (%rdx)
movq 0x8(%rdi), %rdi
callq *0x18(%rdi)
testl %eax, %eax
je 0xb5a5
movq 0x18(%rbx), %rax
movq 0x40(%rax), %rax
movb $0x1, 0x18(%rax)
movq 0x3a0(%rax), %rcx
testq %rcx, %rcx
leaq 0x7884(%rip), %rdx      # 0x12de7
cmoveq %rcx, %rdx
movl (%rsp), %ebp
movq 0x8(%rbx), %rbx
leaq 0x20(%rax), %r14
movq $0x2, 0x20(%rax)
movb $0xa, 0x34(%rax)
movq %rdx, 0x28(%rax)
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0xb590
callq 0x3979
movl %ebp, (%rbx)
movq %r14, 0x8(%rbx)
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0xb5a5
callq 0x3979
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: execute_if_statement
static enum result execute_if_statement( struct statement *this,
	struct variables *vars, struct variable *result ) {
	struct statement *stmt = ( ( struct block_statement * ) this )->if_block;
	struct variable condition = { 0 };
	enum result ret = this->source->evaluate( this->source, vars, &condition );
	if( ret ) {
		if( condition.string_value ) {
			dispose_temporary( &condition );
		} else if( condition.number_value == 0 ) {
			stmt = ( ( struct block_statement * ) this )->else_block;
		}
		while( stmt && ( ret = stmt->execute( stmt, vars, result ) ) == OKAY ) {
			stmt = stmt->next;
		}
	}
	return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r12
movq 0x28(%rdi), %r15
xorps %xmm0, %xmm0
movq %rsp, %rdx
movaps %xmm0, (%rdx)
movq 0x8(%rdi), %rdi
callq *0x18(%rdi)
testl %eax, %eax
je 0xb5fc
movl %eax, %ebp
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0xb600
callq 0x3979
jmp 0xb60b
xorl %ebp, %ebp
jmp 0xb634
cmpl $0x0, (%rsp)
jne 0xb60b
movq 0x30(%r12), %r15
testq %r15, %r15
je 0xb634
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq *0x10(%r15)
cmpl $0x1, %eax
jne 0xb632
movq 0x20(%r15), %r15
testq %r15, %r15
jne 0xb610
movl $0x1, %ebp
jmp 0xb634
movl %eax, %ebp
movl %ebp, %eax
addq $0x10, %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: execute_if_local_statement
static enum result execute_if_local_statement( struct statement *this,
	struct variables *vars, struct variable *result ) {
	struct variable *lhs = &vars->locals[ this->local ];
	struct variable *rhs = &vars->locals[ ( ( struct block_statement * ) this )->rhs ];
	struct statement *stmt = ( ( struct block_statement * ) this )->if_block;
	enum result ret = OKAY;
	if( lhs->string_value || rhs->string_value ) {
		return execute_if_statement( this, vars, result );
	}
	switch( ( ( struct block_statement * ) this )->oper ) {
		case '!': if( lhs->number_value == rhs->number_value ) stmt = ( ( struct block_statement * ) this )->else_block; break;
		case '(': if( lhs->number_value >  rhs->number_value ) stmt = ( ( struct block_statement * ) this )->else_block; break;
		case ')': if( lhs->number_value <  rhs->number_value ) stmt = ( ( struct block_statement * ) this )->else_block; break;
		case '<': if( lhs->number_value >= rhs->number_value ) stmt = ( ( struct block_statement * ) this )->else_block; break;
		case '=': if( lhs->number_value != rhs->number_value ) stmt = ( ( struct block_statement * ) this )->else_block; break;
		case '>': if( lhs->number_value <= rhs->number_value ) stmt = ( ( struct block_statement * ) this )->else_block; break;
		default: return execute_if_statement( this, vars, result );
	}
	while( stmt && ( ret = stmt->execute( stmt, vars, result ) ) == OKAY ) {
		stmt = stmt->next;
	}
	return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq 0x10(%rsi), %rax
movslq (%rdi), %rdx
shlq $0x4, %rdx
cmpq $0x0, 0x8(%rax,%rdx)
jne 0xb675
movslq 0x3c(%rdi), %rcx
shlq $0x4, %rcx
addq %rax, %rcx
cmpq $0x0, 0x8(%rcx)
je 0xb68a
movq %r14, %rsi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0xb5bc
addq %rdx, %rax
movq 0x28(%rdi), %r15
movl 0x38(%rdi), %edx
cmpl $0x3b, %edx
jg 0xb6b0
cmpl $0x21, %edx
je 0xb6c7
cmpl $0x28, %edx
je 0xb70a
cmpl $0x29, %edx
jne 0xb675
movl (%rax), %eax
cmpl (%rcx), %eax
jl 0xb6d5
jmp 0xb6d9
cmpl $0x3c, %edx
je 0xb6cf
cmpl $0x3d, %edx
je 0xb712
cmpl $0x3e, %edx
jne 0xb675
movl (%rax), %eax
cmpl (%rcx), %eax
jle 0xb6d5
jmp 0xb6d9
movl (%rax), %eax
cmpl (%rcx), %eax
je 0xb6d5
jmp 0xb6d9
movl (%rax), %eax
cmpl (%rcx), %eax
jl 0xb6d9
movq 0x30(%rdi), %r15
movl $0x1, %ebp
testq %r15, %r15
je 0xb6fd
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq *0x10(%r15)
cmpl $0x1, %eax
jne 0xb6fb
movq 0x20(%r15), %r15
jmp 0xb6de
movl %eax, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl (%rax), %eax
cmpl (%rcx), %eax
jg 0xb6d5
jmp 0xb6d9
movl (%rax), %eax
cmpl (%rcx), %eax
jne 0xb6d5
jmp 0xb6d9
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: execute_if_const_statement
static enum result execute_if_const_statement( struct statement *this,
	struct variables *vars, struct variable *result ) {
	struct variable *lhs = &vars->locals[ this->local ];
	number rhs = ( ( struct block_statement * ) this )->num;
	struct statement *stmt = ( ( struct block_statement * ) this )->if_block;
	enum result ret = OKAY;
	if( lhs->string_value ) {
		if( ( ( struct block_statement * ) this )->oper ) {
			return execute_if_statement( this, vars, result );
		}
	} else {
		switch( ( ( struct block_statement * ) this )->oper ) {
			case  0 : if( lhs->number_value == 0 ) stmt = ( ( struct block_statement * ) this )->else_block; break;
			case '!': if( lhs->number_value == rhs ) stmt = ( ( struct block_statement * ) this )->else_block; break;
			case '(': if( lhs->number_value >  rhs ) stmt = ( ( struct block_statement * ) this )->else_block; break;
			case ')': if( lhs->number_value <  rhs ) stmt = ( ( struct block_statement * ) this )->else_block; break;
			case '<': if( lhs->number_value >= rhs ) stmt = ( ( struct block_statement * ) this )->else_block; break;
			case '=': if( lhs->number_value != rhs ) stmt = ( ( struct block_statement * ) this )->else_block; break;
			case '>': if( lhs->number_value <= rhs ) stmt = ( ( struct block_statement * ) this )->else_block; break;
			default: return execute_if_statement( this, vars, result );
		}
	}
	while( stmt && ( ret = stmt->execute( stmt, vars, result ) ) == OKAY ) {
		stmt = stmt->next;
	}
	return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq 0x10(%rsi), %rax
movslq (%rdi), %rcx
shlq $0x4, %rcx
movq 0x28(%rdi), %r15
cmpq $0x0, 0x8(%rax,%rcx)
movl 0x38(%rdi), %edx
je 0xb75a
testl %edx, %edx
je 0xb7b3
movq %r14, %rsi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0xb5bc
addq %rcx, %rax
movl 0x40(%rdi), %ecx
cmpl $0x28, %edx
jle 0xb77a
cmpl $0x3c, %edx
jg 0xb78e
cmpl $0x29, %edx
je 0xb7a5
cmpl $0x3c, %edx
jne 0xb745
cmpl %ecx, (%rax)
jge 0xb7af
jmp 0xb7b3
testl %edx, %edx
je 0xb79e
cmpl $0x21, %edx
je 0xb7e4
cmpl $0x28, %edx
jne 0xb745
cmpl %ecx, (%rax)
jg 0xb7af
jmp 0xb7b3
cmpl $0x3d, %edx
je 0xb7ab
cmpl $0x3e, %edx
jne 0xb745
cmpl %ecx, (%rax)
jle 0xb7af
jmp 0xb7b3
cmpl $0x0, (%rax)
jne 0xb7b3
jmp 0xb7af
cmpl %ecx, (%rax)
jl 0xb7af
jmp 0xb7b3
cmpl %ecx, (%rax)
je 0xb7b3
movq 0x30(%rdi), %r15
movl $0x1, %ebp
testq %r15, %r15
je 0xb7d7
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq *0x10(%r15)
cmpl $0x1, %eax
jne 0xb7d5
movq 0x20(%r15), %r15
jmp 0xb7b8
movl %eax, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
cmpl %ecx, (%rax)
je 0xb7af
jmp 0xb7b3
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: execute_while_statement
static enum result execute_while_statement( struct statement *this,
	struct variables *vars, struct variable *result ) {
	struct environment *env = vars->func->env;
	struct variable condition = { 0 };
	struct statement *stmt;
	enum result ret;
	while( 1 ) {
		if( this->source->evaluate( this->source, vars, &condition ) ) {
			if( condition.string_value ) {
				dispose_variable( &condition );
			} else if( condition.number_value ) {
				condition.number_value = 0;
			} else {
				return OKAY;
			}
		} else {
			return EXCEPTION;
		}
		stmt = ( ( struct block_statement * ) this )->if_block;
		while( stmt && ( ret = stmt->execute( stmt, vars, result ) ) == OKAY ) {
			stmt = stmt->next;
		}
		if( stmt ) {
			if( ret == RETURN ) {
				return RETURN;
			} else if( ret == BREAK ) {
				return OKAY;
			} else if( ret == EXCEPTION ) {
				return EXCEPTION;
			}
		}
		if( env->interrupted ) {
			return throw_interrupted( vars, this->source );
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
movq 0x18(%rsi), %rax
movq 0x40(%rax), %rax
movq %rax, 0x10(%rsp)
xorps %xmm0, %xmm0
movq %rsp, %rax
movaps %xmm0, (%rax)
movq 0x8(%r15), %rdi
movq %rbx, %rsi
movq %rsp, %rdx
callq *0x18(%rdi)
testl %eax, %eax
je 0xb8bd
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0xb84d
movl $0x0, (%rsp)
callq 0x3979
movq $0x0, 0x8(%rsp)
jmp 0xb85a
cmpl $0x0, (%rsp)
je 0xb8c1
movl $0x0, (%rsp)
movq 0x28(%r15), %r13
testq %r13, %r13
sete %r12b
je 0xb88f
movq %r13, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq *0x10(%r13)
cmpl $0x1, %eax
jne 0xb88d
movq 0x20(%r13), %r13
testq %r13, %r13
sete %r12b
jne 0xb867
movl $0x1, %ebp
jmp 0xb88f
movl %eax, %ebp
testb %r12b, %r12b
jne 0xb8a2
testl %ebp, %ebp
je 0xb8c6
cmpl $0x2, %ebp
je 0xb8c6
cmpl $0x3, %ebp
je 0xb8c1
movq 0x10(%rsp), %rax
cmpb $0x0, 0x18(%rax)
je 0xb817
movq 0x8(%r15), %rsi
movq %rbx, %rdi
callq 0x4351
xorl %ebp, %ebp
jmp 0xb8c6
movl $0x1, %ebp
movl %ebp, %eax
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: execute_call_statement
static enum result execute_call_statement( struct statement *this,
	struct variables *vars, struct variable *result ) {
	struct variable var = { 0, NULL };
	enum result ret = this->source->evaluate( this->source, vars, &var );
	if( ret ) {
		dispose_temporary( &var );
	}
	return ret;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
xorps %xmm0, %xmm0
movq %rsp, %rdx
movaps %xmm0, (%rdx)
movq 0x8(%rdi), %rdi
callq *0x18(%rdi)
movl %eax, %ebx
testl %eax, %eax
je 0xbcfc
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0xbcfc
callq 0x3979
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: parse_catch_block
static struct element* parse_catch_block( struct element *elem,
	struct function *func, struct variables *vars, struct block_statement *try_stmt, char *message ) {
	struct local_variable *local;
	struct statement block = { 0 };
	if( strchr( "Cc", elem->str.string[ 0 ] ) ) {
		elem = elem->next;
		if( elem->str.string[ 0 ] == '(' ) {
			parse_variable_declaration( elem, func, vars, NULL, add_local_variable, message );
			if( message[ 0 ] == 0 ) {
				elem = elem->next;
			}
		}
		if( message[ 0 ] == 0 ) {
			local = get_local_variable( func->variable_decls, elem->str.string, "" );
			if( local ) {
				try_stmt->stmt.local = local->index;
				try_stmt->stmt.execute = execute_try_catch_statement;
			} else {
				sprintf( message, "Undeclared local variable '%.64s' on line %d.", elem->str.string, elem->line );
			}
		}
	} else {
		try_stmt->stmt.execute = execute_try_finally_statement;
	}
	if( message[ 0 ] == 0 ) {
		elem = elem->next;
		if( elem->child ) {
			parse_keywords_indexed( func->env->statements_index, elem->child, func, vars, &block, message );
			try_stmt->else_block = block.next;
		}
		if( message[ 0 ] == 0 ) {
			elem = elem->next;
		}
	}
	return elem;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movaps %xmm0, (%rsp)
movq $0x0, 0x20(%rsp)
movq 0x8(%rdi), %rax
movsbl (%rax), %esi
leaq 0x6697(%rip), %rdi      # 0x123db
movl $0x3, %edx
callq 0x3110
testq %rax, %rax
je 0xbdb4
movq 0x20(%rbx), %rbx
movq 0x8(%rbx), %rax
cmpb $0x28, (%rax)
jne 0xbd84
leaq -0xbc9(%rip), %r8       # 0xb19e
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rdx
xorl %ecx, %ecx
movq %r14, %r9
callq 0x989f
cmpb $0x0, (%r14)
jne 0xbd84
movq 0x20(%rbx), %rbx
cmpb $0x0, (%r14)
jne 0xbdbf
movq 0x48(%r13), %rdi
movq 0x8(%rbx), %rbp
leaq 0x62bd(%rip), %rdx      # 0x12056
movq %rbp, %rsi
callq 0x5cf3
testq %rax, %rax
je 0xbe12
movl (%rax), %eax
movl %eax, (%r15)
leaq 0x79(%rip), %rax        # 0xbe2b
jmp 0xbdbb
leaq 0x194(%rip), %rax       # 0xbf4f
movq %rax, 0x10(%r15)
cmpb $0x0, (%r14)
jne 0xbe00
movq 0x20(%rbx), %rbx
movq 0x18(%rbx), %rsi
testq %rsi, %rsi
je 0xbdf6
movq 0x40(%r13), %rdi
subq $-0x80, %rdi
movq %rsp, %rbp
movq %r13, %rdx
movq %r12, %rcx
movq %rbp, %r8
movq %r14, %r9
callq 0x6fe6
movq 0x20(%rbp), %rax
movq %rax, 0x30(%r15)
cmpb $0x0, (%r14)
jne 0xbe00
movq 0x20(%rbx), %rbx
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl 0x28(%rbx), %ecx
leaq 0x7014(%rip), %rsi      # 0x12e30
movq %r14, %rdi
movq %rbp, %rdx
xorl %eax, %eax
callq 0x3200
jmp 0xbdbf
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: execute_try_catch_statement
static enum result execute_try_catch_statement( struct statement *this,
	struct variables *vars, struct variable *result ) {
	enum result ret = OKAY;
	int idx = this->local;
	struct variables try_vars;
	struct local_variable *exception_var;
	try_vars.parent = vars->parent;
	try_vars.exception = &vars->locals[ idx ];
	try_vars.locals = vars->locals;
	try_vars.func = vars->func;
	try_vars.line = vars->line;
	ret = execute_statements( ( ( struct block_statement * ) this )->if_block, &try_vars, result );
	if( ret == EXCEPTION ) {
		exception_var = vars->func->variable_decls;
		while( idx-- > 0 )
		{
			exception_var = exception_var->next;
		}
		if( is_exit( try_vars.exception )
		|| ( exception_var->type && !is_instance( try_vars.exception, exception_var->type, NULL, NULL ) ) ) {
			assign_variable( try_vars.exception, vars->exception );
		} else {
			return execute_statements( ( ( struct block_statement * ) this )->else_block, vars, result );
		}
	}
	return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
movslq (%rdi), %rbp
movq (%rsi), %rax
movq %rax, (%rsp)
movq 0x10(%rsi), %rax
movq %rbp, %rcx
shlq $0x4, %rcx
addq %rax, %rcx
movq %rcx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
movq 0x18(%rsi), %rax
movq %rax, 0x18(%rsp)
movl 0x20(%rsi), %eax
movl %eax, 0x20(%rsp)
movq 0x28(%rdi), %r12
movl $0x1, %r13d
testq %r12, %r12
je 0xbeae
movq %rsp, %r13
movq %r12, %rdi
movq %r13, %rsi
movq %r14, %rdx
callq *0x10(%r12)
cmpl $0x1, %eax
jne 0xbeab
movq 0x20(%r12), %r12
testq %r12, %r12
jne 0xbe86
movl $0x1, %r13d
jmp 0xbeae
movl %eax, %r13d
testl %r13d, %r13d
jne 0xbf11
movq 0x18(%rbx), %rax
movq 0x48(%rax), %rax
testl %ebp, %ebp
jle 0xbecc
incl %ebp
movq 0x18(%rax), %rax
decl %ebp
cmpl $0x1, %ebp
jg 0xbec1
movq 0x8(%rsp), %rdi
movq 0x8(%rdi), %rcx
testq %rcx, %rcx
je 0xbee0
cmpb $0xa, 0x14(%rcx)
je 0xbf08
movq 0x10(%rax), %rax
testq %rax, %rax
je 0xbf23
testq %rcx, %rcx
je 0xbf08
cmpb $0x2, 0x14(%rcx)
jne 0xbf08
movq 0x28(%rcx), %rcx
testq %rcx, %rcx
je 0xbf08
cmpq %rax, %rcx
je 0xbf23
movq 0x30(%rcx), %rcx
jmp 0xbef8
movq 0x8(%rbx), %rsi
callq 0x3a95
movl %r13d, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x30(%r15), %r15
movl $0x1, %r13d
testq %r15, %r15
je 0xbf11
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq *0x10(%r15)
cmpl $0x1, %eax
jne 0xbf4a
movq 0x20(%r15), %r15
jmp 0xbf2d
movl %eax, %r13d
jmp 0xbf11
// File: /workspace/github_c_makefile_star2_O1/martincameron[P]towntalk/towntalk.c
// Function: execute_switch_statement
static enum result execute_switch_statement( struct statement *this,
	struct variables *vars, struct variable *result ) {
	int matched = 0;
	struct expression *case_expr;
	struct variable switch_value = { 0, NULL }, case_value = { 0, NULL };
	struct statement *cases = ( ( struct block_statement * ) this )->if_block;
	struct statement *deflt = ( ( struct block_statement * ) this )->else_block;
	enum result ret = this->source->evaluate( this->source, vars, &switch_value );
	if( ret ) {
		while( cases && ret && !matched ) {
			case_expr = cases->source;
			while( case_expr && ret && !matched ) {
				ret = case_expr->evaluate( case_expr, vars, &case_value );
				if( ret ) {
					matched = compare_variables( &switch_value, &case_value ) == 0;
					dispose_variable( &case_value );
					if( matched ) {
						ret = cases->execute( cases, vars, result );
					}
				}
				case_expr = case_expr->next;
			}
			cases = cases->next;
		}
		if( ret && !matched && deflt ) {
			ret = deflt->execute( deflt, vars, result );
		}
		dispose_temporary( &switch_value );
	}
	return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, 0x10(%rsp)
xorps %xmm0, %xmm0
leaq 0x40(%rsp), %rdx
movaps %xmm0, (%rdx)
movaps %xmm0, 0x20(%rsp)
movq 0x8(%rdi), %rax
movq 0x28(%rdi), %r15
movq 0x30(%rdi), %rbx
movq %rax, %rdi
movq %rsi, 0x8(%rsp)
callq *0x18(%rax)
testl %eax, %eax
je 0xc353
movl %eax, %ebp
xorl %r12d, %r12d
testq %r15, %r15
je 0xc325
movq %r15, %rax
movq %rbx, 0x38(%rsp)
leaq 0x20(%rsp), %r15
movq %rax, 0x18(%rsp)
movq 0x8(%rax), %rbx
testq %rbx, %rbx
je 0xc2f6
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
movq %r15, %rdx
callq *0x18(%rbx)
testl %eax, %eax
je 0xc2de
movl %eax, %ebp
leaq 0x40(%rsp), %rdi
movq %r15, %r14
movq %r15, %rsi
callq 0xc57e
movl %eax, %r15d
xorl %r12d, %r12d
testl %eax, %eax
sete %r13b
movl $0x0, 0x20(%rsp)
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0xc2bd
callq 0x3979
movq $0x0, 0x28(%rsp)
movb %r13b, %r12b
testl %r15d, %r15d
jne 0xc2d9
movq 0x18(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
callq *0x10(%rdi)
movl %eax, %ebp
movq %r14, %r15
jmp 0xc2e0
xorl %ebp, %ebp
movq 0x10(%rbx), %rbx
testq %rbx, %rbx
je 0xc2f6
testl %ebp, %ebp
je 0xc2f6
testl %r12d, %r12d
je 0xc26d
movq 0x18(%rsp), %rax
movq 0x20(%rax), %rax
testq %rax, %rax
je 0xc311
testl %ebp, %ebp
je 0xc311
testl %r12d, %r12d
je 0xc25b
testl %r12d, %r12d
setne %al
testl %ebp, %ebp
sete %r12b
orb %al, %r12b
movq 0x38(%rsp), %rbx
testq %rbx, %rbx
sete %al
orb %r12b, %al
jne 0xc342
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
callq *0x10(%rbx)
movl %eax, %ebp
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0xc355
callq 0x3979
jmp 0xc355
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq