// File: /workspace/github_c_makefile_star2_O1/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_match_Pattern_iszedefaultzy
static bool mw_mirth_match_Pattern_iszedefaultzy (struct mirth_match_Pattern* in_Pattern_1) {
	struct std_list_List_1 v3 = in_Pattern_1->matoms;
	incref(MK_std_list_List_1(v3));
	decref(MK_mirth_match_Pattern(in_Pattern_1));
	struct std_maybe_Maybe_1 v4 = { .tag=std_maybe_Maybe_1_None };
	bool v5 = true;
	struct std_maybe_Maybe_1 v6 = v4;
	struct std_list_List_1 v7 = v3;
	bool v8 = v5;
	bool v9 = v5;
	while (v9) {
		struct std_maybe_Maybe_1 v10 = v6;
		struct std_list_List_1 v11 = v7;
		bool v12 = v8;
		struct std_list_List_1 v13;
		struct std_maybe_Maybe_1 v14 = mw_std_list_List_1_uncons(v11, &v13);
		struct std_maybe_Maybe_1 branch_Maybe_15;
		struct std_list_List_1 branch_List_16;
		bool branch_Bool_17;
		switch ((v14).tag) {
			case std_maybe_Maybe_1_Some: {
				VAL v18 = mtp_std_maybe_Maybe_1_Some(v14);
				incref(v18);
				struct mirth_match_PatternOp v19 = V_mirth_match_PatternAtom(v18)->mop;
				incref(MK_mirth_match_PatternOp(v19));
				decref(MK_mirth_match_PatternAtom(V_mirth_match_PatternAtom(v18)));
				bool v20 = mw_mirth_match_PatternOp_zfUnderscore(v19);
				bool v21 = !v20;
				struct std_maybe_Maybe_1 branch_Maybe_22;
				if (v21) {
					struct std_maybe_Maybe_1 v23 = mtw_std_maybe_Maybe_1_Some(v18);
					branch_Maybe_22 = v23;
				} else {
					decref(v18);
					struct std_maybe_Maybe_1 v24 = { .tag=std_maybe_Maybe_1_None };
					branch_Maybe_22 = v24;
				}
				struct std_maybe_Maybe_1 branch_Maybe_25;
				struct std_list_List_1 branch_List_26;
				switch ((branch_Maybe_22).tag) {
					case std_maybe_Maybe_1_None: {
						branch_List_26 = v13;
						branch_Maybe_25 = v10;
					} break;
					default: {
						decref(MK_std_list_List_1(v13));
						decref(MK_std_maybe_Maybe_1(v10));
						struct std_list_List_1 v27 = { .tag=std_list_List_1_Nil };
						branch_List_26 = v27;
						branch_Maybe_25 = branch_Maybe_22;
					} break;
				}
				bool v28 = true;
				branch_Bool_17 = v28;
				branch_List_16 = branch_List_26;
				branch_Maybe_15 = branch_Maybe_25;
			} break;
			case std_maybe_Maybe_1_None: {
				bool v29 = false;
				branch_Bool_17 = v29;
				branch_List_16 = v13;
				branch_Maybe_15 = v10;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v9 = branch_Bool_17;
		v8 = branch_Bool_17;
		v7 = branch_List_16;
		v6 = branch_Maybe_15;
	}
	decref(MK_std_list_List_1(v7));
	int64_t v30 = (v6).tag;
	decref(MK_std_maybe_Maybe_1(v6));
	INT v31 = WRAP_I63(0LL);
	INT v32 = v31;
	INT v33 = i64_to_int(v30);
	bool v34 = int_eq(v33, v32);
	return v34;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
movl 0x78(%rdi), %r15d
movq 0x80(%rdi), %r13
movq %r13, %rax
andq %rcx, %rax
sete %cl
testb $0x3, %r13b
setne %dl
orb %cl, %dl
jne 0x52913
incl (%rax)
movq %rdi, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %dil
setne %dl
orb %cl, %dl
jne 0x52941
decl (%rax)
jne 0x52941
leaq 0xc3c15(%rip), %rsi     # 0x116551
callq 0xd4e3
movq $0x0, -0x38(%rbp)
leaq -0x48(%rbp), %rbx
movq $0x0, -0x30(%rbp)
movl %r15d, %edi
movq %r13, %rsi
movq %rbx, %rdx
callq 0x115ef
testl %eax, %eax
je 0x52a62
cmpl $0x1, %eax
jne 0x52be3
movq %rdx, %rdi
callq 0xdaeb
movq %rax, %r13
movq %rdx, %rsi
movq %rax, %r12
testb $0x1, %sil
movabsq $0xfffffffffffc, %rdi   # imm = 0xFFFFFFFFFFFC
je 0x529ab
movq %r13, %rax
andq %rdi, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0x529ab
incl (%rax)
movl 0x60(%r12), %r14d
movq 0x68(%r12), %rbx
movq %rbx, %rax
andq %rdi, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x529ca
incl (%rax)
andq %rdi, %r13
sete %al
testb $0x3, %r12b
setne %r15b
orb %al, %r15b
jne 0x52a04
decl (%r13)
jne 0x52a04
movq %r12, %rdi
movq %rsi, -0x50(%rbp)
leaq 0xc3ba8(%rip), %rsi     # 0x116599
callq 0xd4e3
movq -0x50(%rbp), %rsi
movabsq $0xfffffffffffc, %rdi   # imm = 0xFFFFFFFFFFFC
testl %r14d, %r14d
je 0x52a72
movq %rbx, %rax
andq %rdi, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x52a46
decl (%rax)
jne 0x52a46
movq %r14, %rdi
shlq $0x30, %rdi
orq %rbx, %rdi
movq %rsi, %rbx
leaq 0xc3bad(%rip), %rsi     # 0x1165e1
callq 0xd4e3
movq %rbx, %rsi
movabsq $0xfffffffffffc, %rdi   # imm = 0xFFFFFFFFFFFC
testl %r14d, %r14d
je 0x52a72
movq %r12, %rdi
callq 0x95f6
movabsq $0xfffffffffffc, %rdi   # imm = 0xFFFFFFFFFFFC
movq %rdx, %r12
jmp 0x52a81
movl -0x48(%rbp), %r15d
movq -0x40(%rbp), %r13
xorl %r14d, %r14d
jmp 0x52b41
testb $0x1, %sil
sete %al
orb %r15b, %al
je 0x52a87
xorl %r12d, %r12d
leaq -0x48(%rbp), %rbx
jmp 0x52aa6
decl (%r13)
leaq -0x48(%rbp), %rbx
jne 0x52aa3
movq %r12, %rdi
callq 0xd4e3
movabsq $0xfffffffffffc, %rdi   # imm = 0xFFFFFFFFFFFC
xorl %r12d, %r12d
movl -0x48(%rbp), %r15d
testl %r14d, %r14d
je 0x52b3a
movq -0x40(%rbp), %rax
movq %rax, %rcx
andq %rdi, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0x52aef
decl (%rcx)
jne 0x52aef
shlq $0x30, %r15
orq %rax, %r15
movq %r15, %rdi
leaq 0xc2799(%rip), %rsi     # 0x115279
callq 0xd4e3
movabsq $0xfffffffffffc, %rdi   # imm = 0xFFFFFFFFFFFC
movq -0x38(%rbp), %rsi
movq %rsi, %rax
andq %rdi, %rax
sete %cl
testb $0x3, %sil
setne %dl
movb $0x1, %r14b
orb %cl, %dl
jne 0x52b25
decl (%rax)
jne 0x52b25
movq -0x30(%rbp), %rdi
shlq $0x30, %rdi
orq %rsi, %rdi
leaq 0xc27a1(%rip), %rsi     # 0x1152c1
callq 0xd4e3
xorl %r15d, %r15d
movl $0x1, %eax
movq %rax, -0x30(%rbp)
movq %r12, -0x38(%rbp)
xorl %r13d, %r13d
jmp 0x52b41
movb $0x1, %r14b
movq -0x40(%rbp), %r13
testb %r14b, %r14b
jne 0x52955
movq %r13, %rax
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
andq %rsi, %rax
sete %cl
testb $0x3, %r13b
setne %dl
orb %cl, %dl
jne 0x52b8c
decl (%rax)
jne 0x52b8c
shlq $0x30, %r15
orq %r13, %r15
movq %r15, %rdi
leaq 0xc26fc(%rip), %rsi     # 0x115279
callq 0xd4e3
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
movl -0x30(%rbp), %ebx
movq -0x38(%rbp), %rdx
andq %rdx, %rsi
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
jne 0x52bbd
decl (%rsi)
jne 0x52bbd
movq %rbx, %rdi
shlq $0x30, %rdi
orq %rdx, %rdi
leaq 0xc2709(%rip), %rsi     # 0x1152c1
callq 0xd4e3
leaq 0x1(,%rbx,2), %rdi
movl $0x1, %esi
callq 0xec04
testl %eax, %eax
sete %al
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf9f7
movq $0x20, 0x10(%rax)
movups 0x91b51(%rip), %xmm0    # 0xe474d
movups %xmm0, 0x18(%rax)
movups 0x91b56(%rip), %xmm0    # 0xe475d
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x95a5