// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_match_zaMatch_addzecase
static void mw_mirth_match_zaMatch_addzecase (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_match_zaMatch* in_zaMatch_2, struct mirth_match_Case* in_Case_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_match_zaMatch* *out_zaMatch_5) {
	incref(MK_mirth_match_Case(in_Case_3));
	struct mirth_mirth_zaMirth* v6;
	struct mirth_match_zaMatch* v7;
	bool v8 = mw_mirth_match_zaMatch_casezeredundantzy(in_zaMirth_1, in_zaMatch_2, in_Case_3, &v6, &v7);
	struct mirth_match_zaMatch* branch_zaMatch_9;
	struct mirth_mirth_zaMirth* branch_zaMirth_10;
	if (v8) {
		struct mirth_match_Pattern* v11 = in_Case_3->mpattern;
		incref(MK_mirth_match_Pattern(v11));
		decref(MK_mirth_match_Case(in_Case_3));
		uint64_t v12 = v11->mtokenzestart;
		decref(MK_mirth_match_Pattern(v11));
		STR* v13;
		STRLIT(v13, "Case is unreachable.", 20);
		struct mirth_mirth_zaMirth* v14;
		mw_mirth_mirth_zaMirth_emitzeerrorzx(v6, v12, v13, &v14);
		branch_zaMirth_10 = v14;
		branch_zaMatch_9 = v7;
	} else {
		struct std_list_List_1 v15 = v7->mcases;
		incref(MK_std_list_List_1(v15));
		struct std_list_List_1 v16 = mw_std_list_List_1_Snoc(v15, MK_mirth_match_Case(in_Case_3));
		struct std_list_List_1 v17 = v7->mcases;
		decref(MK_std_list_List_1(v17));
		v7->mcases = v16;
		branch_zaMirth_10 = v6;
		branch_zaMatch_9 = v7;
	}
	*out_zaMatch_5 = branch_zaMatch_9;
	*out_zaMirth_4 = branch_zaMirth_10;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2a0, %rsp            # imm = 0x2A0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x38(%rbp)
leaq 0x29a162(%rip), %rax    # 0x392700
orq $0x1, %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xf8630
movq -0x18(%rbp), %rax
movq %rax, -0x48(%rbp)
leaq 0x29a13d(%rip), %rax    # 0x392700
orq $0x1, %rax
movq %rax, -0x40(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x48(%rbp), %rax
cmpq $0x0, %rax
je 0xf8630
movq -0x18(%rbp), %rax
movq %rax, -0x58(%rbp)
leaq 0x29a112(%rip), %rax    # 0x392700
orq $0x1, %rax
movq %rax, -0x50(%rbp)
movq -0x58(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xf8630
movq -0x18(%rbp), %rax
movq %rax, -0x68(%rbp)
leaq 0x29a0ed(%rip), %rax    # 0x392700
orq $0x1, %rax
movq %rax, -0x60(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x68(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0xf8632
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
leaq -0x70(%rbp), %rcx
leaq -0x78(%rbp), %r8
callq 0x106b60
andb $0x1, %al
movb %al, -0x79(%rbp)
testb $0x1, -0x79(%rbp)
je 0xf8ab6
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0xa8(%rbp)
leaq 0x299faa(%rip), %rax    # 0x392628
orq $0x1, %rax
movq %rax, -0xa0(%rbp)
movq -0xa0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xf873e
movq -0x98(%rbp), %rax
movq %rax, -0xb8(%rbp)
leaq 0x299f75(%rip), %rax    # 0x392628
orq $0x1, %rax
movq %rax, -0xb0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xb8(%rbp), %rax
cmpq $0x0, %rax
je 0xf873e
movq -0x98(%rbp), %rax
movq %rax, -0xc8(%rbp)
leaq 0x299f3e(%rip), %rax    # 0x392628
orq $0x1, %rax
movq %rax, -0xc0(%rbp)
movq -0xc8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xf873e
movq -0x98(%rbp), %rax
movq %rax, -0xd8(%rbp)
leaq 0x299f0d(%rip), %rax    # 0x392628
orq $0x1, %rax
movq %rax, -0xd0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xd8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0xf8740
jmp 0xf8742
movq -0x18(%rbp), %rax
movq %rax, -0xe8(%rbp)
leaq 0x299fac(%rip), %rax    # 0x392700
orq $0x1, %rax
movq %rax, -0xe0(%rbp)
movq -0xe0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xf8846
movq -0x18(%rbp), %rax
movq %rax, -0xf8(%rbp)
leaq 0x299f7a(%rip), %rax    # 0x392700
orq $0x1, %rax
movq %rax, -0xf0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xf8(%rbp), %rax
cmpq $0x0, %rax
je 0xf8846
movq -0x18(%rbp), %rax
movq %rax, -0x108(%rbp)
leaq 0x299f42(%rip), %rax    # 0x392700
orq $0x1, %rax
movq %rax, -0x100(%rbp)
movq -0x108(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xf8846
movq -0x18(%rbp), %rax
movq %rax, -0x118(%rbp)
leaq 0x299f14(%rip), %rax    # 0x392700
orq $0x1, %rax
movq %rax, -0x110(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x118(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0xf8844
movq -0x18(%rbp), %rax
movq %rax, -0x128(%rbp)
leaq 0x299eda(%rip), %rax    # 0x392700
orq $0x1, %rax
movq %rax, -0x120(%rbp)
movq -0x128(%rbp), %rdi
movq -0x120(%rbp), %rsi
callq 0x127c0
jmp 0xf8846
jmp 0xf8848
movq -0x98(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x130(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0x140(%rbp)
leaq 0x299db9(%rip), %rax    # 0x392628
orq $0x1, %rax
movq %rax, -0x138(%rbp)
movq -0x138(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xf896d
movq -0x98(%rbp), %rax
movq %rax, -0x150(%rbp)
leaq 0x299d84(%rip), %rax    # 0x392628
orq $0x1, %rax
movq %rax, -0x148(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x150(%rbp), %rax
cmpq $0x0, %rax
je 0xf896d
movq -0x98(%rbp), %rax
movq %rax, -0x160(%rbp)
leaq 0x299d49(%rip), %rax    # 0x392628
orq $0x1, %rax
movq %rax, -0x158(%rbp)
movq -0x160(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xf896d
movq -0x98(%rbp), %rax
movq %rax, -0x170(%rbp)
leaq 0x299d18(%rip), %rax    # 0x392628
orq $0x1, %rax
movq %rax, -0x168(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x170(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0xf896b
movq -0x98(%rbp), %rax
movq %rax, -0x180(%rbp)
leaq 0x299cdb(%rip), %rax    # 0x392628
orq $0x1, %rax
movq %rax, -0x178(%rbp)
movq -0x180(%rbp), %rdi
movq -0x178(%rbp), %rsi
callq 0x127c0
jmp 0xf896d
jmp 0xf896f
jmp 0xf8971
cmpq $0x0, 0x129d217(%rip)   # 0x1395b90
jne 0xf8993
leaq 0x260c79(%rip), %rdi    # 0x3595fb
movl $0x14, %esi
callq 0xb6c0
movq %rax, 0x129d1fd(%rip)   # 0x1395b90
jmp 0xf8995
movq 0x129d1f4(%rip), %rax   # 0x1395b90
movq %rax, -0x198(%rbp)
leaq 0x2987ae(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x190(%rbp)
movq -0x190(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xf8a6a
movq 0x129d1bf(%rip), %rax   # 0x1395b90
movq %rax, -0x1a8(%rbp)
leaq 0x298779(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x1a0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1a8(%rbp), %rax
cmpq $0x0, %rax
je 0xf8a6a
movq 0x129d188(%rip), %rax   # 0x1395b90
movq %rax, -0x1b8(%rbp)
leaq 0x298742(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x1b0(%rbp)
movq -0x1b8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xf8a6a
movq 0x129d157(%rip), %rax   # 0x1395b90
movq %rax, -0x1c8(%rbp)
leaq 0x298711(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x1c0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1c8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0xf8a6c
movq 0x129d11d(%rip), %rax   # 0x1395b90
movq %rax, -0x188(%rbp)
movq -0x70(%rbp), %rdi
movq -0x130(%rbp), %rsi
movq -0x188(%rbp), %rdx
leaq -0x1d0(%rbp), %rcx
callq 0x98c50
movq -0x1d0(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x88(%rbp)
jmp 0xf8d50
movq -0x78(%rbp), %rax
movq 0x50(%rax), %rcx
movq %rcx, -0x1e0(%rbp)
movq 0x58(%rax), %rax
movq %rax, -0x1d8(%rbp)
movl -0x1e0(%rbp), %edi
movq -0x1d8(%rbp), %rsi
callq 0x12780
movq %rax, -0x1f0(%rbp)
movq %rdx, -0x1e8(%rbp)
movq -0x1e8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xf8ba5
movl -0x1e0(%rbp), %edi
movq -0x1d8(%rbp), %rsi
callq 0x12780
movq %rax, -0x200(%rbp)
movq %rdx, -0x1f8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x200(%rbp), %rax
cmpq $0x0, %rax
je 0xf8ba5
movl -0x1e0(%rbp), %edi
movq -0x1d8(%rbp), %rsi
callq 0x12780
movq %rax, -0x210(%rbp)
movq %rdx, -0x208(%rbp)
movq -0x210(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xf8ba5
movl -0x1e0(%rbp), %edi
movq -0x1d8(%rbp), %rsi
callq 0x12780
movq %rax, -0x220(%rbp)
movq %rdx, -0x218(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x220(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0xf8ba7
movq -0x18(%rbp), %rax
movq %rax, -0x240(%rbp)
leaq 0x299b47(%rip), %rax    # 0x392700
orq $0x1, %rax
movq %rax, -0x238(%rbp)
movl -0x1e0(%rbp), %edi
movq -0x1d8(%rbp), %rsi
movq -0x240(%rbp), %rdx
movq -0x238(%rbp), %rcx
callq 0xceed0
movl %eax, -0x230(%rbp)
movq %rdx, -0x228(%rbp)
movq -0x78(%rbp), %rax
movq 0x50(%rax), %rcx
movq %rcx, -0x250(%rbp)
movq 0x58(%rax), %rax
movq %rax, -0x248(%rbp)
movl -0x250(%rbp), %edi
movq -0x248(%rbp), %rsi
callq 0x12780
movq %rax, -0x260(%rbp)
movq %rdx, -0x258(%rbp)
movq -0x258(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xf8d1e
movl -0x250(%rbp), %edi
movq -0x248(%rbp), %rsi
callq 0x12780
movq %rax, -0x270(%rbp)
movq %rdx, -0x268(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x270(%rbp), %rax
cmpq $0x0, %rax
je 0xf8d1e
movl -0x250(%rbp), %edi
movq -0x248(%rbp), %rsi
callq 0x12780
movq %rax, -0x280(%rbp)
movq %rdx, -0x278(%rbp)
movq -0x280(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xf8d1e
movl -0x250(%rbp), %edi
movq -0x248(%rbp), %rsi
callq 0x12780
movq %rax, -0x290(%rbp)
movq %rdx, -0x288(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x290(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0xf8d1c
movl -0x250(%rbp), %edi
movq -0x248(%rbp), %rsi
callq 0x12780
movq %rax, -0x2a0(%rbp)
movq %rdx, -0x298(%rbp)
movq -0x2a0(%rbp), %rdi
movq -0x298(%rbp), %rsi
callq 0x127c0
jmp 0xf8d1e
jmp 0xf8d20
movq -0x78(%rbp), %rax
movq -0x230(%rbp), %rcx
movq %rcx, 0x50(%rax)
movq -0x228(%rbp), %rcx
movq %rcx, 0x58(%rax)
movq -0x70(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x88(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movq -0x90(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
addq $0x2a0, %rsp            # imm = 0x2A0
popq %rbp
retq
nopw %cs:(%rax,%rax)