// File: /workspace/github_c_makefile_star2_O1/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_name_QName_defzehardzy
static struct std_maybe_Maybe_1 mw_mirth_name_QName_defzehardzy (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_name_QName* in_QName_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	incref(MK_mirth_name_QName(in_QName_2));
	uint64_t v5 = in_QName_2->mname;
	decref(MK_mirth_name_QName(in_QName_2));
	struct mirth_mirth_zaMirth* v6;
	struct std_list_List_1 v7 = mw_mirth_name_Name_defs(in_zaMirth_1, v5, &v6);
	struct std_maybe_Maybe_1 v8 = { .tag=std_maybe_Maybe_1_None };
	bool v9 = true;
	struct mirth_mirth_zaMirth* r10 = v6;
	struct mirth_name_QName* v11 = in_QName_2;
	struct std_maybe_Maybe_1 v12 = v8;
	struct std_list_List_1 v13 = v7;
	bool v14 = v9;
	bool v15 = v9;
	while (v15) {
		struct mirth_mirth_zaMirth* r16 = r10;
		struct mirth_name_QName* v17 = v11;
		struct std_maybe_Maybe_1 v18 = v12;
		struct std_list_List_1 v19 = v13;
		bool v20 = v14;
		struct std_list_List_1 v21;
		struct std_maybe_Maybe_1 v22 = mw_std_list_List_1_uncons(v19, &v21);
		struct mirth_mirth_zaMirth* branch_zaMirth_23;
		struct mirth_name_QName* branch_QName_24;
		struct std_maybe_Maybe_1 branch_Maybe_25;
		struct std_list_List_1 branch_List_26;
		bool branch_Bool_27;
		switch ((v22).tag) {
			case std_maybe_Maybe_1_Some: {
				VAL v28 = mtp_std_maybe_Maybe_1_Some(v22);
				incref(v28);
				incref(MK_mirth_name_QName(v17));
				struct mirth_mirth_zaMirth* v29;
				struct mirth_name_QName* v30 = mw_mirth_def_Def_qnamezehard(r16, V_mirth_def_Def(v28), &v29);
				struct mirth_mirth_zaMirth* v31;
				bool v32 = mw_mirth_name_QName_zd(v29, v17, v30, &v31);
				struct mirth_mirth_zaMirth* branch_zaMirth_33;
				struct mirth_name_QName* branch_QName_34;
				struct std_maybe_Maybe_1 branch_Maybe_35;
				if (v32) {
					struct std_maybe_Maybe_1 v36 = mtw_std_maybe_Maybe_1_Some(v28);
					branch_Maybe_35 = v36;
					branch_QName_34 = v17;
					branch_zaMirth_33 = v31;
				} else {
					decref(v28);
					struct std_maybe_Maybe_1 v37 = { .tag=std_maybe_Maybe_1_None };
					branch_Maybe_35 = v37;
					branch_QName_34 = v17;
					branch_zaMirth_33 = v31;
				}
				struct mirth_mirth_zaMirth* branch_zaMirth_38;
				struct mirth_name_QName* branch_QName_39;
				struct std_maybe_Maybe_1 branch_Maybe_40;
				struct std_list_List_1 branch_List_41;
				switch ((branch_Maybe_35).tag) {
					case std_maybe_Maybe_1_None: {
						branch_List_41 = v21;
						branch_Maybe_40 = v18;
						branch_QName_39 = branch_QName_34;
						branch_zaMirth_38 = branch_zaMirth_33;
					} break;
					default: {
						decref(MK_std_list_List_1(v21));
						decref(MK_std_maybe_Maybe_1(v18));
						struct std_list_List_1 v42 = { .tag=std_list_List_1_Nil };
						branch_List_41 = v42;
						branch_Maybe_40 = branch_Maybe_35;
						branch_QName_39 = branch_QName_34;
						branch_zaMirth_38 = branch_zaMirth_33;
					} break;
				}
				bool v43 = true;
				branch_Bool_27 = v43;
				branch_List_26 = branch_List_41;
				branch_Maybe_25 = branch_Maybe_40;
				branch_QName_24 = branch_QName_39;
				branch_zaMirth_23 = branch_zaMirth_38;
			} break;
			case std_maybe_Maybe_1_None: {
				bool v44 = false;
				branch_Bool_27 = v44;
				branch_List_26 = v21;
				branch_Maybe_25 = v18;
				branch_QName_24 = v17;
				branch_zaMirth_23 = r16;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v15 = branch_Bool_27;
		v14 = branch_Bool_27;
		v13 = branch_List_26;
		v12 = branch_Maybe_25;
		v11 = branch_QName_24;
		r10 = branch_zaMirth_23;
	}
	decref(MK_std_list_List_1(v13));
	decref(MK_mirth_name_QName(v11));
	*out_zaMirth_3 = r10;
	return v12;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdx, -0x68(%rbp)
movq %rsi, %r13
movq %rdi, %r12
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
movq %rsi, %rax
andq %rcx, %rax
setne %dl
testb $0x3, %r13b
sete %cl
andb %dl, %cl
cmpb $0x1, %cl
jne 0x61ad7
incl (%rax)
movq 0x18(%r13), %r14
testb %cl, %cl
je 0x61af2
decl (%rax)
jne 0x61af2
movq %r13, %rdi
leaq 0xb3c54(%rip), %rsi     # 0x115741
callq 0xd4e3
leaq -0x88(%rbp), %r15
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x1503c
movl %eax, %edi
movq %rdx, %rsi
movq (%r15), %rax
movq %rax, -0x48(%rbp)
movq %r13, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
movq %rax, -0x70(%rbp)
setne %al
testb $0x3, %r13b
sete %cl
andb %al, %cl
movb %cl, -0x29(%rbp)
movq $0x0, -0x40(%rbp)
leaq -0x60(%rbp), %r14
movq $0x0, -0x38(%rbp)
movq %r13, -0x50(%rbp)
movq %r14, %rdx
callq 0x115ef
testl %eax, %eax
je 0x61bed
cmpl $0x1, %eax
jne 0x61d5c
movq %rdx, %rdi
callq 0xdaeb
movq %rax, %r15
movq %rdx, %r12
movq %rax, %rbx
testb $0x1, %r12b
movabsq $0xfffffffffffc, %rdi   # imm = 0xFFFFFFFFFFFC
je 0x61b9d
movq %r15, %rax
andq %rdi, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x61b9d
incl (%rax)
cmpb $0x0, -0x29(%rbp)
je 0x61ba9
movq -0x70(%rbp), %rax
incl (%rax)
movq %r15, %rsi
shrq $0x30, %rsi
andq %rdi, %r15
movq -0x48(%rbp), %rdi
movq %r15, %rdx
leaq -0x80(%rbp), %rcx
callq 0x2e781
movq -0x80(%rbp), %rdi
movq %r13, %rsi
movq %rax, %rdx
leaq -0x78(%rbp), %rcx
callq 0x19a82
movl %eax, %r13d
testb %al, %al
je 0x61bfb
movq %rbx, %rdi
movq %r12, %rsi
callq 0x95f6
movq %rdx, %r12
jmp 0x61c24
movl -0x60(%rbp), %edi
movq -0x58(%rbp), %rsi
xorl %eax, %eax
jmp 0x61ccf
testb $0x1, %r12b
je 0x61c21
testq %r15, %r15
sete %al
testb $0x3, %bl
setne %cl
orb %al, %cl
jne 0x61c21
decl (%r15)
jne 0x61c21
movq %rbx, %rdi
movq %r12, %rsi
callq 0xd4e3
xorl %r12d, %r12d
movq -0x78(%rbp), %rax
movq %rax, -0x48(%rbp)
movl -0x60(%rbp), %edi
testb %r13b, %r13b
je 0x61cc5
movq -0x58(%rbp), %rax
movq %rax, %rcx
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rdx, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
movq -0x50(%rbp), %r13
jne 0x61c75
decl (%rcx)
jne 0x61c75
shlq $0x30, %rdi
orq %rax, %rdi
leaq 0xb3609(%rip), %rsi     # 0x115279
callq 0xd4e3
movq -0x40(%rbp), %rsi
movq %rsi, %rax
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
andq %rbx, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x61cb2
decl (%rax)
jne 0x61cb2
movq -0x38(%rbp), %rdi
shlq $0x30, %rdi
orq %rsi, %rdi
leaq 0xb3614(%rip), %rsi     # 0x1152c1
callq 0xd4e3
xorl %edi, %edi
movl $0x1, %eax
movq %rax, -0x38(%rbp)
movq %r12, -0x40(%rbp)
xorl %esi, %esi
jmp 0x61ccd
movq -0x58(%rbp), %rsi
movq -0x50(%rbp), %r13
movb $0x1, %al
testb %al, %al
jne 0x61b4e
movq %rsi, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x61d0c
decl (%rax)
jne 0x61d0c
shlq $0x30, %rdi
orq %rsi, %rdi
leaq 0xb3572(%rip), %rsi     # 0x115279
callq 0xd4e3
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %r13, %rdx
sete %al
testb $0x3, %r13b
setne %cl
orb %al, %cl
jne 0x61d3a
decl (%rdx)
jne 0x61d3a
movq %r13, %rdi
leaq 0xb3a0c(%rip), %rsi     # 0x115741
callq 0xd4e3
movq -0x68(%rbp), %rax
movq -0x48(%rbp), %rcx
movq %rcx, (%rax)
movq -0x38(%rbp), %rax
movq -0x40(%rbp), %rdx
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf9f7
movq $0x20, 0x10(%rax)
movups 0x829d8(%rip), %xmm0    # 0xe474d
movups %xmm0, 0x18(%rax)
movups 0x829dd(%rip), %xmm0    # 0xe475d
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x95a5