// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_arrow_Arrow_freezevars
static struct std_list_List_1 mw_mirth_arrow_Arrow_freezevars (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_arrow_Arrow* in_Arrow_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct std_list_List_1 v5 = in_Arrow_2->matoms;
	incref(MK_std_list_List_1(v5));
	decref(MK_mirth_arrow_Arrow(in_Arrow_2));
	struct std_list_List_1 v6 = { .tag=std_list_List_1_Nil };
	struct std_list_List_1 v7;
	mw_std_list_List_1_buildzx(v6, &v7);
	bool v8 = true;
	struct mirth_mirth_zaMirth* r9 = in_zaMirth_1;
	struct std_list_List_1 r10 = v7;
	struct std_list_List_1 v11 = v5;
	bool v12 = v8;
	bool v13 = v8;
	while (v13) {
		struct mirth_mirth_zaMirth* r14 = r9;
		struct std_list_List_1 r15 = r10;
		struct std_list_List_1 v16 = v11;
		bool v17 = v12;
		struct mirth_mirth_zaMirth* branch_zaMirth_18;
		struct std_list_List_1 branch_zaLister_19;
		struct std_list_List_1 branch_List_20;
		bool branch_Bool_21;
		switch ((v16).tag) {
			case std_list_List_1_Cons: {
				struct std_list_List_1 v22;
				VAL v23 = mtp_std_list_List_1_Cons(v16, &v22);
				struct mirth_mirth_zaMirth* v24;
				struct std_list_List_1 v25 = mw_mirth_arrow_Atom_freezevars(r14, V_mirth_arrow_Atom(v23), &v24);
				struct std_list_List_1 v26;
				mw_std_list_zaLister_1_pushzx(MK_std_list_List_1(v25), r15, &v26);
				bool v27 = true;
				branch_Bool_21 = v27;
				branch_List_20 = v22;
				branch_zaLister_19 = v26;
				branch_zaMirth_18 = v24;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v28 = { .tag=std_list_List_1_Nil };
				bool v29 = false;
				branch_Bool_21 = v29;
				branch_List_20 = v28;
				branch_zaLister_19 = r15;
				branch_zaMirth_18 = r14;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v13 = branch_Bool_21;
		v12 = branch_Bool_21;
		v11 = branch_List_20;
		r10 = branch_zaLister_19;
		r9 = branch_zaMirth_18;
	}
	decref(MK_std_list_List_1(v11));
	struct std_list_List_1 v30 = mw_std_list_zaLister_1_donezx(r10);
	struct std_list_List_1 v31 = mw_std_list_List_1_unions_sp1(v30);
	*out_zaMirth_3 = r9;
	return v31;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdx, %r15
movq %rdi, -0x48(%rbp)
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
movl 0x58(%rsi), %ebx
movq 0x60(%rsi), %r14
movq %r14, %rax
andq %r13, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0x84041
incl (%rax)
movq %rsi, %rax
andq %r13, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x8406b
decl (%rax)
jne 0x8406b
leaq 0x85341(%rip), %rax     # 0x1093a1
movq %rsi, %rdi
movq %rax, %rsi
callq 0xce94
xorl %edi, %edi
xorl %esi, %esi
callq 0xcd32
movl %eax, %r12d
leaq -0x90(%rbp), %rsi
movb $0x1, %al
movq %r14, %rdi
testb $0x1, %al
je 0x846b1
xorl %eax, %eax
movl $0x0, %r14d
testl %ebx, %ebx
je 0x84080
movq %rdx, -0x80(%rbp)
cmpl $0x1, %ebx
jne 0x8470f
callq 0xce01
movq %rax, %rbx
movq %rax, %rsi
andq %r13, %rsi
setne %al
testb $0x3, %bl
sete %dil
andb %al, %dil
cmpb $0x1, %dil
jne 0x840c7
incl (%rsi)
movl 0x40(%rbx), %r14d
movq 0x48(%rbx), %r13
movq %r13, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r13b
setne %dl
orb %cl, %dl
jne 0x840ef
incl (%rax)
movl %r12d, -0x2c(%rbp)
movq %r15, -0x38(%rbp)
movb %dil, -0x39(%rbp)
testb %dil, %dil
movq %rsi, -0x60(%rbp)
je 0x84117
decl (%rsi)
jne 0x84117
movq %rbx, %rdi
leaq 0x85757(%rip), %rsi     # 0x109869
callq 0xce94
xorl %edi, %edi
xorl %esi, %esi
callq 0xcd32
movl %eax, %r15d
movq %rdx, %r12
movb $0x1, %al
movq %r13, %rdi
testb $0x1, %al
je 0x8419f
xorl %eax, %eax
movl $0x0, %r13d
testl %r14d, %r14d
je 0x84128
cmpl $0x1, %r14d
jne 0x8470f
leaq -0x58(%rbp), %rsi
callq 0xce01
movq -0x48(%rbp), %rdi
movq %rax, %rsi
leaq -0x98(%rbp), %rdx
callq 0x83cb0
shlq $0x30, %rax
orq %rdx, %rax
movq %rax, %rdi
leaq 0x84106(%rip), %rsi     # 0x108279
movl %r15d, %edx
movq %r12, %rcx
leaq -0x70(%rbp), %r8
callq 0x8e35
movl -0x58(%rbp), %r14d
movq -0x50(%rbp), %r13
movl -0x70(%rbp), %r15d
movq -0x68(%rbp), %r12
movq -0x98(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x84126
movq %rdi, %rax
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
andq %r13, %rax
sete %cl
testb $0x3, %dil
setne %dl
orb %cl, %dl
jne 0x841d7
decl (%rax)
jne 0x841d7
shlq $0x30, %r14
orq %rdi, %r14
movq %r14, %rdi
leaq 0x840a7(%rip), %rsi     # 0x108279
callq 0xce94
movl %r15d, %edi
movq %r12, %rsi
callq 0xcd32
movl %eax, %edi
movq %rdx, %rsi
callq 0x84726
movl %eax, %r14d
movq %rdx, -0x78(%rbp)
movl 0x30(%rbx), %r12d
movq 0x38(%rbx), %r15
movq %r15, %rax
andq %r13, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0x84211
incl (%rax)
cmpb $0x0, -0x39(%rbp)
movq -0x60(%rbp), %rax
je 0x8422e
decl (%rax)
jne 0x8422e
movq %rbx, %rdi
leaq 0x85640(%rip), %rsi     # 0x109869
callq 0xce94
cmpl $0x15, %r12d
ja 0x8470f
movl %r12d, %eax
leaq 0x4f43e(%rip), %rcx     # 0xd3680
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %r15, %rdi
callq 0x530c0
jmp 0x84602
movq %r15, %rdi
callq 0x53621
jmp 0x84602
movq %r15, %rdi
callq 0x535e7
jmp 0x84602
movq %r15, %rdi
callq 0x533e0
jmp 0x844af
movq %r15, %rdi
callq 0x532e9
jmp 0x84602
movq %r15, %rdi
callq 0x535ad
jmp 0x84602
movq %r15, %rdi
callq 0x5351a
movq %rax, %rdi
leaq 0x847f5(%rip), %rsi     # 0x108aa0
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xcf39
movq %rdx, %rcx
pushq $0x1
popq %rax
jmp 0x84606
movq %r15, %rdi
callq 0x53215
jmp 0x84602
movq %r15, %rdi
callq 0x53604
jmp 0x84602
movq %r15, %rdi
callq 0x52fb3
jmp 0x84602
movq %r15, %rdi
callq 0x53537
movl 0x58(%rax), %ebx
movq 0x60(%rax), %r15
movq %r15, %rcx
andq %r13, %rcx
sete %dl
testb $0x3, %r15b
setne %sil
orb %dl, %sil
jne 0x8430d
incl (%rcx)
movq %rax, %rcx
andq %r13, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0x84334
decl (%rcx)
jne 0x84334
movq %rax, %rdi
leaq 0x85342(%rip), %rsi     # 0x109671
callq 0xce94
xorl %edi, %edi
xorl %esi, %esi
callq 0xcd32
movl -0x2c(%rbp), %r12d
movb $0x1, %cl
movq %r15, %rdi
testb $0x1, %cl
je 0x84657
xorl %ecx, %ecx
movl $0x0, %r15d
testl %ebx, %ebx
je 0x84343
movq %rdx, -0x60(%rbp)
cmpl $0x1, %ebx
jne 0x8470f
movl %eax, %r15d
leaq -0x58(%rbp), %rsi
callq 0xce01
movq 0x10(%rax), %rbx
movq %rbx, %rcx
andq %r13, %rcx
sete %dl
testb $0x3, %bl
setne %sil
orb %dl, %sil
jne 0x8438f
incl (%rcx)
movq %rax, %rcx
andq %r13, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0x843b6
decl (%rcx)
jne 0x843b6
movq %rax, %rdi
leaq 0x85278(%rip), %rsi     # 0x109629
callq 0xce94
movq -0x48(%rbp), %rdi
movq %rbx, %rsi
leaq -0x70(%rbp), %rbx
movq %rbx, %rdx
callq 0x84002
movq -0x70(%rbp), %rcx
movq %rcx, -0x48(%rbp)
shlq $0x30, %rax
orq %rdx, %rax
movq %rax, %rdi
leaq 0x83e97(%rip), %rsi     # 0x108279
movl %r15d, %edx
movq -0x60(%rbp), %rcx
movq %rbx, %r8
callq 0x8e35
movl -0x58(%rbp), %ebx
movq -0x50(%rbp), %r15
movl -0x70(%rbp), %eax
movq -0x68(%rbp), %rdx
jmp 0x84341
movq %r15, %rdi
callq 0x5303c
jmp 0x84602
movq %r15, %rdi
callq 0x53726
jmp 0x84602
movq %r15, %rdi
callq 0x53b86
jmp 0x84602
movq %r15, %rdi
callq 0x52f1e
movq %rdx, %rcx
andq %r13, %rcx
sete %sil
testb $0x3, %dl
setne %dil
orb %sil, %dil
jne 0x84602
decl (%rcx)
movq -0x38(%rbp), %r15
movl -0x2c(%rbp), %r12d
jne 0x845fc
shlq $0x30, %rax
orq %rdx, %rax
movq %rax, %rdi
leaq 0x853b3(%rip), %rsi     # 0x109821
jmp 0x845f7
movq %r15, %rdi
callq 0x53ba3
jmp 0x84602
movq %r15, %rdi
callq 0x535ca
jmp 0x84602
movq %r15, %rdi
callq 0x52fd0
jmp 0x84602
movq %r15, %rdi
callq 0x537b7
jmp 0x845cd
movq %r15, %rdi
callq 0x533c3
movq -0x48(%rbp), %rdi
movq %rax, %rsi
leaq -0x58(%rbp), %rdx
callq 0x83f3c
movq %rdx, %rcx
movq -0x58(%rbp), %rdx
movq %rdx, -0x48(%rbp)
jmp 0x84606
movq %r15, %rdi
callq 0x53572
movq %rax, %rbx
movq %r13, %rax
movq %rbx, %r13
andq %rax, %r13
setne %al
testb $0x3, %bl
sete %r12b
andb %al, %r12b
cmpb $0x1, %r12b
jne 0x844fa
incl (%r13)
movq 0x40(%rbx), %r15
movq %r15, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0x8451e
incl (%rax)
testb %r12b, %r12b
je 0x84538
decl (%r13)
jne 0x84538
movq %rbx, %rdi
leaq 0x8525e(%rip), %rsi     # 0x109791
callq 0xce94
movq -0x48(%rbp), %rdi
movq %r15, %rsi
leaq -0x58(%rbp), %rdx
callq 0x84002
movl %eax, %edi
movq %rdx, %rsi
movl 0x30(%rbx), %edx
movq 0x38(%rbx), %r15
movq %r15, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r15b
setne %r8b
orb %cl, %r8b
jne 0x84576
incl (%rax)
testb %r12b, %r12b
je 0x845a2
decl (%r13)
jne 0x845a2
movl %edi, %r12d
movq %rbx, %rdi
movq %rsi, %rbx
leaq 0x85200(%rip), %rsi     # 0x109791
movl %edx, %r13d
callq 0xce94
movl %r13d, %edx
movq %rbx, %rsi
movl %r12d, %edi
movq %r15, %rcx
callq 0x848ac
movq %rdx, %rcx
movq -0x58(%rbp), %rdx
movq %rdx, -0x48(%rbp)
movq -0x38(%rbp), %r15
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
jmp 0x8460a
movq %r15, %rdi
callq 0x539bb
movq %rax, %rcx
andq %r13, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0x84602
decl (%rcx)
movq -0x38(%rbp), %r15
movl -0x2c(%rbp), %r12d
jne 0x845fc
movq %rax, %rdi
leaq 0x851e2(%rip), %rsi     # 0x1097d9
callq 0xce94
xorl %eax, %eax
xorl %ecx, %ecx
jmp 0x8460e
xorl %eax, %eax
xorl %ecx, %ecx
movq -0x38(%rbp), %r15
movl -0x2c(%rbp), %r12d
movl %r14d, %edi
movq -0x78(%rbp), %rsi
movl %eax, %edx
callq 0x8485c
shlq $0x30, %rax
orq %rdx, %rax
movq %rax, %rdi
leaq 0x83c4c(%rip), %rsi     # 0x108279
movl %r12d, %edx
movq -0x80(%rbp), %rcx
leaq -0x58(%rbp), %r8
callq 0x8e35
movl -0x90(%rbp), %ebx
movq -0x88(%rbp), %r14
movl -0x58(%rbp), %r12d
movq -0x50(%rbp), %rdx
jmp 0x84077
movq %rdi, %rsi
andq %r13, %rsi
sete %cl
testb $0x3, %dil
setne %r8b
orb %cl, %r8b
jne 0x84691
decl (%rsi)
jne 0x84691
shlq $0x30, %rbx
orq %rdi, %rbx
movq %rbx, %rdi
movl %eax, %ebx
leaq 0x83bf5(%rip), %rsi     # 0x108279
movq %rdx, %r15
callq 0xce94
movq %r15, %rdx
movl %ebx, %eax
movl %eax, %edi
movq %rdx, %rsi
callq 0xcd32
movl %eax, %edi
movq %rdx, %rsi
callq 0x84726
movq %rdx, %rcx
movq -0x38(%rbp), %r15
jmp 0x8460e
andq %rdi, %r13
sete %al
testb $0x3, %dil
setne %cl
orb %al, %cl
jne 0x846e4
decl (%r13)
jne 0x846e4
shlq $0x30, %rbx
orq %rdi, %rbx
movq %rbx, %rdi
leaq 0x83ba0(%rip), %rsi     # 0x108279
movq %rdx, %rbx
callq 0xce94
movq %rbx, %rdx
movl %r12d, %edi
movq %rdx, %rsi
callq 0xcd32
movl %eax, %edi
movq %rdx, %rsi
callq 0x84726
movq -0x48(%rbp), %rcx
movq %rcx, (%r15)
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x500f7(%rip), %rdi     # 0xd480d
pushq $0x20
popq %rsi
callq 0x8a21
movq %rax, %rdi
callq 0x8cc6