// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_Type_rigidifyzx
static struct std_list_List_1 mw_mirth_type_Type_rigidifyzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct std_list_List_1 in_Ctx_2, struct mirth_type_Type in_Type_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_type_Type *out_Type_6) {
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	struct std_list_List_1 branch_Ctx_8;
	struct mirth_type_Type branch_Type_9;
	switch ((in_Type_3).tag) {
		case mirth_type_Type_Meta: {
			uint64_t v10 = mtp_mirth_type_Type_Meta(in_Type_3);
			struct mirth_mirth_zaMirth* v11;
			struct mirth_type_Type v12;
			struct std_list_List_1 v13 = mw_mirth_type_MetaVar_rigidifyzx(in_zaMirth_1, in_Ctx_2, v10, &v11, &v12);
			branch_Type_9 = v12;
			branch_Ctx_8 = v13;
			branch_zaMirth_7 = v11;
		} break;
		case mirth_type_Type_Error: {
			struct mirth_type_Type v14 = { .tag=mirth_type_Type_Error };
			branch_Type_9 = v14;
			branch_Ctx_8 = in_Ctx_2;
			branch_zaMirth_7 = in_zaMirth_1;
		} break;
		case mirth_type_Type_Ignore: {
			struct mirth_type_Type v15 = { .tag=mirth_type_Type_Ignore };
			branch_Type_9 = v15;
			branch_Ctx_8 = in_Ctx_2;
			branch_zaMirth_7 = in_zaMirth_1;
		} break;
		case mirth_type_Type_Prim: {
			enum mirth_type_PrimType v16 = mtp_mirth_type_Type_Prim(in_Type_3);
			struct mirth_type_Type v17 = mtw_mirth_type_Type_Prim(v16);
			branch_Type_9 = v17;
			branch_Ctx_8 = in_Ctx_2;
			branch_zaMirth_7 = in_zaMirth_1;
		} break;
		case mirth_type_Type_Hole: {
			uint64_t v18 = mtp_mirth_type_Type_Hole(in_Type_3);
			struct mirth_type_Type v19 = mtw_mirth_type_Type_Hole(v18);
			branch_Type_9 = v19;
			branch_Ctx_8 = in_Ctx_2;
			branch_zaMirth_7 = in_zaMirth_1;
		} break;
		case mirth_type_Type_Var: {
			uint64_t v20 = mtp_mirth_type_Type_Var(in_Type_3);
			struct mirth_type_Type v21 = mtw_mirth_type_Type_Var(v20);
			branch_Type_9 = v21;
			branch_Ctx_8 = in_Ctx_2;
			branch_zaMirth_7 = in_zaMirth_1;
		} break;
		case mirth_type_Type_Table: {
			uint64_t v22 = mtp_mirth_type_Type_Table(in_Type_3);
			struct mirth_type_Type v23 = mtw_mirth_type_Type_Table(v22);
			branch_Type_9 = v23;
			branch_Ctx_8 = in_Ctx_2;
			branch_zaMirth_7 = in_zaMirth_1;
		} break;
		case mirth_type_Type_Data: {
			uint64_t v24 = mtp_mirth_type_Type_Data(in_Type_3);
			struct mirth_type_Type v25 = mtw_mirth_type_Type_Data(v24);
			branch_Type_9 = v25;
			branch_Ctx_8 = in_Ctx_2;
			branch_zaMirth_7 = in_zaMirth_1;
		} break;
		case mirth_type_Type_DataPartial: {
			struct mirth_data_DataPartial* v26 = mtp_mirth_type_Type_DataPartial(in_Type_3);
			struct mirth_type_Type v27 = mtw_mirth_type_Type_DataPartial(v26);
			branch_Type_9 = v27;
			branch_Ctx_8 = in_Ctx_2;
			branch_zaMirth_7 = in_zaMirth_1;
		} break;
		case mirth_type_Type_App: {
			struct mirth_type_Type v28;
			struct mirth_type_Type v29 = mtp_mirth_type_Type_App(in_Type_3, &v28);
			struct mirth_mirth_zaMirth* v30;
			struct mirth_type_Type v31;
			struct std_list_List_1 v32 = mw_mirth_type_Type_rigidifyzx(in_zaMirth_1, in_Ctx_2, v29, &v30, &v31);
			struct mirth_mirth_zaMirth* v33;
			struct mirth_type_Type v34;
			struct std_list_List_1 v35 = mw_mirth_type_Type_rigidifyzx(v30, v32, v28, &v33, &v34);
			struct mirth_type_Type v36 = mtw_mirth_type_Type_App(v31, v34);
			branch_Type_9 = v36;
			branch_Ctx_8 = v35;
			branch_zaMirth_7 = v33;
		} break;
		case mirth_type_Type_Stack: {
			struct mirth_type_StackType v37 = mtp_mirth_type_Type_Stack(in_Type_3);
			struct mirth_mirth_zaMirth* v38;
			struct mirth_type_StackType v39;
			struct std_list_List_1 v40 = mw_mirth_type_StackType_rigidifyzx(in_zaMirth_1, in_Ctx_2, v37, &v38, &v39);
			struct mirth_type_Type v41 = mtw_mirth_type_Type_Stack(v39);
			branch_Type_9 = v41;
			branch_Ctx_8 = v40;
			branch_zaMirth_7 = v38;
		} break;
		case mirth_type_Type_Arrow: {
			struct mirth_type_ArrowType* v42 = mtp_mirth_type_Type_Arrow(in_Type_3);
			struct mirth_mirth_zaMirth* v43;
			struct mirth_type_ArrowType* v44;
			struct std_list_List_1 v45 = mw_mirth_type_ArrowType_rigidifyzx(in_zaMirth_1, in_Ctx_2, v42, &v43, &v44);
			struct mirth_type_Type v46 = mtw_mirth_type_Type_Arrow(v44);
			branch_Type_9 = v46;
			branch_Ctx_8 = v45;
			branch_zaMirth_7 = v43;
		} break;
		case mirth_type_Type_Value: {
			struct mirth_type_Value v47 = mtp_mirth_type_Type_Value(in_Type_3);
			struct mirth_mirth_zaMirth* v48;
			struct mirth_type_Type v49;
			struct std_list_List_1 v50 = mw_mirth_type_Value_rigidifyzx(in_zaMirth_1, in_Ctx_2, v47, &v48, &v49);
			branch_Type_9 = v49;
			branch_Ctx_8 = v50;
			branch_zaMirth_7 = v48;
		} break;
		case mirth_type_Type_Mut: {
			struct mirth_type_Type v51 = mtp_mirth_type_Type_Mut(in_Type_3);
			struct mirth_mirth_zaMirth* v52;
			struct mirth_type_Type v53;
			struct std_list_List_1 v54 = mw_mirth_type_Type_rigidifyzx(in_zaMirth_1, in_Ctx_2, v51, &v52, &v53);
			struct mirth_type_Type v55 = mtw_mirth_type_Type_Mut(v53);
			branch_Type_9 = v55;
			branch_Ctx_8 = v54;
			branch_zaMirth_7 = v52;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_Type_6 = branch_Type_9;
	*out_zaMirth_4 = branch_zaMirth_7;
	return branch_Ctx_8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2d0, %rsp            # imm = 0x2D0
movq 0x10(%rbp), %rax
movl %esi, -0x20(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x30(%rbp)
movq %r8, -0x28(%rbp)
movq %rdi, -0x38(%rbp)
movq %r9, -0x40(%rbp)
movl -0x30(%rbp), %eax
movq %rax, -0x2c0(%rbp)
subq $0xd, %rax
ja 0x15a874
movq -0x2c0(%rbp), %rax
leaq 0x1f84d1(%rip), %rcx    # 0x352678
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x870e0
movq %rax, -0x60(%rbp)
movq -0x38(%rbp), %rdi
movq -0x60(%rbp), %rcx
movl -0x20(%rbp), %esi
movq -0x18(%rbp), %rdx
leaq -0x68(%rbp), %r8
leaq -0x78(%rbp), %r9
callq 0x159e00
movl %eax, -0x88(%rbp)
movq %rdx, -0x80(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x88(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x15a88d
leaq -0x98(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x98(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x15a88d
movq 0x214915(%rip), %rax    # 0x36eb78
movq %rax, -0xa8(%rbp)
movq 0x21490f(%rip), %rax    # 0x36eb80
movq %rax, -0xa0(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x15a88d
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x87010
movl %eax, -0xac(%rbp)
movl -0xac(%rbp), %edi
callq 0x6dd40
movl %eax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x15a88d
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x873f0
movq %rax, -0xc8(%rbp)
movq -0xc8(%rbp), %rdi
callq 0xbb330
movl %eax, -0xd8(%rbp)
movq %rdx, -0xd0(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x15a88d
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x87440
movq %rax, -0xe0(%rbp)
movq -0xe0(%rbp), %rdi
callq 0x70570
movl %eax, -0xf0(%rbp)
movq %rdx, -0xe8(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x15a88d
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x87490
movq %rax, -0xf8(%rbp)
movq -0xf8(%rbp), %rdi
callq 0xcebc0
movl %eax, -0x108(%rbp)
movq %rdx, -0x100(%rbp)
movq -0x108(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x100(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x15a88d
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x874e0
movq %rax, -0x110(%rbp)
movq -0x110(%rbp), %rdi
callq 0x74070
movl %eax, -0x120(%rbp)
movq %rdx, -0x118(%rbp)
movq -0x120(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x15a88d
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x87530
movq %rax, -0x128(%rbp)
movq -0x128(%rbp), %rdi
callq 0xcea30
movl %eax, -0x138(%rbp)
movq %rdx, -0x130(%rbp)
movq -0x138(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x130(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x15a88d
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
leaq -0x148(%rbp), %rdx
callq 0x87830
movl %eax, -0x158(%rbp)
movq %rdx, -0x150(%rbp)
movq -0x38(%rbp), %rdi
movl -0x20(%rbp), %esi
movq -0x18(%rbp), %rdx
movl -0x158(%rbp), %ecx
movq -0x150(%rbp), %r8
leaq -0x160(%rbp), %r9
leaq -0x170(%rbp), %rax
movq %rax, (%rsp)
callq 0x15a160
movl %eax, -0x180(%rbp)
movq %rdx, -0x178(%rbp)
movq -0x160(%rbp), %rdi
movl -0x180(%rbp), %esi
movq -0x178(%rbp), %rdx
movl -0x148(%rbp), %ecx
movq -0x140(%rbp), %r8
leaq -0x188(%rbp), %r9
leaq -0x198(%rbp), %rax
movq %rax, (%rsp)
callq 0x15a160
movl %eax, -0x1a8(%rbp)
movq %rdx, -0x1a0(%rbp)
movl -0x170(%rbp), %edi
movq -0x168(%rbp), %rsi
movl -0x198(%rbp), %edx
movq -0x190(%rbp), %rcx
callq 0x70600
movl %eax, -0x1b8(%rbp)
movq %rdx, -0x1b0(%rbp)
movq -0x1b8(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x1b0(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x1a8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x1a0(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x188(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x15a88d
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x87730
movl %eax, -0x1c8(%rbp)
movq %rdx, -0x1c0(%rbp)
movq -0x38(%rbp), %rdi
movl -0x20(%rbp), %esi
movq -0x18(%rbp), %rdx
movl -0x1c8(%rbp), %ecx
movq -0x1c0(%rbp), %r8
leaq -0x1d0(%rbp), %r9
leaq -0x1e0(%rbp), %rax
movq %rax, (%rsp)
callq 0x159760
movl %eax, -0x1f0(%rbp)
movq %rdx, -0x1e8(%rbp)
movl -0x1e0(%rbp), %edi
movq -0x1d8(%rbp), %rsi
callq 0xcd050
movl %eax, -0x200(%rbp)
movq %rdx, -0x1f8(%rbp)
movq -0x200(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x1f8(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x1f0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x1e8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x1d0(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x15a88d
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x87630
movq %rax, -0x208(%rbp)
movq -0x38(%rbp), %rdi
movq -0x208(%rbp), %rcx
movl -0x20(%rbp), %esi
movq -0x18(%rbp), %rdx
leaq -0x210(%rbp), %r8
leaq -0x218(%rbp), %r9
callq 0x158e80
movl %eax, -0x228(%rbp)
movq %rdx, -0x220(%rbp)
movq -0x218(%rbp), %rdi
callq 0xaf380
movl %eax, -0x238(%rbp)
movq %rdx, -0x230(%rbp)
movq -0x238(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x230(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x228(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x220(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x210(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x15a88d
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x87b00
movl %eax, -0x248(%rbp)
movq %rdx, -0x240(%rbp)
movq -0x38(%rbp), %rdi
movl -0x20(%rbp), %esi
movq -0x18(%rbp), %rdx
movl -0x248(%rbp), %ecx
movq -0x240(%rbp), %r8
leaq -0x250(%rbp), %r9
leaq -0x260(%rbp), %rax
movq %rax, (%rsp)
callq 0x15b390
movl %eax, -0x270(%rbp)
movq %rdx, -0x268(%rbp)
movq -0x260(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x258(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x270(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x268(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x250(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x15a88d
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x87a00
movl %eax, -0x280(%rbp)
movq %rdx, -0x278(%rbp)
movq -0x38(%rbp), %rdi
movl -0x20(%rbp), %esi
movq -0x18(%rbp), %rdx
movl -0x280(%rbp), %ecx
movq -0x278(%rbp), %r8
leaq -0x288(%rbp), %r9
leaq -0x298(%rbp), %rax
movq %rax, (%rsp)
callq 0x15a160
movl %eax, -0x2a8(%rbp)
movq %rdx, -0x2a0(%rbp)
movl -0x298(%rbp), %edi
movq -0x290(%rbp), %rsi
callq 0xcecf0
movl %eax, -0x2b8(%rbp)
movq %rdx, -0x2b0(%rbp)
movq -0x2b8(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x2b0(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x2a8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x2a0(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x288(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x15a88d
leaq 0x1f9606(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq 0x10(%rbp), %rax
movups -0x58(%rbp), %xmm0
movups %xmm0, (%rax)
movq -0x48(%rbp), %rcx
movq -0x40(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x2d0, %rsp            # imm = 0x2D0
popq %rbp
retq
nopw %cs:(%rax,%rax)