// File: /workspace/github_c_makefile_star2_O1/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_token_Token_runzearrowzy
static struct std_maybe_Maybe_1 mw_mirth_token_Token_runzearrowzy (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Token_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v5;
	struct std_list_List_1 v6 = mw_mirth_token_Token_runzetokens(in_zaMirth_1, in_Token_2, &v5);
	struct std_maybe_Maybe_1 v7 = { .tag=std_maybe_Maybe_1_None };
	bool v8 = true;
	struct mirth_mirth_zaMirth* r9 = v5;
	struct std_maybe_Maybe_1 v10 = v7;
	struct std_list_List_1 v11 = v6;
	bool v12 = v8;
	bool v13 = v8;
	while (v13) {
		struct mirth_mirth_zaMirth* r14 = r9;
		struct std_maybe_Maybe_1 v15 = v10;
		struct std_list_List_1 v16 = v11;
		bool v17 = v12;
		struct std_list_List_1 v18;
		struct std_maybe_Maybe_1 v19 = mw_std_list_List_1_uncons(v16, &v18);
		struct mirth_mirth_zaMirth* branch_zaMirth_20;
		struct std_maybe_Maybe_1 branch_Maybe_21;
		struct std_list_List_1 branch_List_22;
		bool branch_Bool_23;
		switch ((v19).tag) {
			case std_maybe_Maybe_1_Some: {
				VAL v24 = mtp_std_maybe_Maybe_1_Some(v19);
				incref(v24);
				struct mirth_mirth_zaMirth* v25;
				bool v26 = mw_mirth_token_Token_arrowzy(r14, V_mirth_token_Token(v24), &v25);
				struct mirth_mirth_zaMirth* branch_zaMirth_27;
				struct std_maybe_Maybe_1 branch_Maybe_28;
				if (v26) {
					struct std_maybe_Maybe_1 v29 = mtw_std_maybe_Maybe_1_Some(v24);
					branch_Maybe_28 = v29;
					branch_zaMirth_27 = v25;
				} else {
					decref(v24);
					struct std_maybe_Maybe_1 v30 = { .tag=std_maybe_Maybe_1_None };
					branch_Maybe_28 = v30;
					branch_zaMirth_27 = v25;
				}
				struct mirth_mirth_zaMirth* branch_zaMirth_31;
				struct std_maybe_Maybe_1 branch_Maybe_32;
				struct std_list_List_1 branch_List_33;
				switch ((branch_Maybe_28).tag) {
					case std_maybe_Maybe_1_None: {
						branch_List_33 = v18;
						branch_Maybe_32 = v15;
						branch_zaMirth_31 = branch_zaMirth_27;
					} break;
					default: {
						decref(MK_std_list_List_1(v18));
						decref(MK_std_maybe_Maybe_1(v15));
						struct std_list_List_1 v34 = { .tag=std_list_List_1_Nil };
						branch_List_33 = v34;
						branch_Maybe_32 = branch_Maybe_28;
						branch_zaMirth_31 = branch_zaMirth_27;
					} break;
				}
				bool v35 = true;
				branch_Bool_23 = v35;
				branch_List_22 = branch_List_33;
				branch_Maybe_21 = branch_Maybe_32;
				branch_zaMirth_20 = branch_zaMirth_31;
			} break;
			case std_maybe_Maybe_1_None: {
				bool v36 = false;
				branch_Bool_23 = v36;
				branch_List_22 = v18;
				branch_Maybe_21 = v15;
				branch_zaMirth_20 = r14;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v13 = branch_Bool_23;
		v12 = branch_Bool_23;
		v11 = branch_List_22;
		v10 = branch_Maybe_21;
		r9 = branch_zaMirth_20;
	}
	decref(MK_std_list_List_1(v11));
	*out_zaMirth_3 = r9;
	return v10;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, -0x58(%rbp)
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
leaq -0x68(%rbp), %rbx
movq %rbx, %rdx
callq 0x3527c
movl %eax, %edi
movq %rdx, %rsi
movq (%rbx), %rax
movq %rax, -0x40(%rbp)
movq $0x0, -0x38(%rbp)
leaq -0x50(%rbp), %r13
movq $0x0, -0x30(%rbp)
movq %r13, %rdx
callq 0x115ef
testl %eax, %eax
je 0x3512d
cmpl $0x1, %eax
jne 0x3524c
movq %rdx, %rdi
callq 0xdaeb
movq %rax, %r15
movq %rdx, %r14
testb $0x1, %r14b
je 0x35103
movq %r15, %rax
andq %r12, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0x35103
incl (%rax)
movq %r12, %rbx
movq -0x40(%rbp), %rdi
movq %r15, %rsi
leaq -0x60(%rbp), %rdx
callq 0x35335
movl %eax, %r12d
testb %al, %al
je 0x3513b
movq %r15, %rdi
movq %r14, %rsi
callq 0x95f6
movq %rdx, %r14
jmp 0x35167
movl -0x50(%rbp), %edi
movq -0x48(%rbp), %rsi
xorl %eax, %eax
jmp 0x351f8
testb $0x1, %r14b
je 0x35164
movq %r15, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0x35164
decl (%rax)
jne 0x35164
movq %r15, %rdi
movq %r14, %rsi
callq 0xd4e3
xorl %r14d, %r14d
movq -0x60(%rbp), %rax
movq %rax, -0x40(%rbp)
movl -0x50(%rbp), %edi
testb %r12b, %r12b
je 0x351ef
movq -0x48(%rbp), %rax
movq %rax, %rcx
movq %rbx, %r12
andq %rbx, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0x351a9
decl (%rcx)
jne 0x351a9
shlq $0x30, %rdi
orq %rax, %rdi
leaq 0xe00d5(%rip), %rsi     # 0x115279
callq 0xd4e3
movq -0x38(%rbp), %rsi
movq %rsi, %rax
andq %r12, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x351dc
decl (%rax)
jne 0x351dc
movq -0x30(%rbp), %rdi
shlq $0x30, %rdi
orq %rsi, %rdi
leaq 0xe00ea(%rip), %rsi     # 0x1152c1
callq 0xd4e3
xorl %edi, %edi
movl $0x1, %eax
movq %rax, -0x30(%rbp)
movq %r14, -0x38(%rbp)
xorl %esi, %esi
jmp 0x351f6
movq -0x48(%rbp), %rsi
movq %rbx, %r12
movb $0x1, %al
testb %al, %al
jne 0x350c4
andq %rsi, %r12
sete %al
testb $0x3, %sil
setne %cl
orb %al, %cl
jne 0x3522a
decl (%r12)
jne 0x3522a
shlq $0x30, %rdi
orq %rsi, %rdi
leaq 0xe0054(%rip), %rsi     # 0x115279
callq 0xd4e3
movq -0x58(%rbp), %rax
movq -0x40(%rbp), %rcx
movq %rcx, (%rax)
movq -0x30(%rbp), %rax
movq -0x38(%rbp), %rdx
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf9f7
movq $0x20, 0x10(%rax)
movups 0xaf4e8(%rip), %xmm0    # 0xe474d
movups %xmm0, 0x18(%rax)
movups 0xaf4ed(%rip), %xmm0    # 0xe475d
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x95a5