// File: /workspace/github_c_makefile_star2_O1/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_initialzectxzetypezebodyzehome
static struct std_list_List_1 mw_mirth_elab_initialzectxzetypezebodyzehome (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Word_2, struct mirth_mirth_zaMirth* *out_zaMirth_3, struct mirth_type_ArrowType* *out_ArrowType_5, uint64_t *out_Token_6, struct mirth_arrow_Home *out_Home_7, uint64_t *out_Word_8) {
	void* v9 = field_mut(&mfld_mirth_word_Word_ztctxzetype, in_Word_2);
	struct mirth_mirth_zaMirth* v10;
	struct std_maybe_Maybe_1 v11 = mw_mirth_mirth_Prop_1_tryzeforcezx(in_zaMirth_1, v9, &v10);
	uint64_t branch_Word_12;
	struct mirth_mirth_zaMirth* branch_zaMirth_13;
	struct std_list_List_1 branch_Ctx_14;
	struct mirth_type_ArrowType* branch_ArrowType_15;
	switch ((v11).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v16 = mtp_std_maybe_Maybe_1_Some(v11);
			VAL v17 = ((TUP*)PTRPTR(value_tup(v16)))->cells[0];
			VAL v18 = ((TUP*)PTRPTR(value_tup(v16)))->cells[1];
			tup_decref_outer(value_tup(v16));
			branch_ArrowType_15 = V_mirth_type_ArrowType(v18);
			branch_Ctx_14 = V_std_list_List_1(v17);
			branch_zaMirth_13 = v10;
			branch_Word_12 = in_Word_2;
		} break;
		case std_maybe_Maybe_1_None: {
			struct mirth_mirth_zaMirth* v19;
			uint64_t v20;
			struct mirth_type_ArrowType* v21;
			struct std_list_List_1 v22 = mw_mirth_elab_guesszeinitialzectxzetype(v10, in_Word_2, &v19, &v20, &v21);
			branch_ArrowType_15 = v21;
			branch_Ctx_14 = v22;
			branch_zaMirth_13 = v19;
			branch_Word_12 = v20;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	struct mirth_mirth_zaMirth* v23;
	uint64_t v24 = mw_mirth_word_Word_body(branch_zaMirth_13, branch_Word_12, &v23);
	struct mirth_arrow_Home v25 = mtw_mirth_arrow_Home_Word(branch_Word_12);
	*out_Word_8 = branch_Word_12;
	*out_Home_7 = v25;
	*out_Token_6 = v24;
	*out_ArrowType_5 = branch_ArrowType_15;
	*out_zaMirth_3 = v23;
	return branch_Ctx_14;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %r9, -0x80(%rbp)
movq %r8, %r14
movq %rcx, %r13
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
leaq 0x10d5acb(%rip), %rdi   # 0x11196b0
callq 0x13ff0
leaq -0x60(%rbp), %rdx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x158b0
testl %eax, %eax
movq %r15, -0x98(%rbp)
movq %r13, -0x90(%rbp)
movq %r14, -0x88(%rbp)
movq %r12, -0x40(%rbp)
je 0x43c89
cmpl $0x1, %eax
jne 0x4430b
movq %rdx, %rdi
callq 0xdaeb
movq %rax, %r14
movq %rdx, %r15
movq %rax, %rdi
movq %rdx, %rsi
callq 0x9363
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
movq %r14, %rbx
andq %r13, %rbx
movq 0x8(%rbx), %r12
movq %r14, %rdi
movq %r15, %rsi
callq 0x9363
movq 0x18(%rbx), %rax
movq %rax, -0x38(%rbp)
movq %r14, %rdi
movq %r15, %rsi
callq 0x9363
movq %r14, %rdi
callq 0x93b4
movq %r12, %r15
shrq $0x30, %r15
andq %r13, %r12
movq -0x60(%rbp), %r14
movq -0x40(%rbp), %r13
jmp 0x44262
movq -0x60(%rbp), %rdi
leaq -0xb0(%rbp), %r14
movq %r14, %rsi
callq 0x3eba9
movq %rax, %rbx
movq (%r14), %rdi
leaq -0xa8(%rbp), %r14
movq %r14, %rsi
callq 0x3eba9
movq %rax, -0x38(%rbp)
movq (%r14), %rdi
leaq -0x50(%rbp), %rdx
movq %r12, %rsi
callq 0x4ae5e
cmpl $0x2, %eax
je 0x43d6b
cmpl $0x3, %eax
jne 0x43eda
movq %rdx, %rdi
callq 0x19ee8
movq -0x50(%rbp), %rdi
leaq -0x68(%rbp), %rcx
movl %eax, %esi
callq 0x4af4b
cmpl $0x1, %eax
movq %rbx, -0x58(%rbp)
movl %eax, -0x44(%rbp)
je 0x43f2a
testl %eax, %eax
jne 0x44324
movq %rdx, %rdi
callq 0x20fc5
movq -0x68(%rbp), %rdi
movq %rax, %rcx
shrq $0x30, %rcx
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
andq %r13, %rax
leaq -0x78(%rbp), %r15
movq %r15, (%rsp)
leaq -0xa0(%rbp), %rbx
xorl %esi, %esi
xorl %edx, %edx
movq %rax, %r8
movq %rbx, %r9
callq 0x4b07d
movl %eax, %r12d
movq %rdx, %r14
movl (%r15), %edi
shlq $0x30, %rdi
orq 0x8(%r15), %rdi
leaq 0xd1d8e(%rip), %rsi     # 0x115ae9
callq 0x20c09
movq %rdx, %r15
movq (%rbx), %rbx
jmp 0x43f8d
decl (%rdx)
jne 0x43d77
movq %rdx, %rdi
callq 0x5030
movq -0x50(%rbp), %r14
leaq 0x10d51e6(%rip), %rdi   # 0x1118f68
movq -0x40(%rbp), %rsi
callq 0x13ff0
movq %rax, %rdi
callq 0x140f0
leaq 0x10d472e(%rip), %rdi   # 0x11184c8
movq %rax, %rsi
callq 0x13ff0
movq %rax, %rdi
callq 0x140f0
movq %rax, %rdi
movq %rdx, %rsi
callq 0x942c
movq %rax, %r12
cmpq $0x0, 0x10d5c40(%rip)   # 0x1119a00
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
jne 0x43dec
movl $0x4, %edi
callq 0xf9f7
movq $0x4, 0x10(%rax)
movl $0x6e69616d, 0x18(%rax) # imm = 0x6E69616D
movq %rax, 0x10d5c14(%rip)   # 0x1119a00
movq 0x10d5c0d(%rip), %rsi   # 0x1119a00
movq %rsi, %rax
andq %r13, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x43e09
incl (%rax)
movq %r12, %rdi
callq 0xe2eb
movl $0x4, %r12d
testl %eax, %eax
jne 0x43f1e
movl $0x14, %edi
callq 0x1ef8a
movq %rdx, %rcx
movl $0x2, %edi
xorl %esi, %esi
movl $0x2, %edx
callq 0x21053
movq %rdx, %r15
leaq 0xd1d7a(%rip), %rsi     # 0x115bc1
movq %rbx, %rax
andq %r13, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x43e6b
decl (%rax)
jne 0x43e6b
btsq $0x32, %rbx
movq %rbx, %rdi
callq 0xd4e3
movl $0x14, %edi
callq 0x1ef8a
movq %rdx, %rcx
movl $0x2, %edi
xorl %esi, %esi
movl $0x2, %edx
callq 0x21053
movq %rdx, %rbx
movq -0x38(%rbp), %rdi
movq %rdi, %rax
andq %r13, %rax
sete %cl
testb $0x3, %dil
setne %dl
movl $0x7, %r12d
orb %cl, %dl
jne 0x43ec7
decl (%rax)
jne 0x43ec7
movabsq $0x4000000000000, %rax  # imm = 0x4000000000000
orq %rax, %rdi
leaq 0xd1cff(%rip), %rsi     # 0x115bc1
callq 0xd4e3
movl $0x7, -0x2c(%rbp)
movq %rbx, -0x38(%rbp)
movq %r15, %rbx
jmp 0x44032
movq %rdx, %rcx
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
andq %r13, %rcx
sete %sil
testb $0x3, %dl
setne %dil
orb %sil, %dil
jne 0x43f14
decl (%rcx)
jne 0x43f14
shlq $0x30, %rax
orq %rdx, %rax
leaq 0xd1a2d(%rip), %rsi     # 0x115939
movq %rax, %rdi
callq 0xd4e3
movl $0x4, %r12d
movq -0x50(%rbp), %r14
movl $0x4, -0x2c(%rbp)
jmp 0x44032
movq %rdx, %rdi
callq 0x2100c
movq -0x68(%rbp), %rdi
movq %rax, %rcx
shrq $0x30, %rcx
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
andq %r13, %rax
leaq -0x78(%rbp), %r12
movq %r12, (%rsp)
leaq -0xa0(%rbp), %r15
xorl %esi, %esi
xorl %edx, %edx
movq %rax, %r8
movq %r15, %r9
callq 0x4b07d
movq %rdx, %r14
movq (%r15), %rbx
movl (%r12), %edi
shlq $0x30, %rdi
orq 0x8(%r12), %rdi
movq %rax, %r12
leaq 0xd1b64(%rip), %rsi     # 0x115ae9
callq 0x20c67
movq %rdx, %r15
movq %r14, %rax
andq %r13, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0x43fbb
decl (%rax)
jne 0x43fbb
shlq $0x30, %r12
orq %r14, %r12
leaq 0xd12c6(%rip), %rsi     # 0x115279
movq %r12, %rdi
callq 0xd4e3
leaq 0x10d4fa6(%rip), %rdi   # 0x1118f68
movq -0x40(%rbp), %rsi
callq 0x13ff0
movq %rax, %rdi
callq 0x140f0
leaq -0x78(%rbp), %rdx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x2f781
testb %al, %al
je 0x44009
movl $0x4, -0x2c(%rbp)
movl $0x4, %edi
movq -0x58(%rbp), %rsi
movl -0x44(%rbp), %edx
movq %r15, %rcx
callq 0x20888
movl %eax, %r12d
movq %rdx, %rbx
jmp 0x4402e
movl $0x4, %r12d
movl $0x4, %edi
movq -0x38(%rbp), %rsi
movl -0x44(%rbp), %edx
movq %r15, %rcx
callq 0x20888
movl %eax, -0x2c(%rbp)
movq %rdx, -0x38(%rbp)
movq -0x58(%rbp), %rbx
movq -0x78(%rbp), %r14
leaq 0x10d5657(%rip), %rdi   # 0x1119690
movq -0x40(%rbp), %rsi
callq 0x13ff0
movq %rax, %rdi
callq 0x140f0
movq %rax, %r15
movq %rax, %rdi
movq %rdx, %rsi
callq 0x33553
movq %r15, %rax
andq %r13, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0x4406e
incl (%rax)
movl $0x1, %edi
movq %r15, %rsi
callq 0xec04
testl %eax, %eax
jns 0x4415a
movq %r14, %rdi
leaq -0x78(%rbp), %rsi
callq 0x4aef7
movq %rax, %rdi
callq 0x36174
movq %rdx, %rcx
movl %r12d, %edi
movq %rbx, %rsi
movl $0xa, %edx
callq 0x20b1a
movq %rdx, %r13
movl $0x3, %esi
movq %r15, %rdi
callq 0xedca
movq %rax, %r14
movq %rax, %r12
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rax, %r12
sete %al
testb $0x3, %r14b
setne %bl
orb %al, %bl
jne 0x440df
incl (%r12)
movl $0x1, %edi
movq %r14, %rsi
callq 0xec04
movq %r14, %r15
testl %eax, %eax
setle %al
jle 0x440fc
movl $0x1, %r15d
orb %al, %bl
movq %r13, %rbx
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
jne 0x44128
decl (%r12)
movl $0x1, %r15d
jne 0x44128
movq %r14, %rdi
leaq 0xd1306(%rip), %rsi     # 0x115429
callq 0xd4e3
movq %r15, %rax
andq %r13, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0x4413e
incl (%rax)
movl $0x1, %edi
movq %r15, %rsi
callq 0xec04
movq -0x78(%rbp), %r14
movl $0x5, %r12d
jmp 0x4407b
movq %r15, %rax
andq %r13, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0x44181
decl (%rax)
jne 0x44181
leaq 0xd0f98(%rip), %rsi     # 0x115111
movq %r15, %rdi
callq 0xd4e3
movl %r12d, %edi
movq %rbx, %rsi
movl -0x2c(%rbp), %edx
movq -0x38(%rbp), %rcx
callq 0x210ca
movq %rax, %rbx
andq %r13, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x441a8
incl (%rax)
leaq 0xd19ca(%rip), %r12     # 0x115b79
movl $0x2, %edi
callq 0xe4ba
movq %rax, %r15
andq %rax, %r13
movw $0x2, 0x6(%r13)
movq %rbx, -0x38(%rbp)
movq %rbx, 0x18(%r13)
movq %r12, 0x20(%r13)
movq $0x0, 0x8(%r13)
leaq 0xd1098(%rip), %rax     # 0x115279
movq %rax, 0x10(%r13)
movq -0x40(%rbp), %r13
movq %r13, %rdi
callq 0x34194
movq %rax, %r12
leaq 0xd119e(%rip), %rsi     # 0x115399
movq %r15, %rdi
callq 0x15e68
xorl %r15d, %r15d
movl $0xa, %edi
movq %r12, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0x1faa2
movq %rax, %r12
leaq 0x10d548e(%rip), %rdi   # 0x11196b0
movq %r13, %rsi
callq 0x13ff0
leaq 0xd15a0(%rip), %rsi     # 0x1157d1
movq %r12, %rdi
movq %rax, %rdx
callq 0x14ab5
leaq 0x10d57c5(%rip), %rdi   # 0x1119a08
movq %r13, %rsi
callq 0x13ff0
leaq 0xd1ad6(%rip), %rsi     # 0x115d28
movl $0x1, %edi
movq %rax, %rdx
callq 0x14ab5
xorl %r12d, %r12d
leaq 0x10d54b7(%rip), %rdi   # 0x1119720
movq %r13, %rsi
callq 0x13ff0
movq %rax, %rdi
callq 0x140f0
movq %rax, %rbx
movl $0x1, %edi
movl $0x10, %esi
callq 0x50c0
testq %rax, %rax
je 0x442e6
movq 0x10(%rbp), %rcx
movl $0x1, %edx
movl %edx, (%rax)
movq %r13, 0x8(%rax)
movq %r13, (%rcx)
movq -0x80(%rbp), %rcx
movl %edx, (%rcx)
movq %rax, 0x8(%rcx)
movq -0x88(%rbp), %rax
movq %rbx, (%rax)
movq -0x90(%rbp), %rax
movq -0x38(%rbp), %rcx
movq %rcx, (%rax)
movq -0x98(%rbp), %rax
movq %r14, (%rax)
movl %r15d, %eax
movq %r12, %rdx
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xa55a7(%rip), %rsi     # 0xe9894
movl $0x31, %edx
movl $0x2, %edi
callq 0x5060
callq 0x52be
movl $0x1, %edi
callq 0x5130
leaq 0xa043b(%rip), %rdi     # 0xe474d
movl $0x20, %esi
callq 0x92e9
movq %rax, %rdi
callq 0x95a5
movl $0x20, %edi
callq 0xf9f7
movq $0x20, 0x10(%rax)
movups 0xa0410(%rip), %xmm0    # 0xe474d
movups %xmm0, 0x18(%rax)
movups 0xa0415(%rip), %xmm0    # 0xe475d
movups %xmm0, 0x28(%rax)
jmp 0x4431c