LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_zaAB_abzetokenzo
static uint64_t mw_mirth_elab_zaAB_abzetokenzo (struct mirth_arrow_Arrow* in_zaAB_1, struct mirth_arrow_Arrow* *out_zaAB_2) {
	incref(MK_mirth_arrow_Arrow(in_zaAB_1));
	uint64_t v4 = in_zaAB_1->mtokenzeend;
	decref(MK_mirth_arrow_Arrow(in_zaAB_1));
	*out_zaAB_2 = in_zaAB_1;
	return v4;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rdi, %rax
setne %cl
testb $0x3, %r14b
sete %dl
testb %dl, %cl
je 0x43302
movq 0x20(%r14), %r15
cmpl $0x0, (%rax)
jne 0x43306
leaq 0xcf0a9(%rip), %rsi     # 0x1123a1
movq %r14, %rdi
callq 0xd13d
jmp 0x43306
movq 0x20(%r14), %r15
movq %r14, (%rbx)
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_zaAB_abzectxzo
static struct std_list_List_1 mw_mirth_elab_zaAB_abzectxzo (struct mirth_arrow_Arrow* in_zaAB_1, struct mirth_arrow_Arrow* *out_zaAB_2) {
	incref(MK_mirth_arrow_Arrow(in_zaAB_1));
	struct std_list_List_1 v4 = in_zaAB_1->mctx;
	incref(MK_std_list_List_1(v4));
	decref(MK_mirth_arrow_Arrow(in_zaAB_1));
	*out_zaAB_2 = in_zaAB_1;
	return v4;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
movq %rdi, %rax
andq %rcx, %rax
setne %sil
testb $0x3, %r14b
sete %dl
andb %sil, %dl
cmpb $0x1, %dl
jne 0x4334d
incl (%rax)
movl 0x28(%r14), %r15d
movq 0x30(%r14), %r12
andq %r12, %rcx
sete %sil
testb $0x3, %r12b
setne %dil
orb %sil, %dil
jne 0x4336b
incl (%rcx)
testb %dl, %dl
je 0x43382
decl (%rax)
jne 0x43382
leaq 0xcf027(%rip), %rsi     # 0x1123a1
movq %r14, %rdi
callq 0xd13d
movq %r14, (%rbx)
movl %r15d, %eax
movq %r12, %rdx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_zaAB_abzetypezo
static struct mirth_type_StackType mw_mirth_elab_zaAB_abzetypezo (struct mirth_arrow_Arrow* in_zaAB_1, struct mirth_arrow_Arrow* *out_zaAB_2) {
	incref(MK_mirth_arrow_Arrow(in_zaAB_1));
	struct mirth_type_StackType v4 = in_zaAB_1->mcod;
	incref(MK_mirth_type_StackType(v4));
	decref(MK_mirth_arrow_Arrow(in_zaAB_1));
	*out_zaAB_2 = in_zaAB_1;
	return v4;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
movq %rdi, %rax
andq %rcx, %rax
setne %sil
testb $0x3, %r14b
sete %dl
andb %sil, %dl
cmpb $0x1, %dl
jne 0x433ca
incl (%rax)
movl 0x48(%r14), %r15d
movq 0x50(%r14), %r12
andq %r12, %rcx
sete %sil
testb $0x3, %r12b
setne %dil
orb %sil, %dil
jne 0x433e8
incl (%rcx)
testb %dl, %dl
je 0x433ff
decl (%rax)
jne 0x433ff
leaq 0xcefaa(%rip), %rsi     # 0x1123a1
movq %r14, %rdi
callq 0xd13d
movq %r14, (%rbx)
movl %r15d, %eax
movq %r12, %rdx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_zaAB_abzehomezo
static struct mirth_arrow_Home mw_mirth_elab_zaAB_abzehomezo (struct mirth_arrow_Arrow* in_zaAB_1, struct mirth_arrow_Arrow* *out_zaAB_2) {
	incref(MK_mirth_arrow_Arrow(in_zaAB_1));
	struct mirth_arrow_Home v4 = in_zaAB_1->mhome;
	incref(MK_mirth_arrow_Home(v4));
	decref(MK_mirth_arrow_Arrow(in_zaAB_1));
	*out_zaAB_2 = in_zaAB_1;
	return v4;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
movq %rdi, %rax
andq %rcx, %rax
setne %sil
testb $0x3, %r14b
sete %dl
andb %sil, %dl
cmpb $0x1, %dl
jne 0x43754
incl (%rax)
movl 0x8(%r14), %r15d
movq 0x10(%r14), %r12
andq %r12, %rcx
sete %sil
testb $0x3, %r12b
setne %dil
orb %sil, %dil
jne 0x43772
incl (%rcx)
testb %dl, %dl
je 0x43789
decl (%rax)
jne 0x43789
leaq 0xcec20(%rip), %rsi     # 0x1123a1
movq %r14, %rdi
callq 0xd13d
movq %r14, (%rbx)
movl %r15d, %eax
movq %r12, %rdx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_zaAB_abzeunifyzetypezx
static void mw_mirth_elab_zaAB_abzeunifyzetypezx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_arrow_Arrow* in_zaAB_2, struct mirth_type_StackType in_StackType_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_arrow_Arrow* *out_zaAB_5) {
	struct mirth_arrow_Arrow* v6;
	uint64_t v7 = mw_mirth_elab_zaAB_abzetokenzo(in_zaAB_2, &v6);
	struct mirth_mirth_zaMirth* v8;
	mw_mirth_mirth_zaMirth_errorzetokenzx(in_zaMirth_1, v7, &v8);
	incref(MK_mirth_type_StackType(in_StackType_3));
	struct mirth_mirth_zaMirth* v9;
	struct mirth_arrow_Arrow* v10;
	mw_mirth_elab_zaAB_abzepreparezeforzeunificationzx(v8, v6, in_StackType_3, &v9, &v10);
	struct mirth_arrow_Arrow* v11;
	struct mirth_type_StackType v12 = mw_mirth_elab_zaAB_abzetypezo(v10, &v11);
	struct mirth_mirth_zaMirth* v13;
	struct mirth_type_StackType v14 = mw_mirth_type_StackType_unifyzx(v9, v12, in_StackType_3, &v13);
	struct mirth_arrow_Arrow* v15;
	mw_mirth_elab_zaAB_abzetypezx(v11, v14, &v15);
	*out_zaAB_5 = v15;
	*out_zaMirth_4 = v13;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r9, -0x30(%rbp)
movq %r8, -0x38(%rbp)
movq %rcx, %r15
movl %edx, %r12d
movq %rsi, %rax
movq %rdi, %r13
leaq -0x48(%rbp), %rsi
movq %rax, %rdi
callq 0x432bd
leaq -0x40(%rbp), %rdx
movq %r13, %rdi
movq %rax, %rsi
callq 0x307a8
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %r15, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0x437f8
incl (%rax)
movq -0x40(%rbp), %rdi
movq -0x48(%rbp), %r13
leaq -0x60(%rbp), %rbx
movl %r12d, %esi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x4f6b9
movq %rdx, %rcx
movq (%rbx), %rdi
leaq -0x58(%rbp), %rbx
leaq -0x50(%rbp), %r14
movq %r13, %rsi
movl %eax, %edx
movq %rbx, %r8
movq %r14, %r9
callq 0x5500e
movq (%r14), %rdi
movq (%rbx), %rbx
leaq -0x60(%rbp), %r14
movq %r14, %rsi
callq 0x43394
leaq -0x58(%rbp), %r13
movq %rbx, %rdi
movl %eax, %esi
movl %r12d, %ecx
movq %r15, %r8
movq %r13, %r9
callq 0x3afe0
movq (%r14), %rdi
leaq -0x50(%rbp), %rbx
movl %eax, %esi
movq %rbx, %rcx
callq 0x54044
movq (%rbx), %rax
movq -0x30(%rbp), %rcx
movq %rax, (%rcx)
movq (%r13), %rax
movq -0x38(%rbp), %rcx
movq %rax, (%rcx)
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mtw_mirth_arrow_Lambda_Lambda
static struct mirth_arrow_Lambda* mtw_mirth_arrow_Lambda_Lambda (uint64_t in_Token_1, struct std_list_List_1 in_Ctx_2, struct mirth_type_StackType in_StackType_3, struct std_list_List_1 in_List_4, struct mirth_arrow_Arrow* in_Arrow_5) {
	struct mirth_arrow_Lambda* v7 = calloc(1, sizeof *v7);
	ASSERT(v7);
	v7->refs = 1;
	v7->mbody = in_Arrow_5;
	v7->mparams = in_List_4;
	v7->mdom = in_StackType_3;
	v7->mouterzectx = in_Ctx_2;
	v7->mtoken = in_Token_1;
	return v7;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %rbx
movq %r8, %r14
movl %ecx, %r13d
movq %rdx, -0x30(%rbp)
movl %esi, %r12d
movq %rdi, %r15
movl $0x1, %edi
movl $0x48, %esi
callq 0x50c0
testq %rax, %rax
je 0x438ff
leaq 0x10(%rbp), %rcx
movl $0x1, (%rax)
movq %rbx, 0x40(%rax)
movups (%rcx), %xmm0
movups %xmm0, 0x30(%rax)
movl %r13d, 0x20(%rax)
movq %r14, 0x28(%rax)
movl %r12d, 0x10(%rax)
movq -0x30(%rbp), %rcx
movq %rcx, 0x18(%rax)
movq %r15, 0x8(%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xa2bc6(%rip), %rsi     # 0xe64cc
movl $0x31, %edx
movl $0x2, %edi
callq 0x5060
callq 0x52b6
movl $0x1, %edi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mtw_mirth_arrow_Op_Lambda
static struct mirth_arrow_Op mtw_mirth_arrow_Op_Lambda (struct mirth_arrow_Lambda* in_Lambda_1) {
	struct mirth_arrow_Op_Lambda* v3 = calloc(1, sizeof *v3);
	ASSERT(v3);
	v3->refs = 1;
	v3->mLambda = in_Lambda_1;
	struct mirth_arrow_Op v4 = { .tag=mirth_arrow_Op_Lambda, .ptr.Lambda=v3 };
	return v4;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0x1, %edi
movl $0x10, %esi
callq 0x50c0
testq %rax, %rax
je 0x43952
movl $0x1, (%rax)
movq %rbx, 0x8(%rax)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0xa2ba5(%rip), %rsi     # 0xe64fe
movl $0x31, %edx
movl $0x2, %edi
callq 0x5060
callq 0x52b6
movl $0x1, %edi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_word_Word_namespacezehard
static struct mirth_name_Namespace mw_mirth_word_Word_namespacezehard (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Word_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v5;
	struct mirth_name_QName* v6 = mw_mirth_word_Word_qnamezehard(in_zaMirth_1, in_Word_2, &v5);
	struct mirth_name_Namespace v7 = v6->mnamespace;
	incref(MK_mirth_name_Namespace(v7));
	decref(MK_mirth_name_QName(v6));
	*out_zaMirth_3 = v5;
	return v7;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r14
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
leaq 0x10cb23f(%rip), %rdi   # 0x1114bc0
callq 0x13c85
leaq -0x30(%rbp), %rdx
movq %r14, %rdi
movq %rax, %rsi
callq 0x1a6db
movq %rax, %rdi
movl 0x8(%rax), %r14d
movq 0x10(%rax), %r15
movq %r15, %rcx
andq %r12, %rcx
sete %dl
testb $0x3, %r15b
setne %sil
orb %dl, %sil
jne 0x499b8
incl (%rcx)
movq -0x30(%rbp), %r13
andq %r12, %rax
sete %cl
testb $0x3, %dil
setne %dl
orb %cl, %dl
jne 0x499dd
decl (%rax)
jne 0x499dd
leaq 0xc7d69(%rip), %rsi     # 0x111741
callq 0xd13d
movq %r13, (%rbx)
movl %r14d, %eax
movq %r15, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_ArrowType_Freshzx
static struct mirth_type_ArrowType* mw_mirth_type_ArrowType_Freshzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_mirth_zaMirth* *out_zaMirth_2) {
	struct mirth_mirth_zaMirth* v4;
	struct mirth_type_StackType v5 = mw_mirth_type_StackType_Freshzx(in_zaMirth_1, &v4);
	struct mirth_mirth_zaMirth* v6;
	struct mirth_type_StackType v7 = mw_mirth_type_StackType_Freshzx(v4, &v6);
	struct mirth_type_ArrowType* v8 = mw_mirth_type_Tzezg(v5, v7);
	*out_zaMirth_2 = v6;
	return v8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
leaq -0x28(%rbp), %r14
movq %r14, %rsi
callq 0x3d862
movq %rax, %r15
movq (%r14), %rdi
leaq -0x20(%rbp), %r14
movq %r14, %rsi
callq 0x3d862
movl $0x4, %edi
movq %r15, %rsi
movl $0x4, %edx
movq %rax, %rcx
callq 0x20b5f
movq (%r14), %rcx
movq %rcx, (%rbx)
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_tycon_Tycon_fullzetype
static struct std_either_Either_2 mw_mirth_tycon_Tycon_fullzetype (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_tycon_Tycon in_Tycon_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* branch_zaMirth_5;
	struct std_either_Either_2 branch_Either_6;
	switch ((in_Tycon_2).tag) {
		case mirth_tycon_Tycon_Data: {
			uint64_t v7 = mtp_mirth_tycon_Tycon_Data(in_Tycon_2);
			struct mirth_mirth_zaMirth* v8;
			struct std_either_Either_2 v9 = mw_mirth_data_Data_fullzetype(in_zaMirth_1, v7, &v8);
			branch_Either_6 = v9;
			branch_zaMirth_5 = v8;
		} break;
		case mirth_tycon_Tycon_Table: {
			uint64_t v10 = mtp_mirth_tycon_Tycon_Table(in_Tycon_2);
			struct mirth_mirth_zaMirth* v11;
			struct std_either_Either_2 v12 = mw_mirth_table_Table_fullzetype(in_zaMirth_1, v10, &v11);
			branch_Either_6 = v12;
			branch_zaMirth_5 = v11;
		} break;
		case mirth_tycon_Tycon_Prim: {
			enum mirth_type_PrimType v13 = mtp_mirth_tycon_Tycon_Prim(in_Tycon_2);
			struct mirth_mirth_zaMirth* v14;
			struct std_either_Either_2 v15 = mw_mirth_type_PrimType_fullzetype(in_zaMirth_1, v13, &v14);
			branch_Either_6 = v15;
			branch_zaMirth_5 = v14;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaMirth_3 = branch_zaMirth_5;
	return branch_Either_6;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdi, %r14
cmpl $0x2, %esi
je 0x49ac8
cmpl $0x1, %esi
je 0x49a9a
testl %esi, %esi
jne 0x49b4b
movq 0x8(%rdx), %r15
decl (%rdx)
jne 0x49a7f
movq %rdx, %rdi
callq 0x5030
leaq -0x30(%rbp), %r12
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x202a4
movq (%r12), %r14
jmp 0x49b39
movq 0x8(%rdx), %r15
decl (%rdx)
jne 0x49aaa
movq %rdx, %rdi
callq 0x5030
movq %r15, %rdi
callq 0x3ded5
movabsq $0x6000000000000, %rdi  # imm = 0x6000000000000
orq %rax, %rdi
leaq 0xc8023(%rip), %rsi     # 0x111ae9
jmp 0x49b32
movl 0x4(%rdx), %r15d
decl (%rdx)
jne 0x49ad8
movq %rdx, %rdi
callq 0x5030
movl %r15d, %edi
callq 0x1eb4d
movq %rdx, %r12
leaq -0x30(%rbp), %r13
movq %r14, %rdi
movl %r15d, %esi
movq %r13, %rdx
callq 0x4a1e4
movq %rdx, %rcx
movl $0x2, %edi
movq %r12, %rsi
movl %eax, %edx
callq 0x1eba6
movq (%r13), %r14
andl $-0x2, %r15d
shlq $0x30, %rax
orq %rdx, %rax
leaq 0xc7fcc(%rip), %rsi     # 0x111ae9
movq %rax, %rdi
cmpl $0x14, %r15d
jne 0x49b32
callq 0x206fc
movl $0x1, %eax
jmp 0x49b39
callq 0x2069e
xorl %eax, %eax
movq %r14, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0x96b69(%rip), %xmm0    # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0x96b6e(%rip), %xmm0    # 0xe06dd
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x9302
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_PrimType_params
static struct std_list_List_1 mw_mirth_type_PrimType_params (struct mirth_mirth_zaMirth* in_zaMirth_1, enum mirth_type_PrimType in_PrimType_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	void* v5 = field_mut(&mfld_mirth_type_PrimType_params, in_PrimType_2);
	bool v6 = mut_is_set(v5);
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	struct std_list_List_1 branch_List_8;
	if (v6) {
		VAL v9 = mut_get(v5);
		branch_List_8 = V_std_list_List_1(v9);
		branch_zaMirth_7 = in_zaMirth_1;
	} else {
		struct std_list_List_1 v10 = { .tag=std_list_List_1_Nil };
		incref(MK_std_list_List_1(v10));
		mut_set(MK_std_list_List_1(v10), v5);
		branch_List_8 = v10;
		branch_zaMirth_7 = in_zaMirth_1;
	}
	*out_zaMirth_3 = branch_zaMirth_7;
	return branch_List_8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rdi, %r14
movl %esi, %esi
leaq 0x10cae1a(%rip), %rdi   # 0x1115018
callq 0x13c85
movq %rax, %r15
movq %rax, %rdi
callq 0x1505d
testb %al, %al
je 0x4a230
movq %r15, %rdi
callq 0x13d82
movq %rax, %r12
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rax, %rdx
shrq $0x30, %r12
jmp 0x4a246
leaq 0xc7042(%rip), %rsi     # 0x111279
xorl %r12d, %r12d
xorl %edi, %edi
movq %r15, %rdx
callq 0x14766
xorl %edx, %edx
movq %r14, (%rbx)
movl %r12d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mtw_mirth_match_zaMatch_zaMatch
static void mtw_mirth_match_zaMatch_zaMatch (struct mirth_arrow_Home in_Home_1, uint64_t in_Token_2, uint64_t in_Token_3, struct std_list_List_1 in_Ctx_4, struct mirth_type_StackType in_StackType_5, struct mirth_type_StackType in_StackType_6, struct std_list_List_1 in_List_7, struct mirth_match_zaMatch* *out_zaMatch_8) {
	struct mirth_match_zaMatch* v9 = calloc(1, sizeof *v9);
	ASSERT(v9);
	v9->mcases = in_List_7;
	v9->mcod = in_StackType_6;
	v9->mdom = in_StackType_5;
	v9->mctx = in_Ctx_4;
	v9->mbody = in_Token_3;
	v9->mtoken = in_Token_2;
	v9->mhome = in_Home_1;
	*out_zaMatch_8 = v9;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %r14
movl %r8d, %ebx
movq %rcx, %r12
movq %rdx, %r15
movq %rsi, -0x30(%rbp)
movl %edi, %r13d
movl $0x1, %edi
movl $0x60, %esi
callq 0x50c0
testq %rax, %rax
je 0x4bec1
movq 0x40(%rbp), %rcx
leaq 0x30(%rbp), %rdx
leaq 0x20(%rbp), %rsi
leaq 0x10(%rbp), %rdi
movups (%rdx), %xmm0
movups %xmm0, 0x50(%rax)
movups (%rsi), %xmm0
movups %xmm0, 0x40(%rax)
movups (%rdi), %xmm0
movups %xmm0, 0x30(%rax)
movl %ebx, 0x20(%rax)
movq %r14, 0x28(%rax)
movq %r12, 0x18(%rax)
movq %r15, 0x10(%rax)
movl %r13d, (%rax)
movq -0x30(%rbp), %rdx
movq %rdx, 0x8(%rax)
movq %rax, (%rcx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x998ff(%rip), %rsi     # 0xe57c7
movl $0x31, %edx
movl $0x2, %edi
callq 0x5060
callq 0x52b6
movl $0x1, %edi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mtw_mirth_arrow_Op_Match
static struct mirth_arrow_Op mtw_mirth_arrow_Op_Match (struct mirth_match_Match* in_Match_1) {
	struct mirth_arrow_Op_Match* v3 = calloc(1, sizeof *v3);
	ASSERT(v3);
	v3->refs = 1;
	v3->mMatch = in_Match_1;
	struct mirth_arrow_Op v4 = { .tag=mirth_arrow_Op_Match, .ptr.Match=v3 };
	return v4;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0x1, %edi
movl $0x10, %esi
callq 0x50c0
testq %rax, %rax
je 0x4bfdb
movl $0x1, (%rax)
movq %rbx, 0x8(%rax)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0x99cbe(%rip), %rsi     # 0xe5ca0
movl $0x31, %edx
movl $0x2, %edi
callq 0x5060
callq 0x52b6
movl $0x1, %edi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mtw_mirth_match_Pattern_Pattern
static struct mirth_match_Pattern* mtw_mirth_match_Pattern_Pattern (struct mirth_arrow_Home in_Home_1, uint64_t in_Token_2, uint64_t in_Token_3, struct std_list_List_1 in_Ctx_4, struct std_list_List_1 in_Ctx_5, struct std_list_List_1 in_List_6, struct mirth_type_StackType in_StackType_7, struct mirth_type_StackType in_StackType_8, struct std_list_List_1 in_List_9) {
	struct mirth_match_Pattern* v11 = calloc(1, sizeof *v11);
	ASSERT(v11);
	v11->refs = 1;
	v11->matoms = in_List_9;
	v11->mcod = in_StackType_8;
	v11->mmid = in_StackType_7;
	v11->msaved = in_List_6;
	v11->minnerzectx = in_Ctx_5;
	v11->mouterzectx = in_Ctx_4;
	v11->mtokenzeend = in_Token_3;
	v11->mtokenzestart = in_Token_2;
	v11->mhome = in_Home_1;
	return v11;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %r14
movl %r8d, %ebx
movq %rcx, %r12
movq %rdx, %r15
movq %rsi, -0x30(%rbp)
movl %edi, %r13d
movl $0x1, %edi
movl $0x88, %esi
callq 0x50c0
testq %rax, %rax
je 0x4d511
leaq 0x50(%rbp), %rcx
leaq 0x40(%rbp), %rdx
leaq 0x30(%rbp), %rsi
leaq 0x20(%rbp), %rdi
leaq 0x10(%rbp), %r8
movl $0x1, (%rax)
movups (%rcx), %xmm0
movups %xmm0, 0x78(%rax)
movups (%rdx), %xmm0
movups %xmm0, 0x68(%rax)
movups (%rsi), %xmm0
movups %xmm0, 0x58(%rax)
movups (%rdi), %xmm0
movups %xmm0, 0x48(%rax)
movups (%r8), %xmm0
movups %xmm0, 0x38(%rax)
movl %ebx, 0x28(%rax)
movq %r14, 0x30(%rax)
movq %r12, 0x20(%rax)
movq %r15, 0x18(%rax)
movl %r13d, 0x8(%rax)
movq -0x30(%rbp), %rcx
movq %rcx, 0x10(%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x98373(%rip), %rsi     # 0xe588b
movl $0x32, %edx
movl $0x2, %edi
callq 0x5060
callq 0x52b6
movl $0x1, %edi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mtw_mirth_match_Case_Case
static struct mirth_match_Case* mtw_mirth_match_Case_Case (struct mirth_match_Pattern* in_Pattern_1, struct mirth_arrow_Arrow* in_Arrow_2) {
	struct mirth_match_Case* v4 = calloc(1, sizeof *v4);
	ASSERT(v4);
	v4->refs = 1;
	v4->mbody = in_Arrow_2;
	v4->mpattern = in_Pattern_1;
	return v4;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movl $0x1, %edi
movl $0x18, %esi
callq 0x50c0
testq %rax, %rax
je 0x4d6c6
movl $0x1, (%rax)
movq %r14, 0x10(%rax)
movq %rbx, 0x8(%rax)
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x98481(%rip), %rsi     # 0xe5b4e
movl $0x31, %edx
movl $0x2, %edi
callq 0x5060
callq 0x52b6
movl $0x1, %edi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_maybe_Maybe_1_ifzy_2_sp65
static bool mw_std_maybe_Maybe_1_ifzy_2_sp65 (struct std_list_List_1 in_zaLister_1, struct std_maybe_Maybe_1 in_Maybe_2, struct std_list_List_1 *out_zaLister_3) {
	struct std_list_List_1 branch_zaLister_5;
	bool branch_Bool_6;
	switch ((in_Maybe_2).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v7 = mtp_std_maybe_Maybe_1_Some(in_Maybe_2);
			struct std_list_List_1 v8;
			mw_std_list_zaLister_1_pushzx(v7, in_zaLister_1, &v8);
			bool v9 = true;
			branch_Bool_6 = v9;
			branch_zaLister_5 = v8;
		} break;
		case std_maybe_Maybe_1_None: {
			bool v10 = false;
			branch_Bool_6 = v10;
			branch_zaLister_5 = in_zaLister_1;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaLister_3 = branch_zaLister_5;
	return branch_Bool_6;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %r8, %rbx
movq %rsi, %r14
movl %edi, %r15d
testl %edx, %edx
je 0x4dfa8
cmpl $0x1, %edx
jne 0x4dfc1
movq %rcx, %rdi
callq 0xd745
leaq -0x30(%rbp), %r12
movq %rax, %rdi
movq %rdx, %rsi
movl %r15d, %edx
movq %r14, %rcx
movq %r12, %r8
callq 0x949e
movl (%r12), %r15d
movl 0x4(%r12), %ecx
movq 0x8(%r12), %r14
movb $0x1, %al
jmp 0x4dfaa
xorl %eax, %eax
movl %r15d, (%rbx)
movl %ecx, 0x4(%rbx)
movq %r14, 0x8(%rbx)
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0x926f3(%rip), %xmm0    # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0x926f8(%rip), %xmm0    # 0xe06dd
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x9302
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_StackType_topzetypeszearezefinezy
static bool mw_mirth_type_StackType_topzetypeszearezefinezy (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_type_StackType in_StackType_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	incref(MK_mirth_type_StackType(in_StackType_2));
	struct mirth_mirth_zaMirth* v5;
	bool v6 = mw_mirth_type_StackType_topzevaluezeiszefinezy(in_zaMirth_1, in_StackType_2, &v5);
	struct mirth_type_StackType branch_StackType_7;
	struct mirth_mirth_zaMirth* branch_zaMirth_8;
	bool branch_Bool_9;
	if (v6) {
		incref(MK_mirth_type_StackType(in_StackType_2));
		struct mirth_mirth_zaMirth* v10;
		bool v11 = mw_mirth_type_StackType_topzeresourcezeiszefinezy(v5, in_StackType_2, &v10);
		branch_Bool_9 = v11;
		branch_zaMirth_8 = v10;
		branch_StackType_7 = in_StackType_2;
	} else {
		bool v12 = false;
		branch_Bool_9 = v12;
		branch_zaMirth_8 = v5;
		branch_StackType_7 = in_StackType_2;
	}
	decref(MK_mirth_type_StackType(branch_StackType_7));
	*out_zaMirth_3 = branch_zaMirth_8;
	return branch_Bool_9;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, -0x40(%rbp)
movq %rdx, %r15
movl %esi, %r14d
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
andq %rdx, %rbx
setne %al
testb $0x3, %r15b
sete %r13b
andb %al, %r13b
cmpb $0x1, %r13b
movq %r14, -0x38(%rbp)
jne 0x4e775
incl (%rbx)
leaq -0x30(%rbp), %rcx
movl %r14d, %esi
movq %r15, %rdx
callq 0x4f2fc
testb %al, %al
je 0x4e7a6
incl (%rbx)
jmp 0x4e788
leaq -0x30(%rbp), %rcx
movl %r14d, %esi
movq %r15, %rdx
callq 0x4f2fc
testb %al, %al
je 0x4e7a6
movq -0x30(%rbp), %rdi
leaq -0x48(%rbp), %rcx
movl %r14d, %esi
movq %r15, %rdx
movq %rcx, %r14
callq 0x4f4dc
movl %eax, %r12d
movq (%r14), %r14
jmp 0x4e7ad
movq -0x30(%rbp), %r14
xorl %r12d, %r12d
testb %r13b, %r13b
je 0x4e7cd
decl (%rbx)
jne 0x4e7cd
movq -0x38(%rbp), %rdi
shlq $0x30, %rdi
orq %r15, %rdi
leaq 0xc33f9(%rip), %rsi     # 0x111bc1
callq 0xd13d
movq -0x40(%rbp), %rax
movq %r14, (%rax)
movl %r12d, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mirth_match_Pattern_set_mid
static struct mirth_match_Pattern* mirth_match_Pattern_set_mid(struct mirth_match_Pattern* self, struct mirth_type_StackType x) {
	if (self->refs > 1) {
		struct mirth_match_Pattern* self2 = calloc(1, sizeof * self2);
		ASSERT(self2); memcpy(self2, self, sizeof * self2);
		incref(MK_mirth_arrow_Home(self2->mhome));
		incref(MK_std_list_List_1(self2->mouterzectx));
		incref(MK_std_list_List_1(self2->minnerzectx));
		incref(MK_std_list_List_1(self2->msaved));
		self2->mmid = x;
		incref(MK_mirth_type_StackType(self2->mcod));
		incref(MK_std_list_List_1(self2->matoms));
		self->refs--;
		return self2;
	}
	decref(MK_mirth_type_StackType(self->mmid));
	self->mmid = x;
	return self;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movl %esi, %r15d
movq %rdi, %rbx
cmpl $0x2, (%rdi)
jb 0x4ee18
movl $0x1, %edi
movl $0x88, %esi
callq 0x50c0
testq %rax, %rax
je 0x4ee6b
movq %rax, %r12
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
movl $0x88, %edx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x50e0
movq 0x10(%r12), %rcx
movq %rcx, %rax
andq %r13, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x4ed84
incl (%rax)
movq 0x30(%r12), %rcx
movq %rcx, %rax
andq %r13, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x4ed9e
incl (%rax)
movq 0x40(%r12), %rcx
movq %rcx, %rax
andq %r13, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x4edb8
incl (%rax)
movq 0x50(%r12), %rcx
movq %rcx, %rax
andq %r13, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x4edd2
incl (%rax)
movl %r15d, 0x58(%r12)
movq %r14, 0x60(%r12)
movq 0x70(%r12), %rcx
movq %rcx, %rax
andq %r13, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x4edf6
incl (%rax)
movq 0x80(%r12), %rax
andq %rax, %r13
sete %cl
testb $0x3, %al
setne %al
orb %cl, %al
jne 0x4ee11
incl (%r13)
decl (%rbx)
movq %r12, %rbx
jmp 0x4ee59
movq 0x60(%rbx), %rcx
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x4ee51
decl (%rax)
jne 0x4ee51
leaq 0xc2d80(%rip), %rsi     # 0x111bc1
movl 0x58(%rbx), %edi
shlq $0x30, %rdi
orq 0x60(%rbx), %rdi
callq 0xd13d
movl %r15d, 0x58(%rbx)
movq %r14, 0x60(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x96c43(%rip), %rsi     # 0xe5ab5
movl $0x33, %edx
movl $0x2, %edi
callq 0x5060
callq 0x52b6
movl $0x1, %edi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mtw_mirth_match_PatternAtom_PatternAtom
static struct mirth_match_PatternAtom* mtw_mirth_match_PatternAtom_PatternAtom (uint64_t in_Token_1, struct std_list_List_1 in_Ctx_2, struct std_list_List_1 in_List_3, struct mirth_type_StackType in_StackType_4, struct mirth_type_StackType in_StackType_5, struct std_list_List_1 in_Subst_6, struct mirth_match_PatternOp in_PatternOp_7) {
	struct mirth_match_PatternAtom* v9 = calloc(1, sizeof *v9);
	ASSERT(v9);
	v9->refs = 1;
	v9->mop = in_PatternOp_7;
	v9->msubst = in_Subst_6;
	v9->mcod = in_StackType_5;
	v9->mdom = in_StackType_4;
	v9->msaved = in_List_3;
	v9->mctx = in_Ctx_2;
	v9->mtoken = in_Token_1;
	return v9;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r14
movl %ecx, %r13d
movq %rdx, %rbx
movl %esi, %r12d
movq %rdi, %r15
movl $0x1, %edi
movl $0x70, %esi
callq 0x50c0
testq %rax, %rax
je 0x4ef16
leaq 0x40(%rbp), %rcx
leaq 0x30(%rbp), %rdx
leaq 0x20(%rbp), %rsi
leaq 0x10(%rbp), %rdi
movl $0x1, (%rax)
movups (%rcx), %xmm0
movups %xmm0, 0x60(%rax)
movups (%rdx), %xmm0
movups %xmm0, 0x50(%rax)
movups (%rsi), %xmm0
movups %xmm0, 0x40(%rax)
movups (%rdi), %xmm0
movups %xmm0, 0x30(%rax)
movl %r13d, 0x20(%rax)
movq %r14, 0x28(%rax)
movl %r12d, 0x10(%rax)
movq %rbx, 0x18(%rax)
movq %r15, 0x8(%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x96a47(%rip), %rsi     # 0xe5964
movl $0x31, %edx
movl $0x2, %edi
callq 0x5060
callq 0x52b6
movl $0x1, %edi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mirth_match_Pattern_set_atoms
static struct mirth_match_Pattern* mirth_match_Pattern_set_atoms(struct mirth_match_Pattern* self, struct std_list_List_1 x) {
	if (self->refs > 1) {
		struct mirth_match_Pattern* self2 = calloc(1, sizeof * self2);
		ASSERT(self2); memcpy(self2, self, sizeof * self2);
		incref(MK_mirth_arrow_Home(self2->mhome));
		incref(MK_std_list_List_1(self2->mouterzectx));
		incref(MK_std_list_List_1(self2->minnerzectx));
		incref(MK_std_list_List_1(self2->msaved));
		incref(MK_mirth_type_StackType(self2->mmid));
		incref(MK_mirth_type_StackType(self2->mcod));
		self2->matoms = x;
		self->refs--;
		return self2;
	}
	decref(MK_std_list_List_1(self->matoms));
	self->matoms = x;
	return self;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
cmpl $0x2, (%rdi)
jb 0x4f034
movl $0x1, %edi
movl $0x88, %esi
callq 0x50c0
testq %rax, %rax
je 0x4f08d
movq %rax, %r15
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
movl $0x88, %edx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x50e0
movq 0x10(%r15), %rcx
movq %rcx, %rax
andq %r12, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x4efa3
incl (%rax)
movq 0x30(%r15), %rcx
movq %rcx, %rax
andq %r12, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x4efbc
incl (%rax)
movq 0x40(%r15), %rcx
movq %rcx, %rax
andq %r12, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x4efd5
incl (%rax)
movq 0x50(%r15), %rcx
movq %rcx, %rax
andq %r12, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x4efee
incl (%rax)
movq 0x60(%r15), %rcx
movq %rcx, %rax
andq %r12, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x4f007
incl (%rax)
movq 0x70(%r15), %rax
andq %rax, %r12
sete %cl
testb $0x3, %al
setne %al
orb %cl, %al
jne 0x4f01e
incl (%r12)
movl $0x1, 0x78(%r15)
movq %r14, 0x80(%r15)
decl (%rbx)
movq %r15, %rbx
jmp 0x4f081
movq 0x80(%rbx), %rcx
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x4f073
decl (%rax)
jne 0x4f073
leaq 0xc2219(%rip), %rsi     # 0x111279
movl 0x78(%rbx), %edi
shlq $0x30, %rdi
orq 0x80(%rbx), %rdi
callq 0xd13d
movl $0x1, 0x78(%rbx)
movq %r14, 0x80(%rbx)
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x96989(%rip), %rsi     # 0xe5a1d
movl $0x33, %edx
movl $0x2, %edi
callq 0x5060
callq 0x52b6
movl $0x1, %edi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mirth_match_PatternAtom_free
static void mirth_match_PatternAtom_free (VAL vself) {
	ASSERT(vself.tag == TAG_mirth_match_PatternAtom);
	struct mirth_match_PatternAtom* self = vself.data.ptr;
	decref(MK_std_list_List_1(self->mctx));
	decref(MK_std_list_List_1(self->msaved));
	decref(MK_mirth_type_StackType(self->mdom));
	decref(MK_mirth_type_StackType(self->mcod));
	decref(MK_std_list_List_1(self->msubst));
	decref(MK_mirth_match_PatternOp(self->mop));
	free(self);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
leaq 0xc34d5(%rip), %rax     # 0x112599
cmpq %rsi, %rax
jne 0x4f20e
movq %rdi, %rbx
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
movq 0x18(%rdi), %rcx
leaq 0xc2194(%rip), %r14     # 0x111279
movq %rcx, %rax
andq %r12, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x4f10f
decl (%rax)
jne 0x4f10f
movl 0x10(%rbx), %edi
shlq $0x30, %rdi
orq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xd13d
movq 0x28(%rbx), %rcx
movq %rcx, %rax
andq %r12, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x4f13d
decl (%rax)
jne 0x4f13d
movl 0x20(%rbx), %edi
shlq $0x30, %rdi
orq 0x28(%rbx), %rdi
movq %r14, %rsi
callq 0xd13d
movq 0x38(%rbx), %rcx
leaq 0xc2a79(%rip), %r15     # 0x111bc1
movq %rcx, %rax
andq %r12, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x4f172
decl (%rax)
jne 0x4f172
movl 0x30(%rbx), %edi
shlq $0x30, %rdi
orq 0x38(%rbx), %rdi
movq %r15, %rsi
callq 0xd13d
movq 0x48(%rbx), %rcx
movq %rcx, %rax
andq %r12, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x4f1a0
decl (%rax)
jne 0x4f1a0
movl 0x40(%rbx), %edi
shlq $0x30, %rdi
orq 0x48(%rbx), %rdi
movq %r15, %rsi
callq 0xd13d
movq 0x58(%rbx), %rcx
movq %rcx, %rax
andq %r12, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x4f1ce
decl (%rax)
jne 0x4f1ce
movl 0x50(%rbx), %edi
shlq $0x30, %rdi
orq 0x58(%rbx), %rdi
movq %r14, %rsi
callq 0xd13d
movq 0x68(%rbx), %rax
andq %rax, %r12
sete %cl
testb $0x3, %al
setne %al
orb %cl, %al
jne 0x4f1fe
decl (%r12)
jne 0x4f1fe
leaq 0xc33f3(%rip), %rsi     # 0x1125e1
movl 0x60(%rbx), %edi
shlq $0x30, %rdi
orq 0x68(%rbx), %rdi
callq 0xd13d
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x5030
leaq 0x9678d(%rip), %rsi     # 0xe59a2
movl $0x56, %edx
movl $0x2, %edi
callq 0x5060
callq 0x52b6
movl $0x1, %edi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mirth_match_PatternOp_free
void mirth_match_PatternOp_free (VAL v) {
	struct mirth_match_PatternOp self = V_mirth_match_PatternOp(v);
	switch (self.tag) {
		case mirth_match_PatternOp_Underscore: break;
		case mirth_match_PatternOp_Tag: {
			free(self.ptr.Tag);
		} break;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
movabsq $-0x1000000000000, %rcx # imm = 0xFFFF000000000000
andq %rdi, %rcx
leaq 0x4(%rax), %rdx
cmpq %rdx, %rcx
jne 0x4f2ad
andq %rax, %rdi
popq %rbp
jmp 0x5030
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_data_Tag_type
static struct mirth_type_ArrowType* mw_mirth_data_Tag_type (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Tag_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v5;
	struct mirth_type_ArrowType* v6;
	struct std_list_List_1 v7 = mw_mirth_data_Tag_ctxzetype(in_zaMirth_1, in_Tag_2, &v5, &v6);
	decref(MK_std_list_List_1(v7));
	*out_zaMirth_3 = v5;
	return v6;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
leaq -0x18(%rbp), %rdx
leaq -0x10(%rbp), %rcx
callq 0x4fc1f
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rdx, %rcx
sete %sil
testb $0x3, %dl
setne %dil
orb %sil, %dil
jne 0x4fa93
decl (%rcx)
jne 0x4fa93
shlq $0x30, %rax
orq %rdx, %rax
leaq 0xc17ee(%rip), %rsi     # 0x111279
movq %rax, %rdi
callq 0xd13d
movq -0x18(%rbp), %rax
movq %rax, (%rbx)
movq -0x10(%rbp), %rax
addq $0x18, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_data_Tag_ctxzetype
static struct std_list_List_1 mw_mirth_data_Tag_ctxzetype (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Tag_2, struct mirth_mirth_zaMirth* *out_zaMirth_3, struct mirth_type_ArrowType* *out_ArrowType_5) {
	void* v6 = field_mut(&mfld_mirth_data_Tag_ztctxzetype, in_Tag_2);
	struct mirth_mirth_zaMirth* v7;
	VAL v8 = mw_mirth_mirth_Prop_1_forcezx(in_zaMirth_1, v6, &v7);
	VAL v9 = ((TUP*)PTRPTR(value_tup(v8)))->cells[0];
	VAL v10 = ((TUP*)PTRPTR(value_tup(v8)))->cells[1];
	tup_decref_outer(value_tup(v8));
	*out_ArrowType_5 = V_mirth_type_ArrowType(v10);
	*out_zaMirth_3 = v7;
	return V_std_list_List_1(v9);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, -0x30(%rbp)
movq %rdx, -0x38(%rbp)
movq %rdi, %r12
leaq 0x10c5626(%rip), %rdi   # 0x1115268
callq 0x13c85
leaq -0x40(%rbp), %rdx
movq %r12, %rdi
movq %rax, %rsi
callq 0x1a6db
movq %rax, %r14
movq %rdx, %r13
movq %rax, %rdi
movq %rdx, %rsi
callq 0x90ba
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
movq %r14, %r12
andq %rbx, %r12
movq 0x8(%r12), %r15
movq %r14, %rdi
movq %r13, %rsi
callq 0x90ba
movq 0x18(%r12), %r12
movq %r14, %rdi
movq %r13, %rsi
callq 0x90ba
movq %r14, %rdi
callq 0x910b
movq -0x30(%rbp), %rax
movq %r12, (%rax)
leaq -0x40(%rbp), %rax
movq (%rax), %rax
movq -0x38(%rbp), %rcx
movq %rax, (%rcx)
movq %r15, %rax
shrq $0x30, %rax
andq %rbx, %r15
movq %r15, %rdx
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_ArrowType_needszefreshzestackzerestzy
static bool mw_mirth_type_ArrowType_needszefreshzestackzerestzy (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_type_ArrowType* in_ArrowType_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_type_StackType v5;
	struct mirth_type_StackType v6;
	mtp_mirth_type_ArrowType_ArrowType(in_ArrowType_2, &v5, &v6);
	struct mirth_mirth_zaMirth* v7;
	struct mirth_type_StackTypeBase v8 = mw_mirth_type_StackType_base(in_zaMirth_1, v5, &v7);
	struct mirth_mirth_zaMirth* v9;
	bool v10 = mw_mirth_type_StackTypeBase_unitzy(v7, v8, &v9);
	struct mirth_type_StackType branch_StackType_11;
	struct mirth_mirth_zaMirth* branch_zaMirth_12;
	bool branch_Bool_13;
	if (v10) {
		incref(MK_mirth_type_StackType(v6));
		struct mirth_mirth_zaMirth* v14;
		struct mirth_type_StackTypeBase v15 = mw_mirth_type_StackType_base(v9, v6, &v14);
		struct mirth_mirth_zaMirth* v16;
		bool v17 = mw_mirth_type_StackTypeBase_unitzy(v14, v15, &v16);
		branch_Bool_13 = v17;
		branch_zaMirth_12 = v16;
		branch_StackType_11 = v6;
	} else {
		bool v18 = false;
		branch_Bool_13 = v18;
		branch_zaMirth_12 = v9;
		branch_StackType_11 = v6;
	}
	decref(MK_mirth_type_StackType(branch_StackType_11));
	*out_zaMirth_3 = branch_zaMirth_12;
	return branch_Bool_13;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rdx, %rbx
movq %rdi, %r14
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
leaq -0x60(%rbp), %r15
leaq -0x30(%rbp), %rdx
movq %rsi, %rdi
movq %r15, %rsi
callq 0x3a145
movl (%r15), %esi
movq 0x8(%r15), %rdx
leaq -0x50(%rbp), %r15
movq %r14, %rdi
movq %r15, %rcx
callq 0x4fdc1
movq (%r15), %rdi
leaq -0x38(%rbp), %rcx
movl %eax, %esi
callq 0x3551b
testb %al, %al
je 0x4fd78
movl -0x30(%rbp), %esi
movq -0x28(%rbp), %rdx
movq %rdx, %rax
andq %r12, %rax
sete %cl
testb $0x3, %dl
setne %dil
orb %cl, %dil
jne 0x4fd48
incl (%rax)
movq -0x38(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rcx
callq 0x4fdc1
movq (%r14), %rdi
leaq -0x40(%rbp), %r15
movl %eax, %esi
movq %r15, %rcx
callq 0x3551b
movl %eax, %r14d
movq (%r15), %r15
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rax
jmp 0x4fd86
movq -0x38(%rbp), %r15
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rax
xorl %r14d, %r14d
andq %rax, %r12
sete %cl
testb $0x3, %al
setne %dl
orb %cl, %dl
jne 0x4fdae
decl (%r12)
jne 0x4fdae
shlq $0x30, %rdi
orq %rax, %rdi
leaq 0xc1e18(%rip), %rsi     # 0x111bc1
callq 0xd13d
movq %r15, (%rbx)
movl %r14d, %eax
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mirth_match_Pattern_free
static void mirth_match_Pattern_free (VAL vself) {
	ASSERT(vself.tag == TAG_mirth_match_Pattern);
	struct mirth_match_Pattern* self = vself.data.ptr;
	decref(MK_mirth_arrow_Home(self->mhome));
	decref(MK_std_list_List_1(self->mouterzectx));
	decref(MK_std_list_List_1(self->minnerzectx));
	decref(MK_std_list_List_1(self->msaved));
	decref(MK_mirth_type_StackType(self->mmid));
	decref(MK_mirth_type_StackType(self->mcod));
	decref(MK_std_list_List_1(self->matoms));
	free(self);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
leaq 0xc2157(%rip), %rax     # 0x112551
cmpq %rsi, %rax
jne 0x50578
movq %rdi, %rbx
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
movq 0x10(%rdi), %rcx
movq %rcx, %rax
andq %r12, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x50442
decl (%rax)
jne 0x50442
leaq 0xc1fb7(%rip), %rsi     # 0x1123e9
movl 0x8(%rbx), %edi
shlq $0x30, %rdi
orq 0x10(%rbx), %rdi
callq 0xd13d
movq 0x30(%rbx), %rcx
leaq 0xc0e2c(%rip), %r14     # 0x111279
movq %rcx, %rax
andq %r12, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x50477
decl (%rax)
jne 0x50477
movl 0x28(%rbx), %edi
shlq $0x30, %rdi
orq 0x30(%rbx), %rdi
movq %r14, %rsi
callq 0xd13d
movq 0x40(%rbx), %rcx
movq %rcx, %rax
andq %r12, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x504a5
decl (%rax)
jne 0x504a5
movl 0x38(%rbx), %edi
shlq $0x30, %rdi
orq 0x40(%rbx), %rdi
movq %r14, %rsi
callq 0xd13d
movq 0x50(%rbx), %rcx
movq %rcx, %rax
andq %r12, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x504d3
decl (%rax)
jne 0x504d3
movl 0x48(%rbx), %edi
shlq $0x30, %rdi
orq 0x50(%rbx), %rdi
movq %r14, %rsi
callq 0xd13d
movq 0x60(%rbx), %rcx
leaq 0xc16e3(%rip), %r15     # 0x111bc1
movq %rcx, %rax
andq %r12, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x50508
decl (%rax)
jne 0x50508
movl 0x58(%rbx), %edi
shlq $0x30, %rdi
orq 0x60(%rbx), %rdi
movq %r15, %rsi
callq 0xd13d
movq 0x70(%rbx), %rcx
movq %rcx, %rax
andq %r12, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x50536
decl (%rax)
jne 0x50536
movl 0x68(%rbx), %edi
shlq $0x30, %rdi
orq 0x70(%rbx), %rdi
movq %r15, %rsi
callq 0xd13d
movq 0x80(%rbx), %rax
andq %rax, %r12
sete %cl
testb $0x3, %al
setne %al
orb %cl, %al
jne 0x50568
decl (%r12)
jne 0x50568
movl 0x78(%rbx), %edi
shlq $0x30, %rdi
orq 0x80(%rbx), %rdi
movq %r14, %rsi
callq 0xd13d
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x5030
leaq 0x95572(%rip), %rsi     # 0xe5af1
movl $0x52, %edx
movl $0x2, %edi
callq 0x5060
callq 0x52b6
movl $0x1, %edi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mirth_match_Case_free
static void mirth_match_Case_free (VAL vself) {
	ASSERT(vself.tag == TAG_mirth_match_Case);
	struct mirth_match_Case* self = vself.data.ptr;
	decref(MK_mirth_match_Pattern(self->mpattern));
	decref(MK_mirth_arrow_Arrow(self->mbody));
	free(self);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
leaq 0xc2031(%rip), %rax     # 0x112629
cmpq %rsi, %rax
jne 0x50664
movq %rdi, %rbx
movabsq $0xfffffffffffc, %r14   # imm = 0xFFFFFFFFFFFC
movq 0x8(%rdi), %rdi
movq %rdi, %rax
andq %r14, %rax
sete %cl
testb $0x3, %dil
setne %dl
orb %cl, %dl
jne 0x50632
decl (%rax)
jne 0x50632
leaq 0xc1f24(%rip), %rsi     # 0x112551
callq 0xd13d
movq 0x10(%rbx), %rdi
andq %rdi, %r14
sete %al
testb $0x3, %dil
setne %cl
orb %al, %cl
jne 0x50658
decl (%r14)
jne 0x50658
leaq 0xc1d4e(%rip), %rsi     # 0x1123a1
callq 0xd13d
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x5030
leaq 0x9552f(%rip), %rsi     # 0xe5b9a
movl $0x4f, %edx
movl $0x2, %edi
callq 0x5060
callq 0x52b6
movl $0x1, %edi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mirth_match_Match_free
static void mirth_match_Match_free (VAL vself) {
	ASSERT(vself.tag == TAG_mirth_match_Match);
	struct mirth_match_Match* self = vself.data.ptr;
	decref(MK_mirth_arrow_Home(self->mhome));
	decref(MK_std_list_List_1(self->mctx));
	decref(MK_mirth_type_StackType(self->mdom));
	decref(MK_mirth_type_StackType(self->mcod));
	decref(MK_std_list_List_1(self->mcases));
	free(self);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
leaq 0xc1f89(%rip), %rax     # 0x112671
cmpq %rsi, %rax
jne 0x50804
movq %rdi, %rbx
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
movq 0x10(%rdi), %rcx
movq %rcx, %rax
andq %r12, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x50730
decl (%rax)
jne 0x50730
leaq 0xc1cc9(%rip), %rsi     # 0x1123e9
movl 0x8(%rbx), %edi
shlq $0x30, %rdi
orq 0x10(%rbx), %rdi
callq 0xd13d
movq 0x30(%rbx), %rcx
leaq 0xc0b3e(%rip), %r14     # 0x111279
movq %rcx, %rax
andq %r12, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x50765
decl (%rax)
jne 0x50765
movl 0x28(%rbx), %edi
shlq $0x30, %rdi
orq 0x30(%rbx), %rdi
movq %r14, %rsi
callq 0xd13d
movq 0x40(%rbx), %rcx
leaq 0xc1451(%rip), %r15     # 0x111bc1
movq %rcx, %rax
andq %r12, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x5079a
decl (%rax)
jne 0x5079a
movl 0x38(%rbx), %edi
shlq $0x30, %rdi
orq 0x40(%rbx), %rdi
movq %r15, %rsi
callq 0xd13d
movq 0x50(%rbx), %rcx
movq %rcx, %rax
andq %r12, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x507c8
decl (%rax)
jne 0x507c8
movl 0x48(%rbx), %edi
shlq $0x30, %rdi
orq 0x50(%rbx), %rdi
movq %r15, %rsi
callq 0xd13d
movq 0x60(%rbx), %rax
andq %rax, %r12
sete %cl
testb $0x3, %al
setne %al
orb %cl, %al
jne 0x507f4
decl (%r12)
jne 0x507f4
movl 0x58(%rbx), %edi
shlq $0x30, %rdi
orq 0x60(%rbx), %rdi
movq %r14, %rsi
callq 0xd13d
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x5030
leaq 0x9540a(%rip), %rsi     # 0xe5c15
movl $0x50, %edx
movl $0x2, %edi
callq 0x5060
callq 0x52b6
movl $0x1, %edi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_match_Case_iszedefaultzecasezy
static bool mw_mirth_match_Case_iszedefaultzecasezy (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_match_Case* in_Case_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_match_Pattern* v5 = in_Case_2->mpattern;
	incref(MK_mirth_match_Pattern(v5));
	decref(MK_mirth_match_Case(in_Case_2));
	bool v6 = mw_mirth_match_Pattern_iszedefaultzy(v5);
	*out_zaMirth_3 = in_zaMirth_1;
	return v6;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r14
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
movq 0x8(%rsi), %r15
movq %r15, %rcx
andq %rax, %rcx
sete %dl
testb $0x3, %r15b
setne %dil
orb %dl, %dil
jne 0x510df
incl (%rcx)
andq %rsi, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x51106
decl (%rax)
jne 0x51106
leaq 0xc152e(%rip), %rax     # 0x112629
movq %rsi, %rdi
movq %rax, %rsi
callq 0xd13d
movq %r15, %rdi
callq 0x5111c
movq %r14, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq