// File: /workspace/github_c_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %r8, -0xa0(%rbp)
movq %rcx, -0xa8(%rbp)
movq %rdi, -0x88(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
movq %rdx, %rcx
andq %rax, %rcx
movq %rcx, -0x60(%rbp)
setne %al
movq %rdx, -0x48(%rbp)
testb $0x3, %dl
sete %r15b
andb %al, %r15b
cmpb $0x1, %r15b
jne 0x49102
movq -0x60(%rbp), %rax
incl (%rax)
movl 0x50(%rsi), %edi
movq %rsi, -0x78(%rbp)
movq 0x58(%rsi), %rsi
movq %rsi, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x4912d
incl (%rax)
movq $0x0, -0x50(%rbp)
movb $0x1, %r14b
leaq -0x70(%rbp), %rbx
movq $0x0, -0x58(%rbp)
movb %r15b, -0x29(%rbp)
testb $0x1, %r14b
je 0x4969e
movq %rbx, %rdx
callq 0x1075d
testl %eax, %eax
je 0x49379
cmpl $0x1, %eax
jne 0x498e2
movq %rdx, %rdi
callq 0xd491
movq %rax, %r9
movq %rax, %rdi
testb $0x1, %dl
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
je 0x491a0
movq %r9, %rax
andq %rsi, %rax
sete %cl
testb $0x3, %dil
setne %r8b
orb %cl, %r8b
jne 0x491a0
incl (%rax)
testb %r15b, %r15b
je 0x491ab
movq -0x60(%rbp), %rax
incl (%rax)
movq -0x48(%rbp), %rax
movq 0x8(%rax), %r13
movq %r13, %r8
andq %rsi, %r8
setne %al
testb $0x3, %r13b
sete %r12b
andb %al, %r12b
cmpb $0x1, %r12b
jne 0x491d0
incl (%r8)
movq %rdx, -0x98(%rbp)
testb %r15b, %r15b
movq %rdi, -0x38(%rbp)
je 0x49212
movq -0x60(%rbp), %rax
decl (%rax)
jne 0x49212
movq -0x48(%rbp), %rdi
leaq 0xc0436(%rip), %rsi     # 0x109629
movq %r9, %rbx
movq %r8, %r14
callq 0xce94
movq %r14, %r8
movq %rbx, %r9
movq -0x38(%rbp), %rdi
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
movq 0x8(%rdi), %r14
movq %r14, %rax
andq %rsi, %rax
movq %rax, -0x80(%rbp)
setne %al
testb $0x3, %r14b
sete %bl
andb %al, %bl
cmpb $0x1, %bl
jne 0x49237
movq -0x80(%rbp), %rax
incl (%rax)
andq %rsi, %r9
sete %al
testb $0x3, %dil
setne %cl
orb %al, %cl
movb %cl, -0x2a(%rbp)
movq %r9, -0x40(%rbp)
jne 0x49270
decl (%r9)
jne 0x49270
leaq 0xc03ce(%rip), %rsi     # 0x109629
movq %r8, %r15
callq 0xce94
movq %r15, %r8
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
movl 0x78(%r13), %edi
movq 0x80(%r13), %r15
movq %r15, %rax
andq %rsi, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0x49291
incl (%rax)
testb %r12b, %r12b
je 0x492b0
decl (%r8)
jne 0x492b0
movl %edi, %r12d
movq %r13, %rdi
leaq 0xc02a9(%rip), %rsi     # 0x109551
callq 0xce94
movl %r12d, %edi
movq %r15, %rsi
callq 0xea6b
movq %rax, -0x90(%rbp)
movq %rdx, %r13
movl 0x78(%r14), %r12d
movq 0x80(%r14), %r15
movq %r15, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0x492ed
incl (%rax)
testb %bl, %bl
je 0x49308
movq -0x80(%rbp), %rax
decl (%rax)
jne 0x49308
movq %r14, %rdi
leaq 0xc024e(%rip), %rsi     # 0x109551
callq 0xce94
movl %r12d, %edi
movq %r15, %rsi
callq 0xea6b
cmpl $0x1, %eax
je 0x49388
testl %eax, %eax
jne 0x498e2
movq %r13, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r13b
setne %dl
orb %cl, %dl
movq -0x38(%rbp), %rdi
movq -0x40(%rbp), %r8
jne 0x4966a
decl (%rax)
jne 0x4966a
movq -0x90(%rbp), %rdi
shlq $0x30, %rdi
orq %r13, %rdi
leaq 0xbef5a(%rip), %rsi     # 0x1082c1
callq 0xce94
movq -0x40(%rbp), %r8
movq -0x38(%rbp), %rdi
jmp 0x4966a
movl -0x70(%rbp), %edi
movq -0x68(%rbp), %rsi
xorl %r14d, %r14d
jmp 0x49148
movq %rdx, %rdi
callq 0xd491
movq %rax, %r12
movq %rdx, %r14
movq -0x90(%rbp), %rax
cmpl $0x1, %eax
je 0x493f1
testl %eax, %eax
jne 0x498e2
testb $0x1, %r14b
movq -0x38(%rbp), %rdi
movq -0x40(%rbp), %r8
je 0x4966a
movq %r12, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0x4966a
decl (%rax)
jne 0x4966a
movq %r12, %rdi
movq %r14, %rsi
jmp 0x49367
movq %r13, %rdi
callq 0xd491
movq %rax, %rbx
movq %rdx, %r15
pushq $0x2
popq %rdi
callq 0xd928
movq %rax, %rcx
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
andq %r13, %rcx
movw $0x2, 0x6(%rcx)
movq %r12, 0x18(%rcx)
movq %r14, 0x20(%rcx)
movq %rbx, 0x8(%rcx)
movq %r15, 0x10(%rcx)
movq %rax, %rdi
leaq 0xbef62(%rip), %rsi     # 0x108399
callq 0x8d0c
movq %rdx, %rdi
callq 0xd491
movq %rax, %r15
movq %rdx, %r12
movq %rax, %rdi
movq %rdx, %rsi
callq 0x8a95
movq %r15, %rbx
andq %r13, %rbx
movq 0x8(%rbx), %r14
movq 0x10(%rbx), %rax
movq %rax, -0x80(%rbp)
movq %r15, %rdi
movq %r12, %rsi
callq 0x8a95
movq 0x18(%rbx), %rbx
movq %r15, %rdi
movq %r12, %rsi
callq 0x8a95
movq %r15, %rdi
callq 0x8ae0
movl 0x60(%rbx), %r15d
movq 0x68(%rbx), %r12
movq %r12, %rax
andq %r13, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0x494a7
incl (%rax)
movq %rbx, %rax
andq %r13, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
movq -0x38(%rbp), %rdi
jne 0x494d5
decl (%rax)
jne 0x494d5
movq %rbx, %rdi
leaq 0xc00cd(%rip), %rsi     # 0x109599
callq 0xce94
movq -0x38(%rbp), %rdi
cmpl $0x1, %r15d
je 0x4952d
testl %r15d, %r15d
jne 0x498e2
movq -0x80(%rbp), %rsi
testb $0x1, %sil
je 0x495c3
movq %r14, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0x495c3
decl (%rax)
jne 0x495c3
movq %r14, %rdi
callq 0xce94
movq -0x38(%rbp), %rdi
jmp 0x495c3
movq %r12, %rdi
callq 0x4bf7f
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
movq %rax, %rbx
movl 0x60(%r14), %r15d
movq 0x68(%r14), %r12
movq %r12, %rax
andq %rsi, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0x49560
incl (%rax)
movq %r14, %rax
andq %rsi, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
movq -0x38(%rbp), %rdi
movq -0x40(%rbp), %r8
jne 0x49597
decl (%rax)
jne 0x49597
movq %r14, %rdi
leaq 0xc000f(%rip), %rsi     # 0x109599
callq 0xce94
movq -0x40(%rbp), %r8
movq -0x38(%rbp), %rdi
testl %r15d, %r15d
je 0x4966a
cmpl $0x1, %r15d
jne 0x498e2
movq %r12, %rdi
callq 0x4bf7f
cmpq %rbx, %rax
movq -0x38(%rbp), %rdi
movq -0x40(%rbp), %r8
jne 0x4966a
movq -0x98(%rbp), %rsi
callq 0x8d0c
movq %rdx, %rbx
movq -0x68(%rbp), %rax
movq %rax, %rcx
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rdx, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0x4960e
movl -0x70(%rbp), %edi
decl (%rcx)
jne 0x4960e
shlq $0x30, %rdi
orq %rax, %rdi
leaq 0xbec70(%rip), %rsi     # 0x108279
callq 0xce94
movq -0x58(%rbp), %rsi
movq %rsi, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %sil
setne %dl
movb $0x1, %r14b
orb %cl, %dl
movb -0x29(%rbp), %r15b
jne 0x49652
decl (%rax)
jne 0x49652
movq -0x50(%rbp), %rdi
shlq $0x30, %rdi
orq %rsi, %rdi
leaq 0xbec74(%rip), %rsi     # 0x1082c1
callq 0xce94
xorl %edi, %edi
pushq $0x1
popq %rax
movq %rax, -0x50(%rbp)
movq %rbx, -0x58(%rbp)
xorl %esi, %esi
leaq -0x70(%rbp), %rbx
jmp 0x49148
movq -0x98(%rbp), %rsi
testb $0x1, %sil
sete %al
orb -0x2a(%rbp), %al
jne 0x49687
decl (%r8)
jne 0x49687
callq 0xce94
movl -0x70(%rbp), %edi
movb $0x1, %r14b
movq -0x68(%rbp), %rsi
movb -0x29(%rbp), %r15b
leaq -0x70(%rbp), %rbx
jmp 0x49148
movq %rsi, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x496d3
decl (%rax)
jne 0x496d3
shlq $0x30, %rdi
orq %rsi, %rdi
leaq 0xbebab(%rip), %rsi     # 0x108279
callq 0xce94
testb %r15b, %r15b
je 0x496f0
movq -0x60(%rbp), %rax
decl (%rax)
jne 0x496f0
movq -0x48(%rbp), %rdi
leaq 0xbff3e(%rip), %rsi     # 0x109629
callq 0xce94
movl -0x50(%rbp), %ebx
movq -0x58(%rbp), %rsi
movq %rsi, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x4972f
decl (%rax)
jne 0x4972f
movq %rbx, %rdi
shlq $0x30, %rdi
orq %rsi, %rdi
leaq 0xbeb97(%rip), %rsi     # 0x1082c1
callq 0xce94
movq %rbx, %rdi
callq 0xd86d
pushq $0x1
popq %rsi
movq %rax, %rdi
callq 0xd759
testb %al, %al
je 0x497df
movq -0x78(%rbp), %rax
movl 0x50(%rax), %edi
movq 0x58(%rax), %rsi
movq %rsi, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x49775
incl (%rax)
movq -0x48(%rbp), %rdx
leaq 0xbfea9(%rip), %rcx     # 0x109629
callq 0x3a979
movl %eax, %ebx
movq %rdx, %r14
movq -0x78(%rbp), %rsi
movq 0x58(%rsi), %rax
movabsq $0xfffffffffffc, %rdi   # imm = 0xFFFFFFFFFFFC
andq %rax, %rdi
sete %cl
testb $0x3, %al
setne %dl
orb %cl, %dl
jne 0x497cc
movq %rdi, %rcx
movl 0x50(%rsi), %edi
decl (%rcx)
jne 0x497cc
shlq $0x30, %rdi
orq %rax, %rdi
leaq 0xbeab6(%rip), %rsi     # 0x108279
callq 0xce94
movq -0x78(%rbp), %rsi
movl %ebx, 0x50(%rsi)
movq %r14, 0x58(%rsi)
movq -0x88(%rbp), %rcx
jmp 0x498bc
movl %r15d, %ecx
movq -0x48(%rbp), %rax
movq 0x8(%rax), %r14
movq %r14, %r15
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
andq %rsi, %r15
setne %al
testb $0x3, %r14b
sete %r12b
andb %al, %r12b
cmpb $0x1, %r12b
jne 0x49811
incl (%r15)
testb %cl, %cl
je 0x49837
movq -0x60(%rbp), %rax
decl (%rax)
jne 0x49837
movq -0x48(%rbp), %rdi
leaq 0xbfe01(%rip), %rsi     # 0x109629
callq 0xce94
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
movq 0x18(%r14), %rbx
testb %r12b, %r12b
je 0x4985e
decl (%r15)
jne 0x4985e
movq %r14, %rdi
leaq 0xbfd02(%rip), %rsi     # 0x109551
callq 0xce94
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
movq 0x10c31eb(%rip), %rdx   # 0x110ca50
testq %rdx, %rdx
jne 0x4988d
leaq 0x904c1(%rip), %rdi     # 0xd9d32
pushq $0x14
popq %rsi
callq 0x8a21
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
movq %rax, %rdx
movq %rax, 0x10c31c3(%rip)   # 0x110ca50
andq %rdx, %rsi
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
jne 0x4989f
incl (%rsi)
leaq -0x70(%rbp), %r14
movq -0x88(%rbp), %rdi
movq %rbx, %rsi
movq %r14, %rcx
callq 0x2ceb4
movq (%r14), %rcx
movq -0x78(%rbp), %rsi
movq -0xa0(%rbp), %rax
movq %rsi, (%rax)
movq -0xa8(%rbp), %rax
movq %rcx, (%rax)
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x8af24(%rip), %rdi     # 0xd480d
pushq $0x20
popq %rsi
callq 0x8a21
movq %rax, %rdi
callq 0x8cc6