// File: /workspace/github_c_makefile_star2_O3/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 $0x68, %rsp
movq %rdx, -0x70(%rbp)
movq %rdi, %rbx
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
movl 0x58(%rsi), %r15d
movq 0x60(%rsi), %r14
movq %r14, %rax
andq %r13, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0x8b713
incl (%rax)
movq %rsi, %rax
andq %r13, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x8b73d
decl (%rax)
jne 0x8b73d
leaq 0x86c6f(%rip), %rax     # 0x1123a1
movq %rsi, %rdi
movq %rax, %rsi
callq 0xd13d
xorl %edi, %edi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xd01b
movq %rdx, %rcx
cmpl $0x1, %r15d
jne 0x8bc69
movl %eax, -0x64(%rbp)
movq %rcx, -0x78(%rbp)
movq %r14, %rdi
leaq -0x88(%rbp), %rsi
callq 0xd0aa
movq %rax, %r15
andq %r13, %r15
setne %cl
testb $0x3, %al
sete %dil
andb %cl, %dil
cmpb $0x1, %dil
jne 0x8b788
incl (%r15)
movl 0x40(%rax), %r12d
movq 0x48(%rax), %r14
movq %r14, %rsi
andq %r13, %rsi
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0x8b7a6
incl (%rsi)
movq %rax, -0x30(%rbp)
movb %dil, -0x34(%rbp)
testb %dil, %dil
je 0x8b7c8
decl (%r15)
jne 0x8b7c8
movq -0x30(%rbp), %rdi
leaq 0x870a6(%rip), %rsi     # 0x112869
callq 0xd13d
movq %r15, -0x50(%rbp)
xorl %edi, %edi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xd01b
movl %eax, %r15d
movq %rdx, %r13
cmpl $0x1, %r12d
jne 0x8b838
movq %r14, %rdi
leaq -0x48(%rbp), %rsi
callq 0xd0aa
movq %rbx, %rdi
movq %rax, %rsi
leaq -0x60(%rbp), %r14
movq %r14, %rdx
callq 0x8b5fe
movq -0x60(%rbp), %rbx
shlq $0x30, %rax
orq %rdx, %rax
movq %rax, %rdi
leaq 0x85a61(%rip), %rsi     # 0x111279
movl %r15d, %edx
movq %r13, %rcx
movq %r14, %r8
callq 0x949e
movl -0x48(%rbp), %r12d
movq -0x40(%rbp), %r14
movl -0x60(%rbp), %r15d
movq -0x58(%rbp), %r13
jmp 0x8b7df
testl %r12d, %r12d
jne 0x8bc99
xorl %edi, %edi
xorl %esi, %esi
movl %r15d, %edx
movq %r13, %rcx
callq 0xd01b
movl %eax, %edi
movq %rdx, %rsi
callq 0x8bcc9
movl %eax, %r12d
movq %rdx, %rsi
movq -0x30(%rbp), %rdi
movl 0x30(%rdi), %r15d
movq 0x38(%rdi), %r14
movq %r14, %rax
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
andq %r13, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0x8b88c
incl (%rax)
cmpb $0x0, -0x34(%rbp)
je 0x8b8bc
movq -0x50(%rbp), %rax
decl (%rax)
jne 0x8b8bc
movl %r12d, %r13d
movq %rsi, %r12
leaq 0x86fc2(%rip), %rsi     # 0x112869
callq 0xd13d
movq %r12, %rsi
movl %r13d, %r12d
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
cmpl $0x15, %r15d
ja 0x8bc99
movl %r15d, %eax
leaq 0x53d90(%rip), %rcx     # 0xdf660
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
decl (%r14)
jne 0x8bbe4
movq %r14, %rdi
movq %rsi, %r14
callq 0x5030
movq %r14, %rsi
jmp 0x8bbe4
movq %rsi, -0x30(%rbp)
movq 0x8(%r14), %r15
decl (%r14)
jne 0x8b90a
movq %r14, %rdi
callq 0x5030
movq %rbx, %rdi
movq %r15, %rsi
leaq -0x48(%rbp), %rdx
callq 0x8b5fe
movq %rdx, %rcx
movq -0x48(%rbp), %rbx
jmp 0x8bc23
movq %rsi, -0x30(%rbp)
movl %r12d, -0x34(%rbp)
movq %r14, %rdi
callq 0x57cf3
movq %rax, %r14
movq %rax, %rsi
andq %r13, %rsi
setne %al
testb $0x3, %r14b
sete %r12b
andb %al, %r12b
cmpb $0x1, %r12b
jne 0x8b954
incl (%rsi)
movq 0x40(%r14), %r15
movq %r15, %rax
andq %r13, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0x8b96e
incl (%rax)
testb %r12b, %r12b
movq %rsi, -0x50(%rbp)
je 0x8b98a
decl (%rsi)
jne 0x8b98a
movq %r14, %rdi
leaq 0x86e0c(%rip), %rsi     # 0x112791
callq 0xd13d
movq %rbx, %rdi
movq %r15, %rsi
leaq -0x48(%rbp), %rdx
callq 0x8b6d3
movl %eax, %ebx
movq %rdx, %r15
movl 0x30(%r14), %edx
movq 0x38(%r14), %r13
movq %r13, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r13b
setne %sil
orb %cl, %sil
jne 0x8b9c8
incl (%rax)
testb %r12b, %r12b
movq -0x50(%rbp), %rax
je 0x8b9ea
decl (%rax)
jne 0x8b9ea
movq %r14, %rdi
leaq 0x86db2(%rip), %rsi     # 0x112791
movl %edx, %r14d
callq 0xd13d
movl %r14d, %edx
movl %ebx, %edi
movq %r15, %rsi
movq %r13, %rcx
callq 0x8be11
movq %rdx, %rcx
movq -0x48(%rbp), %rbx
jmp 0x8bb8f
movq %rsi, %r15
movq %r14, %rdi
callq 0x5773d
movq %rdx, %rcx
andq %r13, %rcx
sete %sil
testb $0x3, %dl
setne %dil
orb %sil, %dil
jne 0x8bbea
decl (%rcx)
jne 0x8bbe1
shlq $0x30, %rax
orq %rdx, %rax
movq %rax, %rdi
leaq 0x86de0(%rip), %rsi     # 0x112821
jmp 0x8bbdc
movq %rsi, -0x30(%rbp)
movq %r14, %rdi
callq 0x57cb8
movl 0x58(%rax), %r15d
movq %r13, %rdx
movq 0x60(%rax), %r13
movq %r13, %rcx
andq %rdx, %rcx
sete %dl
testb $0x3, %r13b
setne %sil
orb %dl, %sil
jne 0x8ba75
incl (%rcx)
movl %r12d, -0x34(%rbp)
movq %rax, %rcx
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rdx, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0x8baaa
decl (%rcx)
jne 0x8baaa
movq %rax, %rdi
leaq 0x86bcc(%rip), %rsi     # 0x112671
callq 0xd13d
xorl %edi, %edi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xd01b
movl %eax, %r12d
movq %rdx, %r14
cmpl $0x1, %r15d
jne 0x8bb6a
movq %r13, %rdi
leaq -0x48(%rbp), %rsi
callq 0xd0aa
movq 0x10(%rax), %r15
movq %r15, %rcx
movabsq $0xfffffffffffc, %rdi   # imm = 0xFFFFFFFFFFFC
andq %rdi, %rcx
sete %dl
testb $0x3, %r15b
setne %sil
orb %dl, %sil
jne 0x8baf9
incl (%rcx)
movq %rax, %rcx
andq %rdi, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0x8bb20
decl (%rcx)
jne 0x8bb20
movq %rax, %rdi
leaq 0x86b0e(%rip), %rsi     # 0x112629
callq 0xd13d
movq %rbx, %rdi
movq %r15, %rsi
leaq -0x60(%rbp), %r15
movq %r15, %rdx
callq 0x8b6d3
movq -0x60(%rbp), %rbx
shlq $0x30, %rax
orq %rdx, %rax
movq %rax, %rdi
leaq 0x85732(%rip), %rsi     # 0x111279
movl %r12d, %edx
movq %r14, %rcx
movq %r15, %r8
callq 0x949e
movl -0x48(%rbp), %r15d
movq -0x40(%rbp), %r13
movl -0x60(%rbp), %r12d
movq -0x58(%rbp), %r14
jmp 0x8babd
testl %r15d, %r15d
jne 0x8bc99
xorl %edi, %edi
xorl %esi, %esi
movl %r12d, %edx
movq %r14, %rcx
callq 0xd01b
movl %eax, %edi
movq %rdx, %rsi
callq 0x8bcc9
movq %rdx, %rcx
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
movl -0x34(%rbp), %r12d
jmp 0x8bc23
movq %rsi, %r15
movq %r14, %rdi
callq 0x57ec9
jmp 0x8bbba
movq %rsi, %r15
movq %r14, %rdi
callq 0x580fe
movq %rax, %rcx
andq %r13, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0x8bbea
decl (%rcx)
jne 0x8bbe1
movq %rax, %rdi
leaq 0x86bfd(%rip), %rsi     # 0x1127d9
callq 0xd13d
movq %r15, %rsi
xorl %eax, %eax
xorl %ecx, %ecx
jmp 0x8bc27
xorl %eax, %eax
xorl %ecx, %ecx
movq %r15, %rsi
jmp 0x8bc27
movq %rsi, -0x30(%rbp)
movq 0x8(%r14), %r15
decl (%r14)
jne 0x8bc08
movq %r14, %rdi
callq 0x5030
movq %r15, %rdi
leaq 0x85e8e(%rip), %rsi     # 0x111aa0
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xd1ec
movq %rdx, %rcx
movl $0x1, %eax
movq -0x30(%rbp), %rsi
movl %r12d, %edi
movl %eax, %edx
callq 0x8bdc1
shlq $0x30, %rax
orq %rdx, %rax
movq %rax, %rdi
leaq 0x85637(%rip), %rsi     # 0x111279
movl -0x64(%rbp), %edx
movq -0x78(%rbp), %rcx
leaq -0x48(%rbp), %r8
callq 0x949e
movl -0x88(%rbp), %r15d
movq -0x80(%rbp), %r14
movl -0x48(%rbp), %eax
movq -0x40(%rbp), %rcx
jmp 0x8b74d
testl %r15d, %r15d
jne 0x8bc99
xorl %edi, %edi
xorl %esi, %esi
movl %eax, %edx
callq 0xd01b
movl %eax, %edi
movq %rdx, %rsi
callq 0x8bcc9
movq -0x70(%rbp), %rcx
movq %rbx, (%rcx)
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0x54a1b(%rip), %xmm0    # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0x54a20(%rip), %xmm0    # 0xe06dd
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x9302