// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_need_zaNeeds_runzepatatomzx
static void mw_mirth_need_zaNeeds_runzepatatomzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_need_zaNeeds* in_zaNeeds_2, struct mirth_match_PatternAtom* in_PatternAtom_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_need_zaNeeds* *out_zaNeeds_5) {
	struct mirth_match_PatternOp v6 = in_PatternAtom_3->mop;
	incref(MK_mirth_match_PatternOp(v6));
	decref(MK_mirth_match_PatternAtom(in_PatternAtom_3));
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	struct mirth_need_zaNeeds* branch_zaNeeds_8;
	switch ((v6).tag) {
		case mirth_match_PatternOp_Underscore: {
			branch_zaNeeds_8 = in_zaNeeds_2;
			branch_zaMirth_7 = in_zaMirth_1;
		} break;
		case mirth_match_PatternOp_Tag: {
			uint64_t v9 = mtp_mirth_match_PatternOp_Tag(v6);
			struct mirth_mirth_zaMirth* v10;
			struct mirth_need_zaNeeds* v11;
			mw_mirth_need_zaNeeds_needzetagzepatzx(in_zaMirth_1, in_zaNeeds_2, v9, &v10, &v11);
			branch_zaNeeds_8 = v11;
			branch_zaMirth_7 = v10;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaNeeds_5 = branch_zaNeeds_8;
	*out_zaMirth_4 = branch_zaMirth_7;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x100, %rsp            # imm = 0x100
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 0x60(%rax), %rcx
movq %rcx, -0x38(%rbp)
movq 0x68(%rax), %rax
movq %rax, -0x30(%rbp)
movl -0x38(%rbp), %edi
movq -0x30(%rbp), %rsi
callq 0x102130
movq %rax, -0x48(%rbp)
movq %rdx, -0x40(%rbp)
movq -0x40(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x21ede8
movl -0x38(%rbp), %edi
movq -0x30(%rbp), %rsi
callq 0x102130
movq %rax, -0x58(%rbp)
movq %rdx, -0x50(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x58(%rbp), %rax
cmpq $0x0, %rax
je 0x21ede8
movl -0x38(%rbp), %edi
movq -0x30(%rbp), %rsi
callq 0x102130
movq %rax, -0x68(%rbp)
movq %rdx, -0x60(%rbp)
movq -0x68(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x21ede8
movl -0x38(%rbp), %edi
movq -0x30(%rbp), %rsi
callq 0x102130
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 0x21edea
jmp 0x21edec
movq -0x18(%rbp), %rax
movq %rax, -0x88(%rbp)
leaq 0x173872(%rip), %rax    # 0x392670
orq $0x1, %rax
movq %rax, -0x80(%rbp)
movq -0x80(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x21eeea
movq -0x18(%rbp), %rax
movq %rax, -0x98(%rbp)
leaq 0x173846(%rip), %rax    # 0x392670
orq $0x1, %rax
movq %rax, -0x90(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x98(%rbp), %rax
cmpq $0x0, %rax
je 0x21eeea
movq -0x18(%rbp), %rax
movq %rax, -0xa8(%rbp)
leaq 0x17380e(%rip), %rax    # 0x392670
orq $0x1, %rax
movq %rax, -0xa0(%rbp)
movq -0xa8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x21eeea
movq -0x18(%rbp), %rax
movq %rax, -0xb8(%rbp)
leaq 0x1737e0(%rip), %rax    # 0x392670
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 0x21eee8
movq -0x18(%rbp), %rax
movq %rax, -0xc8(%rbp)
leaq 0x1737a6(%rip), %rax    # 0x392670
orq $0x1, %rax
movq %rax, -0xc0(%rbp)
movq -0xc8(%rbp), %rdi
movq -0xc0(%rbp), %rsi
callq 0x127c0
jmp 0x21eeea
jmp 0x21eeec
movl -0x38(%rbp), %eax
movl %eax, -0xf4(%rbp)
testl %eax, %eax
je 0x21ef08
jmp 0x21eefb
movl -0xf4(%rbp), %eax
subl $0x1, %eax
je 0x21ef20
jmp 0x21ef73
movq -0x10(%rbp), %rax
movq %rax, -0xd8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xd0(%rbp)
jmp 0x21ef8c
movl -0x38(%rbp), %edi
movq -0x30(%rbp), %rsi
callq 0x108f60
movq %rax, -0xe0(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0xe0(%rbp), %rdx
leaq -0xe8(%rbp), %rcx
leaq -0xf0(%rbp), %r8
callq 0x21efc0
movq -0xf0(%rbp), %rax
movq %rax, -0xd8(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0xd0(%rbp)
jmp 0x21ef8c
leaq 0x134f07(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0xd8(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movq -0xd0(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
addq $0x100, %rsp            # imm = 0x100
popq %rbp
retq
nopw %cs:(%rax,%rax)