// File: /workspace/github_c_makefile_star2_O0/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
subq $0x130, %rsp            # imm = 0x130
movl %edi, -0x20(%rbp)
movq %rsi, -0x18(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x12c(%rbp)
testl %eax, %eax
je 0x21db21
jmp 0x21db11
movl -0x12c(%rbp), %eax
subl $0x1, %eax
je 0x21db46
jmp 0x21df3e
leaq -0x30(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x30(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x21df57
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
leaq -0x40(%rbp), %rdx
callq 0x125e0
movq %rax, -0x50(%rbp)
movq %rdx, -0x48(%rbp)
movl -0x40(%rbp), %eax
movl %eax, -0x130(%rbp)
testl %eax, %eax
je 0x21db81
jmp 0x21db6d
movl -0x130(%rbp), %eax
subl $0x1, %eax
je 0x21dc03
jmp 0x21df13
jmp 0x21db83
movq -0x48(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x21dbdc
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x50(%rbp), %rax
cmpq $0x0, %rax
je 0x21dbdc
movq -0x50(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x21dbdc
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x50(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x21dbda
movq -0x50(%rbp), %rdi
movq -0x48(%rbp), %rsi
callq 0x127c0
jmp 0x21dbdc
jmp 0x21dbde
leaq -0x70(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x70(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x58(%rbp)
jmp 0x21df2c
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
leaq -0x80(%rbp), %rdx
callq 0x125e0
movq %rax, -0x90(%rbp)
movq %rdx, -0x88(%rbp)
movl -0x80(%rbp), %eax
testl %eax, %eax
jne 0x21dd07
jmp 0x21dc2e
movl $0x2, %edi
callq 0x1a7d0
orq $0x0, %rax
orq $0x0, %rax
movq %rax, -0xa8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xa8(%rbp), %rax
movw $0x2, 0x6(%rax)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xa8(%rbp), %rax
movq -0x90(%rbp), %rcx
movq %rcx, 0x18(%rax)
movq -0x88(%rbp), %rcx
movq %rcx, 0x20(%rax)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xa8(%rbp), %rax
movq -0x50(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x48(%rbp), %rcx
movq %rcx, 0x10(%rax)
movq -0xa8(%rbp), %rax
movq %rax, -0xc8(%rbp)
leaq 0x1736dd(%rip), %rax    # 0x391398
orq $0x1, %rax
movq %rax, -0xc0(%rbp)
movq -0xc8(%rbp), %rdi
movq -0xc0(%rbp), %rsi
callq 0xca10
movl %eax, -0xb8(%rbp)
movq %rdx, -0xb0(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0x98(%rbp)
jmp 0x21defb
jmp 0x21dd09
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x12780
movq %rax, -0xd8(%rbp)
movq %rdx, -0xd0(%rbp)
movq -0xd0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x21ddfe
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x12780
movq %rax, -0xe8(%rbp)
movq %rdx, -0xe0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xe8(%rbp), %rax
cmpq $0x0, %rax
je 0x21ddfe
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x12780
movq %rax, -0xf8(%rbp)
movq %rdx, -0xf0(%rbp)
movq -0xf8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x21ddfe
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x12780
movq %rax, -0x108(%rbp)
movq %rdx, -0x100(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x108(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x21ddfc
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x12780
movq %rax, -0x118(%rbp)
movq %rdx, -0x110(%rbp)
movq -0x118(%rbp), %rdi
movq -0x110(%rbp), %rsi
callq 0x127c0
jmp 0x21ddfe
jmp 0x21de00
jmp 0x21de02
movq -0x88(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x21de6d
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x90(%rbp), %rax
cmpq $0x0, %rax
je 0x21de6d
movq -0x90(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x21de6d
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x90(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x21de6b
movq -0x90(%rbp), %rdi
movq -0x88(%rbp), %rsi
callq 0x127c0
jmp 0x21de6d
jmp 0x21de6f
jmp 0x21de71
movq -0x48(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x21deca
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x50(%rbp), %rax
cmpq $0x0, %rax
je 0x21deca
movq -0x50(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x21deca
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x50(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x21dec8
movq -0x50(%rbp), %rdi
movq -0x48(%rbp), %rsi
callq 0x127c0
jmp 0x21deca
jmp 0x21decc
leaq -0x128(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x128(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0x120(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0x58(%rbp)
jmp 0x21df2c
leaq 0x135f67(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x60(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x21df57
leaq 0x135f3c(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x130, %rsp            # imm = 0x130
popq %rbp
retq
nopw (%rax,%rax)