// File: /workspace/github_c_makefile_star2_O3/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, -0x68(%rbp)
movq %rsi, %rbx
movq %rdi, -0x70(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
movq %rsi, %rcx
andq %rax, %rcx
movq %rcx, -0x38(%rbp)
setne %al
testb $0x3, %bl
sete %cl
andb %al, %cl
movb %cl, -0x50(%rbp)
cmpb $0x1, %cl
jne 0x12ec9
movq -0x38(%rbp), %rax
addl $0x3, (%rax)
movq %rbx, %rdi
callq 0xe7f9
movq %rax, %r13
movq %rbx, -0x40(%rbp)
movq %rbx, %rdi
callq 0xe36d
movq %rax, %rdi
callq 0xe3d6
movq %rax, %rbx
movq %rax, %r14
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rax, %r14
sete %al
testb $0x3, %bl
setne %cl
orb %al, %cl
jne 0x12f3d
incl (%r14)
movl $0x1, %r15d
movl $0x1, %edi
movq %rbx, %rsi
callq 0xe83a
movl (%r14), %ecx
testl %eax, %eax
jle 0x12f58
decl %ecx
movl %ecx, (%r14)
jne 0x12f60
movq %rbx, %rdi
leaq 0xfe4f3(%rip), %rsi     # 0x111429
callq 0xd13d
jmp 0x12f60
movl $0x1, %r14d
movl $0x1, %edi
movq %rbx, %rsi
callq 0xe83a
testl %eax, %eax
cmovgq %r14, %rbx
jmp 0x12f5d
incl %ecx
movl %ecx, (%r14)
movq %rbx, %r15
movl $0x1, %edi
movq %r15, %rsi
callq 0xe83a
xorl %r14d, %r14d
testl %eax, %eax
jns 0x13047
movzbl (%r13), %edi
callq 0xe3d6
movq %rax, %rdi
callq 0xe445
movl %eax, %eax
leaq 0x1(,%rax,2), %rdi
callq 0xe445
movq %rax, %r12
movl $0x3, %esi
movq %r15, %rdi
callq 0xe9fc
movq %rax, %r15
movq %rax, %rbx
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rax, %rbx
sete %al
testb $0x3, %r15b
setne %cl
orb %al, %cl
jne 0x12ff6
incl (%rbx)
movl $0x1, %edi
movq %r15, %rsi
callq 0xe83a
movl (%rbx), %ecx
testl %eax, %eax
jle 0x1300f
decl %ecx
movl %ecx, (%rbx)
jne 0x13007
movq %r15, %rdi
leaq 0xfe43a(%rip), %rsi     # 0x111429
callq 0xd13d
jmp 0x13007
movl $0x1, %edi
movq %r15, %rsi
callq 0xe83a
testl %eax, %eax
jle 0x13013
movl $0x1, %r15d
jmp 0x13013
incl %ecx
movl %ecx, (%rbx)
movabsq $0x100020040101, %rax   # imm = 0x100020040101
imulq %rax, %r12
movq %r14, %rax
shlq $0x7, %rax
shrq $0x1d, %r14
xorq %rax, %r14
xorq %r12, %r14
incq %r13
movl $0x1, %edi
movq %r15, %rsi
callq 0xe83a
jmp 0x12f70
movq %r15, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0x13078
decl (%rax)
jne 0x13078
leaq 0xfe0a1(%rip), %rsi     # 0x111111
movq %r15, %rdi
callq 0xd13d
leaq 0xfe0da(%rip), %rsi     # 0x111159
cmpb $0x0, -0x50(%rbp)
je 0x13096
movq -0x38(%rbp), %rax
decl (%rax)
jne 0x13096
movq -0x40(%rbp), %rdi
callq 0xd13d
leaq -0x80(%rbp), %r15
leaq -0x78(%rbp), %r12
leaq -0x41(%rbp), %r13
movq -0x70(%rbp), %rdi
movq -0x40(%rbp), %rsi
movq %r14, %rdx
movq %r15, %rcx
movq %r12, %r8
movq %r13, %r9
callq 0x138cf
movq (%r15), %rdi
movq (%r12), %r14
cmpb $0x1, (%r13)
jne 0x130fe
leaq -0x60(%rbp), %r15
leaq -0x58(%rbp), %r12
leaq -0x29(%rbp), %r13
movq -0x40(%rbp), %rbx
incq %r14
movq %rbx, %rsi
movq %r14, %rdx
movq %r15, %rcx
movq %r12, %r8
movq %r13, %r9
callq 0x138cf
movq -0x58(%rbp), %r14
movq -0x60(%rbp), %rdi
cmpb $0x0, -0x29(%rbp)
jne 0x130d9
leaq -0x58(%rbp), %rdx
movq %r14, %rsi
callq 0x13985
cmpl $0x1, %eax
jne 0x13141
movq %rdx, %rdi
callq 0xd745
movq %rax, %r12
cmpb $0x0, -0x50(%rbp)
je 0x13138
movq -0x38(%rbp), %rax
decl (%rax)
jne 0x13138
movq -0x40(%rbp), %rdi
leaq 0xfe026(%rip), %rsi     # 0x111159
callq 0xd13d
movq -0x58(%rbp), %rcx
jmp 0x1338a
movq -0x58(%rbp), %rbx
movq 0x110138c(%rip), %r12   # 0x11144d8
incq %r12
movq %r12, 0x1101382(%rip)   # 0x11144d8
leaq 0x110136b(%rip), %rdi   # 0x11144c8
movq %r12, %rsi
callq 0x13c85
movq -0x40(%rbp), %rdi
leaq 0xfdfe9(%rip), %rsi     # 0x111159
movq %rax, %rdx
callq 0x14766
movq %rbx, -0x50(%rbp)
movq 0x78(%rbx), %rdi
leaq -0x60(%rbp), %rbx
movq %r14, %rsi
movq %rbx, %rdx
callq 0x13def
movq %rax, %r13
movq (%rbx), %rax
movq %rax, -0x40(%rbp)
movl $0x4, %edi
callq 0x524c
movq %rax, %rbx
movq $0x3, 0x10(%rax)
movq $-0x1, 0x18(%rax)
movl $0x0, 0x20(%rax)
movq %r13, %r15
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rax, %r15
sete %al
testb $0x3, %r13b
setne %cl
orb %al, %cl
jne 0x13209
incl (%r15)
movl $0x1, %r14d
movl $0x1, %esi
movq %r13, %rdi
callq 0xe83a
movl (%r15), %ecx
testl %eax, %eax
js 0x1328d
incl %ecx
movl %ecx, (%r15)
movb $0x1, %al
movq %rax, -0x38(%rbp)
jmp 0x13231
movl $0x1, %r14d
movl $0x1, %esi
movq %r13, %rdi
callq 0xe83a
xorl %ecx, %ecx
testl %eax, %eax
movl $0x0, %eax
movq %rax, -0x38(%rbp)
cmovsq %rcx, %r15
cmovsq %r14, %r13
movq %r13, %r14
movq %rbx, %r13
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rax, %r13
sete %al
testb $0x3, %bl
setne %cl
orb %al, %cl
jne 0x1326f
incl (%r13)
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe83a
testl %eax, %eax
js 0x132b0
decl (%r13)
jne 0x132d6
movq %rbx, %rax
jmp 0x132c7
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe83a
testl %eax, %eax
sets %al
movq %rbx, %rdi
cmovnsq %r14, %rdi
testb %al, -0x38(%rbp)
jne 0x132b9
jmp 0x132d9
decl %ecx
movl %ecx, (%r15)
jne 0x132a3
movq %r13, %rdi
leaq 0xfe18b(%rip), %rsi     # 0x111429
callq 0xd13d
movq $0x0, -0x38(%rbp)
xorl %r15d, %r15d
jmp 0x13234
movq %rbx, %rdi
cmpb $0x0, -0x38(%rbp)
je 0x132d9
decl (%r15)
movq %r14, %rax
movq %rbx, %r14
movq %rbx, %rdi
jne 0x132d9
movq %rax, %rdi
leaq 0xfe158(%rip), %rsi     # 0x111429
callq 0xd13d
movq %r14, %rdi
callq 0xe445
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x133b1
movq %rax, %rbx
movq 0x10(%rdi), %rdx
cmpq %rax, %rdx
jbe 0x133ba
leaq 0xfe16e(%rip), %rax     # 0x111470
cmpq %rax, 0x20(%rdi)
jne 0x133c3
leaq 0xfe15d(%rip), %r13     # 0x111470
movq %r13, %rsi
callq 0x12937
testq %rax, %rax
je 0x133cc
movq %rax, %r14
cmpl $0x1, (%rax)
jne 0x133da
cmpq %r13, 0x20(%r14)
jne 0x133e8
cmpq %rbx, 0x10(%r14)
jbe 0x133f6
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
addq $-0x4, %rax
andq %rax, %r13
je 0x133a3
movq 0x38(%r13), %rax
testq %rax, %rax
je 0x133a3
leaq 0xfe109(%rip), %rcx     # 0x111470
movq %r14, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq *%rax
movq 0x10(%r14), %rdx
movq 0x20(%r14), %rsi
movq %r14, %rdi
callq 0x12937
movq -0x50(%rbp), %rcx
movq %rax, 0x78(%rcx)
movq -0x68(%rbp), %rax
movq %rcx, (%rax)
movq %r12, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xcf111(%rip), %rsi     # 0xe24bb
movl $0x3d, %edx
jmp 0x13402
leaq 0xcef6a(%rip), %rsi     # 0xe2322
jmp 0x133d3
leaq 0xcef93(%rip), %rsi     # 0xe2354
jmp 0x133fd
leaq 0xcefc6(%rip), %rsi     # 0xe2390
jmp 0x133ef
leaq 0xceffd(%rip), %rsi     # 0xe23d0
movl $0x31, %edx
jmp 0x13402
leaq 0xcf021(%rip), %rsi     # 0xe2402
movl $0x3c, %edx
jmp 0x13402
leaq 0xcf050(%rip), %rsi     # 0xe243f
movl $0x3f, %edx
jmp 0x13402
leaq 0xcf082(%rip), %rsi     # 0xe247f
movl $0x3b, %edx
movl $0x2, %edi
callq 0x5060
callq 0x52b6
movl $0x1, %edi
callq 0x5130