// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_macro_MacroAction_runzetypezx
static struct mirth_type_Type mw_mirth_macro_MacroAction_runzetypezx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_elab_zaTypeElab* in_zaTypeElab_2, struct mirth_macro_MacroAction in_MacroAction_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_elab_zaTypeElab* *out_zaTypeElab_5, struct std_list_List_1 *out_List_7) {
	struct mirth_mirth_zaMirth* branch_zaMirth_8;
	struct mirth_elab_zaTypeElab* branch_zaTypeElab_9;
	struct mirth_type_Type branch_Type_10;
	struct std_list_List_1 branch_List_11;
	switch ((in_MacroAction_3).tag) {
		case mirth_macro_MacroAction_Type: {
			VAL v12 = mtp_mirth_macro_MacroAction_Type(in_MacroAction_3);
			push_resource(MK_mirth_mirth_zaMirth(in_zaMirth_1));
			push_resource(MK_mirth_elab_zaTypeElab(in_zaTypeElab_2));
			run_value(v12);
			struct std_list_List_1 v13 = V_std_list_List_1(pop_value());
			branch_List_11 = v13;
			struct mirth_type_Type v14 = V_mirth_type_Type(pop_value());
			branch_Type_10 = v14;
			struct mirth_elab_zaTypeElab* r15 = V_mirth_elab_zaTypeElab(pop_resource());
			branch_zaTypeElab_9 = r15;
			struct mirth_mirth_zaMirth* r16 = V_mirth_mirth_zaMirth(pop_resource());
			branch_zaMirth_8 = r16;
		} break;
		default: {
			STR* v17;
			STRLIT(v17, "Expected type macro!", 20);
			mw_mirth_mirth_zaMirth_fatalzeerrorzx(in_zaMirth_1, v17);
		} break;
	}
	*out_List_7 = branch_List_11;
	*out_zaTypeElab_5 = branch_zaTypeElab_9;
	*out_zaMirth_4 = branch_zaMirth_8;
	return branch_Type_10;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x150, %rsp            # imm = 0x150
movq 0x10(%rbp), %rax
movl %edx, -0x20(%rbp)
movq %rcx, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %rsi, -0x30(%rbp)
movq %r8, -0x38(%rbp)
movq %r9, -0x40(%rbp)
movl -0x20(%rbp), %eax
subl $0x1, %eax
jne 0xd8a70
jmp 0xd8914
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0xd8e90
movq %rax, -0x70(%rbp)
movq %rdx, -0x68(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x80(%rbp)
leaq 0x2b9049(%rip), %rax    # 0x391980
movq %rax, -0x78(%rbp)
movq -0x80(%rbp), %rdi
movq -0x78(%rbp), %rsi
callq 0x5b40
movq -0x30(%rbp), %rax
movq %rax, -0x90(%rbp)
leaq 0x2b9b66(%rip), %rax    # 0x3924c0
movq %rax, -0x88(%rbp)
movq -0x90(%rbp), %rdi
movq -0x88(%rbp), %rsi
callq 0x5b40
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
callq 0x276b0
callq 0x138a0
movq %rax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
callq 0x12c80
movl %eax, -0xa0(%rbp)
movq %rdx, -0x98(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0x58(%rbp)
callq 0x138a0
movq %rax, -0xd0(%rbp)
movq %rdx, -0xc8(%rbp)
movq -0xd0(%rbp), %rdi
movq -0xc8(%rbp), %rsi
callq 0x6f100
movl %eax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x8(%rbp)
callq 0x13920
movq %rax, -0xe8(%rbp)
movq %rdx, -0xe0(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0xd8(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x50(%rbp)
callq 0x13920
movq %rax, -0x100(%rbp)
movq %rdx, -0xf8(%rbp)
movq -0x100(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0xd8b8b
jmp 0xd8a72
cmpq $0x0, 0x12bd066(%rip)   # 0x1395ae0
jne 0xd8a94
leaq 0x2804a4(%rip), %rdi    # 0x358f27
movl $0x14, %esi
callq 0xb6c0
movq %rax, 0x12bd04c(%rip)   # 0x1395ae0
jmp 0xd8a96
movq 0x12bd043(%rip), %rax   # 0x1395ae0
movq %rax, -0x118(%rbp)
leaq 0x2b86ad(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x110(%rbp)
movq -0x110(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xd8b6b
movq 0x12bd00e(%rip), %rax   # 0x1395ae0
movq %rax, -0x128(%rbp)
leaq 0x2b8678(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x120(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x128(%rbp), %rax
cmpq $0x0, %rax
je 0xd8b6b
movq 0x12bcfd7(%rip), %rax   # 0x1395ae0
movq %rax, -0x138(%rbp)
leaq 0x2b8641(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x130(%rbp)
movq -0x138(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xd8b6b
movq 0x12bcfa6(%rip), %rax   # 0x1395ae0
movq %rax, -0x148(%rbp)
leaq 0x2b8610(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x140(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x148(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0xd8b6d
movq 0x12bcf6c(%rip), %rax   # 0x1395ae0
movq %rax, -0x108(%rbp)
movq -0x28(%rbp), %rdi
movq -0x108(%rbp), %rsi
callq 0x44a80
movq 0x10(%rbp), %rax
movups -0x60(%rbp), %xmm0
movups %xmm0, (%rax)
movq -0x50(%rbp), %rcx
movq -0x40(%rbp), %rax
movq %rcx, (%rax)
movq -0x48(%rbp), %rcx
movq -0x38(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x150, %rsp            # imm = 0x150
popq %rbp
retq
nopl (%rax)