LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mtp_mirth_type_StackTypePart_ConsLabel
static struct mirth_type_Type mtp_mirth_type_StackTypePart_ConsLabel (struct mirth_type_StackTypePart in_StackTypePart_1, uint64_t *out_Label_3) {
	struct mirth_type_StackTypePart_ConsLabel v4 = *in_StackTypePart_1.ptr.ConsLabel;
	if (!--(in_StackTypePart_1.ptr.ConsLabel->refs)) {
		free(in_StackTypePart_1.ptr.ConsLabel);
	} else {
		incref(MK_mirth_type_Type(v4.mType));
	}
	*out_Label_3 = v4.mLabel;
	return v4.mType;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movl 0x8(%rdi), %r14d
movq 0x10(%rdi), %r15
movq 0x18(%rdi), %r12
decl (%rdi)
je 0x3ab46
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %r15, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0x3ab4b
incl (%rax)
jmp 0x3ab4b
callq 0x5030
movq %r12, (%rbx)
movl %r14d, %eax
movq %r15, %rdx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mtp_mirth_type_StackTypePart_With
static struct mirth_type_Type mtp_mirth_type_StackTypePart_With (struct mirth_type_StackTypePart in_StackTypePart_1) {
	struct mirth_type_StackTypePart_With v3 = *in_StackTypePart_1.ptr.With;
	if (!--(in_StackTypePart_1.ptr.With->refs)) {
		free(in_StackTypePart_1.ptr.With);
	} else {
		incref(MK_mirth_type_Type(v3.mResource));
	}
	return v3.mResource;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl 0x8(%rdi), %ebx
movq 0x10(%rdi), %r14
decl (%rdi)
je 0x3ab8e
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %r14, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0x3ab93
incl (%rax)
jmp 0x3ab93
callq 0x5030
movl %ebx, %eax
movq %r14, %rdx
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mtp_mirth_type_StackTypePart_WithLabel
static struct mirth_type_Type mtp_mirth_type_StackTypePart_WithLabel (struct mirth_type_StackTypePart in_StackTypePart_1, uint64_t *out_Label_3) {
	struct mirth_type_StackTypePart_WithLabel v4 = *in_StackTypePart_1.ptr.WithLabel;
	if (!--(in_StackTypePart_1.ptr.WithLabel->refs)) {
		free(in_StackTypePart_1.ptr.WithLabel);
	} else {
		incref(MK_mirth_type_Type(v4.mResource));
	}
	*out_Label_3 = v4.mLabel;
	return v4.mResource;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movl 0x8(%rdi), %r14d
movq 0x10(%rdi), %r15
movq 0x18(%rdi), %r12
decl (%rdi)
je 0x3abda
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %r15, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0x3abdf
incl (%rax)
jmp 0x3abdf
callq 0x5030
movq %r12, (%rbx)
movl %r14d, %eax
movq %r15, %rdx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_token_Token_sigzestackzeendzy
static bool mw_mirth_token_Token_sigzestackzeendzy (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Token_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v5;
	bool v6 = mw_mirth_token_Token_sigzedasheszy(in_zaMirth_1, in_Token_2, &v5);
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	bool branch_Bool_8;
	if (v6) {
		bool v9 = true;
		branch_Bool_8 = v9;
		branch_zaMirth_7 = v5;
	} else {
		struct mirth_mirth_zaMirth* v10;
		bool v11 = mw_mirth_token_Token_vdashzy(v5, in_Token_2, &v10);
		struct mirth_mirth_zaMirth* branch_zaMirth_12;
		bool branch_Bool_13;
		if (v11) {
			bool v14 = true;
			branch_Bool_13 = v14;
			branch_zaMirth_12 = v10;
		} else {
			struct mirth_mirth_zaMirth* v15;
			bool v16 = mw_mirth_token_Token_runzeendzy(v10, in_Token_2, &v15);
			branch_Bool_13 = v16;
			branch_zaMirth_12 = v15;
		}
		branch_Bool_8 = branch_Bool_13;
		branch_zaMirth_7 = branch_zaMirth_12;
	}
	*out_zaMirth_3 = branch_zaMirth_7;
	return branch_Bool_8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movq %rsi, %r14
leaq -0x28(%rbp), %rdx
callq 0x32294
testb %al, %al
je 0x3ac19
movb $0x1, %al
movq -0x28(%rbp), %rcx
jmp 0x3ac4b
movq -0x28(%rbp), %rdi
leaq -0x20(%rbp), %rdx
movq %r14, %rsi
callq 0x321eb
testb %al, %al
je 0x3ac35
movb $0x1, %al
movq -0x20(%rbp), %rcx
jmp 0x3ac4b
movq -0x20(%rbp), %rdi
leaq -0x30(%rbp), %r15
movq %r14, %rsi
movq %r15, %rdx
callq 0x316aa
movq (%r15), %rcx
movq %rcx, (%rbx)
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_token_Token_sigzetypezevarzy
static struct std_maybe_Maybe_1 mw_mirth_token_Token_sigzetypezevarzy (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Token_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v5;
	struct mirth_token_TokenValue v6 = mw_mirth_token_Token_value(in_zaMirth_1, in_Token_2, &v5);
	struct mirth_mirth_zaMirth* v7;
	struct std_maybe_Maybe_1 v8 = mw_mirth_token_TokenValue_sigzetypezevarzy(v5, v6, &v7);
	*out_zaMirth_3 = v7;
	return v8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
leaq -0x20(%rbp), %r14
movq %r14, %rdx
callq 0x252f3
movq (%r14), %rdi
leaq -0x18(%rbp), %r14
movl %eax, %esi
movq %r14, %rcx
callq 0x3cd98
movq (%r14), %rcx
movq %rcx, (%rbx)
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_token_Token_sigzetypezeconzy
static struct std_maybe_Maybe_1 mw_mirth_token_Token_sigzetypezeconzy (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Token_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v5;
	struct mirth_token_TokenValue v6 = mw_mirth_token_Token_value(in_zaMirth_1, in_Token_2, &v5);
	struct mirth_mirth_zaMirth* v7;
	struct std_maybe_Maybe_1 v8 = mw_mirth_token_TokenValue_sigzetypezeconzy(v5, v6, &v7);
	*out_zaMirth_3 = v7;
	return v8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
leaq -0x38(%rbp), %r14
movq %r14, %rdx
callq 0x252f3
movq (%r14), %r14
movl %eax, %edi
movq %rdx, %rsi
callq 0x25a61
cmpl $0x1, %eax
jne 0x3b65d
movq %rdx, %rdi
callq 0xd491
movq %rax, %r12
movq %rdx, %r15
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
andq %rax, %r13
testb $0x1, %r15b
je 0x3b5ca
testq %r13, %r13
sete %al
testb $0x3, %r12b
setne %cl
orb %al, %cl
jne 0x3b5ca
incl (%r13)
movq %r12, %rdi
shrq $0x30, %rdi
movq %r13, %rsi
callq 0x2ce2b
leaq -0x30(%rbp), %rdx
movq %r14, %rdi
movq %rax, %rsi
callq 0x1c899
movl %eax, %r14d
movq %r14, %rdi
callq 0xd86d
movq %rax, %rdi
callq 0xdc43
movzbl %al, %eax
cmpl $0x40, %eax
ja 0x3b609
movq -0x30(%rbp), %r14
jmp 0x3b635
movq %r14, %rdi
callq 0xd86d
movq %rax, %rdi
callq 0xdc43
movzbl %al, %eax
movq -0x30(%rbp), %r14
cmpl $0x5a, %eax
ja 0x3b635
movq %r12, %rdi
movq %r15, %rsi
callq 0x8d0c
pushq $0x1
popq %rax
jmp 0x3b661
testb $0x1, %r15b
je 0x3b65d
testq %r13, %r13
sete %al
testb $0x3, %r12b
setne %cl
orb %al, %cl
jne 0x3b65d
decl (%r13)
jne 0x3b65d
movq %r12, %rdi
movq %r15, %rsi
callq 0xce94
xorl %eax, %eax
xorl %edx, %edx
movq %r14, (%rbx)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_token_Token_sigzeresourcezevarzy
static struct std_maybe_Maybe_1 mw_mirth_token_Token_sigzeresourcezevarzy (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Token_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v5;
	struct mirth_token_TokenValue v6 = mw_mirth_token_Token_value(in_zaMirth_1, in_Token_2, &v5);
	struct mirth_mirth_zaMirth* v7;
	struct std_maybe_Maybe_1 v8 = mw_mirth_token_TokenValue_sigzeresourcezevarzy(v5, v6, &v7);
	*out_zaMirth_3 = v7;
	return v8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
leaq -0x38(%rbp), %r14
movq %r14, %rdx
callq 0x252f3
movq (%r14), %r15
movl %eax, %edi
movq %rdx, %rsi
callq 0x2e190
cmpl $0x1, %eax
jne 0x3c417
movq %rdx, %rdi
callq 0xd491
movq %rax, %r12
movq %rdx, %r14
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
testb $0x1, %r14b
je 0x3c3f4
movq %r12, %rax
andq %r13, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0x3c3f4
incl (%rax)
leaq -0x30(%rbp), %rdx
movq %r15, %rdi
movq %r12, %rsi
callq 0x1c692
testb %al, %al
je 0x3c41d
movq %r12, %rdi
movq %r14, %rsi
callq 0x8d0c
pushq $0x1
popq %rax
jmp 0x3c44a
xorl %eax, %eax
xorl %edx, %edx
jmp 0x3c44e
testb $0x1, %r14b
je 0x3c446
movq %r12, %rax
andq %r13, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0x3c446
decl (%rax)
jne 0x3c446
movq %r12, %rdi
movq %r14, %rsi
callq 0xce94
xorl %edx, %edx
xorl %eax, %eax
movq -0x30(%rbp), %r15
movq %r15, (%rbx)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_token_Token_sigzeresourcezeconzy
static struct std_maybe_Maybe_1 mw_mirth_token_Token_sigzeresourcezeconzy (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Token_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v5;
	struct mirth_token_TokenValue v6 = mw_mirth_token_Token_value(in_zaMirth_1, in_Token_2, &v5);
	struct mirth_mirth_zaMirth* v7;
	struct std_maybe_Maybe_1 v8 = mw_mirth_token_TokenValue_sigzeresourcezeconzy(v5, v6, &v7);
	*out_zaMirth_3 = v7;
	return v8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
leaq -0x38(%rbp), %r14
movq %r14, %rdx
callq 0x252f3
movq (%r14), %r14
movl %eax, %edi
movq %rdx, %rsi
callq 0x25a61
cmpl $0x1, %eax
jne 0x3c4fa
movq %rdx, %rdi
callq 0xd491
movq %rax, %r12
movq %rdx, %r15
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
andq %rax, %r13
testb $0x1, %r15b
je 0x3c4c8
testq %r13, %r13
sete %al
testb $0x3, %r12b
setne %cl
orb %al, %cl
jne 0x3c4c8
incl (%r13)
movq %r12, %rdi
shrq $0x30, %rdi
movq %r13, %rsi
callq 0x2ce2b
leaq -0x30(%rbp), %rdx
movq %r14, %rdi
movq %rax, %rsi
callq 0x1e5df
testb %al, %al
je 0x3c500
movq %r12, %rdi
movq %r15, %rsi
callq 0x8d0c
pushq $0x1
popq %rax
jmp 0x3c52c
xorl %eax, %eax
xorl %edx, %edx
jmp 0x3c530
testb $0x1, %r15b
je 0x3c528
testq %r13, %r13
sete %al
testb $0x3, %r12b
setne %cl
orb %al, %cl
jne 0x3c528
decl (%r13)
jne 0x3c528
movq %r12, %rdi
movq %r15, %rsi
callq 0xce94
xorl %edx, %edx
xorl %eax, %eax
movq -0x30(%rbp), %r14
movq %r14, (%rbx)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_zaTypeElab_elabzeresourcezeconzx
static struct mirth_type_Type mw_mirth_elab_zaTypeElab_elabzeresourcezeconzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_elab_zaTypeElab* in_zaTypeElab_2, struct std_either_Either_2 in_Either_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_elab_zaTypeElab* *out_zaTypeElab_5) {
	struct mirth_mirth_zaMirth* v7;
	struct mirth_elab_zaTypeElab* v8;
	struct mirth_type_Type v9 = mw_mirth_elab_zaTypeElab_elabzetypezeconzx(in_zaMirth_1, in_zaTypeElab_2, in_Either_3, &v7, &v8);
	*out_zaTypeElab_5 = v8;
	*out_zaMirth_4 = v7;
	return v9;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %r9, %rbx
movq %r8, %r14
leaq -0x30(%rbp), %r15
leaq -0x28(%rbp), %r12
movq %r15, %r8
movq %r12, %r9
callq 0x3b673
movq (%r12), %rcx
movq %rcx, (%rbx)
movq (%r15), %rcx
movq %rcx, (%r14)
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_token_Token_patzeunderscorezy
static bool mw_mirth_token_Token_patzeunderscorezy (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Token_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v5;
	struct mirth_token_TokenValue v6 = mw_mirth_token_Token_value(in_zaMirth_1, in_Token_2, &v5);
	struct mirth_mirth_zaMirth* v7;
	bool v8 = mw_mirth_token_TokenValue_patzeunderscorezy(v5, v6, &v7);
	*out_zaMirth_3 = v7;
	return v8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
leaq -0x30(%rbp), %r14
movq %r14, %rdx
callq 0x252f3
movq (%r14), %r14
movl %eax, %edi
movq %rdx, %rsi
callq 0x2e190
cmpl $0x1, %eax
jne 0x3c623
movq %rdx, %rdi
callq 0xd491
movq %rax, %r15
leaq -0x40(%rbp), %r12
movq %r14, %rdi
movq %rax, %rsi
movq %r12, %rdx
callq 0x1c899
movl %eax, %edi
callq 0xd86d
movq %rax, %rdi
callq 0xdc43
movq %rax, %r14
movl $0xff, %r13d
andq %r13, %r14
xorq $0x5f, %r14
movq (%r12), %rdi
leaq -0x38(%rbp), %r12
movq %r15, %rsi
movq %r12, %rdx
callq 0x1c8cd
movl %eax, %edi
callq 0xd86d
movq %rax, %rdi
callq 0xdc43
andq %r13, %rax
orq %r14, %rax
sete %al
movq (%r12), %r14
jmp 0x3c625
xorl %eax, %eax
movq %r14, (%rbx)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_token_Token_lcolonzy
static struct std_maybe_Maybe_1 mw_mirth_token_Token_lcolonzy (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Token_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v5;
	struct mirth_token_TokenValue v6 = mw_mirth_token_Token_value(in_zaMirth_1, in_Token_2, &v5);
	struct std_maybe_Maybe_1 v7 = mw_mirth_token_TokenValue_lcolonzy(v6);
	*out_zaMirth_3 = v5;
	return v7;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdx, %rbx
leaq -0x10(%rbp), %rdx
callq 0x252f3
cmpl $0xc, %eax
jne 0x3c746
movq %rdx, %rdi
callq 0x257ab
leaq 0xcc67f(%rip), %rsi     # 0x108db8
movq %rax, %rdi
callq 0x8d0c
pushq $0x1
popq %rax
jmp 0x3c781
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rdx, %rcx
sete %sil
testb $0x3, %dl
setne %dil
orb %sil, %dil
jne 0x3c77d
decl (%rcx)
jne 0x3c77d
shlq $0x30, %rax
orq %rdx, %rax
leaq 0xcc764(%rip), %rsi     # 0x108ed9
movq %rax, %rdi
callq 0xce94
xorl %eax, %eax
xorl %edx, %edx
movq -0x10(%rbp), %rcx
movq %rcx, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_name_Name_label
static uint64_t mw_mirth_name_Name_label (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Name_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	void* v5 = field_mut(&mfld_mirth_name_Name_label, in_Name_2);
	bool v6 = mut_is_set(v5);
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	uint64_t branch_Label_8;
	if (v6) {
		VAL v9 = mut_get(v5);
		branch_Label_8 = V_mirth_label_Label(v9);
		branch_zaMirth_7 = in_zaMirth_1;
	} else {
		struct mirth_mirth_zaMirth* v10;
		uint64_t v11 = mw_mirth_label_Label_Makezx(in_zaMirth_1, in_Name_2, &v10);
		mut_set(MK_mirth_label_Label(v11), v5);
		branch_Label_8 = v11;
		branch_zaMirth_7 = v10;
	}
	*out_zaMirth_3 = branch_zaMirth_7;
	return branch_Label_8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r13
movq %rdi, %r14
leaq 0x10d0183(%rip), %rdi   # 0x110c930
callq 0x12f88
movq %rax, %r15
movq %rax, %rdi
callq 0x142de
testb %al, %al
je 0x3c7ce
movq %r15, %rdi
callq 0x1307d
movq %rax, %r12
jmp 0x3c812
movq 0x10d016b(%rip), %r12   # 0x110c940
incq %r12
movq %r12, 0x10d0161(%rip)   # 0x110c940
leaq 0x10d005a(%rip), %rdi   # 0x110c840
movq %r12, %rsi
callq 0x12f88
leaq 0xcbf03(%rip), %rsi     # 0x1086f8
movq %r13, %rdi
movq %rax, %rdx
callq 0x1393b
leaq 0xccac1(%rip), %rsi     # 0x1092c8
movq %r12, %rdi
movq %r15, %rdx
callq 0x1393b
movq %r14, (%rbx)
movq %r12, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_label_Label_iszeresourcezelabelzy
static bool mw_mirth_label_Label_iszeresourcezelabelzy (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Label_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v5;
	uint64_t v6 = mw_mirth_label_Label_name(in_zaMirth_1, in_Label_2, &v5);
	struct mirth_mirth_zaMirth* v7;
	enum std_byte_Byte v8 = mw_mirth_name_Name_head(v5, v6, &v7);
	enum std_byte_Byte v9 = std_byte_Byte_Bzqzazq;
	int64_t v10 = v8;
	INT v11 = i64_to_int(v10);
	uint64_t v12 = int_to_u64(v11);
	uint8_t v13 = (uint8_t)(v12);
	int64_t v14 = v9;
	INT v15 = i64_to_int(v14);
	uint64_t v16 = int_to_u64(v15);
	uint8_t v17 = (uint8_t)(v16);
	uint64_t v18 = (uint64_t)(v17);
	uint32_t v19 = (uint32_t)(v18);
	uint64_t v20 = (uint64_t)(v13);
	uint32_t v21 = (uint32_t)(v20);
	uint64_t v22 = (uint64_t)(v21);
	uint64_t v23 = (uint64_t)(v19);
	bool v24 = (v22 == v23);
	*out_zaMirth_3 = v7;
	return v24;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
leaq -0x20(%rbp), %r14
movq %r14, %rdx
callq 0x37055
movq (%r14), %rdi
leaq -0x18(%rbp), %r14
movq %rax, %rsi
movq %r14, %rdx
callq 0x1c899
movl %eax, %edi
callq 0xd86d
movq %rax, %rdi
callq 0xdc43
cmpb $0x2b, %al
sete %al
movq (%r14), %rcx
movq %rcx, (%rbx)
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_zaTypeElab_elabzetypezeargzx
static struct mirth_type_Type mw_mirth_elab_zaTypeElab_elabzetypezeargzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_elab_zaTypeElab* in_zaTypeElab_2, struct mirth_mirth_zaMirth* *out_zaMirth_3, struct mirth_elab_zaTypeElab* *out_zaTypeElab_4) {
	struct mirth_mirth_zaMirth* v6;
	struct mirth_elab_zaTypeElab* v7;
	struct mirth_type_Type v8 = mw_mirth_elab_zaTypeElab_elabzetypezeatomzx(in_zaMirth_1, in_zaTypeElab_2, &v6, &v7);
	uint64_t v9 = v7->mtoken;
	struct mirth_mirth_zaMirth* v10;
	bool v11 = mw_mirth_token_Token_argzeendzy(v6, v9, &v10);
	struct mirth_mirth_zaMirth* branch_zaMirth_12;
	struct mirth_elab_zaTypeElab* branch_zaTypeElab_13;
	if (v11) {
		branch_zaTypeElab_13 = v7;
		branch_zaMirth_12 = v10;
	} else {
		uint64_t v14 = v7->mtoken;
		STR* v15;
		STRLIT(v15, "Unexpected token after type.", 28);
		struct mirth_mirth_zaMirth* v16;
		mw_mirth_mirth_zaMirth_emitzeerrorzx(v10, v14, v15, &v16);
		branch_zaTypeElab_13 = v7;
		branch_zaMirth_12 = v16;
	}
	*out_zaTypeElab_4 = branch_zaTypeElab_13;
	*out_zaMirth_3 = branch_zaMirth_12;
	return v8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rcx, -0x38(%rbp)
movq %rdx, -0x40(%rbp)
leaq -0x58(%rbp), %r13
leaq -0x50(%rbp), %rbx
movq %r13, %rdx
movq %rbx, %rcx
callq 0x3cbaa
movl %eax, %r15d
movq %rdx, %r12
movq (%rbx), %r14
movq 0x10(%r14), %rsi
movq (%r13), %rdi
leaq -0x30(%rbp), %rdx
callq 0x258e2
testb %al, %al
je 0x3cb2a
movq -0x30(%rbp), %rax
jmp 0x3cb87
movq 0x10(%r14), %r13
movq 0x10cfe33(%rip), %rdx   # 0x110c968
testq %rdx, %rdx
jne 0x3cb53
leaq 0x9ca5c(%rip), %rdi     # 0xd959d
pushq $0x1c
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x10cfe15(%rip)   # 0x110c968
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rdx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0x3cb71
incl (%rax)
movq -0x30(%rbp), %rdi
leaq -0x48(%rbp), %rbx
movq %r13, %rsi
movq %rbx, %rcx
callq 0x2ceb4
movq (%rbx), %rax
movq -0x38(%rbp), %rcx
movq %r14, (%rcx)
movq -0x40(%rbp), %rcx
movq %rax, (%rcx)
movl %r15d, %eax
movq %r12, %rdx
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_token_TokenValue_sigzetypezevarzy
static struct std_maybe_Maybe_1 mw_mirth_token_TokenValue_sigzetypezevarzy (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_token_TokenValue in_TokenValue_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct std_maybe_Maybe_1 v5 = mw_mirth_token_TokenValue_namezy(in_TokenValue_2);
	struct mirth_mirth_zaMirth* branch_zaMirth_6;
	struct std_maybe_Maybe_1 branch_Maybe_7;
	switch ((v5).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v8 = mtp_std_maybe_Maybe_1_Some(v5);
			incref(v8);
			struct mirth_mirth_zaMirth* v9;
			bool v10 = mw_mirth_name_Name_couldzebezetypezevar(in_zaMirth_1, V_mirth_name_Name(v8), &v9);
			struct mirth_mirth_zaMirth* branch_zaMirth_11;
			struct std_maybe_Maybe_1 branch_Maybe_12;
			if (v10) {
				struct std_maybe_Maybe_1 v13 = mtw_std_maybe_Maybe_1_Some(v8);
				branch_Maybe_12 = v13;
				branch_zaMirth_11 = v9;
			} else {
				decref(v8);
				struct std_maybe_Maybe_1 v14 = { .tag=std_maybe_Maybe_1_None };
				branch_Maybe_12 = v14;
				branch_zaMirth_11 = v9;
			}
			branch_Maybe_7 = branch_Maybe_12;
			branch_zaMirth_6 = branch_zaMirth_11;
		} break;
		case std_maybe_Maybe_1_None: {
			struct std_maybe_Maybe_1 v15 = { .tag=std_maybe_Maybe_1_None };
			branch_Maybe_7 = v15;
			branch_zaMirth_6 = in_zaMirth_1;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaMirth_3 = branch_zaMirth_6;
	return branch_Maybe_7;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdi, %r14
movl %esi, %edi
movq %rdx, %rsi
callq 0x2e190
cmpl $0x1, %eax
jne 0x3ce78
movq %rdx, %rdi
callq 0xd491
movq %rax, %r12
movq %rdx, %r15
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
testb $0x1, %r15b
je 0x3cdf3
movq %r12, %rax
andq %r13, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0x3cdf3
incl (%rax)
leaq -0x30(%rbp), %rdx
movq %r14, %rdi
movq %r12, %rsi
callq 0x1c899
movl %eax, %r14d
movq %r14, %rdi
callq 0xd86d
movq %rax, %rdi
callq 0xdc43
movzbl %al, %eax
cmpl $0x60, %eax
ja 0x3ce23
movq -0x30(%rbp), %r14
jmp 0x3ce4f
movq %r14, %rdi
callq 0xd86d
movq %rax, %rdi
callq 0xdc43
movzbl %al, %eax
movq -0x30(%rbp), %r14
cmpl $0x7a, %eax
ja 0x3ce4f
movq %r12, %rdi
movq %r15, %rsi
callq 0x8d0c
pushq $0x1
popq %rax
jmp 0x3ce7c
testb $0x1, %r15b
je 0x3ce78
movq %r12, %rax
andq %r13, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0x3ce78
decl (%rax)
jne 0x3ce78
movq %r12, %rdi
movq %r15, %rsi
callq 0xce94
xorl %eax, %eax
xorl %edx, %edx
movq %r14, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_maybe_Maybe_1_ifzy_2_sp92
static struct mirth_type_Type mw_std_maybe_Maybe_1_ifzy_2_sp92 (struct std_maybe_Maybe_1 in_Maybe_1) {
	struct mirth_type_Type branch_Type_3;
	switch ((in_Maybe_1).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v4 = mtp_std_maybe_Maybe_1_Some(in_Maybe_1);
			struct mirth_type_Type v5 = mtw_mirth_type_Type_Var(V_mirth_var_Var(v4));
			branch_Type_3 = v5;
		} break;
		case std_maybe_Maybe_1_None: {
			struct mirth_type_Type v6 = { .tag=mirth_type_Type_Error };
			branch_Type_3 = v6;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	return branch_Type_3;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
testl %edi, %edi
je 0x3ceb3
cmpl $0x1, %edi
jne 0x3ceb9
movq %rsi, %rdi
callq 0xd491
movq %rax, %rdi
callq 0x1cfa9
movq %rax, %rdx
pushq $0x5
popq %rdi
jmp 0x3ceb5
xorl %edx, %edx
movl %edi, %eax
popq %rbp
retq
leaq 0x9794d(%rip), %rdi     # 0xd480d
pushq $0x20
popq %rsi
callq 0x8a21
movq %rax, %rdi
callq 0x8cc6
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_typedef_TypeDef_params
static struct std_list_List_1 mw_mirth_typedef_TypeDef_params (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_TypeDef_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	void* v5 = field_mut(&mfld_mirth_typedef_TypeDef_ztparams, in_TypeDef_2);
	struct mirth_mirth_zaMirth* v6;
	VAL v7 = mw_mirth_mirth_Prop_1_forcezx(in_zaMirth_1, v5, &v6);
	*out_zaMirth_3 = v6;
	return V_std_list_List_1(v7);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r14
leaq 0x10ce69f(%rip), %rdi   # 0x110c038
callq 0x12f88
leaq -0x20(%rbp), %r15
movq %r14, %rdi
movq %rax, %rsi
movq %r15, %rdx
callq 0x184dc
movq (%r15), %rcx
movq %rcx, (%rbx)
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rax, %rdx
shrq $0x30, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mtp_mirth_macro_MacroAction_Type
static VAL mtp_mirth_macro_MacroAction_Type (struct mirth_macro_MacroAction in_MacroAction_1) {
	struct mirth_macro_MacroAction_Type v3 = *in_MacroAction_1.ptr.Type;
	if (!--(in_MacroAction_1.ptr.Type->refs)) {
		free(in_MacroAction_1.ptr.Type);
	} else {
		incref(v3.m0);
	}
	return v3.m0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq 0x8(%rdi), %rbx
movq 0x10(%rdi), %r14
decl (%rdi)
je 0x3da09
testb $0x1, %r14b
je 0x3da0e
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rbx, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x3da0e
incl (%rax)
jmp 0x3da0e
callq 0x5030
movq %rbx, %rax
movq %r14, %rdx
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_Subst_cons
static struct std_list_List_1 mw_mirth_type_Subst_cons (struct mirth_type_Type in_Type_1, uint64_t in_Var_2, struct std_list_List_1 in_Subst_3) {
	struct std_map_KeyValuePair_2* v5 = mtw_std_map_KeyValuePair_2_KeyValuePair(MK_mirth_var_Var(in_Var_2), MK_mirth_type_Type(in_Type_1));
	incref(MK_std_list_List_1(in_Subst_3));
	struct std_list_List_1 v6 = mw_std_map_Map_2_insert(v5, in_Subst_3);
	decref(MK_std_list_List_1(in_Subst_3));
	return v6;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r14
movl %ecx, %ebx
movl %edi, %eax
shlq $0x30, %rax
orq %rsi, %rax
leaq 0xcb0ad(%rip), %rcx     # 0x108ae9
leaq 0xcb05d(%rip), %rsi     # 0x108aa0
movq %rdx, %rdi
movq %rax, %rdx
callq 0x3dceb
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
andq %r14, %r12
setne %cl
testb $0x3, %r14b
sete %r13b
andb %cl, %r13b
cmpb $0x1, %r13b
jne 0x3da73
incl (%r12)
movq %rax, %rdi
movl %ebx, %esi
movq %r14, %rdx
callq 0x3dd50
movq %rdx, %r15
testb %r13b, %r13b
je 0x3daa4
decl (%r12)
jne 0x3daa4
shlq $0x30, %rbx
orq %r14, %rbx
leaq 0xca7dd(%rip), %rsi     # 0x108279
movq %rbx, %rdi
callq 0xce94
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_Type_errorzy
static bool mw_mirth_type_Type_errorzy (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_type_Type in_Type_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v5;
	struct mirth_type_Type v6 = mw_mirth_type_Type_expand(in_zaMirth_1, in_Type_2, &v5);
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	bool branch_Bool_8;
	switch ((v6).tag) {
		case mirth_type_Type_Error: {
			bool v9 = true;
			branch_Bool_8 = v9;
			branch_zaMirth_7 = v5;
		} break;
		default: {
			decref(MK_mirth_type_Type(v6));
			bool v10 = false;
			branch_Bool_8 = v10;
			branch_zaMirth_7 = v5;
		} break;
	}
	*out_zaMirth_3 = branch_zaMirth_7;
	return branch_Bool_8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rcx, %rbx
leaq -0x18(%rbp), %rcx
callq 0x2ab4b
movl %eax, %r14d
testl %eax, %eax
je 0x3db0a
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rdx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0x3db0a
decl (%rax)
jne 0x3db0a
movq %r14, %rdi
shlq $0x30, %rdi
orq %rdx, %rdi
leaq 0xcafe4(%rip), %rsi     # 0x108ae9
callq 0xce94
testl %r14d, %r14d
sete %al
movq -0x18(%rbp), %rcx
movq %rcx, (%rbx)
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mtw_std_map_KeyValuePair_2_KeyValuePair
static struct std_map_KeyValuePair_2* mtw_std_map_KeyValuePair_2_KeyValuePair (VAL in_k_1, VAL in_v_2) {
	struct std_map_KeyValuePair_2* v4 = calloc(1, sizeof *v4);
	ASSERT(v4);
	v4->refs = 1;
	v4->mvalue = in_v_2;
	v4->mkey = in_k_1;
	return v4;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rcx, %r14
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, %r15
pushq $0x1
popq %rdi
pushq $0x28
popq %rsi
callq 0x50c0
testq %rax, %rax
je 0x3dd31
movl $0x1, (%rax)
movq %r12, 0x18(%rax)
movq %r14, 0x20(%rax)
movq %r15, 0x8(%rax)
movq %rbx, 0x10(%rax)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x9b98f(%rip), %rsi     # 0xd96c7
pushq $0x2
popq %rdi
pushq $0x31
popq %rdx
callq 0x5060
callq 0x52ae
pushq $0x1
popq %rdi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_map_Map_2_insert
static struct std_list_List_1 mw_std_map_Map_2_insert (struct std_map_KeyValuePair_2* in_KeyValuePair_1, struct std_list_List_1 in_Map_2) {
	incref(MK_std_list_List_1(in_Map_2));
	struct std_list_List_1 v4 = mw_std_list_List_1_cons(MK_std_map_KeyValuePair_2(in_KeyValuePair_1), in_Map_2);
	decref(MK_std_list_List_1(in_Map_2));
	return v4;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movl %esi, %ebx
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
andq %rdx, %r13
setne %al
testb $0x3, %r14b
sete %r15b
andb %al, %r15b
cmpb $0x1, %r15b
jne 0x3dd88
incl (%r13)
leaq 0xcb732(%rip), %rsi     # 0x1094c1
movl %ebx, %edx
movq %r14, %rcx
callq 0xcf39
movq %rdx, %r12
testb %r15b, %r15b
je 0x3ddc1
decl (%r13)
jne 0x3ddc1
shlq $0x30, %rbx
orq %r14, %rbx
leaq 0xca4c4(%rip), %rsi     # 0x108279
movq %rbx, %rdi
movl %eax, %ebx
callq 0xce94
movl %ebx, %eax
movq %r12, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: std_map_KeyValuePair_2_free
static void std_map_KeyValuePair_2_free (VAL vself) {
	ASSERT(vself.tag == TAG_std_map_KeyValuePair_2);
	struct std_map_KeyValuePair_2* self = vself.data.ptr;
	decref(self->mkey);
	decref(self->mvalue);
	free(self);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
leaq 0xcb6e0(%rip), %rax     # 0x1094c1
cmpq %rsi, %rax
jne 0x3de58
movq %rdi, %rbx
movabsq $0xfffffffffffc, %r14   # imm = 0xFFFFFFFFFFFC
testb $0x1, 0x10(%rdi)
je 0x3de21
movq 0x8(%rbx), %rcx
movq %rcx, %rax
andq %r14, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x3de21
decl (%rax)
jne 0x3de21
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
callq 0xce94
testb $0x1, 0x20(%rbx)
je 0x3de4c
movq 0x18(%rbx), %rax
andq %rax, %r14
sete %cl
testb $0x3, %al
setne %al
orb %cl, %al
jne 0x3de4c
decl (%r14)
jne 0x3de4c
movq 0x18(%rbx), %rdi
movq 0x20(%rbx), %rsi
callq 0xce94
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x5030
leaq 0x9b8a7(%rip), %rsi     # 0xd9706
pushq $0x2
popq %rdi
pushq $0x55
popq %rdx
callq 0x5060
callq 0x52ae
pushq $0x1
popq %rdi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_ArrowType_applyzesubst
static struct mirth_type_ArrowType* mw_mirth_type_ArrowType_applyzesubst (struct mirth_mirth_zaMirth* in_zaMirth_1, struct std_list_List_1 in_Subst_2, struct mirth_type_ArrowType* in_ArrowType_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct std_list_List_1 *out_Subst_5) {
	struct mirth_type_StackType v7;
	struct mirth_type_StackType v8;
	mtp_mirth_type_ArrowType_ArrowType(in_ArrowType_3, &v7, &v8);
	struct mirth_mirth_zaMirth* v9;
	struct std_list_List_1 v10;
	struct mirth_type_StackType v11 = mw_mirth_type_StackType_applyzesubst(in_zaMirth_1, in_Subst_2, v7, &v9, &v10);
	struct mirth_mirth_zaMirth* v12;
	struct std_list_List_1 v13;
	struct mirth_type_StackType v14 = mw_mirth_type_StackType_applyzesubst(v9, v10, v8, &v12, &v13);
	struct mirth_type_ArrowType* v15 = mtw_mirth_type_ArrowType_ArrowType(v11, v14);
	*out_Subst_5 = v13;
	*out_zaMirth_4 = v12;
	return v15;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %r9, -0x30(%rbp)
movq %r8, -0x38(%rbp)
movq %rdx, %r15
movl %esi, %r12d
movq %rdi, %r13
leaq -0x88(%rbp), %rbx
leaq -0x58(%rbp), %rdx
movq %rcx, %rdi
movq %rbx, %rsi
callq 0x36e55
movl (%rbx), %ecx
movq 0x8(%rbx), %r8
leaq -0x78(%rbp), %r14
movq %r14, (%rsp)
leaq -0x48(%rbp), %rbx
movq %r13, %rdi
movl %r12d, %esi
movq %r15, %rdx
movq %rbx, %r9
callq 0x3dec6
movl %eax, %r15d
movq %rdx, %r12
movq (%rbx), %rdi
movl (%r14), %esi
movq 0x8(%r14), %rdx
leaq -0x58(%rbp), %rax
movl (%rax), %ecx
movq 0x8(%rax), %r8
leaq -0x68(%rbp), %r14
movq %r14, (%rsp)
leaq -0x40(%rbp), %rbx
movq %rbx, %r9
callq 0x3dec6
movq %rdx, %rcx
movl %r15d, %edi
movq %r12, %rsi
movl %eax, %edx
callq 0x1e896
movups (%r14), %xmm0
movq -0x30(%rbp), %rcx
movups %xmm0, (%rcx)
movq (%rbx), %rcx
movq -0x38(%rbp), %rdx
movq %rcx, (%rdx)
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_maybe_Maybe_1_map_1_sp18
static struct std_maybe_Maybe_1 mw_std_maybe_Maybe_1_map_1_sp18 (struct std_maybe_Maybe_1 in_Maybe_1) {
	struct std_maybe_Maybe_1 branch_Maybe_3;
	switch ((in_Maybe_1).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v4 = mtp_std_maybe_Maybe_1_Some(in_Maybe_1);
			VAL v5 = V_std_map_KeyValuePair_2(v4)->mvalue;
			incref(v5);
			decref(MK_std_map_KeyValuePair_2(V_std_map_KeyValuePair_2(v4)));
			struct std_maybe_Maybe_1 v6 = mtw_std_maybe_Maybe_1_Some(v5);
			branch_Maybe_3 = v6;
		} break;
		case std_maybe_Maybe_1_None: {
			struct std_maybe_Maybe_1 v7 = { .tag=std_maybe_Maybe_1_None };
			branch_Maybe_3 = v7;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	return branch_Maybe_3;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edi, %ebx
testl %edi, %edi
je 0x3e64c
cmpl $0x1, %ebx
jne 0x3e659
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
movq %rsi, %rdi
callq 0xd491
movq %rax, %rdi
movq 0x18(%rax), %r14
movq 0x20(%rax), %r15
testb $0x1, %r15b
je 0x3e61e
movq %r14, %rcx
andq %r12, %rcx
sete %dl
testb $0x3, %r14b
setne %sil
orb %dl, %sil
jne 0x3e61e
incl (%rcx)
andq %r12, %rax
sete %cl
testb $0x3, %dil
setne %dl
orb %cl, %dl
jne 0x3e63f
decl (%rax)
jne 0x3e63f
leaq 0xcae87(%rip), %rsi     # 0x1094c1
callq 0xce94
movq %r14, %rdi
movq %r15, %rsi
callq 0x8d0c
jmp 0x3e64e
xorl %edx, %edx
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x961ad(%rip), %rdi     # 0xd480d
pushq $0x20
popq %rsi
callq 0x8a21
movq %rax, %rdi
callq 0x8cc6
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_Resource_applyzesubst
static struct mirth_type_Type mw_mirth_type_Resource_applyzesubst (struct mirth_mirth_zaMirth* in_zaMirth_1, struct std_list_List_1 in_Subst_2, struct mirth_type_Type in_Resource_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct std_list_List_1 *out_Subst_5) {
	struct mirth_mirth_zaMirth* v7;
	struct std_list_List_1 v8;
	struct mirth_type_Type v9 = mw_mirth_type_Type_applyzesubst(in_zaMirth_1, in_Subst_2, in_Resource_3, &v7, &v8);
	*out_Subst_5 = v8;
	*out_zaMirth_4 = v7;
	return v9;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %r9, %rbx
movq 0x10(%rbp), %r15
leaq -0x38(%rbp), %r12
movq %r12, (%rsp)
leaq -0x28(%rbp), %r14
movq %r14, %r9
callq 0x3ced0
movups (%r12), %xmm0
movups %xmm0, (%r15)
movq (%r14), %rcx
movq %rcx, (%rbx)
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_token_Token_sigzenextzestackzeend
static uint64_t mw_mirth_token_Token_sigzenextzestackzeend (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Token_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v5;
	bool v6 = mw_mirth_token_Token_sigzestackzeendzy(in_zaMirth_1, in_Token_2, &v5);
	bool v7 = !v6;
	uint64_t v8 = in_Token_2;
	struct mirth_mirth_zaMirth* r9 = v5;
	bool v10 = v7;
	while (v10) {
		uint64_t v11 = v8;
		struct mirth_mirth_zaMirth* r12 = r9;
		struct mirth_mirth_zaMirth* v13;
		uint64_t v14 = mw_mirth_token_Token_next(r12, v11, &v13);
		struct mirth_mirth_zaMirth* v15;
		bool v16 = mw_mirth_token_Token_sigzestackzeendzy(v13, v14, &v15);
		bool v17 = !v16;
		v10 = v17;
		r9 = v15;
		v8 = v14;
	}
	*out_zaMirth_3 = r9;
	return v8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdx, %rbx
movq %rsi, %r14
leaq -0x38(%rbp), %r15
movq %r15, %rdx
callq 0x3abf1
movq (%r15), %rdi
leaq -0x30(%rbp), %r15
leaq -0x28(%rbp), %r12
testb $0x1, %al
jne 0x3e709
movq %r14, %rsi
movq %r15, %rdx
callq 0x2598b
movq %rax, %r14
movq -0x30(%rbp), %rdi
movq %rax, %rsi
movq %r12, %rdx
callq 0x3abf1
movq -0x28(%rbp), %rdi
jmp 0x3e6e2
movq %rdi, (%rbx)
movq %r14, %rax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_word_Word_type
static struct mirth_type_ArrowType* mw_mirth_word_Word_type (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_type_ArrowType* v6;
	struct std_list_List_1 v7 = mw_mirth_word_Word_ctxzetype(in_zaMirth_1, in_Word_2, &v5, &v6);
	decref(MK_std_list_List_1(v7));
	*out_zaMirth_3 = v5;
	return v6;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, -0x30(%rbp)
movq %rdi, %r15
leaq 0x10cdf75(%rip), %rdi   # 0x110c6b0
callq 0x12f88
leaq -0x38(%rbp), %rdx
movq %r15, %rdi
movq %rax, %rsi
callq 0x184dc
movq %rax, %r13
movq %rdx, %rbx
movq %rax, %rdi
movq %rdx, %rsi
callq 0x8a95
movabsq $0xfffffffffffc, %r14   # imm = 0xFFFFFFFFFFFC
movq %r13, %r15
andq %r14, %r15
movq 0x8(%r15), %r12
movq %r13, %rdi
movq %rbx, %rsi
callq 0x8a95
movq 0x18(%r15), %r15
movq %r13, %rdi
movq %rbx, %rsi
callq 0x8a95
movq %r13, %rdi
callq 0x8ae0
leaq -0x38(%rbp), %rax
movq (%rax), %rbx
andq %r12, %r14
je 0x3e7ba
decl (%r14)
jne 0x3e7ba
andq $-0x4, %r12
leaq 0xc9ac7(%rip), %rsi     # 0x108279
movq %r12, %rdi
callq 0xce94
movq -0x30(%rbp), %rax
movq %rbx, (%rax)
movq %r15, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_Type_arrowzy
static struct std_maybe_Maybe_1 mw_mirth_type_Type_arrowzy (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_type_Type in_Type_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v5;
	struct mirth_type_Type v6 = mw_mirth_type_Type_expand(in_zaMirth_1, in_Type_2, &v5);
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	struct std_maybe_Maybe_1 branch_Maybe_8;
	switch ((v6).tag) {
		case mirth_type_Type_Arrow: {
			struct mirth_type_ArrowType* v9 = mtp_mirth_type_Type_Arrow(v6);
			struct std_maybe_Maybe_1 v10 = mtw_std_maybe_Maybe_1_Some(MK_mirth_type_ArrowType(v9));
			branch_Maybe_8 = v10;
			branch_zaMirth_7 = v5;
		} break;
		default: {
			decref(MK_mirth_type_Type(v6));
			struct std_maybe_Maybe_1 v11 = { .tag=std_maybe_Maybe_1_None };
			branch_Maybe_8 = v11;
			branch_zaMirth_7 = v5;
		} break;
	}
	*out_zaMirth_3 = branch_zaMirth_7;
	return branch_Maybe_8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rcx, %rbx
leaq -0x10(%rbp), %rcx
callq 0x2ab4b
cmpl $0xa, %eax
jne 0x3e963
movq %rdx, %rdi
callq 0x2ac85
leaq 0xca223(%rip), %rsi     # 0x108b79
movq %rax, %rdi
callq 0x8d0c
pushq $0x1
popq %rax
jmp 0x3e99e
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rdx, %rcx
sete %sil
testb $0x3, %dl
setne %dil
orb %sil, %dil
jne 0x3e99a
decl (%rcx)
jne 0x3e99a
shlq $0x30, %rax
orq %rdx, %rax
leaq 0xca157(%rip), %rsi     # 0x108ae9
movq %rax, %rdi
callq 0xce94
xorl %eax, %eax
xorl %edx, %edx
movq -0x10(%rbp), %rcx
movq %rcx, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_var_Var_NewAutoRunzx
static uint64_t mw_mirth_var_Var_NewAutoRunzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_type_ArrowType* in_ArrowType_2, uint64_t in_Name_3, struct mirth_mirth_zaMirth* *out_zaMirth_4) {
	incref(MK_mirth_type_ArrowType(in_ArrowType_2));
	struct mirth_type_Type v6 = mtw_mirth_type_Type_Arrow(in_ArrowType_2);
	struct std_maybe_Maybe_1 v7 = mtw_std_maybe_Maybe_1_Some(MK_mirth_type_ArrowType(in_ArrowType_2));
	struct mirth_mirth_zaMirth* v8;
	uint64_t v9 = mw_mirth_var_Var_Makezx(in_zaMirth_1, in_Name_3, v6, v7, &v8);
	*out_zaMirth_4 = v8;
	return 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, %r14
movq %rsi, %r12
movq %rdi, %r15
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rsi, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0x3e9e7
incl (%rax)
leaq 0xca18b(%rip), %r13     # 0x108b79
movq %r12, %rdi
callq 0x3233d
movq %rdx, %rbx
movq %r12, %rdi
movq %r13, %rsi
callq 0x8d0c
movq %rdx, %r9
leaq -0x38(%rbp), %r12
movq %r12, (%rsp)
pushq $0xa
popq %rdx
pushq $0x1
popq %r8
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rcx
callq 0x1c92a
movq (%r12), %rcx
movq -0x30(%rbp), %rdx
movq %rcx, (%rdx)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mtw_mirth_word_Param_Param
static struct mirth_word_Param* mtw_mirth_word_Param_Param (uint64_t in_Var_1, struct std_maybe_Maybe_1 in_Maybe_2) {
	struct mirth_word_Param* v4 = calloc(1, sizeof *v4);
	ASSERT(v4);
	v4->refs = 1;
	v4->mdefault = in_Maybe_2;
	v4->mvar = in_Var_1;
	return v4;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movl %esi, %r15d
movq %rdi, %r14
pushq $0x1
popq %rdi
pushq $0x20
popq %rsi
callq 0x50c0
testq %rax, %rax
je 0x3ea7e
movl $0x1, (%rax)
movl %r15d, 0x10(%rax)
movq %rbx, 0x18(%rax)
movq %r14, 0x8(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x9adce(%rip), %rsi     # 0xd9853
pushq $0x2
popq %rdi
pushq $0x31
popq %rdx
callq 0x5060
callq 0x52ae
pushq $0x1
popq %rdi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mirth_word_Param_free
static void mirth_word_Param_free (VAL vself) {
	ASSERT(vself.tag == TAG_mirth_word_Param);
	struct mirth_word_Param* self = vself.data.ptr;
	decref(MK_std_maybe_Maybe_1(self->mdefault));
	free(self);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
leaq 0xcaa5f(%rip), %rax     # 0x109509
cmpq %rsi, %rax
jne 0x3eaf9
movq %rdi, %rbx
movq 0x18(%rdi), %rcx
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x3eaeb
decl (%rax)
jne 0x3eaeb
leaq 0xc97e6(%rip), %rsi     # 0x1082c1
movl 0x10(%rbx), %edi
shlq $0x30, %rdi
orq 0x18(%rbx), %rdi
callq 0xce94
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x5030
leaq 0x9ad8b(%rip), %rsi     # 0xd988b
pushq $0x2
popq %rdi
pushq $0x4f
popq %rdx
callq 0x5060
callq 0x52ae
pushq $0x1
popq %rdi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mtw_mirth_arrow_Arrow_Arrow
static struct mirth_arrow_Arrow* mtw_mirth_arrow_Arrow_Arrow (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_arrow_Arrow* v9 = calloc(1, sizeof *v9);
	ASSERT(v9);
	v9->refs = 1;
	v9->matoms = in_List_7;
	v9->mcod = in_StackType_6;
	v9->mdom = in_StackType_5;
	v9->mctx = in_Ctx_4;
	v9->mtokenzeend = in_Token_3;
	v9->mtokenzestart = in_Token_2;
	v9->mhome = in_Home_1;
	return 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
pushq $0x1
popq %rdi
pushq $0x68
popq %rsi
callq 0x50c0
testq %rax, %rax
je 0x3f28b
leaq 0x30(%rbp), %rcx
leaq 0x20(%rbp), %rdx
leaq 0x10(%rbp), %rsi
movl $0x1, (%rax)
movups (%rcx), %xmm0
movups %xmm0, 0x58(%rax)
movups (%rdx), %xmm0
movups %xmm0, 0x48(%rax)
movups (%rsi), %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 0x9a6b5(%rip), %rsi     # 0xd9947
pushq $0x2
popq %rdi
pushq $0x31
popq %rdx
callq 0x5060
callq 0x52ae
pushq $0x1
popq %rdi
callq 0x5130
// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_word_Word_params
static struct std_list_List_1 mw_mirth_word_Word_params (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Word_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	void* v5 = field_mut(&mfld_mirth_word_Word_ztparams, in_Word_2);
	bool v6 = mut_is_set(v5);
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	struct std_list_List_1 branch_List_8;
	if (v6) {
		struct mirth_mirth_zaMirth* v9;
		VAL v10 = mw_mirth_mirth_Prop_1_forcezx(in_zaMirth_1, v5, &v9);
		branch_List_8 = V_std_list_List_1(v10);
		branch_zaMirth_7 = v9;
	} else {
		struct std_list_List_1 v11 = { .tag=std_list_List_1_Nil };
		branch_List_8 = v11;
		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
subq $0x10, %rsp
movq %rdx, %rbx
movq %rdi, %r14
leaq 0x10cd3fa(%rip), %rdi   # 0x110c6c0
callq 0x12f88
movq %rax, %r15
movq %rax, %rdi
callq 0x142de
testb %al, %al
je 0x3f303
leaq -0x28(%rbp), %r12
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x184dc
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rax, %rdx
shrq $0x30, %rax
movq (%r12), %r14
jmp 0x3f307
xorl %eax, %eax
xorl %edx, %edx
movq %r14, (%rbx)
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq