// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_c99zestartzx
static struct mirth_arrow_Arrow* mw_mirth_c99_c99zestartzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_arrow_Arrow* in_Arrow_2, struct mirth_c99_C99zuOptions* in_C99zuOptions_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_c99_zaC99* *out_zaC99_6) {
	INT v9 = WRAP_I63(0LL);
	INT v10 = WRAP_I63(0LL);
	bool v11 = true;
	struct mirth_need_zaNeeds* v12;
	mw_mirth_need_zaNeeds_New(&v12);
	incref(MK_mirth_arrow_Arrow(in_Arrow_2));
	struct mirth_mirth_zaMirth* v13;
	struct mirth_need_zaNeeds* v14;
	mw_mirth_need_zaNeeds_determinezearrowzeneedszx(in_zaMirth_1, v12, in_Arrow_2, &v13, &v14);
	incref(MK_mirth_c99_C99zuOptions(in_C99zuOptions_3));
	STR* v15 = in_C99zuOptions_3->moutputzepath;
	incref(MKSTR(v15));
	decref(MK_mirth_c99_C99zuOptions(in_C99zuOptions_3));
	struct std_result_zaResult_2 v16;
	mw_std_prim_zaWorld_createzefilezx(v15, &v16);
	struct mirth_mirth_zaMirth* branch_zaMirth_17;
	VAL branch_zux1_18;
	switch ((v16).tag) {
		case std_result_zaResult_2_zaOk: {
			VAL v19;
			mtp_std_result_zaResult_2_zaOk(v16, &v19);
			branch_zux1_18 = v19;
			branch_zaMirth_17 = v13;
		} break;
		case std_result_zaResult_2_zaErr: {
			VAL v20 = mtp_std_result_zaResult_2_zaErr(v16);
			mw_mirth_mirth_zaMirth_iozeerrorzx(V_std_file_IOError(v20), v13);
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	struct std_output_zaOutput* v23;
	mw_std_output_zaOutput_startzx(V_std_file_zaFile(branch_zux1_18), &v23);
	struct mirth_c99_zaC99* v24;
	mtw_mirth_c99_zaC99_zaC99(in_C99zuOptions_3, v9, v10, v11, v14, v23, &v24);
	*out_zaC99_6 = v24;
	*out_zaMirth_4 = branch_zaMirth_17;
	return in_Arrow_2;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1f0, %rsp            # imm = 0x1F0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq 0x15b49a(%rip), %rax    # 0x36ea50
movq %rax, -0x30(%rbp)
movq 0x15b48f(%rip), %rax    # 0x36ea50
movq %rax, -0x38(%rbp)
movb $0x1, -0x39(%rbp)
leaq -0x48(%rbp), %rdi
callq 0x217d00
movq -0x10(%rbp), %rax
movq %rax, -0x58(%rbp)
leaq 0x17ee4f(%rip), %rax    # 0x392430
orq $0x1, %rax
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x21367d
movq -0x10(%rbp), %rax
movq %rax, -0x68(%rbp)
leaq 0x17ee26(%rip), %rax    # 0x392430
orq $0x1, %rax
movq %rax, -0x60(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x68(%rbp), %rax
cmpq $0x0, %rax
je 0x21367d
movq -0x10(%rbp), %rax
movq %rax, -0x78(%rbp)
leaq 0x17edfb(%rip), %rax    # 0x392430
orq $0x1, %rax
movq %rax, -0x70(%rbp)
movq -0x78(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x21367d
movq -0x10(%rbp), %rax
movq %rax, -0x88(%rbp)
leaq 0x17edd3(%rip), %rax    # 0x392430
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 0x21367f
movq -0x8(%rbp), %rdi
movq -0x48(%rbp), %rsi
movq -0x10(%rbp), %rdx
leaq -0x90(%rbp), %rcx
leaq -0x98(%rbp), %r8
callq 0x217d50
movq -0x18(%rbp), %rax
movq %rax, -0xa8(%rbp)
leaq 0x17f7a0(%rip), %rax    # 0x392e50
orq $0x1, %rax
movq %rax, -0xa0(%rbp)
movq -0xa0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x213767
movq -0x18(%rbp), %rax
movq %rax, -0xb8(%rbp)
leaq 0x17f76e(%rip), %rax    # 0x392e50
orq $0x1, %rax
movq %rax, -0xb0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xb8(%rbp), %rax
cmpq $0x0, %rax
je 0x213767
movq -0x18(%rbp), %rax
movq %rax, -0xc8(%rbp)
leaq 0x17f73a(%rip), %rax    # 0x392e50
orq $0x1, %rax
movq %rax, -0xc0(%rbp)
movq -0xc8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x213767
movq -0x18(%rbp), %rax
movq %rax, -0xd8(%rbp)
leaq 0x17f70c(%rip), %rax    # 0x392e50
orq $0x1, %rax
movq %rax, -0xd0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xd8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x213769
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0xe0(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0xf0(%rbp)
leaq 0x17d9cb(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xe8(%rbp)
movq -0xe8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x21384d
movq -0xe0(%rbp), %rax
movq %rax, -0x100(%rbp)
leaq 0x17d996(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xf8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x100(%rbp), %rax
cmpq $0x0, %rax
je 0x21384d
movq -0xe0(%rbp), %rax
movq %rax, -0x110(%rbp)
leaq 0x17d95f(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x108(%rbp)
movq -0x110(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x21384d
movq -0xe0(%rbp), %rax
movq %rax, -0x120(%rbp)
leaq 0x17d92e(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x118(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x120(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x21384f
jmp 0x213851
movq -0x18(%rbp), %rax
movq %rax, -0x130(%rbp)
leaq 0x17f5ed(%rip), %rax    # 0x392e50
orq $0x1, %rax
movq %rax, -0x128(%rbp)
movq -0x128(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x213955
movq -0x18(%rbp), %rax
movq %rax, -0x140(%rbp)
leaq 0x17f5bb(%rip), %rax    # 0x392e50
orq $0x1, %rax
movq %rax, -0x138(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x140(%rbp), %rax
cmpq $0x0, %rax
je 0x213955
movq -0x18(%rbp), %rax
movq %rax, -0x150(%rbp)
leaq 0x17f583(%rip), %rax    # 0x392e50
orq $0x1, %rax
movq %rax, -0x148(%rbp)
movq -0x150(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x213955
movq -0x18(%rbp), %rax
movq %rax, -0x160(%rbp)
leaq 0x17f555(%rip), %rax    # 0x392e50
orq $0x1, %rax
movq %rax, -0x158(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x160(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x213953
movq -0x18(%rbp), %rax
movq %rax, -0x170(%rbp)
leaq 0x17f51b(%rip), %rax    # 0x392e50
orq $0x1, %rax
movq %rax, -0x168(%rbp)
movq -0x170(%rbp), %rdi
movq -0x168(%rbp), %rsi
callq 0x127c0
jmp 0x213955
jmp 0x213957
movq -0xe0(%rbp), %rdi
leaq -0x180(%rbp), %rsi
callq 0x217dc0
movl -0x180(%rbp), %eax
movl %eax, -0x1dc(%rbp)
testl %eax, %eax
je 0x2139d2
jmp 0x21397c
movl -0x1dc(%rbp), %eax
subl $0x1, %eax
jne 0x213a2d
jmp 0x21398d
movl -0x180(%rbp), %edi
movq -0x178(%rbp), %rsi
leaq -0x1a8(%rbp), %rdx
callq 0x1b0be0
movq -0x1a8(%rbp), %rax
movq %rax, -0x198(%rbp)
movq -0x1a0(%rbp), %rax
movq %rax, -0x190(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0x188(%rbp)
jmp 0x213a46
movl -0x180(%rbp), %edi
movq -0x178(%rbp), %rsi
callq 0x1b0c30
movq %rax, -0x1b8(%rbp)
movq %rdx, -0x1b0(%rbp)
movq -0x1b8(%rbp), %rdi
movq -0x1b0(%rbp), %rsi
callq 0x1b0cb0
movl %eax, -0x1c8(%rbp)
movq %rdx, -0x1c0(%rbp)
movq -0x90(%rbp), %rdx
movl -0x1c8(%rbp), %edi
movq -0x1c0(%rbp), %rsi
callq 0x1b0c70
jmp 0x213a46
leaq 0x14044d(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x198(%rbp), %rdi
leaq -0x1d0(%rbp), %rsi
callq 0x218780
movq -0x18(%rbp), %rdi
movb -0x39(%rbp), %cl
movq -0x98(%rbp), %r8
movq -0x1d0(%rbp), %r9
movq -0x30(%rbp), %rsi
movq -0x38(%rbp), %rdx
leaq -0x1d8(%rbp), %rax
andb $0x1, %cl
movzbl %cl, %ecx
movq %rax, (%rsp)
callq 0x2187e0
movq -0x1d8(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movq -0x188(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
movq -0x10(%rbp), %rax
addq $0x1f0, %rsp            # imm = 0x1F0
popq %rbp
retq
nopw %cs:(%rax,%rax)