// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_specializzer_zaSPSynth_synthzevarzx
static void mw_mirth_specializzer_zaSPSynth_synthzevarzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_specializzer_zaSPSynth* in_zaSPSynth_2, uint64_t in_Var_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_specializzer_zaSPSynth* *out_zaSPSynth_5) {
	struct std_list_List_1 v6 = in_zaSPSynth_2->mspmap;
	incref(MK_std_list_List_1(v6));
	struct std_maybe_Maybe_1 v7 = mw_std_map_Map_2_lookup_sp3(in_Var_3, v6);
	struct mirth_mirth_zaMirth* branch_zaMirth_8;
	struct mirth_specializzer_zaSPSynth* branch_zaSPSynth_9;
	switch ((v7).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v10 = mtp_std_maybe_Maybe_1_Some(v7);
			struct mirth_mirth_zaMirth* v11;
			struct mirth_specializzer_zaSPSynth* v12;
			mw_mirth_specializzer_zaSPSynth_synthzerunzx(in_zaMirth_1, in_zaSPSynth_2, V_mirth_arrow_Block(v10), &v11, &v12);
			branch_zaSPSynth_9 = v12;
			branch_zaMirth_8 = v11;
		} break;
		case std_maybe_Maybe_1_None: {
			struct std_list_Nest_1* v13;
			uint64_t v14;
			struct std_list_List_1 v15;
			struct mirth_arrow_Arrow* v16;
			mtp_mirth_specializzer_zaSPSynth_zaSPSynth(in_zaSPSynth_2, &v13, &v14, &v15, &v16);
			struct mirth_mirth_zaMirth* v17;
			struct mirth_arrow_Arrow* v18;
			mw_mirth_elab_zaAB_abzevarzx(in_zaMirth_1, v16, in_Var_3, &v17, &v18);
			struct mirth_specializzer_zaSPSynth* v19;
			mtw_mirth_specializzer_zaSPSynth_zaSPSynth(v13, v14, v15, v18, &v19);
			branch_zaSPSynth_9 = v19;
			branch_zaMirth_8 = v17;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaSPSynth_5 = branch_zaSPSynth_9;
	*out_zaMirth_4 = branch_zaMirth_8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x100, %rsp            # imm = 0x100
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rcx
movq %rcx, -0x38(%rbp)
movq 0x18(%rax), %rax
movq %rax, -0x30(%rbp)
movl -0x38(%rbp), %edi
movq -0x30(%rbp), %rsi
callq 0x12780
movq %rax, -0x48(%rbp)
movq %rdx, -0x40(%rbp)
movq -0x40(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x212118
movl -0x38(%rbp), %edi
movq -0x30(%rbp), %rsi
callq 0x12780
movq %rax, -0x58(%rbp)
movq %rdx, -0x50(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x58(%rbp), %rax
cmpq $0x0, %rax
je 0x212118
movl -0x38(%rbp), %edi
movq -0x30(%rbp), %rsi
callq 0x12780
movq %rax, -0x68(%rbp)
movq %rdx, -0x60(%rbp)
movq -0x68(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x212118
movl -0x38(%rbp), %edi
movq -0x30(%rbp), %rsi
callq 0x12780
movq %rax, -0x78(%rbp)
movq %rdx, -0x70(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x78(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x21211a
movq -0x18(%rbp), %rdi
movl -0x38(%rbp), %esi
movq -0x30(%rbp), %rdx
callq 0xdbf60
movl %eax, -0x88(%rbp)
movq %rdx, -0x80(%rbp)
movl -0x88(%rbp), %eax
movl %eax, -0xfc(%rbp)
testl %eax, %eax
je 0x2121b7
jmp 0x212146
movl -0xfc(%rbp), %eax
subl $0x1, %eax
jne 0x21224a
jmp 0x212157
movl -0x88(%rbp), %edi
movq -0x80(%rbp), %rsi
callq 0x174a0
movq %rax, -0xa8(%rbp)
movq %rdx, -0xa0(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0xa8(%rbp), %rdx
leaq -0xb0(%rbp), %rcx
leaq -0xb8(%rbp), %r8
callq 0x20e860
movq -0xb8(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0x90(%rbp)
jmp 0x212263
movq -0x10(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
leaq -0xc8(%rbp), %rdx
leaq -0xd8(%rbp), %rcx
leaq -0xe0(%rbp), %r8
callq 0x20d010
movq -0x8(%rbp), %rdi
movq -0xe0(%rbp), %rsi
movq -0x18(%rbp), %rdx
leaq -0xe8(%rbp), %rcx
leaq -0xf0(%rbp), %r8
callq 0x1117f0
movq -0xc0(%rbp), %rdi
movq -0xc8(%rbp), %rsi
movq -0xf0(%rbp), %r8
movl -0xd8(%rbp), %edx
movq -0xd0(%rbp), %rcx
leaq -0xf8(%rbp), %r9
callq 0x20ca20
movq -0xf8(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x90(%rbp)
jmp 0x212263
leaq 0x141c30(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x98(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movq -0x90(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
addq $0x100, %rsp            # imm = 0x100
popq %rbp
retq
nopl (%rax,%rax)