// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_c99zearrowzx
static void mw_mirth_c99_c99zearrowzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_c99_zaC99Branch* in_zaC99Branch_2, struct mirth_arrow_Arrow* in_Arrow_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_c99_zaC99Branch* *out_zaC99Branch_5) {
	struct std_list_List_1 v6 = in_Arrow_3->matoms;
	incref(MK_std_list_List_1(v6));
	decref(MK_mirth_arrow_Arrow(in_Arrow_3));
	bool v7 = true;
	struct mirth_mirth_zaMirth* r8 = in_zaMirth_1;
	struct mirth_c99_zaC99Branch* r9 = in_zaC99Branch_2;
	struct std_list_List_1 v10 = v6;
	bool v11 = v7;
	bool v12 = v7;
	while (v12) {
		struct mirth_mirth_zaMirth* r13 = r8;
		struct mirth_c99_zaC99Branch* r14 = r9;
		struct std_list_List_1 v15 = v10;
		bool v16 = v11;
		struct mirth_mirth_zaMirth* branch_zaMirth_17;
		struct mirth_c99_zaC99Branch* branch_zaC99Branch_18;
		struct std_list_List_1 branch_List_19;
		bool branch_Bool_20;
		switch ((v15).tag) {
			case std_list_List_1_Cons: {
				struct std_list_List_1 v21;
				VAL v22 = mtp_std_list_List_1_Cons(v15, &v21);
				struct mirth_mirth_zaMirth* v23;
				struct mirth_c99_zaC99Branch* v24;
				mw_mirth_c99_c99zeatomzx(r13, r14, V_mirth_arrow_Atom(v22), &v23, &v24);
				bool v25 = true;
				branch_Bool_20 = v25;
				branch_List_19 = v21;
				branch_zaC99Branch_18 = v24;
				branch_zaMirth_17 = v23;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v26 = { .tag=std_list_List_1_Nil };
				bool v27 = false;
				branch_Bool_20 = v27;
				branch_List_19 = v26;
				branch_zaC99Branch_18 = r14;
				branch_zaMirth_17 = r13;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v12 = branch_Bool_20;
		v11 = branch_Bool_20;
		v10 = branch_List_19;
		r9 = branch_zaC99Branch_18;
		r8 = branch_zaMirth_17;
	}
	decref(MK_std_list_List_1(v10));
	*out_zaC99Branch_5 = r9;
	*out_zaMirth_4 = r8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %r8, -0x60(%rbp)
movq %rcx, -0x68(%rbp)
movq %rsi, %r15
movq %rdi, %r12
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
movl 0x58(%rdx), %r14d
movq 0x60(%rdx), %rbx
movq %rbx, %rax
andq %rcx, %rax
sete %cl
testb $0x3, %bl
setne %sil
orb %cl, %sil
jne 0xbabec
incl (%rax)
movq %rdx, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xbb31d
decl (%rax)
jne 0xbb31d
leaq 0x57783(%rip), %rsi     # 0x1123a1
movq %rdx, %rdi
callq 0xd13d
jmp 0xbb31d
movq %r12, -0x38(%rbp)
movq %rbx, %rdi
leaq -0xf0(%rbp), %rsi
callq 0xd0aa
movq %rax, %rbx
movq %rax, %r13
movq (%r15), %rax
movq (%rax), %rdi
movq %rdi, %rax
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
andq %rsi, %rax
setne %cl
testb $0x3, %dil
sete %dl
testb %dl, %cl
je 0xbac91
movb 0x10(%rdi), %r14b
cmpl $0x0, (%rax)
jne 0xbac87
leaq 0x580b9(%rip), %rsi     # 0x112d31
callq 0xd13d
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
testb %r14b, %r14b
jne 0xbac9b
jmp 0xbb297
cmpb $0x0, 0x10(%rdi)
je 0xbb297
movq %r15, -0x30(%rbp)
movq %rbx, %rdi
andq %rsi, %rdi
setne %al
testb $0x3, %r13b
sete %r14b
andb %al, %r14b
cmpb $0x1, %r14b
jne 0xbacbb
incl (%rdi)
movl 0x30(%r13), %r15d
movq 0x38(%r13), %r12
movq %r12, %rax
andq %rsi, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0xbacd9
incl (%rax)
testb %r14b, %r14b
je 0xbad09
decl (%rdi)
jne 0xbad09
movq %rbx, -0x40(%rbp)
movq %rdi, %rbx
movq %r13, %rdi
leaq 0x57b76(%rip), %rsi     # 0x112869
callq 0xd13d
movq %rbx, %rdi
movq -0x40(%rbp), %rbx
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
cmpl $0x15, %r15d
ja 0xbb34c
movl %r15d, %eax
leaq 0x2538b(%rip), %rcx     # 0xe00a8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
decl (%r12)
movq -0x30(%rbp), %r15
jne 0xbb297
movq %r12, %rdi
callq 0x5030
jmp 0xbb28d
movq %rdi, -0x40(%rbp)
decl (%r12)
movq -0x30(%rbp), %r15
jne 0xbada1
movq %r12, %rdi
callq 0x5030
jmp 0xbada1
movq %rdi, -0x40(%rbp)
movq 0x8(%r12), %rsi
decl (%r12)
movq -0x30(%rbp), %r15
jne 0xbad7a
movq %r12, %rdi
movq %rsi, %r12
callq 0x5030
movq %r12, %rsi
movq -0x38(%rbp), %rdi
leaq -0x48(%rbp), %rdx
callq 0x6002d
movq -0x48(%rbp), %rcx
movq %rcx, -0x38(%rbp)
testb %al, %al
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
jne 0xbb297
movq (%r15), %rsi
movq -0x38(%rbp), %rdi
leaq -0x50(%rbp), %rdx
leaq -0xe0(%rbp), %rcx
callq 0x93675
movq 0x105d481(%rip), %rdx   # 0x1118240
testq %rdx, %rdx
jne 0xbadf4
movl $0xa, %edi
callq 0xf5e4
movq %rax, %rdx
movq $0xa, 0x10(%rax)
movabsq $0x4f54415f44524f57, %rax # imm = 0x4F54415F44524F57
movq %rax, 0x18(%rdx)
movw $0x284d, 0x20(%rdx)     # imm = 0x284D
movq %rdx, 0x105d44c(%rip)   # 0x1118240
movq %rdx, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xbae15
incl (%rax)
movq -0x50(%rbp), %rdi
movq -0xe0(%rbp), %rsi
leaq -0xd8(%rbp), %rcx
leaq -0xd0(%rbp), %r8
callq 0x9221b
leaq 0x18(%rbx), %rax
testb %r14b, %r14b
je 0xbae5e
movq %rax, -0x38(%rbp)
movq 0x18(%r13), %r12
movq -0x40(%rbp), %rax
cmpl $0x0, (%rax)
jne 0xbae66
movq %r13, %rdi
leaq 0x57a12(%rip), %rsi     # 0x112869
callq 0xd13d
jmp 0xbae66
movq %rax, -0x38(%rbp)
movq 0x18(%r13), %r12
movq -0xd8(%rbp), %rax
movq %rax, -0x30(%rbp)
leaq 0x1059ed8(%rip), %rdi   # 0x1114d50
movq %r12, %rsi
callq 0x13c85
movq %rax, %rdi
callq 0x13d82
movq %rax, %r12
movq %rax, %rdi
movq %rdx, %rsi
callq 0x1099d
movq %r12, %rdi
callq 0xfea8
movq -0xd0(%rbp), %rsi
movq -0x30(%rbp), %rdi
movq %rax, %rdx
leaq -0xc8(%rbp), %rcx
leaq -0xc0(%rbp), %r8
callq 0x9221b
movq 0x105d382(%rip), %rdx   # 0x1118248
testq %rdx, %rdx
jne 0xbaeed
movl $0x2, %edi
callq 0xf5e4
movq %rax, %rdx
movq $0x2, 0x10(%rax)
movw $0x202c, 0x18(%rax)     # imm = 0x202C
movq %rax, 0x105d35b(%rip)   # 0x1118248
movq %rdx, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xbaf0e
incl (%rax)
movq -0xc8(%rbp), %rdi
movq -0xc0(%rbp), %rsi
leaq -0xb8(%rbp), %rcx
leaq -0xb0(%rbp), %r8
callq 0x9221b
testb %r14b, %r14b
je 0xbaf55
movq -0x38(%rbp), %rax
movq (%rax), %r12
movq -0x40(%rbp), %rax
cmpl $0x0, (%rax)
jne 0xbaf5c
movq %r13, %rdi
leaq 0x5791b(%rip), %rsi     # 0x112869
callq 0xd13d
jmp 0xbaf5c
movq -0x38(%rbp), %rax
movq (%rax), %r12
movq -0xb8(%rbp), %rax
movq %rax, -0x30(%rbp)
leaq 0x1059df2(%rip), %rdi   # 0x1114d60
movq %r12, %rsi
callq 0x13c85
movq %rax, %rdi
callq 0x13d82
movq %rax, %r12
movq %rax, %rdi
movq %rdx, %rsi
callq 0x1099d
movq %r12, %rdi
callq 0xfea8
movq -0xb0(%rbp), %rsi
movq -0x30(%rbp), %rdi
movq %rax, %rdx
leaq -0xa8(%rbp), %rcx
leaq -0xa0(%rbp), %r8
callq 0x9221b
movq 0x105d294(%rip), %rdx   # 0x1118250
testq %rdx, %rdx
jne 0xbafe3
movl $0x2, %edi
callq 0xf5e4
movq %rax, %rdx
movq $0x2, 0x10(%rax)
movw $0x202c, 0x18(%rax)     # imm = 0x202C
movq %rax, 0x105d26d(%rip)   # 0x1118250
movq %rdx, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xbb004
incl (%rax)
movq -0xa8(%rbp), %rdi
movq -0xa0(%rbp), %rsi
leaq -0x98(%rbp), %rcx
leaq -0x90(%rbp), %r8
callq 0x9221b
testb %r14b, %r14b
je 0xbb04b
movq -0x38(%rbp), %rax
movq (%rax), %r14
movq -0x40(%rbp), %rax
cmpl $0x0, (%rax)
jne 0xbb052
movq %r13, %rdi
leaq 0x57825(%rip), %rsi     # 0x112869
callq 0xd13d
jmp 0xbb052
movq -0x38(%rbp), %rax
movq (%rax), %r14
movq -0x98(%rbp), %rdi
movq %r14, %rsi
leaq -0x58(%rbp), %rdx
callq 0x30835
cmpl $0x1, %eax
jne 0xbb09d
movq %rdx, %rdi
callq 0xd745
movq -0x58(%rbp), %r14
leaq 0x105944b(%rip), %rdi   # 0x11144c8
movq %rax, %rsi
callq 0x13c85
movq %rax, %rdi
callq 0x13d82
movq %rax, %rdi
movq %rdx, %rsi
callq 0x9189
movq %rax, %rdx
jmp 0xbb0e7
movq 0x105d1b4(%rip), %rdx   # 0x1118258
testq %rdx, %rdx
jne 0xbb0c2
xorl %edi, %edi
callq 0xf5e4
movq %rax, %rdx
movq $0x0, 0x10(%rax)
movq %rax, 0x105d196(%rip)   # 0x1118258
movq %rdx, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xbb0e3
incl (%rax)
movq -0x58(%rbp), %r14
movq -0x90(%rbp), %rsi
movq %r14, %rdi
leaq -0x88(%rbp), %rcx
leaq -0x80(%rbp), %r8
callq 0x938cc
movq 0x105d158(%rip), %rdx   # 0x1118260
testq %rdx, %rdx
jne 0xbb12f
movl $0x2, %edi
callq 0xf5e4
movq %rax, %rdx
movq $0x2, 0x10(%rax)
movw $0x3b29, 0x18(%rax)     # imm = 0x3B29
movq %rax, 0x105d131(%rip)   # 0x1118260
movq %rdx, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xbb150
incl (%rax)
movq -0x88(%rbp), %rdi
movq -0x80(%rbp), %rsi
leaq -0x78(%rbp), %rcx
leaq -0x70(%rbp), %r8
callq 0x9221b
movq -0x78(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x70(%rbp), %r14
cmpb $0x1, 0x18(%r14)
jne 0xbb195
movq 0x28(%r14), %rsi
movl $0xa, %edi
leaq -0x48(%rbp), %rdx
callq 0x92a13
movq -0x48(%rbp), %rax
movq %rax, 0x28(%r14)
movq %r14, (%r15)
jmp 0xbb28d
movq %r12, %rdi
movq %rsi, %r14
callq 0x5773d
movq %rdx, %rcx
andq %r14, %rcx
sete %sil
testb $0x3, %dl
setne %dil
orb %sil, %dil
movq -0x30(%rbp), %r15
jne 0xbb28d
decl (%rcx)
jne 0xbb28d
shlq $0x30, %rax
orq %rdx, %rax
movq %rax, %rdi
leaq 0x57642(%rip), %rsi     # 0x112821
jmp 0xbb288
movq %r12, %rdi
movq %rsi, %r14
callq 0x57ec9
jmp 0xbb1fc
movq %r12, %rdi
movq %rsi, %r14
callq 0x580fe
movq %rax, %rcx
andq %r14, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
movq -0x30(%rbp), %r15
jne 0xbb28d
decl (%rcx)
jne 0xbb28d
movq %rax, %rdi
leaq 0x575b7(%rip), %rsi     # 0x1127d9
jmp 0xbb288
movq %r12, %rdi
movq %rsi, %r14
callq 0x57cb8
movq %rax, %rcx
andq %r14, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
movq -0x30(%rbp), %r15
jne 0xbb28d
decl (%rcx)
jne 0xbb28d
movq %rax, %rdi
leaq 0x5741c(%rip), %rsi     # 0x112671
jmp 0xbb288
movq %r12, %rdi
movq %rsi, %r14
callq 0x57cf3
movq %rax, %rcx
andq %r14, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
movq -0x30(%rbp), %r15
jne 0xbb28d
decl (%rcx)
jne 0xbb28d
movq %rax, %rdi
leaq 0x57509(%rip), %rsi     # 0x112791
callq 0xd13d
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
movq %r15, %r14
andq %rsi, %rbx
setne %cl
testb $0x3, %r13b
sete %al
andb %cl, %al
cmpb $0x1, %al
jne 0xbb2af
incl (%rbx)
movl 0x30(%r13), %r12d
movq 0x38(%r13), %r15
movq %r15, %rcx
andq %rsi, %rcx
sete %dl
testb $0x3, %r15b
setne %sil
orb %dl, %sil
jne 0xbb2cf
incl (%rcx)
testb %al, %al
je 0xbb2e6
decl (%rbx)
jne 0xbb2e6
movq %r13, %rdi
leaq 0x57588(%rip), %rsi     # 0x112869
callq 0xd13d
leaq -0x50(%rbp), %rax
movq %rax, (%rsp)
movq -0x38(%rbp), %rdi
movq %r14, %rsi
movq %r13, %rdx
movl %r12d, %ecx
movq %r15, %r8
leaq -0x48(%rbp), %r9
callq 0xbb457
movq -0x50(%rbp), %r15
movq -0x48(%rbp), %r12
movl -0xf0(%rbp), %r14d
movq -0xe8(%rbp), %rbx
cmpl $0x1, %r14d
je 0xbac2b
testl %r14d, %r14d
jne 0xbb34c
movq -0x60(%rbp), %rax
movq %r15, (%rax)
movq -0x68(%rbp), %rax
movq %r12, (%rax)
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0x25368(%rip), %xmm0    # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0x2536d(%rip), %xmm0    # 0xe06dd
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x9302