// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_parsezemodulezeimport
static uint64_t mw_mirth_elab_parsezemodulezeimport (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Token_2, struct mirth_mirth_zaMirth* *out_zaMirth_3, uint64_t *out_ModuleImport_5) {
	struct mirth_mirth_zaMirth* v6;
	bool v7 = mw_mirth_token_Token_modulezeimportzy(in_zaMirth_1, in_Token_2, &v6);
	struct mirth_mirth_zaMirth* branch_zaMirth_8;
	uint64_t branch_Token_9;
	if (v7) {
		branch_Token_9 = in_Token_2;
		branch_zaMirth_8 = v6;
	} else {
		STR* v10;
		STRLIT(v10, "Expected import statement.", 26);
		mw_mirth_mirth_zaMirth_emitzefatalzeerrorzx(v6, in_Token_2, v10);
	}
	struct mirth_mirth_zaMirth* v13;
	INT v14 = mw_mirth_token_Token_numzeargs(branch_zaMirth_8, branch_Token_9, &v13);
	INT v15 = WRAP_I63(0LL);
	INT v16 = v14;
	INT v17 = v15;
	bool v18 = int_lt(v17, v16);
	uint64_t branch_Token_19;
	uint64_t branch_Token_20;
	struct mirth_mirth_zaMirth* branch_zaMirth_21;
	if (v18) {
		struct mirth_mirth_zaMirth* v22;
		uint64_t v23 = mw_mirth_token_Token_next(v13, branch_Token_9, &v22);
		struct mirth_mirth_zaMirth* v24;
		uint64_t v25 = mw_mirth_token_Token_argsze1(v22, branch_Token_9, &v24);
		struct mirth_mirth_zaMirth* v26;
		uint64_t v27 = mw_mirth_token_Token_succ(v24, v25, &v26);
		struct mirth_mirth_zaMirth* v28;
		bool v29 = mw_mirth_token_Token_argzeendzy(v26, v27, &v28);
		struct mirth_mirth_zaMirth* branch_zaMirth_30;
		uint64_t branch_Token_31;
		if (v29) {
			branch_Token_31 = v25;
			branch_zaMirth_30 = v28;
		} else {
			struct mirth_mirth_zaMirth* v32;
			uint64_t v33 = mw_mirth_token_Token_succ(v28, v25, &v32);
			STR* v34;
			STRLIT(v34, "expected arg end", 16);
			mw_mirth_mirth_zaMirth_emitzefatalzeerrorzx(v32, v33, v34);
		}
		branch_zaMirth_21 = branch_zaMirth_30;
		branch_Token_20 = branch_Token_31;
		branch_Token_19 = v23;
	} else {
		struct mirth_mirth_zaMirth* v36;
		uint64_t v37 = mw_mirth_token_Token_succ(v13, branch_Token_9, &v36);
		struct mirth_mirth_zaMirth* v38;
		uint64_t v39 = mw_mirth_token_Token_next(v36, v37, &v38);
		branch_zaMirth_21 = v38;
		branch_Token_20 = v37;
		branch_Token_19 = v39;
	}
	*out_ModuleImport_5 = branch_Token_20;
	*out_zaMirth_3 = branch_zaMirth_21;
	return branch_Token_19;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1a0, %rsp            # imm = 0x1A0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0x28(%rbp), %rdx
callq 0x1eca50
andb $0x1, %al
movb %al, -0x29(%rbp)
testb $0x1, -0x29(%rbp)
je 0x1ecafc
movq -0x10(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1ecbf7
jmp 0x1ecafe
cmpq $0x0, 0x11a9d9a(%rip)   # 0x13968a0
jne 0x1ecb20
leaq 0x16fe03(%rip), %rdi    # 0x35c912
movl $0x1a, %esi
callq 0xb6c0
movq %rax, 0x11a9d80(%rip)   # 0x13968a0
jmp 0x1ecb22
movq 0x11a9d77(%rip), %rax   # 0x13968a0
movq %rax, -0x58(%rbp)
leaq 0x1a4624(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1ecbd9
movq 0x11a9d4b(%rip), %rax   # 0x13968a0
movq %rax, -0x68(%rbp)
leaq 0x1a45f8(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x60(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x68(%rbp), %rax
cmpq $0x0, %rax
je 0x1ecbd9
movq 0x11a9d1d(%rip), %rax   # 0x13968a0
movq %rax, -0x78(%rbp)
leaq 0x1a45ca(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x70(%rbp)
movq -0x78(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1ecbd9
movq 0x11a9cf5(%rip), %rax   # 0x13968a0
movq %rax, -0x88(%rbp)
leaq 0x1a459f(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x80(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x88(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1ecbdb
movq 0x11a9cbe(%rip), %rax   # 0x13968a0
movq %rax, -0x48(%rbp)
movq -0x28(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x48(%rbp), %rdx
callq 0x76b70
movq -0x38(%rbp), %rdi
movq -0x40(%rbp), %rsi
leaq -0x90(%rbp), %rdx
callq 0x78f50
movq %rax, -0x98(%rbp)
movq 0x181e37(%rip), %rax    # 0x36ea50
movq %rax, -0xa0(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
callq 0xae20
andb $0x1, %al
movb %al, -0xb1(%rbp)
testb $0x1, -0xb1(%rbp)
je 0x1ece7d
movq -0x90(%rbp), %rdi
movq -0x40(%rbp), %rsi
leaq -0xd8(%rbp), %rdx
callq 0x7b380
movq %rax, -0xe0(%rbp)
movq -0xd8(%rbp), %rdi
movq -0x40(%rbp), %rsi
leaq -0xe8(%rbp), %rdx
callq 0xa8660
movq %rax, -0xf0(%rbp)
movq -0xe8(%rbp), %rdi
movq -0xf0(%rbp), %rsi
leaq -0xf8(%rbp), %rdx
callq 0x78490
movq %rax, -0x100(%rbp)
movq -0xf8(%rbp), %rdi
movq -0x100(%rbp), %rsi
leaq -0x108(%rbp), %rdx
callq 0x7b320
andb $0x1, %al
movb %al, -0x109(%rbp)
testb $0x1, -0x109(%rbp)
je 0x1ecd0d
movq -0xf0(%rbp), %rax
movq %rax, -0x120(%rbp)
movq -0x108(%rbp), %rax
movq %rax, -0x118(%rbp)
jmp 0x1ece51
movq -0x108(%rbp), %rdi
movq -0xf0(%rbp), %rsi
leaq -0x128(%rbp), %rdx
callq 0x78490
movq %rax, -0x130(%rbp)
cmpq $0x0, 0x11a9b72(%rip)   # 0x13968a8
jne 0x1ecd50
leaq 0x16fbee(%rip), %rdi    # 0x35c92d
movl $0x10, %esi
callq 0xb6c0
movq %rax, 0x11a9b58(%rip)   # 0x13968a8
jmp 0x1ecd52
movq 0x11a9b4f(%rip), %rax   # 0x13968a8
movq %rax, -0x148(%rbp)
leaq 0x1a43f1(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x140(%rbp)
movq -0x140(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1ece27
movq 0x11a9b1a(%rip), %rax   # 0x13968a8
movq %rax, -0x158(%rbp)
leaq 0x1a43bc(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x150(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x158(%rbp), %rax
cmpq $0x0, %rax
je 0x1ece27
movq 0x11a9ae3(%rip), %rax   # 0x13968a8
movq %rax, -0x168(%rbp)
leaq 0x1a4385(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x160(%rbp)
movq -0x168(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1ece27
movq 0x11a9ab2(%rip), %rax   # 0x13968a8
movq %rax, -0x178(%rbp)
leaq 0x1a4354(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x170(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x178(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1ece29
movq 0x11a9a78(%rip), %rax   # 0x13968a8
movq %rax, -0x138(%rbp)
movq -0x128(%rbp), %rdi
movq -0x130(%rbp), %rsi
movq -0x138(%rbp), %rdx
callq 0x76b70
movq -0x118(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0x120(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0xc0(%rbp)
jmp 0x1ecee6
movq -0x90(%rbp), %rdi
movq -0x40(%rbp), %rsi
leaq -0x180(%rbp), %rdx
callq 0x78490
movq %rax, -0x188(%rbp)
movq -0x180(%rbp), %rdi
movq -0x188(%rbp), %rsi
leaq -0x190(%rbp), %rdx
callq 0x7b380
movq %rax, -0x198(%rbp)
movq -0x190(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0x188(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq -0x198(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq -0xc8(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
movq -0xd0(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
movq -0xc0(%rbp), %rax
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbp
retq
nopw %cs:(%rax,%rax)