// File: /workspace/github_c_makefile_star2_O2/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 $0xf8, %rsp
movq %r8, %r13
movq %rcx, %r15
movq %rsi, %r8
movq %rdi, -0x40(%rbp)
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
movl 0x58(%rdx), %r12d
movq 0x60(%rdx), %r14
movq %r14, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %r14b
setne %sil
orb %cl, %sil
jne 0xb0719
incl (%rax)
movq %rdx, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xb0751
decl (%rax)
jne 0xb0751
leaq 0x58c68(%rip), %rsi     # 0x1093a1
movq %rdx, %rdi
movq %r8, %rbx
callq 0xce94
movq %rbx, %r8
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
leaq -0x88(%rbp), %rsi
movb $0x1, %al
movq %r8, -0x30(%rbp)
movq %r14, %rdi
testb $0x1, %al
je 0xb0e68
xorl %eax, %eax
movl $0x0, %r14d
testl %r12d, %r12d
je 0xb075e
movq %r13, -0x78(%rbp)
cmpl $0x1, %r12d
jne 0xb0eb4
callq 0xce01
movq %rax, %r12
movq %rax, %r13
movq -0x30(%rbp), %rsi
movq (%rsi), %rax
movq (%rax), %rdi
movq %rdi, %rax
andq %rbx, %rax
setne %cl
testb $0x3, %dil
sete %dl
testb %dl, %cl
movq %r15, -0x70(%rbp)
je 0xb07d4
movb 0x10(%rdi), %r14b
cmpl $0x0, (%rax)
jne 0xb07ca
leaq 0x59570(%rip), %rsi     # 0x109d31
callq 0xce94
movq -0x30(%rbp), %rsi
testb %r14b, %r14b
jne 0xb07de
jmp 0xb0d56
cmpb $0x0, 0x10(%rdi)
je 0xb0d56
movq %r12, -0x38(%rbp)
movq %r12, %rsi
andq %rbx, %rsi
setne %al
testb $0x3, %r13b
sete %r15b
andb %al, %r15b
cmpb $0x1, %r15b
jne 0xb07fe
incl (%rsi)
movl 0x30(%r13), %r12d
movq 0x38(%r13), %r14
movq %r14, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0xb081c
incl (%rax)
testb %r15b, %r15b
je 0xb083c
decl (%rsi)
jne 0xb083c
movq %r13, %rdi
movq %rsi, -0x48(%rbp)
leaq 0x59036(%rip), %rsi     # 0x109869
callq 0xce94
movq -0x48(%rbp), %rsi
cmpl $0x15, %r12d
ja 0xb0eb4
movl %r12d, %eax
leaq 0x238b4(%rip), %rcx     # 0xd4104
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %rsi, -0x48(%rbp)
movq %r14, %rdi
callq 0x530c0
jmp 0xb08c1
movq %r14, %rdi
callq 0x53621
jmp 0xb0d4e
movq %r14, %rdi
callq 0x535e7
jmp 0xb0d4e
movq %r14, %rdi
callq 0x533e0
jmp 0xb0d4e
movq %r14, %rdi
callq 0x532e9
jmp 0xb0d4e
movq %r14, %rdi
callq 0x535ad
jmp 0xb0d4e
movq %r14, %rdi
callq 0x5351a
jmp 0xb0d4e
movq %rsi, -0x48(%rbp)
movq %r14, %rdi
callq 0x53215
movq -0x30(%rbp), %rsi
movq -0x38(%rbp), %r12
movq (%rsi), %rsi
movq -0x40(%rbp), %rdi
leaq -0x50(%rbp), %rdx
leaq -0x60(%rbp), %rcx
callq 0x8bc28
movq 0x105e964(%rip), %rdx   # 0x110f248
testq %rdx, %rdx
jne 0xb0902
leaq 0x3da31(%rip), %rdi     # 0xee321
pushq $0xa
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x105e946(%rip)   # 0x110f248
movq %rdx, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xb0919
incl (%rax)
movq -0x50(%rbp), %rdi
movq -0x60(%rbp), %rsi
leaq -0x110(%rbp), %rcx
leaq -0x108(%rbp), %r8
callq 0x8a8a9
leaq 0x18(%r12), %rax
testb %r15b, %r15b
je 0xb0960
movq %rax, -0x40(%rbp)
movq 0x18(%r13), %r14
movq -0x48(%rbp), %rax
cmpl $0x0, (%rax)
jne 0xb0968
movq %r13, %rdi
leaq 0x58f10(%rip), %rsi     # 0x109869
callq 0xce94
jmp 0xb0968
movq %rax, -0x40(%rbp)
movq 0x18(%r13), %r14
movq -0x110(%rbp), %rdi
movq %r14, %rsi
leaq -0x100(%rbp), %rdx
callq 0x1945d
movq %rax, %rdi
callq 0xf51c
movq -0x100(%rbp), %rdi
movq -0x108(%rbp), %rsi
movq %rax, %rdx
leaq -0xf8(%rbp), %rcx
leaq -0xf0(%rbp), %r8
callq 0x8a8a9
movq 0x105e89f(%rip), %rdx   # 0x110f250
testq %rdx, %rdx
jne 0xb09cf
leaq 0x3d957(%rip), %rdi     # 0xee314
pushq $0x2
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x105e881(%rip)   # 0x110f250
movq %rdx, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xb09e6
incl (%rax)
movq -0xf8(%rbp), %rdi
movq -0xf0(%rbp), %rsi
leaq -0xe8(%rbp), %rcx
leaq -0xe0(%rbp), %r8
callq 0x8a8a9
testb %r15b, %r15b
je 0xb0a2d
movq -0x40(%rbp), %rax
movq (%rax), %r14
movq -0x48(%rbp), %rax
cmpl $0x0, (%rax)
jne 0xb0a34
movq %r13, %rdi
leaq 0x58e43(%rip), %rsi     # 0x109869
callq 0xce94
jmp 0xb0a34
movq -0x40(%rbp), %rax
movq (%rax), %r14
movq -0xe8(%rbp), %rdi
movq %r14, %rsi
leaq -0xd8(%rbp), %rdx
callq 0x19490
movq %rax, %rdi
callq 0xf51c
movq -0xd8(%rbp), %rdi
movq -0xe0(%rbp), %rsi
movq %rax, %rdx
leaq -0xd0(%rbp), %rcx
leaq -0xc8(%rbp), %r8
callq 0x8a8a9
movq 0x105e7db(%rip), %rdx   # 0x110f258
testq %rdx, %rdx
jne 0xb0a9b
leaq 0x3d88b(%rip), %rdi     # 0xee314
pushq $0x2
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x105e7bd(%rip)   # 0x110f258
movq %rdx, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xb0ab2
incl (%rax)
movq -0xd0(%rbp), %rdi
movq -0xc8(%rbp), %rsi
leaq -0xc0(%rbp), %rcx
leaq -0xb8(%rbp), %r8
callq 0x8a8a9
testb %r15b, %r15b
je 0xb0af9
movq -0x40(%rbp), %rax
movq (%rax), %r14
movq -0x48(%rbp), %rax
cmpl $0x0, (%rax)
jne 0xb0b00
movq %r13, %rdi
leaq 0x58d77(%rip), %rsi     # 0x109869
callq 0xce94
jmp 0xb0b00
movq -0x40(%rbp), %rax
movq (%rax), %r14
movq -0xc0(%rbp), %rdi
movq %r14, %rsi
leaq -0x68(%rbp), %rdx
callq 0x2df97
cmpl $0x1, %eax
jne 0xb0b3c
movq %rdx, %rdi
callq 0xd491
movq -0x68(%rbp), %rdi
movq %rax, %rsi
leaq -0x58(%rbp), %r14
movq %r14, %rdx
callq 0x1c901
movq %rax, %rdx
movq -0x58(%rbp), %rdi
jmp 0xb0b7f
movq 0x105e71d(%rip), %rdx   # 0x110f260
testq %rdx, %rdx
leaq -0x58(%rbp), %r14
jne 0xb0b64
leaq 0x2bba2(%rip), %rdi     # 0xdc6f5
xorl %esi, %esi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x105e6fc(%rip)   # 0x110f260
movq %rdx, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xb0b7b
incl (%rax)
movq -0x68(%rbp), %rdi
movq -0xb8(%rbp), %rsi
movq %r14, %rcx
leaq -0xb0(%rbp), %r8
callq 0x8be51
movq 0x105e6cc(%rip), %rdx   # 0x110f268
testq %rdx, %rdx
jne 0xb0bba
leaq 0x3d564(%rip), %rdi     # 0xee10c
pushq $0x2
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x105e6ae(%rip)   # 0x110f268
movq %rdx, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xb0bd1
incl (%rax)
movq -0x58(%rbp), %rdi
movq -0xb0(%rbp), %rsi
leaq -0xa8(%rbp), %rcx
leaq -0xa0(%rbp), %r8
callq 0x8a8a9
movq -0xa8(%rbp), %rdi
movq -0xa0(%rbp), %rsi
leaq -0x98(%rbp), %rdx
leaq -0x90(%rbp), %rcx
callq 0x8a92c
movq -0x90(%rbp), %rax
movq -0x30(%rbp), %rsi
movq %rax, (%rsi)
movq -0x98(%rbp), %rax
movq %rax, -0x40(%rbp)
jmp 0xb0d56
movq %r14, %rdi
callq 0x53604
jmp 0xb0d4e
movq %r14, %rdi
callq 0x52fb3
jmp 0xb0d4e
movq %r14, %rdi
callq 0x53537
movq %rax, %rcx
andq %rbx, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
movq -0x38(%rbp), %r12
jne 0xb0e5f
decl (%rcx)
movq -0x30(%rbp), %rsi
jne 0xb0d56
movq %rax, %rdi
leaq 0x589ef(%rip), %rsi     # 0x109671
jmp 0xb0e5a
movq %rsi, -0x48(%rbp)
movq %r14, %rdi
callq 0x5303c
movq -0x40(%rbp), %rdi
movq %rax, %rsi
leaq -0x50(%rbp), %rdx
callq 0x5b0de
movq -0x50(%rbp), %rcx
movq %rcx, -0x40(%rbp)
testb %al, %al
movq -0x30(%rbp), %rsi
movq -0x38(%rbp), %r12
je 0xb08c9
jmp 0xb0d56
movq %r14, %rdi
callq 0x53726
jmp 0xb0d4e
movq %r14, %rdi
callq 0x53b86
jmp 0xb0d4e
movq %r14, %rdi
callq 0x52f1e
movq %rdx, %rcx
andq %rbx, %rcx
sete %sil
testb $0x3, %dl
setne %dil
orb %sil, %dil
movq -0x38(%rbp), %r12
jne 0xb0e5f
decl (%rcx)
movq -0x30(%rbp), %rsi
jne 0xb0d56
shlq $0x30, %rax
orq %rdx, %rax
movq %rax, %rdi
leaq 0x58b0b(%rip), %rsi     # 0x109821
jmp 0xb0e5a
movq %r14, %rdi
callq 0x53ba3
jmp 0xb0d4e
movq %r14, %rdi
callq 0x535ca
jmp 0xb0d4e
movq %r14, %rdi
callq 0x52fd0
jmp 0xb0d4e
movq %r14, %rdi
callq 0x537b7
jmp 0xb0e2c
movq %r14, %rdi
callq 0x533c3
movq -0x30(%rbp), %rsi
movq -0x38(%rbp), %r12
andq %rbx, %r12
setne %cl
testb $0x3, %r13b
sete %al
andb %cl, %al
cmpb $0x1, %al
jne 0xb0d6d
incl (%r12)
movl 0x30(%r13), %r14d
movq 0x38(%r13), %r15
movq %r15, %rcx
andq %rbx, %rcx
sete %dl
testb $0x3, %r15b
setne %dil
orb %dl, %dil
jne 0xb0d8d
incl (%rcx)
testb %al, %al
je 0xb0daa
decl (%r12)
jne 0xb0daa
movq %r13, %rdi
leaq 0x58ac8(%rip), %rsi     # 0x109869
callq 0xce94
movq -0x30(%rbp), %rsi
leaq -0x60(%rbp), %rax
movq %rax, (%rsp)
movq -0x40(%rbp), %rdi
movq %r13, %rdx
movl %r14d, %ecx
movq %r15, %r8
leaq -0x50(%rbp), %r9
callq 0xb0f7f
movq -0x60(%rbp), %r8
movq -0x50(%rbp), %rax
movq %rax, -0x40(%rbp)
movl -0x88(%rbp), %r12d
movq -0x80(%rbp), %r14
movq -0x70(%rbp), %r15
movq -0x78(%rbp), %r13
jmp 0xb0751
movq %r14, %rdi
callq 0x53572
movq %rax, %rcx
andq %rbx, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
movq -0x38(%rbp), %r12
jne 0xb0e5f
decl (%rcx)
movq -0x30(%rbp), %rsi
jne 0xb0d56
movq %rax, %rdi
leaq 0x5896f(%rip), %rsi     # 0x109791
jmp 0xb0e5a
movq %r14, %rdi
callq 0x539bb
movq %rax, %rcx
andq %rbx, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
movq -0x38(%rbp), %r12
jne 0xb0e5f
decl (%rcx)
movq -0x30(%rbp), %rsi
jne 0xb0d56
movq %rax, %rdi
leaq 0x5897f(%rip), %rsi     # 0x1097d9
callq 0xce94
movq -0x30(%rbp), %rsi
jmp 0xb0d56
andq %rdi, %rbx
sete %al
testb $0x3, %dil
setne %cl
orb %al, %cl
jne 0xb0e97
decl (%rbx)
jne 0xb0e97
shlq $0x30, %r12
orq %rdi, %r12
movq %r12, %rdi
leaq 0x573eb(%rip), %rsi     # 0x108279
callq 0xce94
movq -0x30(%rbp), %r8
movq %r8, (%r13)
movq -0x40(%rbp), %rax
movq %rax, (%r15)
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x23952(%rip), %rdi     # 0xd480d
pushq $0x20
popq %rsi
callq 0x8a21
movq %rax, %rdi
callq 0x8cc6