// File: /workspace/github_c_makefile_star2_O3/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 $0x38, %rsp
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
movl 0x78(%rdi), %r14d
movq 0x80(%rdi), %r12
movq %r12, %rax
andq %rcx, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0x51158
incl (%rax)
movq %rdi, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %dil
setne %dl
orb %cl, %dl
jne 0x51186
decl (%rax)
jne 0x51186
leaq 0xc13d0(%rip), %rsi     # 0x112551
callq 0xd13d
movq $0x0, -0x30(%rbp)
movq $0x0, -0x38(%rbp)
movl %r14d, %edi
movq %r12, %rsi
leaq -0x48(%rbp), %rdx
callq 0x111eb
cmpl $0x1, %eax
jne 0x5132c
movq %rdx, %rdi
callq 0xd745
movq %rax, %r12
movq %rax, %r13
testb $0x1, %dl
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
je 0x511e3
movq %r12, %rax
andq %rsi, %rax
sete %cl
testb $0x3, %r13b
setne %dil
orb %cl, %dil
jne 0x511e3
incl (%rax)
movl 0x60(%r13), %edi
movq 0x68(%r13), %rcx
movq %rcx, %r15
andq %rsi, %r15
setne %al
testb $0x3, %cl
sete %bl
andb %al, %bl
cmpb $0x1, %bl
jne 0x51204
incl (%r15)
andq %rsi, %r12
sete %al
testb $0x3, %r13b
setne %r14b
orb %al, %r14b
jne 0x51244
decl (%r12)
jne 0x51244
movq %rdi, -0x58(%rbp)
movq %r13, %rdi
leaq 0xc136e(%rip), %rsi     # 0x112599
movq %rdx, -0x60(%rbp)
movq %rcx, -0x50(%rbp)
callq 0xd13d
movq -0x50(%rbp), %rcx
movq -0x58(%rbp), %rdi
movq -0x60(%rbp), %rdx
testl %edi, %edi
je 0x51303
testb %bl, %bl
je 0x5126e
decl (%r15)
jne 0x5126e
shlq $0x30, %rdi
orq %rcx, %rdi
leaq 0xc137e(%rip), %rsi     # 0x1125e1
movq %rdx, %rbx
callq 0xd13d
movq %rbx, %rdx
movq %r13, %rdi
movq %rdx, %rsi
callq 0x9353
movq %rdx, %r12
movq -0x40(%rbp), %rax
movq %rax, %rcx
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
andq %rbx, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
movq -0x30(%rbp), %r14
jne 0x512bc
movl -0x48(%rbp), %edi
decl (%rcx)
jne 0x512bc
shlq $0x30, %rdi
orq %rax, %rdi
leaq 0xbffc2(%rip), %rsi     # 0x111279
callq 0xd13d
movq %r14, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0x512eb
decl (%rax)
jne 0x512eb
movq -0x38(%rbp), %rdi
shlq $0x30, %rdi
orq %r14, %rdi
leaq 0xbffdb(%rip), %rsi     # 0x1112c1
callq 0xd13d
xorl %r14d, %r14d
movl $0x1, %eax
movq %rax, -0x38(%rbp)
movq %r12, -0x30(%rbp)
xorl %r12d, %r12d
jmp 0x51196
testb $0x1, %dl
sete %al
orb %r14b, %al
jne 0x5131f
decl (%r12)
jne 0x5131f
movq %r13, %rdi
movq %rdx, %rsi
callq 0xd13d
movl -0x48(%rbp), %r14d
movq -0x40(%rbp), %r12
jmp 0x51196
testl %eax, %eax
movabsq $0xfffffffffffc, %r14   # imm = 0xFFFFFFFFFFFC
jne 0x513c9
movq -0x40(%rbp), %rax
movq %rax, %rcx
andq %r14, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0x51370
movl -0x48(%rbp), %edi
decl (%rcx)
jne 0x51370
shlq $0x30, %rdi
orq %rax, %rdi
leaq 0xbff0e(%rip), %rsi     # 0x111279
callq 0xd13d
movl -0x38(%rbp), %ebx
movq -0x30(%rbp), %rcx
andq %rcx, %r14
sete %al
testb $0x3, %cl
setne %cl
orb %al, %cl
jne 0x513a3
decl (%r14)
jne 0x513a3
movq %rbx, %rdi
shlq $0x30, %rdi
orq -0x30(%rbp), %rdi
leaq 0xbff23(%rip), %rsi     # 0x1112c1
callq 0xd13d
leaq 0x1(,%rbx,2), %rdi
movl $0x1, %esi
callq 0xe83a
testl %eax, %eax
sete %al
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0x8f2eb(%rip), %xmm0    # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0x8f2f0(%rip), %xmm0    # 0xe06dd
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x9302