// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_lexer_zaLexer_stopzx
static uint64_t mw_mirth_lexer_zaLexer_stopzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_lexer_zaLexer* in_zaLexer_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_token_TokenValue v5 = { .tag=mirth_token_TokenValue_None };
	struct mirth_mirth_zaMirth* v6;
	struct mirth_lexer_zaLexer* v7;
	mw_mirth_lexer_zaLexer_emitzx(in_zaMirth_1, in_zaLexer_2, v5, &v6, &v7);
	uint64_t v8;
	INT v9;
	INT v10;
	struct std_maybe_Maybe_1 v11;
	struct std_list_List_1 v12;
	uint64_t v13;
	uint64_t v14;
	STR* v15;
	INT v16;
	mtp_mirth_lexer_zaLexer_zaLexer(v7, &v8, &v9, &v10, &v11, &v12, &v13, &v14, &v15, &v16);
	struct std_list_List_1 v17;
	struct std_maybe_Maybe_1 v18 = mw_std_list_List_1_uncons(v12, &v17);
	decref(MK_std_list_List_1(v17));
	struct mirth_mirth_zaMirth* branch_zaMirth_19;
	switch ((v18).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v20 = mtp_std_maybe_Maybe_1_Some(v18);
			STR* v21;
			STRLIT(v21, "Mismatched token.", 17);
			mw_mirth_mirth_zaMirth_emitzefatalzeerrorzx(v6, V_mirth_token_Token(v20), v21);
		} break;
		case std_maybe_Maybe_1_None: {
			branch_zaMirth_19 = v6;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	struct mirth_mirth_zaMirth* v23;
	uint64_t v24 = mw_mirth_token_Token_alloczenonezx(branch_zaMirth_19, &v23);
	struct mirth_mirth_zaMirth* v25;
	mw_mirth_module_Module_endzx(v23, v24, v8, &v25);
	struct mirth_mirth_zaMirth* v26;
	uint64_t v27 = mw_mirth_token_Token_succ(v25, v13, &v26);
	struct mirth_mirth_zaMirth* v28;
	mw_mirth_module_Module_startzx(v26, v27, v8, &v28);
	decref(MKINT(v9));
	decref(MKINT(v10));
	decref(MK_std_maybe_Maybe_1(v11));
	decref(MKSTR(v15));
	decref(MKINT(v16));
	*out_zaMirth_3 = v28;
	return v8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x348, %rsp            # imm = 0x348
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
leaq -0x30(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movl -0x30(%rbp), %edx
movq -0x28(%rbp), %rcx
leaq -0x38(%rbp), %r8
leaq -0x40(%rbp), %r9
callq 0x1c84a0
movq -0x40(%rbp), %rdi
leaq -0x48(%rbp), %rsi
leaq -0x50(%rbp), %rdx
leaq -0x58(%rbp), %rcx
leaq -0x68(%rbp), %r8
leaq -0x78(%rbp), %r9
leaq -0x80(%rbp), %rbx
leaq -0x88(%rbp), %r11
leaq -0x90(%rbp), %r10
leaq -0x98(%rbp), %rax
movq %rbx, (%rsp)
movq %r11, 0x8(%rsp)
movq %r10, 0x10(%rsp)
movq %rax, 0x18(%rsp)
callq 0x1e8210
movl -0x78(%rbp), %edi
movq -0x70(%rbp), %rsi
leaq -0xa8(%rbp), %rdx
callq 0x2c490
movl %eax, -0xb8(%rbp)
movq %rdx, -0xb0(%rbp)
movl -0xa8(%rbp), %edi
movq -0xa0(%rbp), %rsi
callq 0x12780
movq %rax, -0xc8(%rbp)
movq %rdx, -0xc0(%rbp)
movq -0xc0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1c6b80
movl -0xa8(%rbp), %edi
movq -0xa0(%rbp), %rsi
callq 0x12780
movq %rax, -0xd8(%rbp)
movq %rdx, -0xd0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xd8(%rbp), %rax
cmpq $0x0, %rax
je 0x1c6b80
movl -0xa8(%rbp), %edi
movq -0xa0(%rbp), %rsi
callq 0x12780
movq %rax, -0xe8(%rbp)
movq %rdx, -0xe0(%rbp)
movq -0xe8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1c6b80
movl -0xa8(%rbp), %edi
movq -0xa0(%rbp), %rsi
callq 0x12780
movq %rax, -0xf8(%rbp)
movq %rdx, -0xf0(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0xf8(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1c6b7e
movl -0xa8(%rbp), %edi
movq -0xa0(%rbp), %rsi
callq 0x12780
movq %rax, -0x108(%rbp)
movq %rdx, -0x100(%rbp)
movq -0x108(%rbp), %rdi
movq -0x100(%rbp), %rsi
callq 0x127c0
jmp 0x1c6b80
jmp 0x1c6b82
movl -0xb8(%rbp), %eax
movl %eax, -0x32c(%rbp)
testl %eax, %eax
je 0x1c6ceb
jmp 0x1c6b98
movl -0x32c(%rbp), %eax
subl $0x1, %eax
jne 0x1c6cf8
jmp 0x1c6ba9
movl -0xb8(%rbp), %edi
movq -0xb0(%rbp), %rsi
callq 0x174a0
movq %rax, -0x120(%rbp)
movq %rdx, -0x118(%rbp)
cmpq $0x0, 0x11cfc57(%rip)   # 0x1396828
jne 0x1c6beb
leaq 0x195c0b(%rip), %rdi    # 0x35c7e5
movl $0x11, %esi
callq 0xb6c0
movq %rax, 0x11cfc3d(%rip)   # 0x1396828
jmp 0x1c6bed
movq 0x11cfc34(%rip), %rax   # 0x1396828
movq %rax, -0x138(%rbp)
leaq 0x1ca556(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x130(%rbp)
movq -0x130(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1c6cc2
movq 0x11cfbff(%rip), %rax   # 0x1396828
movq %rax, -0x148(%rbp)
leaq 0x1ca521(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x140(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x148(%rbp), %rax
cmpq $0x0, %rax
je 0x1c6cc2
movq 0x11cfbc8(%rip), %rax   # 0x1396828
movq %rax, -0x158(%rbp)
leaq 0x1ca4ea(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x150(%rbp)
movq -0x158(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1c6cc2
movq 0x11cfb97(%rip), %rax   # 0x1396828
movq %rax, -0x168(%rbp)
leaq 0x1ca4b9(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x160(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x168(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1c6cc4
movq 0x11cfb5d(%rip), %rax   # 0x1396828
movq %rax, -0x128(%rbp)
movq -0x38(%rbp), %rdi
movq -0x120(%rbp), %rsi
movq -0x128(%rbp), %rdx
callq 0x76b70
jmp 0x1c6d11
movq -0x38(%rbp), %rax
movq %rax, -0x110(%rbp)
jmp 0x1c6d11
leaq 0x18d182(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x110(%rbp), %rdi
leaq -0x170(%rbp), %rsi
callq 0x11c9d0
movq %rax, -0x178(%rbp)
movq -0x170(%rbp), %rdi
movq -0x178(%rbp), %rsi
movq -0x48(%rbp), %rdx
leaq -0x180(%rbp), %rcx
callq 0x1e82e0
movq -0x180(%rbp), %rdi
movq -0x80(%rbp), %rsi
leaq -0x188(%rbp), %rdx
callq 0x78490
movq %rax, -0x190(%rbp)
movq -0x188(%rbp), %rdi
movq -0x190(%rbp), %rsi
movq -0x48(%rbp), %rdx
leaq -0x198(%rbp), %rcx
callq 0x1e8350
movq -0x50(%rbp), %rax
movq %rax, -0x1a8(%rbp)
leaq 0x1ca691(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x1a0(%rbp)
movq -0x1a0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1c6e89
movq -0x50(%rbp), %rax
movq %rax, -0x1b8(%rbp)
leaq 0x1ca65f(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x1b0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1b8(%rbp), %rax
cmpq $0x0, %rax
je 0x1c6e89
movq -0x50(%rbp), %rax
movq %rax, -0x1c8(%rbp)
leaq 0x1ca627(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x1c0(%rbp)
movq -0x1c8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1c6e89
movq -0x50(%rbp), %rax
movq %rax, -0x1d8(%rbp)
leaq 0x1ca5f9(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x1d0(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x1d8(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1c6e87
movq -0x50(%rbp), %rax
movq %rax, -0x1e8(%rbp)
leaq 0x1ca5bf(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x1e0(%rbp)
movq -0x1e8(%rbp), %rdi
movq -0x1e0(%rbp), %rsi
callq 0x127c0
jmp 0x1c6e89
jmp 0x1c6e8b
jmp 0x1c6e8d
movq -0x58(%rbp), %rax
movq %rax, -0x1f8(%rbp)
leaq 0x1ca589(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x1f0(%rbp)
movq -0x1f0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1c6f91
movq -0x58(%rbp), %rax
movq %rax, -0x208(%rbp)
leaq 0x1ca557(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x200(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x208(%rbp), %rax
cmpq $0x0, %rax
je 0x1c6f91
movq -0x58(%rbp), %rax
movq %rax, -0x218(%rbp)
leaq 0x1ca51f(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x210(%rbp)
movq -0x218(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1c6f91
movq -0x58(%rbp), %rax
movq %rax, -0x228(%rbp)
leaq 0x1ca4f1(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x220(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x228(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1c6f8f
movq -0x58(%rbp), %rax
movq %rax, -0x238(%rbp)
leaq 0x1ca4b7(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x230(%rbp)
movq -0x238(%rbp), %rdi
movq -0x230(%rbp), %rsi
callq 0x127c0
jmp 0x1c6f91
jmp 0x1c6f93
jmp 0x1c6f95
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x133a0
movq %rax, -0x248(%rbp)
movq %rdx, -0x240(%rbp)
movq -0x240(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1c708a
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x133a0
movq %rax, -0x258(%rbp)
movq %rdx, -0x250(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x258(%rbp), %rax
cmpq $0x0, %rax
je 0x1c708a
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x133a0
movq %rax, -0x268(%rbp)
movq %rdx, -0x260(%rbp)
movq -0x268(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1c708a
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x133a0
movq %rax, -0x278(%rbp)
movq %rdx, -0x270(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x278(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1c7088
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x133a0
movq %rax, -0x288(%rbp)
movq %rdx, -0x280(%rbp)
movq -0x288(%rbp), %rdi
movq -0x280(%rbp), %rsi
callq 0x127c0
jmp 0x1c708a
jmp 0x1c708c
jmp 0x1c708e
movq -0x90(%rbp), %rax
movq %rax, -0x298(%rbp)
leaq 0x1ca0b5(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x290(%rbp)
movq -0x290(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1c71a1
movq -0x90(%rbp), %rax
movq %rax, -0x2a8(%rbp)
leaq 0x1ca080(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x2a0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x2a8(%rbp), %rax
cmpq $0x0, %rax
je 0x1c71a1
movq -0x90(%rbp), %rax
movq %rax, -0x2b8(%rbp)
leaq 0x1ca045(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x2b0(%rbp)
movq -0x2b8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1c71a1
movq -0x90(%rbp), %rax
movq %rax, -0x2c8(%rbp)
leaq 0x1ca014(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x2c0(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x2c8(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1c719f
movq -0x90(%rbp), %rax
movq %rax, -0x2d8(%rbp)
leaq 0x1c9fd7(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x2d0(%rbp)
movq -0x2d8(%rbp), %rdi
movq -0x2d0(%rbp), %rsi
callq 0x127c0
jmp 0x1c71a1
jmp 0x1c71a3
jmp 0x1c71a5
movq -0x98(%rbp), %rax
movq %rax, -0x2e8(%rbp)
leaq 0x1ca26e(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x2e0(%rbp)
movq -0x2e0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1c72b8
movq -0x98(%rbp), %rax
movq %rax, -0x2f8(%rbp)
leaq 0x1ca239(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x2f0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x2f8(%rbp), %rax
cmpq $0x0, %rax
je 0x1c72b8
movq -0x98(%rbp), %rax
movq %rax, -0x308(%rbp)
leaq 0x1ca1fe(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x300(%rbp)
movq -0x308(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1c72b8
movq -0x98(%rbp), %rax
movq %rax, -0x318(%rbp)
leaq 0x1ca1cd(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x310(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x318(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1c72b6
movq -0x98(%rbp), %rax
movq %rax, -0x328(%rbp)
leaq 0x1ca190(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x320(%rbp)
movq -0x328(%rbp), %rdi
movq -0x320(%rbp), %rsi
callq 0x127c0
jmp 0x1c72b8
jmp 0x1c72ba
movq -0x198(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
movq -0x48(%rbp), %rax
addq $0x348, %rsp            # imm = 0x348
popq %rbx
popq %rbp
retq
nopw %cs:(%rax,%rax)