// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_list_List_1_pairzy
static struct std_maybe_Maybe_1 mw_std_list_List_1_pairzy (struct std_list_List_1 in_List_1) {
	struct std_maybe_Maybe_1 branch_Maybe_3;
	switch ((in_List_1).tag) {
		case std_list_List_1_Nil: {
			struct std_maybe_Maybe_1 v4 = { .tag=std_maybe_Maybe_1_None };
			branch_Maybe_3 = v4;
		} break;
		case std_list_List_1_Cons: {
			struct std_list_List_1 v5;
			VAL v6 = mtp_std_list_List_1_Cons(in_List_1, &v5);
			struct std_maybe_Maybe_1 branch_Maybe_7;
			switch ((v5).tag) {
				case std_list_List_1_Nil: {
					decref(v6);
					struct std_maybe_Maybe_1 v8 = { .tag=std_maybe_Maybe_1_None };
					branch_Maybe_7 = v8;
				} break;
				case std_list_List_1_Cons: {
					struct std_list_List_1 v9;
					VAL v10 = mtp_std_list_List_1_Cons(v5, &v9);
					struct std_maybe_Maybe_1 branch_Maybe_11;
					switch ((v9).tag) {
						case std_list_List_1_Nil: {
							PTUP r12 = PTRMK(0,tup_new(2),0);
							((TUP*)PTRPTR(r12))->size = 2;
							((TUP*)PTRPTR(r12))->cells[1] = v10;
							((TUP*)PTRPTR(r12))->cells[0] = v6;
							struct std_maybe_Maybe_1 v13 = mtw_std_maybe_Maybe_1_Some(MKTUP(r12));
							branch_Maybe_11 = v13;
						} break;
						default: {
							decref(MK_std_list_List_1(v9));
							decref(v10);
							decref(v6);
							struct std_maybe_Maybe_1 v14 = { .tag=std_maybe_Maybe_1_None };
							branch_Maybe_11 = v14;
						} break;
					}
					branch_Maybe_7 = branch_Maybe_11;
				} break;
				default: {
					do_panic(str_make("unexpected fallthrough in match\n", 32));
				}
			}
			branch_Maybe_3 = branch_Maybe_7;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	return branch_Maybe_3;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
testl %edi, %edi
je 0x91ea3
cmpl $0x1, %edi
jne 0x91ef3
leaq -0x48(%rbp), %r15
movq %rsi, %rdi
movq %r15, %rsi
callq 0xd0aa
movq %rax, %r14
movq %rdx, %rbx
movl (%r15), %eax
cmpl $0x1, %eax
je 0x91def
testl %eax, %eax
jne 0x91ef3
testb $0x1, %bl
je 0x91ea1
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
movq %r14, %rax
andq %rcx, %rax
jmp 0x91e84
movabsq $0xfffffffffffc, %r15   # imm = 0xFFFFFFFFFFFC
movq -0x40(%rbp), %rdi
leaq -0x38(%rbp), %r13
movq %r13, %rsi
callq 0xd0aa
movq %rax, %r12
movl (%r13), %edi
testq %rdi, %rdi
je 0x91eb6
movq -0x30(%rbp), %rax
movq %rax, %rcx
andq %r15, %rcx
sete %r8b
testb $0x3, %al
setne %sil
orb %r8b, %sil
jne 0x91e4f
decl (%rcx)
jne 0x91e4f
shlq $0x30, %rdi
orq %rax, %rdi
leaq 0x7f435(%rip), %rsi     # 0x111279
movq %rdx, %r13
callq 0xd13d
movq %r13, %rdx
testb $0x1, %dl
je 0x91e79
movq %r12, %rax
andq %r15, %rax
sete %cl
testb $0x3, %r12b
setne %sil
orb %cl, %sil
jne 0x91e79
decl (%rax)
jne 0x91e79
movq %r12, %rdi
movq %rdx, %rsi
callq 0xd13d
testb $0x1, %bl
je 0x91ea1
movq %r14, %rax
andq %r15, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0x91ea1
decl (%rax)
jne 0x91ea1
movq %r14, %rdi
movq %rbx, %rsi
callq 0xd13d
xorl %edi, %edi
xorl %edx, %edx
movl %edi, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x2, %edi
movq %rdx, %r13
callq 0xe0e7
andq %rax, %r15
movw $0x2, 0x6(%r15)
movq %r12, 0x18(%r15)
movq %r13, 0x20(%r15)
movq %r14, 0x8(%r15)
movq %rbx, 0x10(%r15)
leaq 0x7f4b5(%rip), %rsi     # 0x111399
movq %rax, %rdi
callq 0x9353
movl $0x1, %edi
jmp 0x91ea5
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0x4e7c1(%rip), %xmm0    # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0x4e7c6(%rip), %xmm0    # 0xe06dd
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x9302