// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_elabzelambdazeparamzy
static uint64_t mw_mirth_elab_elabzelambdazeparamzy (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Token_2, struct mirth_mirth_zaMirth* *out_zaMirth_3, struct std_maybe_Maybe_1 *out_Maybe_5) {
	struct mirth_mirth_zaMirth* v6;
	struct std_maybe_Maybe_1 v7 = mw_mirth_token_Token_patternzevarzy(in_zaMirth_1, in_Token_2, &v6);
	uint64_t branch_Token_8;
	struct mirth_mirth_zaMirth* branch_zaMirth_9;
	struct std_maybe_Maybe_1 branch_Maybe_10;
	switch ((v7).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v11 = mtp_std_maybe_Maybe_1_Some(v7);
			struct mirth_mirth_zaMirth* v12;
			mw_mirth_token_Token_argsze0(v6, in_Token_2, &v12);
			struct mirth_mirth_zaMirth* v13;
			uint64_t v14 = mw_mirth_token_Token_next(v12, in_Token_2, &v13);
			struct mirth_mirth_zaMirth* v15;
			struct mirth_type_Type v16 = mw_mirth_type_Type_Freshzx(v13, &v15);
			struct mirth_mirth_zaMirth* v17;
			uint64_t v18 = mw_mirth_var_Var_Newzx(v15, v16, V_mirth_name_Name(v11), &v17);
			struct std_maybe_Maybe_1 v19 = mtw_std_maybe_Maybe_1_Some(MK_mirth_var_Var(v18));
			branch_Maybe_10 = v19;
			branch_zaMirth_9 = v17;
			branch_Token_8 = v14;
		} break;
		case std_maybe_Maybe_1_None: {
			struct mirth_mirth_zaMirth* v20;
			struct std_maybe_Maybe_1 v21 = mw_mirth_token_Token_patternzeautozerunzevarzy(v6, in_Token_2, &v20);
			uint64_t branch_Token_22;
			struct mirth_mirth_zaMirth* branch_zaMirth_23;
			struct std_maybe_Maybe_1 branch_Maybe_24;
			switch ((v21).tag) {
				case std_maybe_Maybe_1_Some: {
					VAL v25 = mtp_std_maybe_Maybe_1_Some(v21);
					struct mirth_mirth_zaMirth* v26;
					uint64_t v27 = mw_mirth_token_Token_succ(v20, in_Token_2, &v26);
					struct mirth_mirth_zaMirth* v28;
					mw_mirth_token_Token_argsze0(v26, v27, &v28);
					struct mirth_mirth_zaMirth* v29;
					uint64_t v30 = mw_mirth_token_Token_next(v28, in_Token_2, &v29);
					struct mirth_mirth_zaMirth* v31;
					struct mirth_type_ArrowType* v32 = mw_mirth_type_ArrowType_Freshzx(v29, &v31);
					struct mirth_mirth_zaMirth* v33;
					uint64_t v34 = mw_mirth_var_Var_NewAutoRunzx(v31, v32, V_mirth_name_Name(v25), &v33);
					struct std_maybe_Maybe_1 v35 = mtw_std_maybe_Maybe_1_Some(MK_mirth_var_Var(v34));
					branch_Maybe_24 = v35;
					branch_zaMirth_23 = v33;
					branch_Token_22 = v30;
				} break;
				case std_maybe_Maybe_1_None: {
					struct std_maybe_Maybe_1 v36 = { .tag=std_maybe_Maybe_1_None };
					branch_Maybe_24 = v36;
					branch_zaMirth_23 = v20;
					branch_Token_22 = in_Token_2;
				} break;
				default: {
					do_panic(str_make("unexpected fallthrough in match\n", 32));
				}
			}
			branch_Maybe_10 = branch_Maybe_24;
			branch_zaMirth_9 = branch_zaMirth_23;
			branch_Token_8 = branch_Token_22;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_Maybe_5 = branch_Maybe_10;
	*out_zaMirth_3 = branch_zaMirth_9;
	return branch_Token_8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x190, %rsp            # imm = 0x190
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 0x1b7cd0
movl %eax, -0x38(%rbp)
movq %rdx, -0x30(%rbp)
movl -0x38(%rbp), %eax
movl %eax, -0x18c(%rbp)
testl %eax, %eax
je 0x1b7923
jmp 0x1b7826
movl -0x18c(%rbp), %eax
subl $0x1, %eax
jne 0x1b7b2a
jmp 0x1b7837
movl -0x38(%rbp), %edi
movq -0x30(%rbp), %rsi
callq 0x174a0
movq %rax, -0x68(%rbp)
movq %rdx, -0x60(%rbp)
movq -0x28(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0x70(%rbp), %rdx
callq 0x78300
movq -0x70(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0x78(%rbp), %rdx
callq 0x7b380
movq %rax, -0x80(%rbp)
movq -0x78(%rbp), %rdi
leaq -0x88(%rbp), %rsi
callq 0xcd480
movl %eax, -0x98(%rbp)
movq %rdx, -0x90(%rbp)
movq -0x88(%rbp), %rdi
movq -0x68(%rbp), %rcx
movl -0x98(%rbp), %esi
movq -0x90(%rbp), %rdx
leaq -0xa0(%rbp), %r8
callq 0x6da30
movq %rax, -0xa8(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0xc8(%rbp)
leaq 0x1da262(%rip), %rax    # 0x391b30
movq %rax, -0xc0(%rbp)
movq -0xc8(%rbp), %rdi
movq -0xc0(%rbp), %rsi
callq 0xca10
movl %eax, -0xb8(%rbp)
movq %rdx, -0xb0(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x40(%rbp)
jmp 0x1b7b43
movq -0x28(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0xd0(%rbp), %rdx
callq 0x1b7ef0
movl %eax, -0xe0(%rbp)
movq %rdx, -0xd8(%rbp)
movl -0xe0(%rbp), %eax
movl %eax, -0x190(%rbp)
testl %eax, %eax
je 0x1b7a99
jmp 0x1b795a
movl -0x190(%rbp), %eax
subl $0x1, %eax
jne 0x1b7ae3
jmp 0x1b796b
movl -0xe0(%rbp), %edi
movq -0xd8(%rbp), %rsi
callq 0x174a0
movq %rax, -0x110(%rbp)
movq %rdx, -0x108(%rbp)
movq -0xd0(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0x118(%rbp), %rdx
callq 0x78490
movq %rax, -0x120(%rbp)
movq -0x118(%rbp), %rdi
movq -0x120(%rbp), %rsi
leaq -0x128(%rbp), %rdx
callq 0x78300
movq -0x128(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0x130(%rbp), %rdx
callq 0x7b380
movq %rax, -0x138(%rbp)
movq -0x130(%rbp), %rdi
leaq -0x140(%rbp), %rsi
callq 0xf20a0
movq %rax, -0x148(%rbp)
movq -0x140(%rbp), %rdi
movq -0x148(%rbp), %rsi
movq -0x110(%rbp), %rdx
leaq -0x150(%rbp), %rcx
callq 0xdf7e0
movq %rax, -0x158(%rbp)
movq -0x158(%rbp), %rax
movq %rax, -0x178(%rbp)
leaq 0x1da0f8(%rip), %rax    # 0x391b30
movq %rax, -0x170(%rbp)
movq -0x178(%rbp), %rdi
movq -0x170(%rbp), %rsi
callq 0xca10
movl %eax, -0x168(%rbp)
movq %rdx, -0x160(%rbp)
movq -0x168(%rbp), %rax
movq %rax, -0x100(%rbp)
movq -0x160(%rbp), %rax
movq %rax, -0xf8(%rbp)
movq -0x150(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq -0x138(%rbp), %rax
movq %rax, -0xe8(%rbp)
jmp 0x1b7afc
leaq -0x188(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x188(%rbp), %rax
movq %rax, -0x100(%rbp)
movq -0x180(%rbp), %rax
movq %rax, -0xf8(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xe8(%rbp)
jmp 0x1b7afc
leaq 0x19c397(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x100(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0xf8(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x40(%rbp)
jmp 0x1b7b43
leaq 0x19c350(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x20(%rbp), %rax
movq -0x58(%rbp), %rcx
movq %rcx, (%rax)
movq -0x50(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x48(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
movq -0x40(%rbp), %rax
addq $0x190, %rsp            # imm = 0x190
popq %rbp
retq
nop