// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_mirth_zaMirth_runzelexerzx
static uint64_t mw_mirth_mirth_zaMirth_runzelexerzx (struct mirth_mirth_zaMirth* in_zaMirth_1, STR* in_Path_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v7;
	uint64_t v8 = mw_mirth_module_Module_Newzx(in_zaMirth_1, in_Path_2, &v7);
	struct mirth_mirth_zaMirth* v9;
	STR* v10 = mw_mirth_module_Module_sourcezepath(v7, v8, &v9);
	struct std_result_Result_2 v11 = mw_std_prim_zaWorld_readzepathzx(v10);
	struct mirth_mirth_zaMirth* branch_zaMirth_12;
	uint64_t branch_Module_13;
	switch ((v11).tag) {
		case std_result_Result_2_Ok: {
			VAL v14 = mtp_std_result_Result_2_Ok(v11);
			struct mirth_mirth_zaMirth* v15;
			struct mirth_lexer_zaLexer* v16;
			mw_mirth_lexer_zaLexer_Startzx(v9, value_str(v14), v8, &v15, &v16);
			struct mirth_lexer_zaLexer* v17;
			bool v18 = mw_mirth_lexer_zaLexer_donezy(v16, &v17);
			bool v19 = !v18;
			struct mirth_mirth_zaMirth* r20 = v15;
			struct mirth_lexer_zaLexer* r21 = v17;
			bool v22 = v19;
			while (v22) {
				struct mirth_mirth_zaMirth* r23 = r20;
				struct mirth_lexer_zaLexer* r24 = r21;
				struct mirth_mirth_zaMirth* v25;
				struct mirth_lexer_zaLexer* v26;
				mw_mirth_lexer_zaLexer_nextzx(r23, r24, &v25, &v26);
				struct mirth_lexer_zaLexer* v27;
				bool v28 = mw_mirth_lexer_zaLexer_donezy(v26, &v27);
				bool v29 = !v28;
				v22 = v29;
				r21 = v27;
				r20 = v25;
			}
			struct mirth_mirth_zaMirth* v30;
			uint64_t v31 = mw_mirth_lexer_zaLexer_stopzx(r20, r21, &v30);
			branch_Module_13 = v31;
			branch_zaMirth_12 = v30;
		} break;
		case std_result_Result_2_Err: {
			VAL v32 = mtp_std_result_Result_2_Err(v11);
			mw_mirth_mirth_zaMirth_iozeerrorzx(V_std_file_IOError(v32), v9);
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaMirth_3 = branch_zaMirth_12;
	return branch_Module_13;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x110, %rsp            # imm = 0x110
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0x20(%rbp), %rdx
callq 0x1c5c50
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rdi
movq -0x28(%rbp), %rsi
leaq -0x30(%rbp), %rdx
callq 0x61870
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rdi
callq 0x1c5d10
movl %eax, -0x48(%rbp)
movq %rdx, -0x40(%rbp)
movl -0x48(%rbp), %eax
movl %eax, -0x104(%rbp)
testl %eax, %eax
je 0x1bf552
jmp 0x1bf3d4
movl -0x104(%rbp), %eax
subl $0x1, %eax
jne 0x1bf5a4
jmp 0x1bf3e5
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
callq 0x7bf0
movq %rax, -0x68(%rbp)
movq %rdx, -0x60(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x110(%rbp)
movq -0x68(%rbp), %rdi
movq -0x60(%rbp), %rsi
callq 0xb980
movq -0x110(%rbp), %rdi
movq %rax, %rsi
movq -0x28(%rbp), %rdx
leaq -0x70(%rbp), %rcx
leaq -0x78(%rbp), %r8
callq 0x1c5ff0
movq -0x78(%rbp), %rdi
leaq -0x80(%rbp), %rsi
callq 0x1c60f0
andb $0x1, %al
movb %al, -0x81(%rbp)
movb -0x81(%rbp), %al
xorb $-0x1, %al
andb $0x1, %al
movb %al, -0x82(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x98(%rbp)
movb -0x82(%rbp), %al
andb $0x1, %al
movb %al, -0x99(%rbp)
testb $0x1, -0x99(%rbp)
je 0x1bf519
movq -0x90(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0xa8(%rbp), %rdi
movq -0xb0(%rbp), %rsi
leaq -0xb8(%rbp), %rdx
leaq -0xc0(%rbp), %rcx
callq 0x1c62d0
movq -0xc0(%rbp), %rdi
leaq -0xc8(%rbp), %rsi
callq 0x1c60f0
andb $0x1, %al
movb %al, -0xc9(%rbp)
movb -0xc9(%rbp), %al
xorb $-0x1, %al
andb $0x1, %al
movb %al, -0xca(%rbp)
movb -0xca(%rbp), %al
andb $0x1, %al
movb %al, -0x99(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x90(%rbp)
jmp 0x1bf475
movq -0x90(%rbp), %rdi
movq -0x98(%rbp), %rsi
leaq -0xd8(%rbp), %rdx
callq 0x1c69c0
movq %rax, -0xe0(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x50(%rbp)
jmp 0x1bf5bd
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
callq 0xb610
movq %rax, -0xf0(%rbp)
movq %rdx, -0xe8(%rbp)
movq -0xf0(%rbp), %rdi
movq -0xe8(%rbp), %rsi
callq 0x1b0cb0
movl %eax, -0x100(%rbp)
movq %rdx, -0xf8(%rbp)
movq -0x30(%rbp), %rdx
movl -0x100(%rbp), %edi
movq -0xf8(%rbp), %rsi
callq 0x1b0c70
jmp 0x1bf5bd
leaq 0x1948d6(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x50(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
movq -0x58(%rbp), %rax
addq $0x110, %rsp            # imm = 0x110
popq %rbp
retq
nopw %cs:(%rax,%rax)