// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_mirth_zaMirth_mirthzebasezelibzepath
static struct std_maybe_Maybe_1 mw_mirth_mirth_zaMirth_mirthzebasezelibzepath (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_mirth_zaMirth* *out_zaMirth_2) {
	struct std_maybe_Maybe_1 v6 = in_zaMirth_1->mmirthzebasezepath;
	incref(MK_std_maybe_Maybe_1(v6));
	VAL branch_zux1_7;
	struct std_maybe_Maybe_1 branch_Maybe_8;
	switch ((v6).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v9 = mtp_std_maybe_Maybe_1_Some(v6);
			STR* v10;
			STRLIT(v10, "lib", 3);
			STR* v11 = mw_std_path_Path_join(value_str(v9), v10);
			struct std_maybe_Maybe_1 v12 = mtw_std_maybe_Maybe_1_Some(MKSTR(v11));
			branch_Maybe_8 = v12;
			branch_zux1_7 = MK_mirth_mirth_zaMirth(in_zaMirth_1);
		} break;
		case std_maybe_Maybe_1_None: {
			struct std_maybe_Maybe_1 v13 = { .tag=std_maybe_Maybe_1_None };
			branch_Maybe_8 = v13;
			branch_zux1_7 = MK_mirth_mirth_zaMirth(in_zaMirth_1);
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaMirth_2 = V_mirth_mirth_zaMirth(branch_zux1_7);
	return branch_Maybe_8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x140, %rsp            # imm = 0x140
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq 0x20(%rax), %rcx
movq %rcx, -0x30(%rbp)
movq 0x28(%rax), %rax
movq %rax, -0x28(%rbp)
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x133a0
movq %rax, -0x40(%rbp)
movq %rdx, -0x38(%rbp)
movq -0x38(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1bef6c
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x133a0
movq %rax, -0x50(%rbp)
movq %rdx, -0x48(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x50(%rbp), %rax
cmpq $0x0, %rax
je 0x1bef6c
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x133a0
movq %rax, -0x60(%rbp)
movq %rdx, -0x58(%rbp)
movq -0x60(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1bef6c
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x133a0
movq %rax, -0x70(%rbp)
movq %rdx, -0x68(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x70(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1bef6e
movl -0x30(%rbp), %eax
movl %eax, -0x134(%rbp)
testl %eax, %eax
je 0x1bf165
jmp 0x1bef81
movl -0x134(%rbp), %eax
subl $0x1, %eax
jne 0x1bf1bf
jmp 0x1bef92
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x174a0
movq %rax, -0x90(%rbp)
movq %rdx, -0x88(%rbp)
cmpq $0x0, 0x11d76a4(%rip)   # 0x1396658
jne 0x1befce
leaq 0x19cef2(%rip), %rdi    # 0x35beaf
movl $0x3, %esi
callq 0xb6c0
movq %rax, 0x11d768a(%rip)   # 0x1396658
jmp 0x1befd0
movq 0x11d7681(%rip), %rax   # 0x1396658
movq %rax, -0xa8(%rbp)
leaq 0x1d2173(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xa0(%rbp)
movq -0xa0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1bf0a5
movq 0x11d764c(%rip), %rax   # 0x1396658
movq %rax, -0xb8(%rbp)
leaq 0x1d213e(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xb0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xb8(%rbp), %rax
cmpq $0x0, %rax
je 0x1bf0a5
movq 0x11d7615(%rip), %rax   # 0x1396658
movq %rax, -0xc8(%rbp)
leaq 0x1d2107(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xc0(%rbp)
movq -0xc8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1bf0a5
movq 0x11d75e4(%rip), %rax   # 0x1396658
movq %rax, -0xd8(%rbp)
leaq 0x1d20d6(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xd0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xd8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1bf0a7
movq 0x11d75aa(%rip), %rax   # 0x1396658
movq %rax, -0x98(%rbp)
movq -0x90(%rbp), %rdi
movq -0x88(%rbp), %rsi
callq 0xb980
movq %rax, %rdi
movq -0x98(%rbp), %rsi
callq 0x1c22a0
movq %rax, -0xe0(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0x100(%rbp)
leaq 0x1d2065(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xf8(%rbp)
movq -0x100(%rbp), %rdi
movq -0xf8(%rbp), %rsi
callq 0xca10
movl %eax, -0xf0(%rbp)
movq %rdx, -0xe8(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x110(%rbp)
leaq 0x1d283a(%rip), %rax    # 0x391980
movq %rax, -0x108(%rbp)
movq -0x110(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x108(%rbp), %rax
movq %rax, -0x78(%rbp)
jmp 0x1bf1d8
leaq -0x120(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x120(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x130(%rbp)
leaq 0x1d27e0(%rip), %rax    # 0x391980
movq %rax, -0x128(%rbp)
movq -0x130(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x128(%rbp), %rax
movq %rax, -0x78(%rbp)
jmp 0x1bf1d8
leaq 0x194cbb(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x80(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x140, %rsp            # imm = 0x140
popq %rbp
retq
nopw %cs:(%rax,%rax)