// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_processzemodulezeimportzx
static void mw_mirth_elab_processzemodulezeimportzx (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_ModuleImport_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_LexicalState* v6 = in_zaMirth_1->mlexicalzestate;
	incref(MK_mirth_mirth_LexicalState(v6));
	incref(MK_mirth_mirth_LexicalState(v6));
	struct std_maybe_Maybe_1 v7 = v6->merrorzetoken;
	incref(MK_std_maybe_Maybe_1(v7));
	decref(MK_mirth_mirth_LexicalState(v6));
	struct std_maybe_Maybe_1 v8 = mtw_std_maybe_Maybe_1_Some(MK_mirth_token_Token(in_ModuleImport_2));
	struct mirth_mirth_LexicalState* v9 = mirth_mirth_LexicalState_set_errorzetoken(v6, v8);
	struct mirth_mirth_LexicalState* v10 = in_zaMirth_1->mlexicalzestate;
	decref(MK_mirth_mirth_LexicalState(v10));
	in_zaMirth_1->mlexicalzestate = v9;
	struct mirth_mirth_zaMirth* v11;
	struct mirth_name_QName* v12 = mw_mirth_elab_elabzemodulezeqname(in_zaMirth_1, in_ModuleImport_2, &v11);
	struct mirth_mirth_zaMirth* v13;
	uint64_t v14;
	uint64_t v15 = mw_mirth_elab_loadzemodule(v11, in_ModuleImport_2, v12, &v13, &v14);
	struct mirth_mirth_LexicalState* v16 = v13->mlexicalzestate;
	incref(MK_mirth_mirth_LexicalState(v16));
	struct mirth_mirth_LexicalState* v17 = mirth_mirth_LexicalState_set_errorzetoken(v16, v7);
	struct mirth_mirth_LexicalState* v18 = v13->mlexicalzestate;
	decref(MK_mirth_mirth_LexicalState(v18));
	v13->mlexicalzestate = v17;
	struct mirth_mirth_zaMirth* v19;
	uint64_t v20 = mw_mirth_token_Token_module(v13, v15, &v19);
	struct mirth_mirth_zaMirth* v21;
	struct std_list_List_1 v22 = mw_mirth_module_Module_imports(v19, v20, &v21);
	struct std_list_List_1 v23 = mw_std_list_List_1_Snoc(v22, MK_mirth_module_Module(v14));
	struct mirth_mirth_zaMirth* v24;
	mw_mirth_module_Module_importszx(v21, v23, v20, &v24);
	*out_zaMirth_3 = v24;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2e0, %rsp            # imm = 0x2E0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq 0x48(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x30(%rbp)
leaq 0x1a615e(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1eb824
movq -0x20(%rbp), %rax
movq %rax, -0x40(%rbp)
leaq 0x1a6139(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x38(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x40(%rbp), %rax
cmpq $0x0, %rax
je 0x1eb824
movq -0x20(%rbp), %rax
movq %rax, -0x50(%rbp)
leaq 0x1a610e(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x48(%rbp)
movq -0x50(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1eb824
movq -0x20(%rbp), %rax
movq %rax, -0x60(%rbp)
leaq 0x1a60e9(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x58(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x60(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1eb826
jmp 0x1eb828
movq -0x20(%rbp), %rax
movq %rax, -0x70(%rbp)
leaq 0x1a60b9(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1eb8df
movq -0x20(%rbp), %rax
movq %rax, -0x80(%rbp)
leaq 0x1a6090(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x78(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x80(%rbp), %rax
cmpq $0x0, %rax
je 0x1eb8df
movq -0x20(%rbp), %rax
movq %rax, -0x90(%rbp)
leaq 0x1a6062(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x88(%rbp)
movq -0x90(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1eb8df
movq -0x20(%rbp), %rax
movq %rax, -0xa0(%rbp)
leaq 0x1a6034(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x98(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xa0(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1eb8e1
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rcx
movq %rcx, -0xb0(%rbp)
movq 0x10(%rax), %rax
movq %rax, -0xa8(%rbp)
movl -0xb0(%rbp), %edi
movq -0xa8(%rbp), %rsi
callq 0x133a0
movq %rax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movq -0xb8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1eb9d0
movl -0xb0(%rbp), %edi
movq -0xa8(%rbp), %rsi
callq 0x133a0
movq %rax, -0xd0(%rbp)
movq %rdx, -0xc8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xd0(%rbp), %rax
cmpq $0x0, %rax
je 0x1eb9d0
movl -0xb0(%rbp), %edi
movq -0xa8(%rbp), %rsi
callq 0x133a0
movq %rax, -0xe0(%rbp)
movq %rdx, -0xd8(%rbp)
movq -0xe0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1eb9d0
movl -0xb0(%rbp), %edi
movq -0xa8(%rbp), %rsi
callq 0x133a0
movq %rax, -0xf0(%rbp)
movq %rdx, -0xe8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xf0(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1eb9d2
jmp 0x1eb9d4
movq -0x20(%rbp), %rax
movq %rax, -0x100(%rbp)
leaq 0x1a5f0a(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0xf8(%rbp)
movq -0xf8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1ebad8
movq -0x20(%rbp), %rax
movq %rax, -0x110(%rbp)
leaq 0x1a5ed8(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x108(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x110(%rbp), %rax
cmpq $0x0, %rax
je 0x1ebad8
movq -0x20(%rbp), %rax
movq %rax, -0x120(%rbp)
leaq 0x1a5ea0(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x118(%rbp)
movq -0x120(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1ebad8
movq -0x20(%rbp), %rax
movq %rax, -0x130(%rbp)
leaq 0x1a5e72(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x128(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x130(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1ebad6
movq -0x20(%rbp), %rax
movq %rax, -0x140(%rbp)
leaq 0x1a5e38(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x138(%rbp)
movq -0x140(%rbp), %rdi
movq -0x138(%rbp), %rsi
callq 0x127c0
jmp 0x1ebad8
jmp 0x1ebada
movq -0x10(%rbp), %rax
movq %rax, -0x160(%rbp)
leaq 0x1a635c(%rip), %rax    # 0x391e48
movq %rax, -0x158(%rbp)
movq -0x160(%rbp), %rdi
movq -0x158(%rbp), %rsi
callq 0xca10
movl %eax, -0x150(%rbp)
movq %rdx, -0x148(%rbp)
movq -0x20(%rbp), %rdi
movl -0x150(%rbp), %esi
movq -0x148(%rbp), %rdx
callq 0xa0090
movq %rax, -0x168(%rbp)
movq -0x8(%rbp), %rax
movq 0x48(%rax), %rax
movq %rax, -0x170(%rbp)
movq -0x170(%rbp), %rax
movq %rax, -0x180(%rbp)
leaq 0x1a5d9c(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x178(%rbp)
movq -0x178(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1ebc52
movq -0x170(%rbp), %rax
movq %rax, -0x190(%rbp)
leaq 0x1a5d67(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x188(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x190(%rbp), %rax
cmpq $0x0, %rax
je 0x1ebc52
movq -0x170(%rbp), %rax
movq %rax, -0x1a0(%rbp)
leaq 0x1a5d2c(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x198(%rbp)
movq -0x1a0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1ebc52
movq -0x170(%rbp), %rax
movq %rax, -0x1b0(%rbp)
leaq 0x1a5cfb(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x1a8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x1b0(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1ebc50
movq -0x170(%rbp), %rax
movq %rax, -0x1c0(%rbp)
leaq 0x1a5cbe(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x1b8(%rbp)
movq -0x1c0(%rbp), %rdi
movq -0x1b8(%rbp), %rsi
callq 0x127c0
jmp 0x1ebc52
jmp 0x1ebc54
movq -0x168(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x48(%rax)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0x1c8(%rbp), %rdx
callq 0x1f1610
movq %rax, -0x1d0(%rbp)
movq -0x1c8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x1d0(%rbp), %rdx
leaq -0x1d8(%rbp), %rcx
leaq -0x1e0(%rbp), %r8
callq 0x1f1690
movq %rax, -0x1e8(%rbp)
movq -0x1d8(%rbp), %rax
movq 0x48(%rax), %rax
movq %rax, -0x1f0(%rbp)
movq -0x1f0(%rbp), %rax
movq %rax, -0x200(%rbp)
leaq 0x1a5c1f(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x1f8(%rbp)
movq -0x1f8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1ebd91
movq -0x1f0(%rbp), %rax
movq %rax, -0x210(%rbp)
leaq 0x1a5bea(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x208(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x210(%rbp), %rax
cmpq $0x0, %rax
je 0x1ebd91
movq -0x1f0(%rbp), %rax
movq %rax, -0x220(%rbp)
leaq 0x1a5bb3(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x218(%rbp)
movq -0x220(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1ebd91
movq -0x1f0(%rbp), %rax
movq %rax, -0x230(%rbp)
leaq 0x1a5b82(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x228(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x230(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1ebd93
movq -0x1f0(%rbp), %rdi
movl -0xb0(%rbp), %esi
movq -0xa8(%rbp), %rdx
callq 0xa0090
movq %rax, -0x238(%rbp)
movq -0x1d8(%rbp), %rax
movq 0x48(%rax), %rax
movq %rax, -0x240(%rbp)
movq -0x240(%rbp), %rax
movq %rax, -0x250(%rbp)
leaq 0x1a5b16(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x248(%rbp)
movq -0x248(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1ebed8
movq -0x240(%rbp), %rax
movq %rax, -0x260(%rbp)
leaq 0x1a5ae1(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x258(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x260(%rbp), %rax
cmpq $0x0, %rax
je 0x1ebed8
movq -0x240(%rbp), %rax
movq %rax, -0x270(%rbp)
leaq 0x1a5aa6(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x268(%rbp)
movq -0x270(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1ebed8
movq -0x240(%rbp), %rax
movq %rax, -0x280(%rbp)
leaq 0x1a5a75(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x278(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x280(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1ebed6
movq -0x240(%rbp), %rax
movq %rax, -0x290(%rbp)
leaq 0x1a5a38(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x288(%rbp)
movq -0x290(%rbp), %rdi
movq -0x288(%rbp), %rsi
callq 0x127c0
jmp 0x1ebed8
jmp 0x1ebeda
movq -0x238(%rbp), %rcx
movq -0x1d8(%rbp), %rax
movq %rcx, 0x48(%rax)
movq -0x1d8(%rbp), %rdi
movq -0x1e8(%rbp), %rsi
leaq -0x298(%rbp), %rdx
callq 0x614c0
movq %rax, -0x2a0(%rbp)
movq -0x298(%rbp), %rdi
movq -0x2a0(%rbp), %rsi
leaq -0x2a8(%rbp), %rdx
callq 0x8f7f0
movl %eax, -0x2b8(%rbp)
movq %rdx, -0x2b0(%rbp)
movq -0x1e0(%rbp), %rax
movq %rax, -0x2d8(%rbp)
leaq 0x1a613f(%rip), %rax    # 0x392088
movq %rax, -0x2d0(%rbp)
movl -0x2b8(%rbp), %edi
movq -0x2b0(%rbp), %rsi
movq -0x2d8(%rbp), %rdx
movq -0x2d0(%rbp), %rcx
callq 0xceed0
movl %eax, -0x2c8(%rbp)
movq %rdx, -0x2c0(%rbp)
movq -0x2a8(%rbp), %rdi
movq -0x2a0(%rbp), %rcx
movl -0x2c8(%rbp), %esi
movq -0x2c0(%rbp), %rdx
leaq -0x2e0(%rbp), %r8
callq 0x64790
movq -0x2e0(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
addq $0x2e0, %rsp            # imm = 0x2E0
popq %rbp
retq
nopl (%rax,%rax)