// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_token_Token_patzetokens
static struct std_list_List_1 mw_mirth_token_Token_patzetokens (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_list_List_1 v7 = { .tag=std_list_List_1_Nil };
	struct std_list_List_1 v8;
	mw_std_list_List_1_buildzx(v7, &v8);
	bool v9 = true;
	struct mirth_mirth_zaMirth* r10 = v5;
	struct std_list_List_1 v11 = v6;
	struct std_list_List_1 r12 = v8;
	bool v13 = v9;
	bool v14 = v9;
	while (v14) {
		struct mirth_mirth_zaMirth* r15 = r10;
		struct std_list_List_1 v16 = v11;
		struct std_list_List_1 r17 = r12;
		bool v18 = v13;
		struct std_list_List_1 v19;
		struct std_maybe_Maybe_1 v20 = mw_std_list_List_1_uncons(v16, &v19);
		struct mirth_mirth_zaMirth* branch_zaMirth_21;
		struct std_maybe_Maybe_1 branch_Maybe_22;
		switch ((v20).tag) {
			case std_maybe_Maybe_1_Some: {
				VAL v23 = mtp_std_maybe_Maybe_1_Some(v20);
				incref(v23);
				struct mirth_mirth_zaMirth* v24;
				bool v25 = mw_mirth_token_Token_arrowzy(r15, V_mirth_token_Token(v23), &v24);
				bool v26 = !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(v23);
					branch_Maybe_28 = v29;
					branch_zaMirth_27 = v24;
				} else {
					decref(v23);
					struct std_maybe_Maybe_1 v30 = { .tag=std_maybe_Maybe_1_None };
					branch_Maybe_28 = v30;
					branch_zaMirth_27 = v24;
				}
				branch_Maybe_22 = branch_Maybe_28;
				branch_zaMirth_21 = branch_zaMirth_27;
			} break;
			case std_maybe_Maybe_1_None: {
				struct std_maybe_Maybe_1 v31 = { .tag=std_maybe_Maybe_1_None };
				branch_Maybe_22 = v31;
				branch_zaMirth_21 = r15;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		struct std_list_List_1 v32;
		bool v33 = mw_std_maybe_Maybe_1_ifzy_2_sp65(r17, branch_Maybe_22, &v32);
		v14 = v33;
		v13 = v33;
		r12 = v32;
		v11 = v19;
		r10 = branch_zaMirth_21;
	}
	struct std_list_List_1 v34 = mw_std_list_zaLister_1_donezx(r12);
	decref(MK_std_list_List_1(v11));
	*out_zaMirth_3 = r10;
	return v34;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1e0, %rsp            # imm = 0x1E0
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %rdx, -0x28(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
leaq -0x30(%rbp), %rdx
callq 0xaca10
movl %eax, -0x40(%rbp)
movq %rdx, -0x38(%rbp)
leaq -0x50(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movl -0x50(%rbp), %edi
movq -0x48(%rbp), %rsi
leaq -0x60(%rbp), %rdx
callq 0xc9d0
movb $0x1, -0x61(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x88(%rbp)
movb -0x61(%rbp), %al
andb $0x1, %al
movb %al, -0x91(%rbp)
movb -0x61(%rbp), %al
andb $0x1, %al
movb %al, -0x92(%rbp)
testb $0x1, -0x92(%rbp)
je 0xf770c
movq -0x70(%rbp), %rax
movq %rax, -0xa0(%rbp)
movups -0x80(%rbp), %xmm0
movaps %xmm0, -0xb0(%rbp)
movups -0x90(%rbp), %xmm0
movaps %xmm0, -0xc0(%rbp)
movb -0x91(%rbp), %al
andb $0x1, %al
movb %al, -0xc1(%rbp)
movl -0xb0(%rbp), %edi
movq -0xa8(%rbp), %rsi
leaq -0xd8(%rbp), %rdx
callq 0x2c490
movl %eax, -0xe8(%rbp)
movq %rdx, -0xe0(%rbp)
movl -0xe8(%rbp), %eax
movl %eax, -0x1d4(%rbp)
testl %eax, %eax
je 0xf7628
jmp 0xf7442
movl -0x1d4(%rbp), %eax
subl $0x1, %eax
jne 0xf7667
jmp 0xf7453
movl -0xe8(%rbp), %edi
movq -0xe0(%rbp), %rsi
callq 0x174a0
movq %rax, -0x110(%rbp)
movq %rdx, -0x108(%rbp)
movq -0x108(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xf74c4
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x110(%rbp), %rax
cmpq $0x0, %rax
je 0xf74c4
movq -0x110(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xf74c4
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x110(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0xf74c6
movq -0xa0(%rbp), %rdi
movq -0x110(%rbp), %rsi
leaq -0x118(%rbp), %rdx
callq 0xacbd0
andb $0x1, %al
movb %al, -0x119(%rbp)
movb -0x119(%rbp), %al
xorb $-0x1, %al
andb $0x1, %al
movb %al, -0x11a(%rbp)
testb $0x1, -0x11a(%rbp)
je 0xf7550
movq -0x110(%rbp), %rdi
movq -0x108(%rbp), %rsi
callq 0xca10
movl %eax, -0x148(%rbp)
movq %rdx, -0x140(%rbp)
movq -0x148(%rbp), %rax
movq %rax, -0x138(%rbp)
movq -0x140(%rbp), %rax
movq %rax, -0x130(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0x128(%rbp)
jmp 0xf75fc
jmp 0xf7552
movq -0x108(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xf75bd
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x110(%rbp), %rax
cmpq $0x0, %rax
je 0xf75bd
movq -0x110(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xf75bd
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x110(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0xf75bb
movq -0x110(%rbp), %rdi
movq -0x108(%rbp), %rsi
callq 0x127c0
jmp 0xf75bd
jmp 0xf75bf
leaq -0x158(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x158(%rbp), %rax
movq %rax, -0x138(%rbp)
movq -0x150(%rbp), %rax
movq %rax, -0x130(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0x128(%rbp)
movq -0x138(%rbp), %rax
movq %rax, -0x100(%rbp)
movq -0x130(%rbp), %rax
movq %rax, -0xf8(%rbp)
movq -0x128(%rbp), %rax
movq %rax, -0xf0(%rbp)
jmp 0xf7680
leaq -0x168(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x168(%rbp), %rax
movq %rax, -0x100(%rbp)
movq -0x160(%rbp), %rax
movq %rax, -0xf8(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0xf0(%rbp)
jmp 0xf7680
leaq 0x25c813(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movl -0xc0(%rbp), %edi
movq -0xb8(%rbp), %rsi
movl -0x100(%rbp), %edx
movq -0xf8(%rbp), %rcx
leaq -0x178(%rbp), %r8
callq 0xf8e10
andb $0x1, %al
movb %al, -0x179(%rbp)
movb -0x179(%rbp), %al
andb $0x1, %al
movb %al, -0x92(%rbp)
movb -0x179(%rbp), %al
andb $0x1, %al
movb %al, -0x91(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x170(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0x70(%rbp)
jmp 0xf73c7
movl -0x90(%rbp), %edi
movq -0x88(%rbp), %rsi
callq 0xcea0
movl %eax, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x12780
movq %rax, -0x190(%rbp)
movq %rdx, -0x188(%rbp)
movq -0x188(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xf781a
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x12780
movq %rax, -0x1a0(%rbp)
movq %rdx, -0x198(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1a0(%rbp), %rax
cmpq $0x0, %rax
je 0xf781a
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x12780
movq %rax, -0x1b0(%rbp)
movq %rdx, -0x1a8(%rbp)
movq -0x1b0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xf781a
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x12780
movq %rax, -0x1c0(%rbp)
movq %rdx, -0x1b8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x1c0(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0xf7818
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x12780
movq %rax, -0x1d0(%rbp)
movq %rdx, -0x1c8(%rbp)
movq -0x1d0(%rbp), %rdi
movq -0x1c8(%rbp), %rsi
callq 0x127c0
jmp 0xf781a
jmp 0xf781c
movq -0x70(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x1e0, %rsp            # imm = 0x1E0
popq %rbp
retq
nopw (%rax,%rax)