// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_match_Match_haszedefaultzecasezy
static bool mw_mirth_match_Match_haszedefaultzecasezy (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_match_Match* in_Match_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct std_list_List_1 v5 = in_Match_2->mcases;
	incref(MK_std_list_List_1(v5));
	decref(MK_mirth_match_Match(in_Match_2));
	struct std_maybe_Maybe_1 v6 = { .tag=std_maybe_Maybe_1_None };
	bool v7 = true;
	struct mirth_mirth_zaMirth* r8 = in_zaMirth_1;
	struct std_maybe_Maybe_1 v9 = v6;
	struct std_list_List_1 v10 = v5;
	bool v11 = v7;
	bool v12 = v7;
	while (v12) {
		struct mirth_mirth_zaMirth* r13 = r8;
		struct std_maybe_Maybe_1 v14 = v9;
		struct std_list_List_1 v15 = v10;
		bool v16 = v11;
		struct std_list_List_1 v17;
		struct std_maybe_Maybe_1 v18 = mw_std_list_List_1_uncons(v15, &v17);
		struct mirth_mirth_zaMirth* branch_zaMirth_19;
		struct std_maybe_Maybe_1 branch_Maybe_20;
		struct std_list_List_1 branch_List_21;
		bool branch_Bool_22;
		switch ((v18).tag) {
			case std_maybe_Maybe_1_Some: {
				VAL v23 = mtp_std_maybe_Maybe_1_Some(v18);
				incref(v23);
				struct mirth_mirth_zaMirth* v24;
				bool v25 = mw_mirth_match_Case_iszedefaultzecasezy(r13, V_mirth_match_Case(v23), &v24);
				struct mirth_mirth_zaMirth* branch_zaMirth_26;
				struct std_maybe_Maybe_1 branch_Maybe_27;
				if (v25) {
					struct std_maybe_Maybe_1 v28 = mtw_std_maybe_Maybe_1_Some(v23);
					branch_Maybe_27 = v28;
					branch_zaMirth_26 = v24;
				} else {
					decref(v23);
					struct std_maybe_Maybe_1 v29 = { .tag=std_maybe_Maybe_1_None };
					branch_Maybe_27 = v29;
					branch_zaMirth_26 = v24;
				}
				struct mirth_mirth_zaMirth* branch_zaMirth_30;
				struct std_maybe_Maybe_1 branch_Maybe_31;
				struct std_list_List_1 branch_List_32;
				switch ((branch_Maybe_27).tag) {
					case std_maybe_Maybe_1_None: {
						branch_List_32 = v17;
						branch_Maybe_31 = v14;
						branch_zaMirth_30 = branch_zaMirth_26;
					} break;
					default: {
						decref(MK_std_list_List_1(v17));
						decref(MK_std_maybe_Maybe_1(v14));
						struct std_list_List_1 v33 = { .tag=std_list_List_1_Nil };
						branch_List_32 = v33;
						branch_Maybe_31 = branch_Maybe_27;
						branch_zaMirth_30 = branch_zaMirth_26;
					} break;
				}
				bool v34 = true;
				branch_Bool_22 = v34;
				branch_List_21 = branch_List_32;
				branch_Maybe_20 = branch_Maybe_31;
				branch_zaMirth_19 = branch_zaMirth_30;
			} break;
			case std_maybe_Maybe_1_None: {
				bool v35 = false;
				branch_Bool_22 = v35;
				branch_List_21 = v17;
				branch_Maybe_20 = v14;
				branch_zaMirth_19 = r13;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v12 = branch_Bool_22;
		v11 = branch_Bool_22;
		v10 = branch_List_21;
		v9 = branch_Maybe_20;
		r8 = branch_zaMirth_19;
	}
	decref(MK_std_list_List_1(v10));
	int64_t v36 = (v9).tag;
	decref(MK_std_maybe_Maybe_1(v9));
	INT v37 = WRAP_I63(0LL);
	INT v38 = v37;
	INT v39 = i64_to_int(v36);
	bool v40 = int_eq(v39, v38);
	bool v41 = !v40;
	*out_zaMirth_3 = r8;
	return v41;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x390, %rsp            # imm = 0x390
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq 0x58(%rax), %rcx
movq %rcx, -0x28(%rbp)
movq 0x60(%rax), %rax
movq %rax, -0x20(%rbp)
movl -0x28(%rbp), %edi
movq -0x20(%rbp), %rsi
callq 0x12780
movq %rax, -0x38(%rbp)
movq %rdx, -0x30(%rbp)
movq -0x30(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x10a1e0
movl -0x28(%rbp), %edi
movq -0x20(%rbp), %rsi
callq 0x12780
movq %rax, -0x48(%rbp)
movq %rdx, -0x40(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x48(%rbp), %rax
cmpq $0x0, %rax
je 0x10a1e0
movl -0x28(%rbp), %edi
movq -0x20(%rbp), %rsi
callq 0x12780
movq %rax, -0x58(%rbp)
movq %rdx, -0x50(%rbp)
movq -0x58(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x10a1e0
movl -0x28(%rbp), %edi
movq -0x20(%rbp), %rsi
callq 0x12780
movq %rax, -0x68(%rbp)
movq %rdx, -0x60(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x68(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x10a1e2
jmp 0x10a1e4
movq -0x10(%rbp), %rax
movq %rax, -0x78(%rbp)
leaq 0x288555(%rip), %rax    # 0x392748
orq $0x1, %rax
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x10a2dc
movq -0x10(%rbp), %rax
movq %rax, -0x88(%rbp)
leaq 0x288529(%rip), %rax    # 0x392748
orq $0x1, %rax
movq %rax, -0x80(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x88(%rbp), %rax
cmpq $0x0, %rax
je 0x10a2dc
movq -0x10(%rbp), %rax
movq %rax, -0x98(%rbp)
leaq 0x2884f4(%rip), %rax    # 0x392748
orq $0x1, %rax
movq %rax, -0x90(%rbp)
movq -0x98(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x10a2dc
movq -0x10(%rbp), %rax
movq %rax, -0xa8(%rbp)
leaq 0x2884c6(%rip), %rax    # 0x392748
orq $0x1, %rax
movq %rax, -0xa0(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0xa8(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x10a2da
movq -0x10(%rbp), %rax
movq %rax, -0xb8(%rbp)
leaq 0x28848c(%rip), %rax    # 0x392748
orq $0x1, %rax
movq %rax, -0xb0(%rbp)
movq -0xb8(%rbp), %rdi
movq -0xb0(%rbp), %rsi
callq 0x127c0
jmp 0x10a2dc
jmp 0x10a2de
leaq -0xc8(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movb $0x1, -0xc9(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xd8(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0xe8(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0xf8(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0xf0(%rbp)
movb -0xc9(%rbp), %al
andb $0x1, %al
movb %al, -0xf9(%rbp)
movb -0xc9(%rbp), %al
andb $0x1, %al
movb %al, -0xfa(%rbp)
testb $0x1, -0xfa(%rbp)
je 0x10a994
movq -0xd8(%rbp), %rax
movq %rax, -0x108(%rbp)
movups -0xe8(%rbp), %xmm0
movaps %xmm0, -0x120(%rbp)
movups -0xf8(%rbp), %xmm0
movaps %xmm0, -0x130(%rbp)
movb -0xf9(%rbp), %al
andb $0x1, %al
movb %al, -0x131(%rbp)
movl -0x130(%rbp), %edi
movq -0x128(%rbp), %rsi
leaq -0x148(%rbp), %rdx
callq 0x2c490
movl %eax, -0x158(%rbp)
movq %rdx, -0x150(%rbp)
movl -0x158(%rbp), %eax
movl %eax, -0x388(%rbp)
testl %eax, %eax
je 0x10a8b7
jmp 0x10a3d2
movl -0x388(%rbp), %eax
subl $0x1, %eax
jne 0x10a914
jmp 0x10a3e3
movl -0x158(%rbp), %edi
movq -0x150(%rbp), %rsi
callq 0x174a0
movq %rax, -0x198(%rbp)
movq %rdx, -0x190(%rbp)
movq -0x190(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x10a454
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x198(%rbp), %rax
cmpq $0x0, %rax
je 0x10a454
movq -0x198(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x10a454
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x198(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x10a456
movq -0x108(%rbp), %rdi
movq -0x198(%rbp), %rsi
leaq -0x1a0(%rbp), %rdx
callq 0x10c8f0
andb $0x1, %al
movb %al, -0x1a1(%rbp)
testb $0x1, -0x1a1(%rbp)
je 0x10a4d0
movq -0x198(%rbp), %rdi
movq -0x190(%rbp), %rsi
callq 0xca10
movl %eax, -0x1d0(%rbp)
movq %rdx, -0x1c8(%rbp)
movq -0x1d0(%rbp), %rax
movq %rax, -0x1c0(%rbp)
movq -0x1c8(%rbp), %rax
movq %rax, -0x1b8(%rbp)
movq -0x1a0(%rbp), %rax
movq %rax, -0x1b0(%rbp)
jmp 0x10a57c
jmp 0x10a4d2
movq -0x190(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x10a53d
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x198(%rbp), %rax
cmpq $0x0, %rax
je 0x10a53d
movq -0x198(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x10a53d
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x198(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x10a53b
movq -0x198(%rbp), %rdi
movq -0x190(%rbp), %rsi
callq 0x127c0
jmp 0x10a53d
jmp 0x10a53f
leaq -0x1e0(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x1e0(%rbp), %rax
movq %rax, -0x1c0(%rbp)
movq -0x1d8(%rbp), %rax
movq %rax, -0x1b8(%rbp)
movq -0x1a0(%rbp), %rax
movq %rax, -0x1b0(%rbp)
movl -0x1c0(%rbp), %eax
testl %eax, %eax
jne 0x10a5d3
jmp 0x10a588
movq -0x148(%rbp), %rax
movq %rax, -0x208(%rbp)
movq -0x140(%rbp), %rax
movq %rax, -0x200(%rbp)
movq -0x120(%rbp), %rax
movq %rax, -0x1f8(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0x1f0(%rbp)
movq -0x1b0(%rbp), %rax
movq %rax, -0x1e8(%rbp)
jmp 0x10a85a
jmp 0x10a5d5
movl -0x148(%rbp), %edi
movq -0x140(%rbp), %rsi
callq 0x12780
movq %rax, -0x218(%rbp)
movq %rdx, -0x210(%rbp)
movq -0x210(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x10a6e8
movl -0x148(%rbp), %edi
movq -0x140(%rbp), %rsi
callq 0x12780
movq %rax, -0x228(%rbp)
movq %rdx, -0x220(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x228(%rbp), %rax
cmpq $0x0, %rax
je 0x10a6e8
movl -0x148(%rbp), %edi
movq -0x140(%rbp), %rsi
callq 0x12780
movq %rax, -0x238(%rbp)
movq %rdx, -0x230(%rbp)
movq -0x238(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x10a6e8
movl -0x148(%rbp), %edi
movq -0x140(%rbp), %rsi
callq 0x12780
movq %rax, -0x248(%rbp)
movq %rdx, -0x240(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x248(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x10a6e6
movl -0x148(%rbp), %edi
movq -0x140(%rbp), %rsi
callq 0x12780
movq %rax, -0x258(%rbp)
movq %rdx, -0x250(%rbp)
movq -0x258(%rbp), %rdi
movq -0x250(%rbp), %rsi
callq 0x127c0
jmp 0x10a6e8
jmp 0x10a6ea
jmp 0x10a6ec
movl -0x120(%rbp), %edi
movq -0x118(%rbp), %rsi
callq 0x133a0
movq %rax, -0x268(%rbp)
movq %rdx, -0x260(%rbp)
movq -0x260(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x10a7ff
movl -0x120(%rbp), %edi
movq -0x118(%rbp), %rsi
callq 0x133a0
movq %rax, -0x278(%rbp)
movq %rdx, -0x270(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x278(%rbp), %rax
cmpq $0x0, %rax
je 0x10a7ff
movl -0x120(%rbp), %edi
movq -0x118(%rbp), %rsi
callq 0x133a0
movq %rax, -0x288(%rbp)
movq %rdx, -0x280(%rbp)
movq -0x288(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x10a7ff
movl -0x120(%rbp), %edi
movq -0x118(%rbp), %rsi
callq 0x133a0
movq %rax, -0x298(%rbp)
movq %rdx, -0x290(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x298(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x10a7fd
movl -0x120(%rbp), %edi
movq -0x118(%rbp), %rsi
callq 0x133a0
movq %rax, -0x2a8(%rbp)
movq %rdx, -0x2a0(%rbp)
movq -0x2a8(%rbp), %rdi
movq -0x2a0(%rbp), %rsi
callq 0x127c0
jmp 0x10a7ff
jmp 0x10a801
leaq -0x2b8(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x2b8(%rbp), %rax
movq %rax, -0x208(%rbp)
movq -0x2b0(%rbp), %rax
movq %rax, -0x200(%rbp)
movq -0x1c0(%rbp), %rax
movq %rax, -0x1f8(%rbp)
movq -0x1b8(%rbp), %rax
movq %rax, -0x1f0(%rbp)
movq -0x1b0(%rbp), %rax
movq %rax, -0x1e8(%rbp)
movb $0x1, -0x2b9(%rbp)
movb -0x2b9(%rbp), %al
andb $0x1, %al
movb %al, -0x181(%rbp)
movq -0x208(%rbp), %rax
movq %rax, -0x180(%rbp)
movq -0x200(%rbp), %rax
movq %rax, -0x178(%rbp)
movq -0x1f8(%rbp), %rax
movq %rax, -0x170(%rbp)
movq -0x1f0(%rbp), %rax
movq %rax, -0x168(%rbp)
movq -0x1e8(%rbp), %rax
movq %rax, -0x160(%rbp)
jmp 0x10a92d
movb $0x0, -0x2ba(%rbp)
movb -0x2ba(%rbp), %al
andb $0x1, %al
movb %al, -0x181(%rbp)
movq -0x148(%rbp), %rax
movq %rax, -0x180(%rbp)
movq -0x140(%rbp), %rax
movq %rax, -0x178(%rbp)
movq -0x120(%rbp), %rax
movq %rax, -0x170(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0x168(%rbp)
movq -0x108(%rbp), %rax
movq %rax, -0x160(%rbp)
jmp 0x10a92d
leaq 0x249566(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movb -0x181(%rbp), %al
andb $0x1, %al
movb %al, -0xfa(%rbp)
movb -0x181(%rbp), %al
andb $0x1, %al
movb %al, -0xf9(%rbp)
movq -0x180(%rbp), %rax
movq %rax, -0xf8(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq -0x170(%rbp), %rax
movq %rax, -0xe8(%rbp)
movq -0x168(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0x160(%rbp), %rax
movq %rax, -0xd8(%rbp)
jmp 0x10a351
jmp 0x10a996
movl -0xf8(%rbp), %edi
movq -0xf0(%rbp), %rsi
callq 0x12780
movq %rax, -0x2d0(%rbp)
movq %rdx, -0x2c8(%rbp)
movq -0x2c8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x10aaa9
movl -0xf8(%rbp), %edi
movq -0xf0(%rbp), %rsi
callq 0x12780
movq %rax, -0x2e0(%rbp)
movq %rdx, -0x2d8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x2e0(%rbp), %rax
cmpq $0x0, %rax
je 0x10aaa9
movl -0xf8(%rbp), %edi
movq -0xf0(%rbp), %rsi
callq 0x12780
movq %rax, -0x2f0(%rbp)
movq %rdx, -0x2e8(%rbp)
movq -0x2f0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x10aaa9
movl -0xf8(%rbp), %edi
movq -0xf0(%rbp), %rsi
callq 0x12780
movq %rax, -0x300(%rbp)
movq %rdx, -0x2f8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x300(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x10aaa7
movl -0xf8(%rbp), %edi
movq -0xf0(%rbp), %rsi
callq 0x12780
movq %rax, -0x310(%rbp)
movq %rdx, -0x308(%rbp)
movq -0x310(%rbp), %rdi
movq -0x308(%rbp), %rsi
callq 0x127c0
jmp 0x10aaa9
jmp 0x10aaab
movl -0xe8(%rbp), %eax
movq %rax, -0x318(%rbp)
movl -0xe8(%rbp), %edi
movq -0xe0(%rbp), %rsi
callq 0x133a0
movq %rax, -0x328(%rbp)
movq %rdx, -0x320(%rbp)
movq -0x320(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x10abcb
movl -0xe8(%rbp), %edi
movq -0xe0(%rbp), %rsi
callq 0x133a0
movq %rax, -0x338(%rbp)
movq %rdx, -0x330(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x338(%rbp), %rax
cmpq $0x0, %rax
je 0x10abcb
movl -0xe8(%rbp), %edi
movq -0xe0(%rbp), %rsi
callq 0x133a0
movq %rax, -0x348(%rbp)
movq %rdx, -0x340(%rbp)
movq -0x348(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x10abcb
movl -0xe8(%rbp), %edi
movq -0xe0(%rbp), %rsi
callq 0x133a0
movq %rax, -0x358(%rbp)
movq %rdx, -0x350(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x358(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x10abc9
movl -0xe8(%rbp), %edi
movq -0xe0(%rbp), %rsi
callq 0x133a0
movq %rax, -0x368(%rbp)
movq %rdx, -0x360(%rbp)
movq -0x368(%rbp), %rdi
movq -0x360(%rbp), %rsi
callq 0x127c0
jmp 0x10abcb
jmp 0x10abcd
movq 0x263e7c(%rip), %rax    # 0x36ea50
movq %rax, -0x370(%rbp)
movq -0x370(%rbp), %rax
movq %rax, -0x378(%rbp)
movq -0x318(%rbp), %rdi
callq 0x1a290
movq %rax, -0x380(%rbp)
movq -0x380(%rbp), %rdi
movq -0x378(%rbp), %rsi
callq 0x194b0
andb $0x1, %al
movb %al, -0x381(%rbp)
movb -0x381(%rbp), %al
xorb $-0x1, %al
andb $0x1, %al
movb %al, -0x382(%rbp)
movq -0xd8(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
movb -0x382(%rbp), %al
andb $0x1, %al
addq $0x390, %rsp            # imm = 0x390
popq %rbp
retq
nopw %cs:(%rax,%rax)