// File: /workspace/github_c_makefile_star2_O1/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_list_List_1_difference_sp1
static struct std_list_List_1 mw_std_list_List_1_difference_sp1 (struct std_list_List_1 in_List_1, struct std_list_List_1 in_List_2) {
	struct std_list_List_1 v4 = { .tag=std_list_List_1_Nil };
	struct std_list_List_1 v5;
	mw_std_list_List_1_buildzx(v4, &v5);
	bool v6 = true;
	struct std_list_List_1 v7 = in_List_2;
	struct std_list_List_1 r8 = v5;
	struct std_list_List_1 v9 = in_List_1;
	bool v10 = v6;
	bool v11 = v6;
	while (v11) {
		struct std_list_List_1 v12 = v7;
		struct std_list_List_1 r13 = r8;
		struct std_list_List_1 v14 = v9;
		bool v15 = v10;
		struct std_list_List_1 branch_List_16;
		struct std_list_List_1 branch_zaLister_17;
		struct std_list_List_1 branch_List_18;
		bool branch_Bool_19;
		switch ((v14).tag) {
			case std_list_List_1_Cons: {
				struct std_list_List_1 v20;
				VAL v21 = mtp_std_list_List_1_Cons(v14, &v20);
				incref(v21);
				incref(MK_std_list_List_1(v12));
				struct std_maybe_Maybe_1 v22 = { .tag=std_maybe_Maybe_1_None };
				bool v23 = true;
				VAL v24 = v21;
				struct std_maybe_Maybe_1 v25 = v22;
				struct std_list_List_1 v26 = v12;
				bool v27 = v23;
				bool v28 = v23;
				while (v28) {
					VAL v29 = v24;
					struct std_maybe_Maybe_1 v30 = v25;
					struct std_list_List_1 v31 = v26;
					bool v32 = v27;
					struct std_list_List_1 v33;
					struct std_maybe_Maybe_1 v34 = mw_std_list_List_1_uncons(v31, &v33);
					uint64_t branch_Var_35;
					struct std_maybe_Maybe_1 branch_Maybe_36;
					struct std_list_List_1 branch_List_37;
					bool branch_Bool_38;
					switch ((v34).tag) {
						case std_maybe_Maybe_1_Some: {
							VAL v39 = mtp_std_maybe_Maybe_1_Some(v34);
							incref(v39);
							incref(v29);
							uint64_t v40 = V_mirth_var_Var(v39);
							uint64_t v41 = V_mirth_var_Var(v29);
							bool v42 = (v40 == v41);
							uint64_t branch_Var_43;
							struct std_maybe_Maybe_1 branch_Maybe_44;
							if (v42) {
								struct std_maybe_Maybe_1 v45 = mtw_std_maybe_Maybe_1_Some(v39);
								branch_Maybe_44 = v45;
								branch_Var_43 = V_mirth_var_Var(v29);
							} else {
								decref(v39);
								struct std_maybe_Maybe_1 v46 = { .tag=std_maybe_Maybe_1_None };
								branch_Maybe_44 = v46;
								branch_Var_43 = V_mirth_var_Var(v29);
							}
							uint64_t branch_Var_47;
							struct std_maybe_Maybe_1 branch_Maybe_48;
							struct std_list_List_1 branch_List_49;
							switch ((branch_Maybe_44).tag) {
								case std_maybe_Maybe_1_None: {
									branch_List_49 = v33;
									branch_Maybe_48 = v30;
									branch_Var_47 = branch_Var_43;
								} break;
								default: {
									decref(MK_std_list_List_1(v33));
									decref(MK_std_maybe_Maybe_1(v30));
									struct std_list_List_1 v50 = { .tag=std_list_List_1_Nil };
									branch_List_49 = v50;
									branch_Maybe_48 = branch_Maybe_44;
									branch_Var_47 = branch_Var_43;
								} break;
							}
							bool v51 = true;
							branch_Bool_38 = v51;
							branch_List_37 = branch_List_49;
							branch_Maybe_36 = branch_Maybe_48;
							branch_Var_35 = branch_Var_47;
						} break;
						case std_maybe_Maybe_1_None: {
							bool v52 = false;
							branch_Bool_38 = v52;
							branch_List_37 = v33;
							branch_Maybe_36 = v30;
							branch_Var_35 = V_mirth_var_Var(v29);
						} break;
						default: {
							do_panic(str_make("unexpected fallthrough in match\n", 32));
						}
					}
					v28 = branch_Bool_38;
					v27 = branch_Bool_38;
					v26 = branch_List_37;
					v25 = branch_Maybe_36;
					v24 = MK_mirth_var_Var(branch_Var_35);
				}
				decref(MK_std_list_List_1(v26));
				decref(v24);
				int64_t v53 = (v25).tag;
				decref(MK_std_maybe_Maybe_1(v25));
				INT v54 = WRAP_I63(0LL);
				INT v55 = v54;
				INT v56 = i64_to_int(v53);
				bool v57 = int_eq(v56, v55);
				bool v58 = !v57;
				bool v59 = !v58;
				struct std_list_List_1 branch_List_60;
				struct std_list_List_1 branch_zaLister_61;
				if (v59) {
					struct std_list_List_1 v62;
					mw_std_list_zaLister_1_pushzx(v21, r13, &v62);
					branch_zaLister_61 = v62;
					branch_List_60 = v12;
				} else {
					decref(v21);
					branch_zaLister_61 = r13;
					branch_List_60 = v12;
				}
				bool v63 = true;
				branch_Bool_19 = v63;
				branch_List_18 = v20;
				branch_zaLister_17 = branch_zaLister_61;
				branch_List_16 = branch_List_60;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v64 = { .tag=std_list_List_1_Nil };
				bool v65 = false;
				branch_Bool_19 = v65;
				branch_List_18 = v64;
				branch_zaLister_17 = r13;
				branch_List_16 = v12;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v11 = branch_Bool_19;
		v10 = branch_Bool_19;
		v9 = branch_List_18;
		r8 = branch_zaLister_17;
		v7 = branch_List_16;
	}
	decref(MK_std_list_List_1(v9));
	struct std_list_List_1 v66 = mw_std_list_zaLister_1_donezx(r8);
	decref(MK_std_list_List_1(v7));
	return v66;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rcx, %r14
movq %rdx, -0x60(%rbp)
movq %rsi, %r15
movl %edi, %ebx
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
xorl %edi, %edi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xd37c
movl %eax, -0x30(%rbp)
movq %rdx, -0x50(%rbp)
movq %r14, %rax
andq %r12, %rax
movq %rax, -0x70(%rbp)
setne %al
movq %r14, -0x58(%rbp)
testb $0x3, %r14b
sete %cl
andb %al, %cl
movb %cl, -0x29(%rbp)
testl %ebx, %ebx
je 0x8e659
cmpl $0x1, %ebx
jne 0x8e733
movq %r15, %rdi
leaq -0x88(%rbp), %rsi
callq 0xd450
movq %rax, %r15
testb $0x1, %dl
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
je 0x8e419
movq %r15, %rax
andq %rsi, %rax
sete %cl
testb $0x3, %r15b
setne %dil
orb %cl, %dil
jne 0x8e419
incl (%rax)
cmpb $0x0, -0x29(%rbp)
je 0x8e425
movq -0x70(%rbp), %rax
incl (%rax)
movq %r15, %rax
andq %rsi, %rax
movq %rax, -0x78(%rbp)
sete %al
testb $0x3, %r15b
setne %bl
orb %al, %bl
movq %rdx, -0x68(%rbp)
testb $0x1, %dl
sete %r14b
xorl %r12d, %r12d
movq $0x0, -0x38(%rbp)
movq -0x58(%rbp), %rsi
movq -0x60(%rbp), %rdi
leaq -0x48(%rbp), %rdx
callq 0x115ef
testl %eax, %eax
je 0x8e4c5
cmpl $0x1, %eax
jne 0x8e733
movq %rdx, %rdi
callq 0xdaeb
movq %rax, %r13
testb $0x1, %dl
je 0x8e4a1
movq %r13, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r13b
setne %sil
orb %cl, %sil
jne 0x8e4a1
incl (%rax)
orb %bl, %r14b
testb $0x1, %r14b
jne 0x8e4b0
movq -0x78(%rbp), %rax
incl (%rax)
cmpq %r15, %r13
jne 0x8e4d4
movq %r13, %rdi
movq %rdx, %rsi
callq 0x95f6
movq %rdx, %r14
jmp 0x8e50b
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
xorl %r13d, %r13d
jmp 0x8e5a5
testb $0x1, %dl
je 0x8e508
movq %r13, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r13b
setne %sil
orb %cl, %sil
jne 0x8e508
decl (%rax)
jne 0x8e508
movq %r13, %rdi
movq %rdx, %rsi
callq 0xd4e3
xorl %r14d, %r14d
movl -0x48(%rbp), %edi
cmpq %r15, %r13
jne 0x8e59e
movq -0x40(%rbp), %rax
movq %rax, %rcx
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rdx, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0x8e550
decl (%rcx)
jne 0x8e550
shlq $0x30, %rdi
orq %rax, %rdi
leaq 0x86d2e(%rip), %rsi     # 0x115279
callq 0xd4e3
movq %r12, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r12b
setne %dl
movb $0x1, %r13b
orb %cl, %dl
jne 0x8e58c
decl (%rax)
jne 0x8e58c
movq -0x38(%rbp), %rdi
shlq $0x30, %rdi
orq %r12, %rdi
leaq 0x86d3a(%rip), %rsi     # 0x1152c1
callq 0xd4e3
xorl %edi, %edi
movl $0x1, %eax
movq %rax, -0x38(%rbp)
movq %r14, %r12
xorl %esi, %esi
jmp 0x8e5a5
movb $0x1, %r13b
movq -0x40(%rbp), %rsi
movb $0x1, %r14b
testb %r13b, %r13b
jne 0x8e459
movq %rsi, %rax
movabsq $0xfffffffffffc, %r14   # imm = 0xFFFFFFFFFFFC
andq %r14, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x8e5e6
decl (%rax)
jne 0x8e5e6
shlq $0x30, %rdi
orq %rsi, %rdi
leaq 0x86c98(%rip), %rsi     # 0x115279
callq 0xd4e3
movl -0x38(%rbp), %ebx
movq %r12, %rax
andq %r14, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0x8e617
decl (%rax)
jne 0x8e617
movq %rbx, %rdi
shlq $0x30, %rdi
orq %r12, %rdi
leaq 0x86caf(%rip), %rsi     # 0x1152c1
callq 0xd4e3
leaq 0x1(,%rbx,2), %rdi
movl $0x1, %esi
callq 0xec04
testl %eax, %eax
je 0x8e660
movq -0x68(%rbp), %rsi
testb $0x1, %sil
je 0x8e685
movq %r15, %rax
andq %r14, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0x8e685
decl (%rax)
jne 0x8e685
movq %r15, %rdi
callq 0xd4e3
jmp 0x8e685
xorl %eax, %eax
xorl %r15d, %r15d
jmp 0x8e691
movq %r15, %rdi
movq -0x68(%rbp), %rsi
movl -0x30(%rbp), %edx
movq -0x50(%rbp), %rcx
leaq -0x48(%rbp), %r8
callq 0x9741
movl -0x48(%rbp), %eax
movl %eax, -0x30(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x50(%rbp)
movl -0x88(%rbp), %ebx
movq -0x80(%rbp), %r15
movb $0x1, %al
testb %al, %al
jne 0x8e3cf
leaq 0x86bd9(%rip), %r14     # 0x115279
movq %r15, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0x8e6d4
decl (%rax)
jne 0x8e6d4
shlq $0x30, %rbx
orq %r15, %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0xd4e3
xorl %edi, %edi
xorl %esi, %esi
movl -0x30(%rbp), %edx
movq -0x50(%rbp), %rcx
callq 0xd37c
movl %eax, %ebx
movq %rdx, %r15
movq -0x58(%rbp), %rcx
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rdx
sete %al
testb $0x3, %cl
setne %cl
orb %al, %cl
jne 0x8e71f
decl (%rdx)
jne 0x8e71f
movq -0x60(%rbp), %rdi
shlq $0x30, %rdi
orq -0x58(%rbp), %rdi
movq %r14, %rsi
callq 0xd4e3
movl %ebx, %eax
movq %r15, %rdx
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf9f7
movq $0x20, 0x10(%rax)
movups 0x56001(%rip), %xmm0    # 0xe474d
movups %xmm0, 0x18(%rax)
movups 0x56006(%rip), %xmm0    # 0xe475d
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x95a5