// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_token_TokenValue_namezfdnamezy
static struct std_maybe_Maybe_1 mw_mirth_token_TokenValue_namezfdnamezy (struct mirth_token_TokenValue in_TokenValue_1) {
	struct std_maybe_Maybe_1 branch_Maybe_3;
	switch ((in_TokenValue_1).tag) {
		case mirth_token_TokenValue_Name: {
			uint64_t v4 = mtp_mirth_token_TokenValue_Name(in_TokenValue_1);
			struct std_either_Either_2 v5 = mtw_std_either_Either_2_Left(MK_mirth_name_Name(v4));
			struct std_maybe_Maybe_1 v6 = mtw_std_maybe_Maybe_1_Some(MK_std_either_Either_2(v5));
			branch_Maybe_3 = v6;
		} break;
		case mirth_token_TokenValue_DName: {
			struct mirth_name_DName* v7 = mtp_mirth_token_TokenValue_DName(in_TokenValue_1);
			struct std_either_Either_2 v8 = mtw_std_either_Either_2_Right(MK_mirth_name_DName(v7));
			struct std_maybe_Maybe_1 v9 = mtw_std_maybe_Maybe_1_Some(MK_std_either_Either_2(v8));
			branch_Maybe_3 = v9;
		} break;
		default: {
			decref(MK_mirth_token_TokenValue(in_TokenValue_1));
			struct std_maybe_Maybe_1 v10 = { .tag=std_maybe_Maybe_1_None };
			branch_Maybe_3 = v10;
		} break;
	}
	return branch_Maybe_3;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp            # imm = 0x120
movl %edi, -0x20(%rbp)
movq %rsi, -0x18(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x114(%rbp)
subl $0x1b, %eax
je 0x7b892
jmp 0x7b882
movl -0x114(%rbp), %eax
subl $0x1c, %eax
je 0x7b906
jmp 0x7b9a2
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x799e0
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x48(%rbp)
leaq 0x315ed7(%rip), %rax    # 0x391788
movq %rax, -0x40(%rbp)
movq -0x48(%rbp), %rdi
movq -0x40(%rbp), %rsi
callq 0x73f50
movl %eax, -0x38(%rbp)
movq %rdx, -0x30(%rbp)
movl -0x38(%rbp), %edi
movq -0x30(%rbp), %rsi
callq 0x7bae0
movq %rax, -0x68(%rbp)
movq %rdx, -0x60(%rbp)
movq -0x68(%rbp), %rdi
movq -0x60(%rbp), %rsi
callq 0xca10
movl %eax, -0x58(%rbp)
movq %rdx, -0x50(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x7bac4
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x79a30
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x90(%rbp)
leaq 0x3165b0(%rip), %rax    # 0x391ed8
orq $0x1, %rax
movq %rax, -0x88(%rbp)
movq -0x90(%rbp), %rdi
movq -0x88(%rbp), %rsi
callq 0x73fe0
movl %eax, -0x80(%rbp)
movq %rdx, -0x78(%rbp)
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x7bae0
movq %rax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
callq 0xca10
movl %eax, -0xa0(%rbp)
movq %rdx, -0x98(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x7bac4
jmp 0x7b9a4
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x79bd0
movq %rax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movq -0xb8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x7ba99
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x79bd0
movq %rax, -0xd0(%rbp)
movq %rdx, -0xc8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xd0(%rbp), %rax
cmpq $0x0, %rax
je 0x7ba99
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x79bd0
movq %rax, -0xe0(%rbp)
movq %rdx, -0xd8(%rbp)
movq -0xe0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x7ba99
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x79bd0
movq %rax, -0xf0(%rbp)
movq %rdx, -0xe8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0xf0(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x7ba97
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x79bd0
movq %rax, -0x100(%rbp)
movq %rdx, -0xf8(%rbp)
movq -0x100(%rbp), %rdi
movq -0xf8(%rbp), %rsi
callq 0x127c0
jmp 0x7ba99
jmp 0x7ba9b
leaq -0x110(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x110(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x108(%rbp), %rax
movq %rax, -0x8(%rbp)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq
nopw %cs:(%rax,%rax)