// File: /workspace/github_c_makefile_star2_O3/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, %r14
movq %r8, -0x88(%rbp)
movq %rcx, %r12
movq %rdx, %r15
movq %rsi, %r13
movq %rdi, %rbx
leaq 0x10d2f3e(%rip), %rdi   # 0x11156b0
callq 0x13c85
leaq -0x60(%rbp), %rdx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x1555d
testl %eax, %eax
movq %r15, -0x98(%rbp)
movq %r12, -0x90(%rbp)
movq %r14, -0x80(%rbp)
movq %r13, -0x40(%rbp)
je 0x42813
cmpl $0x1, %eax
jne 0x42ec8
movq %rdx, %rdi
callq 0xd745
movq %rax, %r14
movq %rdx, %r15
movq %rax, %rdi
movq %rdx, %rsi
callq 0x90ba
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
movq %r14, %rbx
andq %r13, %rbx
movq 0x8(%rbx), %r12
movq %r14, %rdi
movq %r15, %rsi
callq 0x90ba
movq 0x18(%rbx), %rax
movq %rax, -0x30(%rbp)
movq %r14, %rdi
movq %r15, %rsi
callq 0x90ba
movq %r14, %rdi
callq 0x910b
movq %r12, %r15
shrq $0x30, %r15
andq %r13, %r12
movq -0x60(%rbp), %r14
movq -0x40(%rbp), %r13
jmp 0x42e1f
movq -0x60(%rbp), %rdi
leaq -0xb0(%rbp), %r14
movq %r14, %rsi
callq 0x3d862
movq %rax, %rbx
movq (%r14), %rdi
leaq -0xa8(%rbp), %r14
movq %r14, %rsi
callq 0x3d862
movq %rax, -0x30(%rbp)
movq (%r14), %rdi
leaq -0x58(%rbp), %rdx
movq %r13, %rsi
callq 0x4995c
cmpl $0x2, %eax
je 0x428f4
cmpl $0x3, %eax
jne 0x42a77
movq %rdx, %rdi
callq 0x19c36
movq -0x58(%rbp), %rdi
leaq -0x68(%rbp), %rcx
movl %eax, %esi
callq 0x49a49
cmpl $0x1, %eax
movl %eax, -0x44(%rbp)
je 0x42ac7
testl %eax, %eax
jne 0x42ee1
movq %rdx, %rdi
callq 0x20a5a
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), %r12
xorl %esi, %esi
xorl %edx, %edx
movq %rax, %r8
movq %r12, %r9
callq 0x49b7b
movq %rax, -0x38(%rbp)
movq %rdx, %r14
movl (%r15), %edi
shlq $0x30, %rdi
orq 0x8(%r15), %rdi
leaq 0xcf207(%rip), %rsi     # 0x111ae9
callq 0x2069e
movq %rdx, -0x50(%rbp)
movq (%r12), %r15
jmp 0x42b2c
decl (%rdx)
jne 0x42900
movq %rdx, %rdi
callq 0x5030
movq -0x58(%rbp), %r14
leaq 0x10d265d(%rip), %rdi   # 0x1114f68
movq -0x40(%rbp), %rsi
callq 0x13c85
movq %rax, %rdi
callq 0x13d82
leaq 0x10d1ba5(%rip), %rdi   # 0x11144c8
movq %rax, %rsi
callq 0x13c85
movq %rax, %rdi
callq 0x13d82
movq %rax, %rdi
movq %rdx, %rsi
callq 0x9189
movq %rax, %r12
movq 0x10d30b8(%rip), %rsi   # 0x1115a00
testq %rsi, %rsi
jne 0x42970
movl $0x4, %edi
callq 0xf5e4
movq %rax, %rsi
movq $0x4, 0x10(%rax)
movl $0x6e69616d, 0x18(%rax) # imm = 0x6E69616D
movq %rax, 0x10d3090(%rip)   # 0x1115a00
movq %rsi, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x42990
incl (%rax)
movq %r12, %rdi
callq 0xdf18
movl $0x4, %r12d
testl %eax, %eax
jne 0x42abb
movl $0x14, %edi
callq 0x1eb4d
movq %rdx, %rcx
movl $0x2, %edi
xorl %esi, %esi
movl $0x2, %edx
callq 0x20ae8
movq %rdx, %r15
leaq 0xcf1f3(%rip), %r12     # 0x111bc1
movq %rbx, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x429ff
decl (%rax)
jne 0x429ff
btsq $0x32, %rbx
movq %rbx, %rdi
movq %r12, %rsi
callq 0xd13d
movq %r12, %rbx
movl $0x14, %edi
callq 0x1eb4d
movq %rdx, %rcx
movl $0x2, %edi
xorl %esi, %esi
movl $0x2, %edx
callq 0x20ae8
movq %rdx, %r13
movq -0x30(%rbp), %rdi
movq %rdi, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %dil
setne %dl
movl $0x7, %r12d
orb %cl, %dl
jne 0x42a64
decl (%rax)
jne 0x42a64
movabsq $0x4000000000000, %rax  # imm = 0x4000000000000
orq %rax, %rdi
movq %rbx, %rsi
callq 0xd13d
movq %r15, %rbx
movl $0x7, -0x38(%rbp)
movq %r13, -0x30(%rbp)
jmp 0x42bcf
movq %rdx, %rcx
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
andq %rsi, %rcx
sete %sil
testb $0x3, %dl
setne %dil
orb %sil, %dil
jne 0x42ab1
decl (%rcx)
jne 0x42ab1
shlq $0x30, %rax
orq %rdx, %rax
leaq 0xcee90(%rip), %rsi     # 0x111939
movq %rax, %rdi
callq 0xd13d
movl $0x4, %r12d
movq -0x58(%rbp), %r14
movl $0x4, -0x38(%rbp)
jmp 0x42bcf
movq %rdx, %rdi
callq 0x20aa1
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 0x49b7b
movq %rax, -0x38(%rbp)
movq %rdx, %r14
movq (%r15), %r15
movl (%r12), %edi
shlq $0x30, %rdi
orq 0x8(%r12), %rdi
leaq 0xcefc6(%rip), %rsi     # 0x111ae9
callq 0x206fc
movq %rdx, -0x50(%rbp)
movq %r14, %rax
andq %r13, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0x42b5b
decl (%rax)
jne 0x42b5b
movq -0x38(%rbp), %rdi
shlq $0x30, %rdi
orq %r14, %rdi
leaq 0xce723(%rip), %rsi     # 0x111279
callq 0xd13d
leaq 0x10d2406(%rip), %rdi   # 0x1114f68
movq -0x40(%rbp), %rsi
callq 0x13c85
movq %rax, %rdi
callq 0x13d82
leaq -0x78(%rbp), %rdx
movq %r15, %rdi
movq %rax, %rsi
callq 0x2e901
testb %al, %al
je 0x42ba9
movl $0x4, -0x38(%rbp)
movl $0x4, %edi
movq %rbx, %rsi
movl -0x44(%rbp), %edx
movq -0x50(%rbp), %rcx
callq 0x2031e
movl %eax, %r12d
movq %rdx, %rbx
jmp 0x42bcb
movl $0x4, %r12d
movl $0x4, %edi
movq -0x30(%rbp), %rsi
movl -0x44(%rbp), %edx
movq -0x50(%rbp), %rcx
callq 0x2031e
movl %eax, -0x38(%rbp)
movq %rdx, -0x30(%rbp)
movq -0x78(%rbp), %r14
movq -0x40(%rbp), %rsi
leaq 0x10d2ab6(%rip), %rdi   # 0x1115690
callq 0x13c85
movq %rax, %rdi
callq 0x13d82
movq %rax, %r15
movq %rax, %rdi
movq %rdx, %rsi
callq 0x324c1
movq %r15, %r13
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rax, %r13
sete %al
testb $0x3, %r15b
setne %cl
orb %al, %cl
jne 0x42c17
incl (%r13)
movl $0x1, %edi
movq %r15, %rsi
callq 0xe83a
testl %eax, %eax
jns 0x42d10
leaq -0x78(%rbp), %r13
movq %r14, %rdi
movq %r13, %rsi
callq 0x499f5
movq %rax, %rdi
callq 0x34fb2
movq %rdx, %rcx
movl %r12d, %edi
movq %rbx, %rsi
movl $0xa, %edx
callq 0x205af
movq %rdx, %rbx
movl $0x3, %esi
movq %r15, %rdi
callq 0xe9fc
movq %rax, %r14
movq %rax, %r12
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rax, %r12
sete %al
testb $0x3, %r14b
setne %cl
orb %al, %cl
jne 0x42cbf
incl (%r12)
movl $0x1, %edi
movq %r14, %rsi
callq 0xe83a
movl (%r12), %ecx
testl %eax, %eax
jle 0x42cd8
movl $0x1, %r15d
decl %ecx
movl %ecx, (%r12)
jne 0x42ce1
movq %r14, %rdi
leaq 0xce771(%rip), %rsi     # 0x111429
callq 0xd13d
jmp 0x42ce1
movl $0x1, %edi
movq %r14, %rsi
callq 0xe83a
testl %eax, %eax
jle 0x42cde
movl $0x1, %r14d
jmp 0x42cde
incl %ecx
movl %ecx, (%r12)
movq %r14, %r15
movl $0x1, %edi
movq %r15, %rsi
callq 0xe83a
movq -0x78(%rbp), %r14
movl $0x5, %r12d
testl %eax, %eax
js 0x42c30
movq %r15, %r13
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rax, %r13
testq %r13, %r13
je 0x42d32
movl %r15d, %eax
andl $0x3, %eax
jne 0x42d32
decl (%r13)
jne 0x42d32
leaq 0xce3e7(%rip), %rsi     # 0x111111
movq %r15, %rdi
callq 0xd13d
movl %r12d, %edi
movq %rbx, %rsi
movl -0x38(%rbp), %edx
movq -0x30(%rbp), %rcx
callq 0x20b5f
movq %rax, %rsi
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
andq %rbx, %rsi
sete %cl
movq %rax, -0x30(%rbp)
testb $0x3, %al
setne %dl
orb %cl, %dl
jne 0x42d66
incl (%rsi)
leaq 0xce50c(%rip), %r12     # 0x111279
leaq 0xcee05(%rip), %r13     # 0x111b79
movl $0x2, %edi
callq 0xe0e7
movq %rax, %r15
andq %rax, %rbx
movw $0x2, 0x6(%rbx)
movq -0x30(%rbp), %rax
movq %rax, 0x18(%rbx)
movq %r13, 0x20(%rbx)
movq $0x0, 0x8(%rbx)
movq %r12, 0x10(%rbx)
movq -0x40(%rbp), %r13
movq %r13, %rdi
callq 0x3309e
movq %rax, %r12
leaq 0xce5e1(%rip), %rsi     # 0x111399
movq %r15, %rdi
callq 0x15b30
xorl %r15d, %r15d
movl $0xa, %edi
movq %r12, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0x1f63a
movq %rax, %r12
leaq 0x10d28d1(%rip), %rdi   # 0x11156b0
movq %r13, %rsi
callq 0x13c85
leaq 0xce9e3(%rip), %rsi     # 0x1117d1
movq %r12, %rdi
movq %rax, %rdx
callq 0x14766
leaq 0x10d2c08(%rip), %rdi   # 0x1115a08
movq %r13, %rsi
callq 0x13c85
leaq 0xcef19(%rip), %rsi     # 0x111d28
movl $0x1, %edi
movq %rax, %rdx
callq 0x14766
xorl %r12d, %r12d
leaq 0x10d28fa(%rip), %rdi   # 0x1115720
movq %r13, %rsi
callq 0x13c85
movq %rax, %rdi
callq 0x13d82
movq %rax, %rbx
movl $0x1, %edi
movl $0x10, %esi
callq 0x50c0
testq %rax, %rax
je 0x42ea3
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 -0x30(%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 0xa28b9(%rip), %rsi     # 0xe5763
movl $0x31, %edx
movl $0x2, %edi
callq 0x5060
callq 0x52b6
movl $0x1, %edi
callq 0x5130
leaq 0x9d7fe(%rip), %rdi     # 0xe06cd
movl $0x20, %esi
callq 0x9040
movq %rax, %rdi
callq 0x9302
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0x9d7d3(%rip), %xmm0    # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0x9d7d8(%rip), %xmm0    # 0xe06dd
movups %xmm0, 0x28(%rax)
jmp 0x42ed9