// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_name_Name_Name
static uint64_t mw_mirth_name_Name_Name (struct mirth_mirth_zaMirth* in_zaMirth_1, STR* in_Str_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	incref(MKSTR(in_Str_2));
	uint64_t v5 = mw_mirth_name_Hash_Digest(in_Str_2);
	struct mirth_mirth_zaMirth* v6;
	uint64_t v7;
	bool v8;
	STR* v9 = mw_mirth_name_Hash_keepzegoingzy(in_zaMirth_1, in_Str_2, v5, &v6, &v7, &v8);
	struct mirth_mirth_zaMirth* r10 = v6;
	STR* v11 = v9;
	uint64_t v12 = v7;
	bool v13 = v8;
	while (v13) {
		struct mirth_mirth_zaMirth* r14 = r10;
		STR* v15 = v11;
		uint64_t v16 = v12;
		uint64_t v17 = mw_mirth_name_Hash_next(v16);
		struct mirth_mirth_zaMirth* v18;
		uint64_t v19;
		bool v20;
		STR* v21 = mw_mirth_name_Hash_keepzegoingzy(r14, v15, v17, &v18, &v19, &v20);
		v13 = v20;
		v12 = v19;
		v11 = v21;
		r10 = v18;
	}
	struct mirth_mirth_zaMirth* v22;
	struct std_maybe_Maybe_1 v23 = mw_mirth_name_Hash_namezo(r10, v12, &v22);
	struct mirth_mirth_zaMirth* branch_zaMirth_24;
	uint64_t branch_Name_25;
	switch ((v23).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v26 = mtp_std_maybe_Maybe_1_Some(v23);
			decref(MKSTR(v11));
			branch_Name_25 = V_mirth_name_Name(v26);
			branch_zaMirth_24 = v22;
		} break;
		case std_maybe_Maybe_1_None: {
			struct mirth_mirth_zaMirth* v27;
			uint64_t v28 = mw_mirth_name_Name_Makezx(v22, v11, &v27);
			struct mirth_mirth_zaMirth* v29;
			mw_mirth_name_Hash_namezx(v27, v28, v12, &v29);
			branch_Name_25 = v28;
			branch_zaMirth_24 = v29;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaMirth_3 = branch_zaMirth_24;
	return branch_Name_25;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x190, %rsp            # imm = 0x190
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
leaq 0x3523b2(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x3ee38
movq -0x10(%rbp), %rax
movq %rax, -0x38(%rbp)
leaq 0x35238d(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x30(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x38(%rbp), %rax
cmpq $0x0, %rax
je 0x3ee38
movq -0x10(%rbp), %rax
movq %rax, -0x48(%rbp)
leaq 0x352362(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x40(%rbp)
movq -0x48(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x3ee38
movq -0x10(%rbp), %rax
movq %rax, -0x58(%rbp)
leaq 0x35233d(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x50(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x58(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x3ee3a
movq -0x10(%rbp), %rdi
callq 0x3f9f0
movq %rax, -0x60(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x60(%rbp), %rdx
leaq -0x68(%rbp), %rcx
leaq -0x70(%rbp), %r8
leaq -0x71(%rbp), %r9
callq 0x406d0
movq %rax, -0x80(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x98(%rbp)
movb -0x71(%rbp), %al
andb $0x1, %al
movb %al, -0x99(%rbp)
testb $0x1, -0x99(%rbp)
je 0x3ef51
movq -0x88(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq -0xb8(%rbp), %rdi
callq 0x40950
movq %rax, -0xc0(%rbp)
movq -0xa8(%rbp), %rdi
movq -0xb0(%rbp), %rsi
movq -0xc0(%rbp), %rdx
leaq -0xc8(%rbp), %rcx
leaq -0xd0(%rbp), %r8
leaq -0xd1(%rbp), %r9
callq 0x406d0
movq %rax, -0xe0(%rbp)
movb -0xd1(%rbp), %al
andb $0x1, %al
movb %al, -0x99(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0x88(%rbp)
jmp 0x3ee94
movq -0x88(%rbp), %rdi
movq -0x98(%rbp), %rsi
leaq -0xe8(%rbp), %rdx
callq 0x40980
movl %eax, -0xf8(%rbp)
movq %rdx, -0xf0(%rbp)
movl -0xf8(%rbp), %eax
movl %eax, -0x184(%rbp)
testl %eax, %eax
je 0x3f0f2
jmp 0x3ef8e
movl -0x184(%rbp), %eax
subl $0x1, %eax
jne 0x3f152
jmp 0x3ef9f
movl -0xf8(%rbp), %edi
movq -0xf0(%rbp), %rsi
callq 0x174a0
movq %rax, -0x118(%rbp)
movq %rdx, -0x110(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0x128(%rbp)
leaq 0x352184(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x120(%rbp)
movq -0x120(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x3f0d2
movq -0x90(%rbp), %rax
movq %rax, -0x138(%rbp)
leaq 0x35214f(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x130(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x138(%rbp), %rax
cmpq $0x0, %rax
je 0x3f0d2
movq -0x90(%rbp), %rax
movq %rax, -0x148(%rbp)
leaq 0x352114(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x140(%rbp)
movq -0x148(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x3f0d2
movq -0x90(%rbp), %rax
movq %rax, -0x158(%rbp)
leaq 0x3520e3(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x150(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x158(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x3f0d0
movq -0x90(%rbp), %rax
movq %rax, -0x168(%rbp)
leaq 0x3520a6(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x160(%rbp)
movq -0x168(%rbp), %rdi
movq -0x160(%rbp), %rsi
callq 0x127c0
jmp 0x3f0d2
jmp 0x3f0d4
movq -0x118(%rbp), %rax
movq %rax, -0x108(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x100(%rbp)
jmp 0x3f16b
movq -0xe8(%rbp), %rdi
movq -0x90(%rbp), %rsi
leaq -0x170(%rbp), %rdx
callq 0x40ac0
movq %rax, -0x178(%rbp)
movq -0x170(%rbp), %rdi
movq -0x178(%rbp), %rsi
movq -0x98(%rbp), %rdx
leaq -0x180(%rbp), %rcx
callq 0x40b40
movq -0x178(%rbp), %rax
movq %rax, -0x108(%rbp)
movq -0x180(%rbp), %rax
movq %rax, -0x100(%rbp)
jmp 0x3f16b
leaq 0x314d28(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x100(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
movq -0x108(%rbp), %rax
addq $0x190, %rsp            # imm = 0x190
popq %rbp
retq
nopl (%rax)