// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_name_DName_penultimatezenamezy
static struct std_maybe_Maybe_1 mw_mirth_name_DName_penultimatezenamezy (struct mirth_name_DName* in_DName_1) {
	struct std_list_Nest_1* v3;
	struct std_maybe_Maybe_1 v4 = mtp_mirth_name_DName_DName(in_DName_1, &v3);
	VAL v5;
	struct std_list_List_1 v6 = mw_std_list_Nest_1_unsnoc(v3, &v5);
	decref(v5);
	struct std_maybe_Maybe_1 v7 = mw_std_list_List_1_last(v6);
	struct std_maybe_Maybe_1 branch_Maybe_8;
	switch ((v7).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v9 = mtp_std_maybe_Maybe_1_Some(v7);
			decref(MK_std_maybe_Maybe_1(v4));
			struct std_maybe_Maybe_1 v10 = mtw_std_maybe_Maybe_1_Some(v9);
			branch_Maybe_8 = v10;
		} break;
		case std_maybe_Maybe_1_None: {
			branch_Maybe_8 = v4;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	return branch_Maybe_8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movq %rdi, -0x18(%rbp)
movq -0x18(%rbp), %rdi
leaq -0x20(%rbp), %rsi
callq 0x851b0
movl %eax, -0x30(%rbp)
movq %rdx, -0x28(%rbp)
movq -0x20(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0x85390
movl %eax, -0x50(%rbp)
movq %rdx, -0x48(%rbp)
movq -0x38(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x85000
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x40(%rbp), %rax
cmpq $0x0, %rax
je 0x85000
movq -0x40(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x85000
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x40(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x84ffe
movq -0x40(%rbp), %rdi
movq -0x38(%rbp), %rsi
callq 0x127c0
jmp 0x85000
jmp 0x85002
movl -0x50(%rbp), %edi
movq -0x48(%rbp), %rsi
callq 0x853f0
movl %eax, -0x60(%rbp)
movq %rdx, -0x58(%rbp)
movl -0x60(%rbp), %eax
movl %eax, -0xd4(%rbp)
testl %eax, %eax
je 0x8516d
jmp 0x85028
movl -0xd4(%rbp), %eax
subl $0x1, %eax
jne 0x8517f
jmp 0x85039
movl -0x60(%rbp), %edi
movq -0x58(%rbp), %rsi
callq 0x174a0
movq %rax, -0x70(%rbp)
movq %rdx, -0x68(%rbp)
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x133a0
movq %rax, -0x80(%rbp)
movq %rdx, -0x78(%rbp)
movq -0x78(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x85139
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x133a0
movq %rax, -0x90(%rbp)
movq %rdx, -0x88(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x90(%rbp), %rax
cmpq $0x0, %rax
je 0x85139
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x133a0
movq %rax, -0xa0(%rbp)
movq %rdx, -0x98(%rbp)
movq -0xa0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x85139
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x133a0
movq %rax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0xb0(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x85137
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x133a0
movq %rax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movq -0xc0(%rbp), %rdi
movq -0xb8(%rbp), %rsi
callq 0x127c0
jmp 0x85139
jmp 0x8513b
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
callq 0xca10
movl %eax, -0xd0(%rbp)
movq %rdx, -0xc8(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x85198
movq -0x30(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x85198
leaq 0x2cecfb(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0xe0, %rsp
popq %rbp
retq
nopl (%rax,%rax)