// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_need_zaNeeds_needzx
static void mw_mirth_need_zaNeeds_needzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_need_zaNeeds* in_zaNeeds_2, struct mirth_need_Need in_Need_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_need_zaNeeds* *out_zaNeeds_5) {
	incref(MK_mirth_need_Need(in_Need_3));
	struct mirth_mirth_zaMirth* v6;
	struct mirth_need_zaNeeds* v7;
	bool v8 = mw_mirth_need_Need_neededzy(in_zaMirth_1, in_zaNeeds_2, in_Need_3, &v6, &v7);
	struct mirth_mirth_zaMirth* branch_zaMirth_9;
	struct mirth_need_zaNeeds* branch_zaNeeds_10;
	if (v8) {
		decref(MK_mirth_need_Need(in_Need_3));
		branch_zaNeeds_10 = v7;
		branch_zaMirth_9 = v6;
	} else {
		incref(MK_mirth_need_Need(in_Need_3));
		struct mirth_mirth_zaMirth* v11;
		INT v12 = mw_mirth_need_Need_zgNat(v6, in_Need_3, &v11);
		ARR* r13 = v7->mzaset;
		ARR* v14;
		mw_std_set_zaSet_insertzx(v12, r13, &v14);
		v7->mzaset = v14;
		struct std_list_List_1 v15 = v7->mstack;
		incref(MK_std_list_List_1(v15));
		struct std_list_List_1 v16 = mtw_std_list_List_1_Cons(MK_mirth_need_Need(in_Need_3), v15);
		struct std_list_List_1 v17 = v7->mstack;
		decref(MK_std_list_List_1(v17));
		v7->mstack = v16;
		branch_zaNeeds_10 = v7;
		branch_zaMirth_9 = v11;
	}
	*out_zaNeeds_5 = branch_zaNeeds_10;
	*out_zaMirth_4 = branch_zaMirth_9;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x220, %rsp            # imm = 0x220
movl %edx, -0x10(%rbp)
movq %rcx, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x21cb90
movq %rax, -0x40(%rbp)
movq %rdx, -0x38(%rbp)
movq -0x38(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x21c667
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x21cb90
movq %rax, -0x50(%rbp)
movq %rdx, -0x48(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x50(%rbp), %rax
cmpq $0x0, %rax
je 0x21c667
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x21cb90
movq %rax, -0x60(%rbp)
movq %rdx, -0x58(%rbp)
movq -0x60(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x21c667
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x21cb90
movq %rax, -0x70(%rbp)
movq %rdx, -0x68(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x70(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x21c669
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
movl -0x10(%rbp), %edx
movq -0x8(%rbp), %rcx
leaq -0x78(%rbp), %r8
leaq -0x80(%rbp), %r9
callq 0x21cbd0
andb $0x1, %al
movb %al, -0x81(%rbp)
testb $0x1, -0x81(%rbp)
je 0x21c7ae
jmp 0x21c69c
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x21cb90
movq %rax, -0xa8(%rbp)
movq %rdx, -0xa0(%rbp)
movq -0xa0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x21c791
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x21cb90
movq %rax, -0xb8(%rbp)
movq %rdx, -0xb0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xb8(%rbp), %rax
cmpq $0x0, %rax
je 0x21c791
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x21cb90
movq %rax, -0xc8(%rbp)
movq %rdx, -0xc0(%rbp)
movq -0xc8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x21c791
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x21cb90
movq %rax, -0xd8(%rbp)
movq %rdx, -0xd0(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0xd8(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x21c78f
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x21cb90
movq %rax, -0xe8(%rbp)
movq %rdx, -0xe0(%rbp)
movq -0xe8(%rbp), %rdi
movq -0xe0(%rbp), %rsi
callq 0x127c0
jmp 0x21c791
jmp 0x21c793
movq -0x80(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x90(%rbp)
jmp 0x21cb5c
jmp 0x21c7b0
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x21cb90
movq %rax, -0xf8(%rbp)
movq %rdx, -0xf0(%rbp)
movq -0xf0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x21c86d
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x21cb90
movq %rax, -0x108(%rbp)
movq %rdx, -0x100(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x108(%rbp), %rax
cmpq $0x0, %rax
je 0x21c86d
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x21cb90
movq %rax, -0x118(%rbp)
movq %rdx, -0x110(%rbp)
movq -0x118(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x21c86d
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x21cb90
movq %rax, -0x128(%rbp)
movq %rdx, -0x120(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x128(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x21c86f
movq -0x78(%rbp), %rdi
movl -0x10(%rbp), %esi
movq -0x8(%rbp), %rdx
leaq -0x130(%rbp), %rcx
callq 0x21cc60
movq %rax, -0x138(%rbp)
movq -0x80(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x140(%rbp)
movq -0x140(%rbp), %rsi
movq -0x138(%rbp), %rdi
leaq -0x148(%rbp), %rdx
callq 0x21d140
movq -0x148(%rbp), %rcx
movq -0x80(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x80(%rbp), %rax
movq (%rax), %rcx
movq %rcx, -0x158(%rbp)
movq 0x8(%rax), %rax
movq %rax, -0x150(%rbp)
movl -0x158(%rbp), %edi
movq -0x150(%rbp), %rsi
callq 0x12780
movq %rax, -0x168(%rbp)
movq %rdx, -0x160(%rbp)
movq -0x160(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x21c9b3
movl -0x158(%rbp), %edi
movq -0x150(%rbp), %rsi
callq 0x12780
movq %rax, -0x178(%rbp)
movq %rdx, -0x170(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x178(%rbp), %rax
cmpq $0x0, %rax
je 0x21c9b3
movl -0x158(%rbp), %edi
movq -0x150(%rbp), %rsi
callq 0x12780
movq %rax, -0x188(%rbp)
movq %rdx, -0x180(%rbp)
movq -0x188(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x21c9b3
movl -0x158(%rbp), %edi
movq -0x150(%rbp), %rsi
callq 0x12780
movq %rax, -0x198(%rbp)
movq %rdx, -0x190(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x198(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x21c9b5
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x21cb90
movq %rax, -0x1b8(%rbp)
movq %rdx, -0x1b0(%rbp)
movq -0x1b8(%rbp), %rdi
movq -0x1b0(%rbp), %rsi
movl -0x158(%rbp), %edx
movq -0x150(%rbp), %rcx
callq 0x12940
movl %eax, -0x1a8(%rbp)
movq %rdx, -0x1a0(%rbp)
movq -0x80(%rbp), %rax
movq (%rax), %rcx
movq %rcx, -0x1c8(%rbp)
movq 0x8(%rax), %rax
movq %rax, -0x1c0(%rbp)
movl -0x1c8(%rbp), %edi
movq -0x1c0(%rbp), %rsi
callq 0x12780
movq %rax, -0x1d8(%rbp)
movq %rdx, -0x1d0(%rbp)
movq -0x1d0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x21cb28
movl -0x1c8(%rbp), %edi
movq -0x1c0(%rbp), %rsi
callq 0x12780
movq %rax, -0x1e8(%rbp)
movq %rdx, -0x1e0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1e8(%rbp), %rax
cmpq $0x0, %rax
je 0x21cb28
movl -0x1c8(%rbp), %edi
movq -0x1c0(%rbp), %rsi
callq 0x12780
movq %rax, -0x1f8(%rbp)
movq %rdx, -0x1f0(%rbp)
movq -0x1f8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x21cb28
movl -0x1c8(%rbp), %edi
movq -0x1c0(%rbp), %rsi
callq 0x12780
movq %rax, -0x208(%rbp)
movq %rdx, -0x200(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x208(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x21cb26
movl -0x1c8(%rbp), %edi
movq -0x1c0(%rbp), %rsi
callq 0x12780
movq %rax, -0x218(%rbp)
movq %rdx, -0x210(%rbp)
movq -0x218(%rbp), %rdi
movq -0x210(%rbp), %rsi
callq 0x127c0
jmp 0x21cb28
jmp 0x21cb2a
movq -0x80(%rbp), %rax
movq -0x1a8(%rbp), %rcx
movq %rcx, (%rax)
movq -0x1a0(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x80(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x130(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x98(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movq -0x90(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
addq $0x220, %rsp            # imm = 0x220
popq %rbp
retq
nopw %cs:(%rax,%rax)