// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_list_List_1_unions_sp1
static struct std_list_List_1 mw_std_list_List_1_unions_sp1 (struct std_list_List_1 in_List_1) {
	struct std_maybe_Maybe_1 v3 = mw_std_list_List_1_zgNestzy(in_List_1);
	struct std_maybe_Maybe_1 branch_Maybe_4;
	switch ((v3).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v5 = mtp_std_maybe_Maybe_1_Some(v3);
			struct std_list_List_1 v6;
			VAL v7 = mw_std_list_Nest_1_uncons(V_std_list_Nest_1(v5), &v6);
			bool v8 = true;
			VAL v9 = v7;
			struct std_list_List_1 v10 = v6;
			bool v11 = v8;
			bool v12 = v8;
			while (v12) {
				VAL v13 = v9;
				struct std_list_List_1 v14 = v10;
				bool v15 = v11;
				struct std_list_List_1 branch_List_16;
				struct std_list_List_1 branch_List_17;
				bool branch_Bool_18;
				switch ((v14).tag) {
					case std_list_List_1_Cons: {
						struct std_list_List_1 v19;
						VAL v20 = mtp_std_list_List_1_Cons(v14, &v19);
						struct std_list_List_1 v21 = mw_std_list_List_1_union_sp1(V_std_list_List_1(v13), V_std_list_List_1(v20));
						bool v22 = true;
						branch_Bool_18 = v22;
						branch_List_17 = v19;
						branch_List_16 = v21;
					} break;
					case std_list_List_1_Nil: {
						struct std_list_List_1 v23 = { .tag=std_list_List_1_Nil };
						bool v24 = false;
						branch_Bool_18 = v24;
						branch_List_17 = v23;
						branch_List_16 = V_std_list_List_1(v13);
					} break;
					default: {
						do_panic(str_make("unexpected fallthrough in match\n", 32));
					}
				}
				v12 = branch_Bool_18;
				v11 = branch_Bool_18;
				v10 = branch_List_17;
				v9 = MK_std_list_List_1(branch_List_16);
			}
			decref(MK_std_list_List_1(v10));
			struct std_maybe_Maybe_1 v25 = mtw_std_maybe_Maybe_1_Some(v9);
			branch_Maybe_4 = v25;
		} break;
		case std_maybe_Maybe_1_None: {
			struct std_maybe_Maybe_1 v26 = { .tag=std_maybe_Maybe_1_None };
			branch_Maybe_4 = v26;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	struct std_list_List_1 v27 = mw_std_maybe_Maybe_1_unwrap_1_sp16(branch_Maybe_4);
	return v27;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x200, %rsp            # imm = 0x200
movl %edi, -0x20(%rbp)
movq %rsi, -0x18(%rbp)
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x854d0
movl %eax, -0x30(%rbp)
movq %rdx, -0x28(%rbp)
movl -0x30(%rbp), %eax
movl %eax, -0x1f4(%rbp)
testl %eax, %eax
je 0x1fc875
jmp 0x1fc458
movl -0x1f4(%rbp), %eax
subl $0x1, %eax
jne 0x1fc8a0
jmp 0x1fc469
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x174a0
movq %rax, -0x50(%rbp)
movq %rdx, -0x48(%rbp)
movq -0x50(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x1f210
movq %rax, -0x70(%rbp)
movq %rdx, -0x68(%rbp)
movb $0x1, -0x71(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x90(%rbp)
movb -0x71(%rbp), %al
andb $0x1, %al
movb %al, -0x99(%rbp)
movb -0x71(%rbp), %al
andb $0x1, %al
movb %al, -0x9a(%rbp)
testb $0x1, -0x9a(%rbp)
je 0x1fc729
movups -0x88(%rbp), %xmm0
movaps %xmm0, -0xb0(%rbp)
movups -0x98(%rbp), %xmm0
movaps %xmm0, -0xc0(%rbp)
movb -0x99(%rbp), %al
andb $0x1, %al
movb %al, -0xc1(%rbp)
movl -0xc0(%rbp), %eax
movl %eax, -0x1f8(%rbp)
testl %eax, %eax
je 0x1fc618
jmp 0x1fc522
movl -0x1f8(%rbp), %eax
subl $0x1, %eax
jne 0x1fc69a
jmp 0x1fc533
movl -0xc0(%rbp), %edi
movq -0xb8(%rbp), %rsi
leaq -0x100(%rbp), %rdx
callq 0x125e0
movq %rax, -0x110(%rbp)
movq %rdx, -0x108(%rbp)
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
callq 0x12c80
movl %eax, -0x130(%rbp)
movq %rdx, -0x128(%rbp)
movq -0x110(%rbp), %rdi
movq -0x108(%rbp), %rsi
callq 0x12c80
movl %eax, -0x140(%rbp)
movq %rdx, -0x138(%rbp)
movl -0x130(%rbp), %edi
movq -0x128(%rbp), %rsi
movl -0x140(%rbp), %edx
movq -0x138(%rbp), %rcx
callq 0x1fd360
movl %eax, -0x120(%rbp)
movq %rdx, -0x118(%rbp)
movb $0x1, -0x141(%rbp)
movb -0x141(%rbp), %al
andb $0x1, %al
movb %al, -0xe9(%rbp)
movq -0x100(%rbp), %rax
movq %rax, -0xe8(%rbp)
movq -0xf8(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0x120(%rbp), %rax
movq %rax, -0xd8(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0xd0(%rbp)
jmp 0x1fc6b3
leaq -0x158(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movb $0x0, -0x159(%rbp)
movb -0x159(%rbp), %al
andb $0x1, %al
movb %al, -0xe9(%rbp)
movq -0x158(%rbp), %rax
movq %rax, -0xe8(%rbp)
movq -0x150(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
callq 0x12c80
movl %eax, -0x170(%rbp)
movq %rdx, -0x168(%rbp)
movq -0x170(%rbp), %rax
movq %rax, -0xd8(%rbp)
movq -0x168(%rbp), %rax
movq %rax, -0xd0(%rbp)
jmp 0x1fc6b3
leaq 0x1577e0(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movb -0xe9(%rbp), %al
andb $0x1, %al
movb %al, -0x9a(%rbp)
movb -0xe9(%rbp), %al
andb $0x1, %al
movb %al, -0x99(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0x90(%rbp)
movl -0xd8(%rbp), %edi
movq -0xd0(%rbp), %rsi
callq 0x12780
movq %rax, -0x180(%rbp)
movq %rdx, -0x178(%rbp)
movq -0x180(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0x80(%rbp)
jmp 0x1fc4d5
jmp 0x1fc72b
movl -0x98(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x12780
movq %rax, -0x190(%rbp)
movq %rdx, -0x188(%rbp)
movq -0x188(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1fc83e
movl -0x98(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x12780
movq %rax, -0x1a0(%rbp)
movq %rdx, -0x198(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1a0(%rbp), %rax
cmpq $0x0, %rax
je 0x1fc83e
movl -0x98(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x12780
movq %rax, -0x1b0(%rbp)
movq %rdx, -0x1a8(%rbp)
movq -0x1b0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1fc83e
movl -0x98(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x12780
movq %rax, -0x1c0(%rbp)
movq %rdx, -0x1b8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x1c0(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1fc83c
movl -0x98(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x12780
movq %rax, -0x1d0(%rbp)
movq %rdx, -0x1c8(%rbp)
movq -0x1d0(%rbp), %rdi
movq -0x1c8(%rbp), %rsi
callq 0x127c0
jmp 0x1fc83e
jmp 0x1fc840
movq -0x88(%rbp), %rdi
movq -0x80(%rbp), %rsi
callq 0xca10
movl %eax, -0x1e0(%rbp)
movq %rdx, -0x1d8(%rbp)
movq -0x1e0(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x1d8(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1fc8b9
leaq -0x1f0(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x1f0(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x1e8(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1fc8b9
leaq 0x1575da(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x1ff2c0
movl %eax, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x200, %rsp            # imm = 0x200
popq %rbp
retq
nopl (%rax)