// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_need_zaNeeds_runzearrowzx
static void mw_mirth_need_zaNeeds_runzearrowzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_need_zaNeeds* in_zaNeeds_2, struct mirth_arrow_Arrow* in_Arrow_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_need_zaNeeds* *out_zaNeeds_5) {
	struct std_list_List_1 v6 = in_Arrow_3->matoms;
	incref(MK_std_list_List_1(v6));
	decref(MK_mirth_arrow_Arrow(in_Arrow_3));
	bool v7 = true;
	struct mirth_mirth_zaMirth* r8 = in_zaMirth_1;
	struct mirth_need_zaNeeds* r9 = in_zaNeeds_2;
	struct std_list_List_1 v10 = v6;
	bool v11 = v7;
	bool v12 = v7;
	while (v12) {
		struct mirth_mirth_zaMirth* r13 = r8;
		struct mirth_need_zaNeeds* r14 = r9;
		struct std_list_List_1 v15 = v10;
		bool v16 = v11;
		struct mirth_mirth_zaMirth* branch_zaMirth_17;
		struct mirth_need_zaNeeds* branch_zaNeeds_18;
		struct std_list_List_1 branch_List_19;
		bool branch_Bool_20;
		switch ((v15).tag) {
			case std_list_List_1_Cons: {
				struct std_list_List_1 v21;
				VAL v22 = mtp_std_list_List_1_Cons(v15, &v21);
				struct mirth_mirth_zaMirth* v23;
				struct mirth_need_zaNeeds* v24;
				mw_mirth_need_zaNeeds_runzeatomzx(r13, r14, V_mirth_arrow_Atom(v22), &v23, &v24);
				bool v25 = true;
				branch_Bool_20 = v25;
				branch_List_19 = v21;
				branch_zaNeeds_18 = v24;
				branch_zaMirth_17 = v23;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v26 = { .tag=std_list_List_1_Nil };
				bool v27 = false;
				branch_Bool_20 = v27;
				branch_List_19 = v26;
				branch_zaNeeds_18 = r14;
				branch_zaMirth_17 = r13;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v12 = branch_Bool_20;
		v11 = branch_Bool_20;
		v10 = branch_List_19;
		r9 = branch_zaNeeds_18;
		r8 = branch_zaMirth_17;
	}
	decref(MK_std_list_List_1(v10));
	*out_zaNeeds_5 = r9;
	*out_zaMirth_4 = r8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %r8, -0x88(%rbp)
movq %rcx, %r15
movq %rsi, %r13
movq %rdi, %r8
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
movl 0x58(%rdx), %ebx
movq 0x60(%rdx), %r14
movq %r14, %rax
andq %r12, %rax
sete %cl
testb $0x3, %r14b
setne %sil
orb %cl, %sil
jne 0x8913c
incl (%rax)
movq %rdx, %rax
andq %r12, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0x89180
decl (%rax)
jne 0x89180
leaq 0x80245(%rip), %rsi     # 0x1093a1
movq %rdx, %rdi
movq %r13, %r12
movq %r15, %r13
movq %r8, %r15
callq 0xce94
movq %r15, %r8
movq %r13, %r15
movq %r12, %r13
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
movb $0x1, %al
movq %r14, %rdi
testb $0x1, %al
je 0x89abe
xorl %eax, %eax
movl $0x0, %r14d
testl %ebx, %ebx
je 0x89182
movq %r8, -0x30(%rbp)
movq %r13, -0x38(%rbp)
cmpl $0x1, %ebx
jne 0x89b0d
leaq -0xa0(%rbp), %rsi
callq 0xce01
movq %rax, %rbx
movq %rax, %r14
andq %r12, %r14
setne %al
testb $0x3, %bl
sete %r13b
andb %al, %r13b
cmpb $0x1, %r13b
jne 0x891d5
incl (%r14)
movl 0x40(%rbx), %edi
movq 0x48(%rbx), %rsi
movq %rsi, %rcx
andq %r12, %rcx
setne %al
testb $0x3, %sil
sete %dl
andb %al, %dl
movb %dl, -0x48(%rbp)
cmpb $0x1, %dl
jne 0x891f8
incl (%rcx)
movq %rcx, -0x50(%rbp)
movq %r15, -0x40(%rbp)
testb %r13b, %r13b
je 0x89225
decl (%r14)
jne 0x89225
movq %rsi, %r15
movq %rdi, %r12
movq %rbx, %rdi
leaq 0x8064f(%rip), %rsi     # 0x109869
callq 0xce94
movq %r12, %rdi
movq %r15, %rsi
movl 0x30(%rbx), %r15d
movq 0x38(%rbx), %r12
movq %r12, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0x8924d
incl (%rax)
testb %r13b, %r13b
je 0x89272
decl (%r14)
jne 0x89272
movq %rsi, %r14
movq %rdi, %r13
movq %rbx, %rdi
leaq 0x80602(%rip), %rsi     # 0x109869
callq 0xce94
movq %r13, %rdi
movq %r14, %rsi
cmpl $0x15, %r15d
leaq -0x78(%rbp), %r13
ja 0x89b0d
movq %rdi, %rbx
shlq $0x30, %rbx
orq %rsi, %rbx
movl %r15d, %eax
leaq 0x4a598(%rip), %rcx     # 0xd382c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %rdi, %r14
movq %rsi, %rbx
movq %r12, %rdi
callq 0x530c0
addl $-0x5, %eax
cmpl $0x3, %eax
ja 0x893a4
leaq 0x4a5c6(%rip), %rcx     # 0xd3884
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
movq -0x40(%rbp), %r15
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
jmpq *%rax
cmpb $0x0, -0x48(%rbp)
movq -0x50(%rbp), %rax
je 0x892e1
incl (%rax)
movl %r14d, %edi
movq %rbx, %rsi
callq 0xea6b
jmp 0x89a82
movq %r12, %rdi
callq 0x53621
jmp 0x8976a
movq %r12, %rdi
callq 0x535e7
jmp 0x897c6
movq %r12, %rdi
callq 0x533e0
movq %rax, %r14
cmpb $0x0, -0x48(%rbp)
je 0x89333
movq -0x50(%rbp), %rax
decl (%rax)
jne 0x89333
movq %rbx, %rdi
leaq 0x7ef4b(%rip), %rsi     # 0x108279
callq 0xce94
movq -0x30(%rbp), %rdi
movq -0x38(%rbp), %rsi
movq %r14, %rdx
movq %r13, %rcx
leaq -0x60(%rbp), %r8
callq 0x89d26
jmp 0x8984b
movq %rsi, %rbx
movq %rdi, %r14
movq %r12, %rdi
callq 0x532e9
jmp 0x893a4
movq %r12, %rdi
callq 0x535ad
jmp 0x897c6
movq %r12, %rdi
callq 0x5351a
jmp 0x8976a
movq %rsi, %rbx
movq %rdi, %r14
movq %r12, %rdi
callq 0x53215
jmp 0x893a4
movq %r12, %rdi
callq 0x53604
jmp 0x897c6
movq %rsi, %rbx
movq %rdi, %r14
movq %r12, %rdi
callq 0x52fb3
movq -0x30(%rbp), %rdi
movq -0x38(%rbp), %rsi
movl %r14d, %edx
movq %rbx, %rcx
movq %r13, %r8
leaq -0x60(%rbp), %r9
jmp 0x89846
movq %r12, %rdi
callq 0x53537
movq %rax, %r14
cmpb $0x0, -0x48(%rbp)
je 0x893e6
movq -0x50(%rbp), %rax
decl (%rax)
jne 0x893e6
movq %rbx, %rdi
leaq 0x7ee98(%rip), %rsi     # 0x108279
callq 0xce94
movl 0x58(%r14), %ebx
movq 0x60(%r14), %r15
movq %r15, %rax
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
andq %r12, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
leaq -0x60(%rbp), %r13
jne 0x89412
incl (%rax)
movq %r14, %rax
andq %r12, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
movq -0x30(%rbp), %r8
jne 0x89441
decl (%rax)
jne 0x89441
movq %r14, %rdi
leaq 0x80239(%rip), %rsi     # 0x109671
callq 0xce94
movq -0x30(%rbp), %r8
movb $0x1, %al
movq %r15, %rdi
testb $0x1, %al
je 0x899c7
xorl %eax, %eax
movl $0x0, %r15d
testl %ebx, %ebx
je 0x89443
movq %r8, -0x30(%rbp)
cmpl $0x1, %ebx
jne 0x89b0d
movq %r13, %rsi
callq 0xce01
movq %rax, %r14
movq %rax, %r15
andq %r12, %r15
setne %al
testb $0x3, %r14b
sete %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x8948c
incl (%r15)
movq 0x8(%r14), %r12
movq %r12, %rbx
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rax, %rbx
setne %al
testb $0x3, %r12b
sete %r13b
andb %al, %r13b
cmpb $0x1, %r13b
jne 0x894b6
incl (%rbx)
movb %cl, -0x61(%rbp)
testb %cl, %cl
movq -0x30(%rbp), %r8
je 0x894d9
decl (%r15)
jne 0x894d9
movq %r14, %rdi
leaq 0x80159(%rip), %rsi     # 0x109629
callq 0xce94
movq -0x30(%rbp), %r8
movq %r15, -0x50(%rbp)
movq %r14, -0x48(%rbp)
movl 0x78(%r12), %r14d
movq 0x80(%r12), %r15
movq %r15, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0x8950e
incl (%rax)
testb %r13b, %r13b
je 0x8952a
decl (%rbx)
jne 0x8952a
movq %r12, %rdi
leaq 0x80030(%rip), %rsi     # 0x109551
callq 0xce94
movq -0x30(%rbp), %r8
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
leaq -0x78(%rbp), %r13
movb $0x1, %al
movq %r15, %rdi
testb $0x1, %al
je 0x89609
xorl %eax, %eax
movl $0x0, %r15d
testl %r14d, %r14d
je 0x8953a
cmpl $0x1, %r14d
jne 0x89b0d
movq %r8, %r15
movq %r13, %rsi
callq 0xce01
movl 0x60(%rax), %ebx
movq 0x68(%rax), %r14
movq %r14, %rcx
andq %r12, %rcx
sete %dl
testb $0x3, %r14b
setne %sil
orb %dl, %sil
jne 0x89586
incl (%rcx)
movq %rax, %rcx
andq %r12, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
movq %r15, %r8
jne 0x895b3
decl (%rcx)
jne 0x895b3
movq %rax, %rdi
leaq 0x7ffee(%rip), %rsi     # 0x109599
callq 0xce94
movq %r15, %r8
testl %ebx, %ebx
je 0x895fc
cmpl $0x1, %ebx
jne 0x89b0d
movq %r14, %rdi
callq 0x4bf7f
movq %rax, %rdi
callq 0x8a607
movq %r15, %rdi
movq -0x38(%rbp), %rsi
pushq $0x3
popq %rdx
movq %rax, %rcx
leaq -0x80(%rbp), %r8
leaq -0x90(%rbp), %r9
callq 0x89e32
movq -0x90(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x80(%rbp), %r8
movl -0x78(%rbp), %r14d
movq -0x70(%rbp), %r15
jmp 0x89538
movq %rdi, %rax
andq %r12, %rax
sete %cl
testb $0x3, %dil
setne %dl
orb %cl, %dl
jne 0x8963d
decl (%rax)
jne 0x8963d
shlq $0x30, %r14
orq %rdi, %r14
movq %r14, %rdi
leaq 0x7ec47(%rip), %rsi     # 0x108279
movq %r8, %rbx
callq 0xce94
movq %rbx, %r8
movq -0x48(%rbp), %rdi
movq 0x10(%rdi), %r14
movq %r14, %rax
andq %r12, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
movq -0x50(%rbp), %rcx
jne 0x8965f
incl (%rax)
cmpb $0x0, -0x61(%rbp)
je 0x8967b
decl (%rcx)
jne 0x8967b
leaq 0x7ffb9(%rip), %rsi     # 0x109629
movq %r8, %rbx
callq 0xce94
movq %rbx, %r8
movq %r8, %rdi
movq -0x38(%rbp), %rsi
movq %r14, %rdx
movq %r13, %rcx
leaq -0x80(%rbp), %r8
callq 0x890f2
movq -0x80(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x78(%rbp), %r8
movl -0x60(%rbp), %ebx
movq -0x58(%rbp), %r15
leaq -0x60(%rbp), %r13
jmp 0x89441
movq %rdi, %r14
movq %rsi, -0x48(%rbp)
movq %r12, %rdi
callq 0x5303c
movq %rax, %rbx
movq -0x30(%rbp), %rdi
movq %rax, %rsi
leaq -0x80(%rbp), %rdx
callq 0x5b0de
testb %al, %al
je 0x89a10
movq -0x80(%rbp), %rdi
movq -0x38(%rbp), %rsi
movq %rbx, %rdx
movq %r13, %rcx
leaq -0x60(%rbp), %rbx
movq %rbx, %r8
callq 0x89b24
jmp 0x89a37
movq %r12, %rdi
callq 0x53726
jmp 0x8976a
movq %r12, %rdi
callq 0x53b86
jmp 0x8976a
movq %r12, %rdi
callq 0x52f1e
movq %rdx, %rcx
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
andq %r12, %rcx
sete %sil
testb $0x3, %dl
setne %dil
orb %sil, %dil
jne 0x8974c
decl (%rcx)
jne 0x8974c
shlq $0x30, %rax
orq %rdx, %rax
movq %rax, %rdi
leaq 0x800da(%rip), %rsi     # 0x109821
callq 0xce94
cmpb $0x0, -0x48(%rbp)
movq -0x40(%rbp), %r15
movq -0x38(%rbp), %r13
je 0x897b5
movq -0x50(%rbp), %rax
decl (%rax)
jmp 0x89788
movq %r12, %rdi
callq 0x53ba3
cmpb $0x0, -0x48(%rbp)
je 0x897a3
movq -0x50(%rbp), %rax
decl (%rax)
movq -0x40(%rbp), %r15
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
movq -0x38(%rbp), %r13
movq -0x30(%rbp), %r8
jne 0x89aac
movq %rbx, %rdi
leaq 0x7eadd(%rip), %rsi     # 0x108279
callq 0xce94
jmp 0x897b5
movq -0x40(%rbp), %r15
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
movq -0x38(%rbp), %r13
movq -0x30(%rbp), %r8
jmp 0x89aac
movq %r12, %rdi
callq 0x535ca
movq %rax, %r14
cmpb $0x0, -0x48(%rbp)
je 0x897e6
movq -0x50(%rbp), %rax
decl (%rax)
jne 0x897e6
movq %rbx, %rdi
leaq 0x7ea98(%rip), %rsi     # 0x108279
callq 0xce94
movq -0x30(%rbp), %rdi
movq -0x38(%rbp), %rsi
movq %r14, %rdx
movq %r13, %rcx
leaq -0x60(%rbp), %r8
callq 0x89d89
jmp 0x8984b
movq %rsi, %r14
movq %rdi, %r15
movq %r12, %rdi
callq 0x52fd0
movq %rax, %rdi
callq 0x8a2e1
movq -0x30(%rbp), %rdi
movq -0x38(%rbp), %rsi
pushq $0x2
popq %rdx
movq %rax, %rcx
movq %r13, %r8
leaq -0x60(%rbp), %rbx
movq %rbx, %r9
callq 0x89e32
movq -0x60(%rbp), %rsi
movq -0x78(%rbp), %rdi
movl %r15d, %edx
movq %r14, %rcx
movq %r13, %r8
movq %rbx, %r9
callq 0x89b87
movq -0x60(%rbp), %r13
movq -0x78(%rbp), %r8
movq -0x40(%rbp), %r15
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
jmp 0x89aac
movq %r12, %rdi
callq 0x537b7
jmp 0x89952
movq %r12, %rdi
callq 0x533c3
movq %rax, %r14
cmpb $0x0, -0x48(%rbp)
je 0x8989b
movq -0x50(%rbp), %rax
decl (%rax)
jne 0x8989b
movq %rbx, %rdi
leaq 0x7e9e3(%rip), %rsi     # 0x108279
callq 0xce94
movq -0x30(%rbp), %rdi
movq -0x38(%rbp), %rsi
movq %r14, %rdx
movq %r13, %rcx
leaq -0x60(%rbp), %r8
callq 0x89c53
jmp 0x8984b
movq %r12, %rdi
callq 0x53572
movq %rax, %r14
cmpb $0x0, -0x48(%rbp)
je 0x898dc
movq -0x50(%rbp), %rax
decl (%rax)
jne 0x898dc
movq %rbx, %rdi
leaq 0x7e9a2(%rip), %rsi     # 0x108279
callq 0xce94
movq 0x40(%r14), %rbx
movq %rbx, %rax
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
andq %r12, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x898ff
incl (%rax)
movq %r14, %rax
andq %r12, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
movq -0x40(%rbp), %r15
movq -0x30(%rbp), %rdi
jne 0x89932
decl (%rax)
jne 0x89932
movq %r14, %rdi
leaq 0x7fe68(%rip), %rsi     # 0x109791
callq 0xce94
movq -0x30(%rbp), %rdi
movq -0x38(%rbp), %rsi
movq %rbx, %rdx
movq %r13, %rcx
leaq -0x60(%rbp), %r8
callq 0x890f2
jmp 0x89aa4
movq %r12, %rdi
callq 0x539bb
movq %rax, %r14
cmpb $0x0, -0x48(%rbp)
je 0x89972
movq -0x50(%rbp), %rax
decl (%rax)
jne 0x89972
movq %rbx, %rdi
leaq 0x7e90c(%rip), %rsi     # 0x108279
callq 0xce94
movq 0x10(%r14), %rbx
movq %r14, %rax
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
andq %r12, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
movq -0x40(%rbp), %r15
jne 0x899ab
decl (%rax)
jne 0x899ab
movq %r14, %rdi
leaq 0x7fe33(%rip), %rsi     # 0x1097d9
callq 0xce94
movq -0x30(%rbp), %rdi
movq -0x38(%rbp), %rsi
movq %rbx, %rdx
movq %r13, %rcx
leaq -0x60(%rbp), %r8
callq 0x89d89
jmp 0x89aa4
movq %rdi, %rax
andq %r12, %rax
sete %cl
testb $0x3, %dil
setne %dl
orb %cl, %dl
jne 0x89a61
decl (%rax)
movq -0x40(%rbp), %r15
movq -0x38(%rbp), %r13
jne 0x89aac
shlq $0x30, %rbx
orq %rdi, %rbx
movq %rbx, %rdi
leaq 0x7e879(%rip), %rsi     # 0x108279
movq %r8, %rbx
callq 0xce94
movq %rbx, %r8
jmp 0x89aac
movq -0x80(%rbp), %r12
movq %rbx, %rdi
callq 0x89de9
movq %r12, %rdi
movq -0x38(%rbp), %rsi
xorl %edx, %edx
movq %rax, %rcx
movq %r13, %r8
leaq -0x60(%rbp), %rbx
movq %rbx, %r9
callq 0x89e32
movq -0x60(%rbp), %rsi
movq -0x78(%rbp), %rdi
movq -0x40(%rbp), %r15
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
movl %r14d, %edx
movq -0x48(%rbp), %rcx
movq %r13, %r8
movq %rbx, %r9
callq 0x89b87
jmp 0x89aa4
movq -0x40(%rbp), %r15
movq -0x38(%rbp), %r13
jmp 0x89aac
cmpb $0x0, -0x48(%rbp)
movq -0x50(%rbp), %rax
je 0x89a77
incl (%rax)
movl %r14d, %edi
movq %rbx, %rsi
callq 0x8a48b
movq %rdx, %r9
movq -0x30(%rbp), %rdi
movq -0x38(%rbp), %rsi
movl %r14d, %edx
movq %rbx, %rcx
movl %eax, %r8d
leaq -0x60(%rbp), %rax
pushq %rax
pushq %r13
callq 0x8a32a
popq %rax
popq %rcx
movq -0x60(%rbp), %r13
movq -0x78(%rbp), %r8
movl -0xa0(%rbp), %ebx
movq -0x98(%rbp), %r14
jmp 0x89180
andq %rdi, %r12
sete %al
testb $0x3, %dil
setne %cl
orb %al, %cl
jne 0x89af1
decl (%r12)
jne 0x89af1
shlq $0x30, %rbx
orq %rdi, %rbx
movq %rbx, %rdi
leaq 0x7e793(%rip), %rsi     # 0x108279
movq %r8, %rbx
callq 0xce94
movq %rbx, %r8
movq -0x88(%rbp), %rax
movq %r13, (%rax)
movq %r8, (%r15)
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4acf9(%rip), %rdi     # 0xd480d
pushq $0x20
popq %rsi
callq 0x8a21
movq %rax, %rdi
callq 0x8cc6