// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_MetaVar_rigidifyzx
static struct std_list_List_1 mw_mirth_type_MetaVar_rigidifyzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct std_list_List_1 in_Ctx_2, uint64_t in_MetaVar_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_type_Type *out_Type_6) {
	struct mirth_mirth_zaMirth* v7;
	struct std_maybe_Maybe_1 v8 = mw_mirth_type_MetaVar_typezy(in_zaMirth_1, in_MetaVar_3, &v7);
	struct std_list_List_1 branch_Ctx_9;
	struct mirth_type_Type branch_Type_10;
	struct mirth_mirth_zaMirth* branch_zaMirth_11;
	switch ((v8).tag) {
		case std_maybe_Maybe_1_None: {
			struct mirth_mirth_zaMirth* v12;
			struct mirth_type_Type v13 = mw_mirth_type_MetaVar_kind(v7, in_MetaVar_3, &v12);
			struct mirth_type_Type v14 = mw_mirth_type_Kind_zgType(v13);
			struct mirth_mirth_zaMirth* v15;
			uint64_t v16;
			struct std_list_List_1 v17 = mw_mirth_var_Ctx_freshzevarzx(v12, v14, in_Ctx_2, &v15, &v16);
			struct mirth_type_Type v18 = mtw_mirth_type_Type_Var(v16);
			incref(MK_mirth_type_Type(v18));
			struct std_maybe_Maybe_1 v19 = mtw_std_maybe_Maybe_1_Some(MK_mirth_type_Type(v18));
			struct mirth_mirth_zaMirth* v20;
			mw_mirth_type_MetaVar_typezyzx(v15, v19, in_MetaVar_3, &v20);
			branch_zaMirth_11 = v20;
			branch_Type_10 = v18;
			branch_Ctx_9 = v17;
		} break;
		case std_maybe_Maybe_1_Some: {
			VAL v21 = mtp_std_maybe_Maybe_1_Some(v8);
			struct mirth_mirth_zaMirth* v22;
			struct mirth_type_Type v23;
			struct std_list_List_1 v24 = mw_mirth_type_Type_rigidifyzx(v7, in_Ctx_2, V_mirth_type_Type(v21), &v22, &v23);
			branch_zaMirth_11 = v22;
			branch_Type_10 = v23;
			branch_Ctx_9 = v24;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_Type_6 = branch_Type_10;
	*out_zaMirth_4 = branch_zaMirth_11;
	return branch_Ctx_9;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x190, %rsp            # imm = 0x190
movl %esi, -0x20(%rbp)
movq %rdx, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %rcx, -0x30(%rbp)
movq %r8, -0x38(%rbp)
movq %r9, -0x40(%rbp)
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
leaq -0x48(%rbp), %rdx
callq 0x87130
movl %eax, -0x58(%rbp)
movq %rdx, -0x50(%rbp)
movl -0x58(%rbp), %eax
movl %eax, -0x17c(%rbp)
testl %eax, %eax
je 0x159e5d
jmp 0x159e49
movl -0x17c(%rbp), %eax
subl $0x1, %eax
je 0x15a060
jmp 0x15a11d
movq -0x48(%rbp), %rdi
movq -0x30(%rbp), %rsi
leaq -0x78(%rbp), %rdx
callq 0xf40f0
movl %eax, -0x88(%rbp)
movq %rdx, -0x80(%rbp)
movl -0x88(%rbp), %edi
movq -0x80(%rbp), %rsi
callq 0x15a960
movl %eax, -0x98(%rbp)
movq %rdx, -0x90(%rbp)
movq -0x78(%rbp), %rdi
movl -0x98(%rbp), %esi
movq -0x90(%rbp), %rdx
movl -0x20(%rbp), %ecx
movq -0x18(%rbp), %r8
leaq -0xa0(%rbp), %r9
leaq -0xa8(%rbp), %rax
movq %rax, (%rsp)
callq 0x15a980
movl %eax, -0xb8(%rbp)
movq %rdx, -0xb0(%rbp)
movq -0xa8(%rbp), %rdi
callq 0x70570
movl %eax, -0xc8(%rbp)
movq %rdx, -0xc0(%rbp)
movl -0xc8(%rbp), %edi
movq -0xc0(%rbp), %rsi
callq 0x6e780
movq %rax, -0xd8(%rbp)
movq %rdx, -0xd0(%rbp)
movq -0xd0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x159fbe
movl -0xc8(%rbp), %edi
movq -0xc0(%rbp), %rsi
callq 0x6e780
movq %rax, -0xe8(%rbp)
movq %rdx, -0xe0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xe8(%rbp), %rax
cmpq $0x0, %rax
je 0x159fbe
movl -0xc8(%rbp), %edi
movq -0xc0(%rbp), %rsi
callq 0x6e780
movq %rax, -0xf8(%rbp)
movq %rdx, -0xf0(%rbp)
movq -0xf8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x159fbe
movl -0xc8(%rbp), %edi
movq -0xc0(%rbp), %rsi
callq 0x6e780
movq %rax, -0x108(%rbp)
movq %rdx, -0x100(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x108(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x159fc0
movl -0xc8(%rbp), %edi
movq -0xc0(%rbp), %rsi
callq 0x6e780
movq %rax, -0x128(%rbp)
movq %rdx, -0x120(%rbp)
movq -0x128(%rbp), %rdi
movq -0x120(%rbp), %rsi
callq 0xca10
movl %eax, -0x118(%rbp)
movq %rdx, -0x110(%rbp)
movq -0xa0(%rbp), %rdi
movq -0x30(%rbp), %rcx
movl -0x118(%rbp), %esi
movq -0x110(%rbp), %rdx
leaq -0x130(%rbp), %r8
callq 0x87380
movq -0x130(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x15a136
movl -0x58(%rbp), %edi
movq -0x50(%rbp), %rsi
callq 0x174a0
movq %rax, -0x140(%rbp)
movq %rdx, -0x138(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x188(%rbp)
movq -0x140(%rbp), %rdi
movq -0x138(%rbp), %rsi
callq 0x6f100
movq -0x188(%rbp), %rdi
movl %eax, -0x178(%rbp)
movq %rdx, -0x170(%rbp)
movl -0x20(%rbp), %esi
movq -0x18(%rbp), %rdx
movl -0x178(%rbp), %ecx
movq -0x170(%rbp), %r8
leaq -0x148(%rbp), %r9
leaq -0x158(%rbp), %rax
movq %rax, (%rsp)
callq 0x15a160
movl %eax, -0x168(%rbp)
movq %rdx, -0x160(%rbp)
movq -0x148(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x158(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x150(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x168(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x160(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x15a136
leaq 0x1f9d5d(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x40(%rbp), %rax
movups -0x68(%rbp), %xmm0
movups %xmm0, (%rax)
movq -0x70(%rbp), %rcx
movq -0x38(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x190, %rsp            # imm = 0x190
popq %rbp
retq
nopl (%rax)