// File: /workspace/github_c_makefile_star2_O3/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 $0x38, %rsp
movq %rdx, -0x50(%rbp)
leaq -0x58(%rbp), %rbx
movq %rbx, %rdx
callq 0x34126
movl %eax, %edi
movq %rdx, %rsi
movq (%rbx), %r13
xorl %r14d, %r14d
movq $0x0, -0x30(%rbp)
leaq -0x48(%rbp), %rdx
callq 0x111eb
cmpl $0x1, %eax
jne 0x3409e
movq %rdx, %rdi
callq 0xd745
movq %rax, %rbx
movq %rdx, %r15
testb $0x1, %r15b
je 0x33fdb
movq %rbx, %r12
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rax, %r12
sete %al
testb $0x3, %bl
setne %cl
orb %al, %cl
jne 0x33fdb
incl (%r12)
movq %r13, %rdi
movq %rbx, %rsi
leaq -0x38(%rbp), %rdx
callq 0x341df
testb %al, %al
jne 0x33ff2
decl (%r12)
jne 0x3408e
movq %rbx, %rdi
movq %r15, %rsi
callq 0xd13d
jmp 0x3408e
movq %r13, %rdi
movq %rbx, %rsi
leaq -0x38(%rbp), %rdx
callq 0x341df
testb %al, %al
je 0x3408e
movq %rbx, %rdi
movq %r15, %rsi
callq 0x9353
movq %rdx, %r15
movq -0x38(%rbp), %r13
movq -0x40(%rbp), %rax
movq %rax, %rcx
movabsq $0xfffffffffffc, %r8    # imm = 0xFFFFFFFFFFFC
andq %r8, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0x3404a
movl -0x48(%rbp), %edi
decl (%rcx)
jne 0x3404a
shlq $0x30, %rdi
orq %rax, %rdi
leaq 0xdd23e(%rip), %rsi     # 0x111279
callq 0xd13d
movabsq $0xfffffffffffc, %r8    # imm = 0xFFFFFFFFFFFC
movq %r14, %rax
andq %r8, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0x34079
decl (%rax)
jne 0x34079
movq -0x30(%rbp), %rdi
shlq $0x30, %rdi
orq %r14, %rdi
leaq 0xdd24d(%rip), %rsi     # 0x1112c1
callq 0xd13d
xorl %edi, %edi
movl $0x1, %eax
movq %rax, -0x30(%rbp)
movq %r15, %r14
xorl %esi, %esi
jmp 0x33f67
movq -0x38(%rbp), %r13
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
jmp 0x33f67
testl %eax, %eax
jne 0x340f6
movq -0x40(%rbp), %rax
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
andq %rax, %rsi
sete %cl
testb $0x3, %al
setne %dl
orb %cl, %dl
jne 0x340d9
movl -0x48(%rbp), %edi
decl (%rsi)
jne 0x340d9
shlq $0x30, %rdi
orq %rax, %rdi
leaq 0xdd1a5(%rip), %rsi     # 0x111279
callq 0xd13d
movq -0x50(%rbp), %rax
movq %r13, (%rax)
movq -0x30(%rbp), %rax
movq %r14, %rdx
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0xac5be(%rip), %xmm0    # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0xac5c3(%rip), %xmm0    # 0xe06dd
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x9302