// File: /workspace/github_cpp_makefile_star2_O3/CobaltXII[P]cxcc/./compiler/compiler.hpp
// Function: compiler_t::aligned_offset_statement(statement_t*, symbol_table_t&, long&)
void aligned_offset_statement(statement_t* statement, symbol_table_t& symbols, long& lowest_offset) {
		if (statement->type == st_compound) {
			compound_statement_t stmt = statement->compound_stmt;
			symbol_table_t new_symbols(&symbols);
			for (int i = 0; i < stmt.statements.size(); i++) {
				aligned_offset_statement(stmt.statements[i], new_symbols, lowest_offset);
			}
		} else if (statement->type == st_conditional) {
			conditional_statement_t stmt = statement->conditional_stmt;
			symbol_table_t new_symbols(&symbols);
			aligned_offset_statement(stmt.body, new_symbols, lowest_offset);
		} else if (statement->type == st_while) {
			while_statement_t stmt = statement->while_stmt;
			symbol_table_t new_symbols(&symbols);
			aligned_offset_statement(stmt.body, new_symbols, lowest_offset);
		} else if (statement->type == st_variable_declaration) {
			variable_declaration_statement_t stmt = statement->variable_declaration_stmt;
			symbols.add_symbol(symbol_t(stmt.type, stmt.identifier, symbols.offset -= 8));
			if (symbols.offset < lowest_offset) {
				lowest_offset = symbols.offset;
			}
		}
	}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd0, %rsp
movl (%rsi), %eax
cmpq $0x4, %rax
ja 0x16c59
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %r15
leaq 0x28eb(%rip), %rcx      # 0x192f4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
addq $0x8, %r12
leaq 0x8(%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
callq 0xb076
leaq 0x48(%rsp), %r12
xorps %xmm0, %xmm0
movups %xmm0, (%r12)
movq $0x0, 0x10(%r12)
movq %r14, -0x8(%r12)
movb 0x20(%r14), %al
movb %al, 0x18(%r12)
movups 0x28(%r14), %xmm0
movups %xmm0, 0x20(%r12)
movq 0x38(%r14), %rax
movq %rax, 0x30(%r12)
movq (%r13), %rax
cmpq %rax, 0x8(%r13)
je 0x16a9b
xorl %r13d, %r13d
leaq 0x40(%rsp), %r14
movq (%rax,%r13,8), %rsi
movq %r15, %rdi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x169da
incq %r13
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %r13, %rcx
ja 0x16a70
movq %r12, %rdi
callq 0x1553e
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x16c59
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
jmp 0x16c54
movq 0x38(%r12), %rsi
leaq 0x48(%rsp), %r12
xorps %xmm0, %xmm0
movups %xmm0, (%r12)
movq $0x0, 0x10(%r12)
movq %r14, -0x8(%r12)
movb 0x20(%r14), %al
movb %al, 0x18(%r12)
movups 0x28(%r14), %xmm0
movups %xmm0, 0x20(%r12)
movq 0x38(%r14), %rax
movq %rax, 0x30(%r12)
leaq 0x40(%rsp), %rdx
movq %r15, %rdi
movq %rbx, %rcx
callq 0x169da
jmp 0x16b5a
movq 0x28(%r12), %rsi
leaq 0x48(%rsp), %r12
xorps %xmm0, %xmm0
movups %xmm0, (%r12)
movq $0x0, 0x10(%r12)
movq %r14, -0x8(%r12)
movb 0x20(%r14), %al
movb %al, 0x18(%r12)
movups 0x28(%r14), %xmm0
movups %xmm0, 0x20(%r12)
movq 0x38(%r14), %rax
movq %rax, 0x30(%r12)
leaq 0x40(%rsp), %rdx
movq %r15, %rdi
movq %rbx, %rcx
callq 0x169da
movq %r12, %rdi
callq 0x1553e
jmp 0x16c59
movq 0x48(%r12), %rax
leaq 0x48(%rsp), %rdi
movq %rax, -0x8(%rdi)
leaq 0x58(%rsp), %r13
movq %r13, -0x10(%r13)
movq 0x50(%r12), %rsi
movq 0x58(%r12), %rdx
addq %rsi, %rdx
callq 0x179ce
movq 0x70(%r12), %rax
movq %rax, 0x10(%r13)
movq -0x18(%r13), %r15
movq -0x10(%r13), %rsi
leaq 0x30(%rsp), %r12
movq %r12, -0x10(%r12)
movq -0x8(%r13), %rdx
addq %rsi, %rdx
leaq 0x20(%rsp), %rdi
callq 0x179ce
movq 0x28(%r14), %rcx
addq $-0x8, %rcx
movq %rcx, 0x28(%r14)
leaq 0x80(%rsp), %rdi
leaq 0x20(%rsp), %rdx
movq %r15, %rsi
callq 0x1646c
leaq 0x8(%r14), %rdi
leaq 0x80(%rsp), %rsi
callq 0x105f4
leaq 0xa8(%rsp), %r15
movq %r15, %rdi
callq 0x9730
movq -0x20(%r15), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x16c1f
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x3280
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x16c36
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3280
movq 0x28(%r14), %rax
cmpq (%rbx), %rax
jge 0x16c42
movq %rax, (%rbx)
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x16c59
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x3280
addq $0xd0, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0xfecc
jmp 0x16c7f
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x16c9b
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3280
jmp 0x16c9b
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x16ce0
movq 0x58(%rsp), %rsi
incq %rsi
jmp 0x16cdb
jmp 0x16cb1
movq %rax, %rbx
movq %r12, %rdi
callq 0x1553e
jmp 0x16ce0
movq %rax, %rbx
movq %r12, %rdi
callq 0x1553e
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x16ce0
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x3280
movq %rbx, %rdi
callq 0x33b0