// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_specializzer_zaSPCheck_checkzematchzx
static struct mirth_match_Match* mw_mirth_specializzer_zaSPCheck_checkzematchzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct std_list_List_1 in_zaSPCheck_2, struct mirth_match_Match* in_Match_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct std_list_List_1 *out_zaSPCheck_5) {
	incref(MK_mirth_match_Match(in_Match_3));
	struct std_list_List_1 v7 = in_Match_3->mcases;
	incref(MK_std_list_List_1(v7));
	decref(MK_mirth_match_Match(in_Match_3));
	struct std_list_List_1 v8 = { .tag=std_list_List_1_Nil };
	struct std_list_List_1 v9;
	mw_std_list_List_1_buildzx(v8, &v9);
	bool v10 = true;
	struct mirth_mirth_zaMirth* r11 = in_zaMirth_1;
	struct std_list_List_1 r12 = in_zaSPCheck_2;
	struct std_list_List_1 r13 = v9;
	struct std_list_List_1 v14 = v7;
	bool v15 = v10;
	bool v16 = v10;
	while (v16) {
		struct mirth_mirth_zaMirth* r17 = r11;
		struct std_list_List_1 r18 = r12;
		struct std_list_List_1 r19 = r13;
		struct std_list_List_1 v20 = v14;
		bool v21 = v15;
		struct mirth_mirth_zaMirth* branch_zaMirth_22;
		struct std_list_List_1 branch_zaSPCheck_23;
		struct std_list_List_1 branch_zaLister_24;
		struct std_list_List_1 branch_List_25;
		bool branch_Bool_26;
		switch ((v20).tag) {
			case std_list_List_1_Cons: {
				struct std_list_List_1 v27;
				VAL v28 = mtp_std_list_List_1_Cons(v20, &v27);
				struct mirth_mirth_zaMirth* v29;
				struct std_list_List_1 v30;
				struct mirth_match_Case* v31 = mw_mirth_specializzer_zaSPCheck_checkzecasezx(r17, r18, V_mirth_match_Case(v28), &v29, &v30);
				struct std_list_List_1 v32;
				mw_std_list_zaLister_1_pushzx(MK_mirth_match_Case(v31), r19, &v32);
				bool v33 = true;
				branch_Bool_26 = v33;
				branch_List_25 = v27;
				branch_zaLister_24 = v32;
				branch_zaSPCheck_23 = v30;
				branch_zaMirth_22 = v29;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v34 = { .tag=std_list_List_1_Nil };
				bool v35 = false;
				branch_Bool_26 = v35;
				branch_List_25 = v34;
				branch_zaLister_24 = r19;
				branch_zaSPCheck_23 = r18;
				branch_zaMirth_22 = r17;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v16 = branch_Bool_26;
		v15 = branch_Bool_26;
		v14 = branch_List_25;
		r13 = branch_zaLister_24;
		r12 = branch_zaSPCheck_23;
		r11 = branch_zaMirth_22;
	}
	decref(MK_std_list_List_1(v14));
	struct std_list_List_1 v36 = mw_std_list_zaLister_1_donezx(r13);
	struct mirth_match_Match* v37 = mirth_match_Match_set_cases(in_Match_3, v36);
	*out_zaSPCheck_5 = r12;
	*out_zaMirth_4 = r11;
	return v37;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2f0, %rsp            # imm = 0x2F0
movl %esi, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x40(%rbp)
leaq 0x19b847(%rip), %rax    # 0x392748
orq $0x1, %rax
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1f6f93
movq -0x20(%rbp), %rax
movq %rax, -0x50(%rbp)
leaq 0x19b822(%rip), %rax    # 0x392748
orq $0x1, %rax
movq %rax, -0x48(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x50(%rbp), %rax
cmpq $0x0, %rax
je 0x1f6f93
movq -0x20(%rbp), %rax
movq %rax, -0x60(%rbp)
leaq 0x19b7f7(%rip), %rax    # 0x392748
orq $0x1, %rax
movq %rax, -0x58(%rbp)
movq -0x60(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1f6f93
movq -0x20(%rbp), %rax
movq %rax, -0x70(%rbp)
leaq 0x19b7d2(%rip), %rax    # 0x392748
orq $0x1, %rax
movq %rax, -0x68(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x70(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1f6f95
movq -0x20(%rbp), %rax
movq 0x58(%rax), %rcx
movq %rcx, -0x80(%rbp)
movq 0x60(%rax), %rax
movq %rax, -0x78(%rbp)
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x12780
movq %rax, -0x90(%rbp)
movq %rdx, -0x88(%rbp)
movq -0x88(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1f7066
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x12780
movq %rax, -0xa0(%rbp)
movq %rdx, -0x98(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xa0(%rbp), %rax
cmpq $0x0, %rax
je 0x1f7066
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x12780
movq %rax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movq -0xb0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1f7066
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x12780
movq %rax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xc0(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1f7068
jmp 0x1f706a
movq -0x20(%rbp), %rax
movq %rax, -0xd0(%rbp)
leaq 0x19b6cc(%rip), %rax    # 0x392748
orq $0x1, %rax
movq %rax, -0xc8(%rbp)
movq -0xc8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1f716e
movq -0x20(%rbp), %rax
movq %rax, -0xe0(%rbp)
leaq 0x19b69a(%rip), %rax    # 0x392748
orq $0x1, %rax
movq %rax, -0xd8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xe0(%rbp), %rax
cmpq $0x0, %rax
je 0x1f716e
movq -0x20(%rbp), %rax
movq %rax, -0xf0(%rbp)
leaq 0x19b662(%rip), %rax    # 0x392748
orq $0x1, %rax
movq %rax, -0xe8(%rbp)
movq -0xf0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1f716e
movq -0x20(%rbp), %rax
movq %rax, -0x100(%rbp)
leaq 0x19b634(%rip), %rax    # 0x392748
orq $0x1, %rax
movq %rax, -0xf8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x100(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1f716c
movq -0x20(%rbp), %rax
movq %rax, -0x110(%rbp)
leaq 0x19b5fa(%rip), %rax    # 0x392748
orq $0x1, %rax
movq %rax, -0x108(%rbp)
movq -0x110(%rbp), %rdi
movq -0x108(%rbp), %rsi
callq 0x127c0
jmp 0x1f716e
jmp 0x1f7170
leaq -0x120(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movl -0x120(%rbp), %edi
movq -0x118(%rbp), %rsi
leaq -0x130(%rbp), %rdx
callq 0xc9d0
movb $0x1, -0x131(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x140(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x150(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x148(%rbp)
movq -0x130(%rbp), %rax
movq %rax, -0x160(%rbp)
movq -0x128(%rbp), %rax
movq %rax, -0x158(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x170(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x168(%rbp)
movb -0x131(%rbp), %al
andb $0x1, %al
movb %al, -0x171(%rbp)
movb -0x131(%rbp), %al
andb $0x1, %al
movb %al, -0x172(%rbp)
testb $0x1, -0x172(%rbp)
je 0x1f74d3
movq -0x140(%rbp), %rax
movq %rax, -0x180(%rbp)
movups -0x150(%rbp), %xmm0
movaps %xmm0, -0x190(%rbp)
movups -0x160(%rbp), %xmm0
movaps %xmm0, -0x1a0(%rbp)
movups -0x170(%rbp), %xmm0
movaps %xmm0, -0x1b0(%rbp)
movb -0x171(%rbp), %al
andb $0x1, %al
movb %al, -0x1b1(%rbp)
movl -0x1b0(%rbp), %eax
movl %eax, -0x2e4(%rbp)
testl %eax, %eax
je 0x1f73ab
jmp 0x1f727b
movl -0x2e4(%rbp), %eax
subl $0x1, %eax
jne 0x1f7437
jmp 0x1f728c
movl -0x1b0(%rbp), %edi
movq -0x1a8(%rbp), %rsi
leaq -0x208(%rbp), %rdx
callq 0x125e0
movq %rax, -0x218(%rbp)
movq %rdx, -0x210(%rbp)
movq -0x180(%rbp), %rdi
movq -0x218(%rbp), %rcx
movl -0x190(%rbp), %esi
movq -0x188(%rbp), %rdx
leaq -0x220(%rbp), %r8
leaq -0x230(%rbp), %r9
callq 0x212360
movq %rax, -0x238(%rbp)
movq -0x238(%rbp), %rax
movq %rax, -0x258(%rbp)
leaq 0x19b403(%rip), %rax    # 0x392700
orq $0x1, %rax
movq %rax, -0x250(%rbp)
movq -0x258(%rbp), %rdi
movq -0x250(%rbp), %rsi
movl -0x1a0(%rbp), %edx
movq -0x198(%rbp), %rcx
leaq -0x248(%rbp), %r8
callq 0xcc30
movb $0x1, -0x259(%rbp)
movb -0x259(%rbp), %al
andb $0x1, %al
movb %al, -0x1f1(%rbp)
movq -0x208(%rbp), %rax
movq %rax, -0x1f0(%rbp)
movq -0x200(%rbp), %rax
movq %rax, -0x1e8(%rbp)
movq -0x248(%rbp), %rax
movq %rax, -0x1e0(%rbp)
movq -0x240(%rbp), %rax
movq %rax, -0x1d8(%rbp)
movq -0x230(%rbp), %rax
movq %rax, -0x1d0(%rbp)
movq -0x228(%rbp), %rax
movq %rax, -0x1c8(%rbp)
movq -0x220(%rbp), %rax
movq %rax, -0x1c0(%rbp)
jmp 0x1f7450
leaq -0x270(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movb $0x0, -0x271(%rbp)
movb -0x271(%rbp), %al
andb $0x1, %al
movb %al, -0x1f1(%rbp)
movq -0x270(%rbp), %rax
movq %rax, -0x1f0(%rbp)
movq -0x268(%rbp), %rax
movq %rax, -0x1e8(%rbp)
movq -0x1a0(%rbp), %rax
movq %rax, -0x1e0(%rbp)
movq -0x198(%rbp), %rax
movq %rax, -0x1d8(%rbp)
movq -0x190(%rbp), %rax
movq %rax, -0x1d0(%rbp)
movq -0x188(%rbp), %rax
movq %rax, -0x1c8(%rbp)
movq -0x180(%rbp), %rax
movq %rax, -0x1c0(%rbp)
jmp 0x1f7450
leaq 0x15ca43(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movb -0x1f1(%rbp), %al
andb $0x1, %al
movb %al, -0x172(%rbp)
movb -0x1f1(%rbp), %al
andb $0x1, %al
movb %al, -0x171(%rbp)
movq -0x1f0(%rbp), %rax
movq %rax, -0x170(%rbp)
movq -0x1e8(%rbp), %rax
movq %rax, -0x168(%rbp)
movq -0x1e0(%rbp), %rax
movq %rax, -0x160(%rbp)
movq -0x1d8(%rbp), %rax
movq %rax, -0x158(%rbp)
movq -0x1d0(%rbp), %rax
movq %rax, -0x150(%rbp)
movq -0x1c8(%rbp), %rax
movq %rax, -0x148(%rbp)
movq -0x1c0(%rbp), %rax
movq %rax, -0x140(%rbp)
jmp 0x1f7212
jmp 0x1f74d5
movl -0x170(%rbp), %edi
movq -0x168(%rbp), %rsi
callq 0x12780
movq %rax, -0x288(%rbp)
movq %rdx, -0x280(%rbp)
movq -0x280(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1f75e8
movl -0x170(%rbp), %edi
movq -0x168(%rbp), %rsi
callq 0x12780
movq %rax, -0x298(%rbp)
movq %rdx, -0x290(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x298(%rbp), %rax
cmpq $0x0, %rax
je 0x1f75e8
movl -0x170(%rbp), %edi
movq -0x168(%rbp), %rsi
callq 0x12780
movq %rax, -0x2a8(%rbp)
movq %rdx, -0x2a0(%rbp)
movq -0x2a8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1f75e8
movl -0x170(%rbp), %edi
movq -0x168(%rbp), %rsi
callq 0x12780
movq %rax, -0x2b8(%rbp)
movq %rdx, -0x2b0(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x2b8(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1f75e6
movl -0x170(%rbp), %edi
movq -0x168(%rbp), %rsi
callq 0x12780
movq %rax, -0x2c8(%rbp)
movq %rdx, -0x2c0(%rbp)
movq -0x2c8(%rbp), %rdi
movq -0x2c0(%rbp), %rsi
callq 0x127c0
jmp 0x1f75e8
jmp 0x1f75ea
movl -0x160(%rbp), %edi
movq -0x158(%rbp), %rsi
callq 0xcea0
movl %eax, -0x2d8(%rbp)
movq %rdx, -0x2d0(%rbp)
movq -0x20(%rbp), %rdi
movl -0x2d8(%rbp), %esi
movq -0x2d0(%rbp), %rdx
callq 0x212680
movq %rax, -0x2e0(%rbp)
movq -0x30(%rbp), %rax
movq -0x150(%rbp), %rcx
movq %rcx, (%rax)
movq -0x148(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x140(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movq -0x2e0(%rbp), %rax
addq $0x2f0, %rsp            # imm = 0x2F0
popq %rbp
retq
nopl (%rax)