// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_list_Nest_1_pairzy
static struct std_maybe_Maybe_1 mw_std_list_Nest_1_pairzy (struct std_list_Nest_1* in_Nest_1) {
	struct std_list_List_1 v3;
	VAL v4 = mw_std_list_Nest_1_uncons(in_Nest_1, &v3);
	struct std_maybe_Maybe_1 v5 = mw_std_list_List_1_singlezy(v3);
	struct std_maybe_Maybe_1 branch_Maybe_6;
	switch ((v5).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v7 = mtp_std_maybe_Maybe_1_Some(v5);
			PTUP r8 = PTRMK(0,tup_new(2),0);
			((TUP*)PTRPTR(r8))->size = 2;
			((TUP*)PTRPTR(r8))->cells[1] = v7;
			((TUP*)PTRPTR(r8))->cells[0] = v4;
			struct std_maybe_Maybe_1 v9 = mtw_std_maybe_Maybe_1_Some(MKTUP(r8));
			branch_Maybe_6 = v9;
		} break;
		case std_maybe_Maybe_1_None: {
			decref(v4);
			struct std_maybe_Maybe_1 v10 = { .tag=std_maybe_Maybe_1_None };
			branch_Maybe_6 = v10;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	return branch_Maybe_6;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x18(%rbp)
movq -0x18(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x1f210
movq %rax, -0x38(%rbp)
movq %rdx, -0x30(%rbp)
movl -0x28(%rbp), %edi
movq -0x20(%rbp), %rsi
callq 0x1f250
movl %eax, -0x48(%rbp)
movq %rdx, -0x40(%rbp)
movl -0x48(%rbp), %eax
movl %eax, -0x94(%rbp)
testl %eax, %eax
je 0x1a5c5
jmp 0x1a4fa
movl -0x94(%rbp), %eax
subl $0x1, %eax
jne 0x1a64d
jmp 0x1a50b
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
callq 0x174a0
movq %rax, -0x58(%rbp)
movq %rdx, -0x50(%rbp)
movl $0x2, %edi
callq 0x1a7d0
orq $0x0, %rax
orq $0x0, %rax
movq %rax, -0x60(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x60(%rbp), %rax
movw $0x2, 0x6(%rax)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x60(%rbp), %rax
movq -0x58(%rbp), %rcx
movq %rcx, 0x18(%rax)
movq -0x50(%rbp), %rcx
movq %rcx, 0x20(%rax)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x60(%rbp), %rax
movq -0x38(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x30(%rbp), %rcx
movq %rcx, 0x10(%rax)
movq -0x60(%rbp), %rax
movq %rax, -0x80(%rbp)
leaq 0x376e04(%rip), %rax    # 0x391398
orq $0x1, %rax
movq %rax, -0x78(%rbp)
movq -0x80(%rbp), %rdi
movq -0x78(%rbp), %rsi
callq 0xca10
movl %eax, -0x70(%rbp)
movq %rdx, -0x68(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x1a666
jmp 0x1a5c7
movq -0x30(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1a620
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x38(%rbp), %rax
cmpq $0x0, %rax
je 0x1a620
movq -0x38(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1a620
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x38(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1a61e
movq -0x38(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0x127c0
jmp 0x1a620
jmp 0x1a622
leaq -0x90(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x90(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x88(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x1a666
leaq 0x33982d(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0xa0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)