// File: /workspace/github_cpp_makefile_star2_O1/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 0x16cc4
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %r15
leaq 0x2889(%rip), %rcx      # 0x192c4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
addq $0x8, %r12
leaq 0x8(%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
callq 0xb122
leaq 0x48(%rsp), %r12
xorps %xmm0, %xmm0
movups %xmm0, 0x9(%r12)
movups %xmm0, (%r12)
movups %xmm0, 0x20(%r12)
movq $0x0, 0x30(%r12)
movq %r14, -0x8(%r12)
movb 0x20(%r14), %al
movb %al, 0x18(%r12)
movq 0x28(%r14), %rax
movq %rax, 0x20(%r12)
movq 0x30(%r14), %rax
movq %rax, 0x28(%r12)
movq 0x38(%r14), %rax
movq %rax, 0x30(%r12)
movq (%r13), %rax
cmpq %rax, 0x8(%r13)
je 0x16ae0
xorl %r13d, %r13d
leaq 0x40(%rsp), %r14
movq (%rax,%r13,8), %rsi
movq %r15, %rdi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x16a0c
incq %r13
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %r13, %rcx
ja 0x16ab5
movq %r12, %rdi
callq 0x15538
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x16cc4
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
jmp 0x16cbf
movq 0x38(%r12), %rsi
leaq 0x48(%rsp), %r12
xorps %xmm0, %xmm0
movups %xmm0, 0x9(%r12)
movups %xmm0, (%r12)
movups %xmm0, 0x20(%r12)
movq $0x0, 0x30(%r12)
movq %r14, -0x8(%r12)
movb 0x20(%r14), %al
movb %al, 0x18(%r12)
movq 0x28(%r14), %rax
movq %rax, 0x20(%r12)
movq 0x30(%r14), %rax
movq %rax, 0x28(%r12)
movq 0x38(%r14), %rax
movq %rax, 0x30(%r12)
leaq 0x40(%rsp), %rdx
movq %r15, %rdi
movq %rbx, %rcx
callq 0x16a0c
jmp 0x16bc5
movq 0x28(%r12), %rsi
leaq 0x48(%rsp), %r12
xorps %xmm0, %xmm0
movups %xmm0, 0x9(%r12)
movups %xmm0, (%r12)
movups %xmm0, 0x20(%r12)
movq $0x0, 0x30(%r12)
movq %r14, -0x8(%r12)
movb 0x20(%r14), %al
movb %al, 0x18(%r12)
movq 0x28(%r14), %rax
movq %rax, 0x20(%r12)
movq 0x30(%r14), %rax
movq %rax, 0x28(%r12)
movq 0x38(%r14), %rax
movq %rax, 0x30(%r12)
leaq 0x40(%rsp), %rdx
movq %r15, %rdi
movq %rbx, %rcx
callq 0x16a0c
movq %r12, %rdi
callq 0x15538
jmp 0x16cc4
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 0x17a38
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 0x17a38
movq 0x28(%r14), %rcx
addq $-0x8, %rcx
movq %rcx, 0x28(%r14)
leaq 0x80(%rsp), %rdi
leaq 0x20(%rsp), %rdx
movq %r15, %rsi
callq 0x16476
leaq 0x8(%r14), %rdi
leaq 0x80(%rsp), %rsi
callq 0x10b8e
leaq 0xa8(%rsp), %r15
movq %r15, %rdi
callq 0x9812
movq -0x20(%r15), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x16c8a
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x3280
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x16ca1
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3280
movq 0x28(%r14), %rax
cmpq (%rbx), %rax
jge 0x16cad
movq %rax, (%rbx)
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x16cc4
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 0x103f6
jmp 0x16cea
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x16d06
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3280
jmp 0x16d06
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x16d4b
movq 0x58(%rsp), %rsi
incq %rsi
jmp 0x16d46
jmp 0x16d1c
movq %rax, %rbx
movq %r12, %rdi
callq 0x15538
jmp 0x16d4b
movq %rax, %rbx
movq %r12, %rdi
callq 0x15538
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x16d4b
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x3280
movq %rbx, %rdi
callq 0x33b0
nop