// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_need_zaNeeds_runzematchzx
static void mw_mirth_need_zaNeeds_runzematchzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_need_zaNeeds* in_zaNeeds_2, struct mirth_match_Match* in_Match_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_need_zaNeeds* *out_zaNeeds_5) {
	struct std_list_List_1 v6 = in_Match_3->mcases;
	incref(MK_std_list_List_1(v6));
	decref(MK_mirth_match_Match(in_Match_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_runzecasezx(r13, r14, V_mirth_match_Case(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
subq $0x200, %rsp            # imm = 0x200
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq -0x18(%rbp), %rax
movq 0x58(%rax), %rcx
movq %rcx, -0x38(%rbp)
movq 0x60(%rax), %rax
movq %rax, -0x30(%rbp)
movl -0x38(%rbp), %edi
movq -0x30(%rbp), %rsi
callq 0x12780
movq %rax, -0x48(%rbp)
movq %rdx, -0x40(%rbp)
movq -0x40(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x21bc68
movl -0x38(%rbp), %edi
movq -0x30(%rbp), %rsi
callq 0x12780
movq %rax, -0x58(%rbp)
movq %rdx, -0x50(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x58(%rbp), %rax
cmpq $0x0, %rax
je 0x21bc68
movl -0x38(%rbp), %edi
movq -0x30(%rbp), %rsi
callq 0x12780
movq %rax, -0x68(%rbp)
movq %rdx, -0x60(%rbp)
movq -0x68(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x21bc68
movl -0x38(%rbp), %edi
movq -0x30(%rbp), %rsi
callq 0x12780
movq %rax, -0x78(%rbp)
movq %rdx, -0x70(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x78(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x21bc6a
jmp 0x21bc6c
movq -0x18(%rbp), %rax
movq %rax, -0x88(%rbp)
leaq 0x176aca(%rip), %rax    # 0x392748
orq $0x1, %rax
movq %rax, -0x80(%rbp)
movq -0x80(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x21bd6a
movq -0x18(%rbp), %rax
movq %rax, -0x98(%rbp)
leaq 0x176a9e(%rip), %rax    # 0x392748
orq $0x1, %rax
movq %rax, -0x90(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x98(%rbp), %rax
cmpq $0x0, %rax
je 0x21bd6a
movq -0x18(%rbp), %rax
movq %rax, -0xa8(%rbp)
leaq 0x176a66(%rip), %rax    # 0x392748
orq $0x1, %rax
movq %rax, -0xa0(%rbp)
movq -0xa8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x21bd6a
movq -0x18(%rbp), %rax
movq %rax, -0xb8(%rbp)
leaq 0x176a38(%rip), %rax    # 0x392748
orq $0x1, %rax
movq %rax, -0xb0(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0xb8(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x21bd68
movq -0x18(%rbp), %rax
movq %rax, -0xc8(%rbp)
leaq 0x1769fe(%rip), %rax    # 0x392748
orq $0x1, %rax
movq %rax, -0xc0(%rbp)
movq -0xc8(%rbp), %rdi
movq -0xc0(%rbp), %rsi
callq 0x127c0
jmp 0x21bd6a
jmp 0x21bd6c
movb $0x1, -0xc9(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xd8(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0xe8(%rbp)
movb -0xc9(%rbp), %al
andb $0x1, %al
movb %al, -0xf1(%rbp)
movb -0xc9(%rbp), %al
andb $0x1, %al
movb %al, -0xf2(%rbp)
testb $0x1, -0xf2(%rbp)
je 0x21bf99
movq -0xd8(%rbp), %rax
movq %rax, -0x100(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0x108(%rbp)
movups -0xf0(%rbp), %xmm0
movaps %xmm0, -0x120(%rbp)
movb -0xf1(%rbp), %al
andb $0x1, %al
movb %al, -0x121(%rbp)
movl -0x120(%rbp), %eax
movl %eax, -0x1f4(%rbp)
testl %eax, %eax
je 0x21bec5
jmp 0x21be16
movl -0x1f4(%rbp), %eax
subl $0x1, %eax
jne 0x21bf27
jmp 0x21be27
movl -0x120(%rbp), %edi
movq -0x118(%rbp), %rsi
leaq -0x160(%rbp), %rdx
callq 0x125e0
movq %rax, -0x170(%rbp)
movq %rdx, -0x168(%rbp)
movq -0x100(%rbp), %rdi
movq -0x108(%rbp), %rsi
movq -0x170(%rbp), %rdx
leaq -0x178(%rbp), %rcx
leaq -0x180(%rbp), %r8
callq 0x21e2e0
movb $0x1, -0x181(%rbp)
movb -0x181(%rbp), %al
andb $0x1, %al
movb %al, -0x149(%rbp)
movq -0x160(%rbp), %rax
movq %rax, -0x148(%rbp)
movq -0x158(%rbp), %rax
movq %rax, -0x140(%rbp)
movq -0x180(%rbp), %rax
movq %rax, -0x138(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0x130(%rbp)
jmp 0x21bf40
leaq -0x198(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movb $0x0, -0x199(%rbp)
movb -0x199(%rbp), %al
andb $0x1, %al
movb %al, -0x149(%rbp)
movq -0x198(%rbp), %rax
movq %rax, -0x148(%rbp)
movq -0x190(%rbp), %rax
movq %rax, -0x140(%rbp)
movq -0x108(%rbp), %rax
movq %rax, -0x138(%rbp)
movq -0x100(%rbp), %rax
movq %rax, -0x130(%rbp)
jmp 0x21bf40
leaq 0x137f53(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movb -0x149(%rbp), %al
andb $0x1, %al
movb %al, -0xf2(%rbp)
movb -0x149(%rbp), %al
andb $0x1, %al
movb %al, -0xf1(%rbp)
movq -0x148(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq -0x140(%rbp), %rax
movq %rax, -0xe8(%rbp)
movq -0x138(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0x130(%rbp), %rax
movq %rax, -0xd8(%rbp)
jmp 0x21bdbb
jmp 0x21bf9b
movl -0xf0(%rbp), %edi
movq -0xe8(%rbp), %rsi
callq 0x12780
movq %rax, -0x1b0(%rbp)
movq %rdx, -0x1a8(%rbp)
movq -0x1a8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x21c0ae
movl -0xf0(%rbp), %edi
movq -0xe8(%rbp), %rsi
callq 0x12780
movq %rax, -0x1c0(%rbp)
movq %rdx, -0x1b8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1c0(%rbp), %rax
cmpq $0x0, %rax
je 0x21c0ae
movl -0xf0(%rbp), %edi
movq -0xe8(%rbp), %rsi
callq 0x12780
movq %rax, -0x1d0(%rbp)
movq %rdx, -0x1c8(%rbp)
movq -0x1d0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x21c0ae
movl -0xf0(%rbp), %edi
movq -0xe8(%rbp), %rsi
callq 0x12780
movq %rax, -0x1e0(%rbp)
movq %rdx, -0x1d8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x1e0(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x21c0ac
movl -0xf0(%rbp), %edi
movq -0xe8(%rbp), %rsi
callq 0x12780
movq %rax, -0x1f0(%rbp)
movq %rdx, -0x1e8(%rbp)
movq -0x1f0(%rbp), %rdi
movq -0x1e8(%rbp), %rsi
callq 0x127c0
jmp 0x21c0ae
jmp 0x21c0b0
movq -0xe0(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movq -0xd8(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
addq $0x200, %rsp            # imm = 0x200
popq %rbp
retq
nopw %cs:(%rax,%rax)