// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_mirth_zaMirth_makezeprimzedatazx
static void mw_mirth_mirth_zaMirth_makezeprimzedatazx (struct mirth_mirth_zaMirth* in_zaMirth_1, STR* in_Str_2, struct std_list_List_1 in_List_3, uint64_t in_Data_4, struct std_list_List_1 in_List_5, struct std_maybe_Maybe_1 in_Maybe_6, struct mirth_mirth_zaMirth* *out_zaMirth_7) {
	incref(MK_std_list_List_1(in_List_3));
	INT v8 = mw_std_list_List_1_len(in_List_3);
	INT v9 = v8;
	incref(MKINT(v9));
	struct mirth_mirth_zaMirth* v10;
	mw_mirth_data_Data_arityzx(in_zaMirth_1, v9, in_Data_4, &v10);
	incref(MKSTR(in_Str_2));
	struct mirth_mirth_zaMirth* v11;
	uint64_t v12 = mw_mirth_name_Name_Name(v10, in_Str_2, &v11);
	struct mirth_mirth_zaMirth* v13;
	mw_mirth_data_Data_namezx(v11, v12, in_Data_4, &v13);
	struct mirth_mirth_zaMirth* v14;
	struct mirth_name_QName* v15 = mw_mirth_name_QName_Prim(v13, in_Str_2, v9, &v14);
	struct mirth_mirth_PropLabel v16 = mtw_mirth_mirth_PropLabel_DataQName(in_Data_4);
	struct mirth_mirth_zaMirth* v17;
	struct mirth_mirth_Prop_1* v18 = mw_mirth_mirth_PropLabel_prop(v14, MK_mirth_name_QName(v15), v16, &v17);
	void* v19 = field_mut(&mfld_mirth_data_Data_ztqname, in_Data_4);
	mut_set(MK_mirth_mirth_Prop_1(v18), v19);
	struct mirth_mirth_PropLabel v20 = mtw_mirth_mirth_PropLabel_DataCType(in_Data_4);
	struct mirth_mirth_zaMirth* v21;
	struct mirth_mirth_Prop_1* v22 = mw_mirth_mirth_PropLabel_prop(v17, MK_std_maybe_Maybe_1(in_Maybe_6), v20, &v21);
	void* v23 = field_mut(&mfld_mirth_data_Data_ztctypezy, in_Data_4);
	mut_set(MK_mirth_mirth_Prop_1(v22), v23);
	incref(MK_std_list_List_1(in_List_5));
	bool v24 = true;
	struct mirth_mirth_zaMirth* r25 = v21;
	uint64_t v26 = in_Data_4;
	struct std_list_List_1 v27 = in_List_5;
	bool v28 = v24;
	bool v29 = v24;
	while (v29) {
		struct mirth_mirth_zaMirth* r30 = r25;
		uint64_t v31 = v26;
		struct std_list_List_1 v32 = v27;
		bool v33 = v28;
		uint64_t branch_Data_34;
		struct mirth_mirth_zaMirth* branch_zaMirth_35;
		struct std_list_List_1 branch_List_36;
		bool branch_Bool_37;
		switch ((v32).tag) {
			case std_list_List_1_Cons: {
				struct std_list_List_1 v38;
				VAL v39 = mtp_std_list_List_1_Cons(v32, &v38);
				struct mirth_mirth_zaMirth* v40;
				mw_mirth_data_Tag_datazx(r30, v31, V_mirth_data_Tag(v39), &v40);
				bool v41 = true;
				branch_Bool_37 = v41;
				branch_List_36 = v38;
				branch_zaMirth_35 = v40;
				branch_Data_34 = v31;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v42 = { .tag=std_list_List_1_Nil };
				bool v43 = false;
				branch_Bool_37 = v43;
				branch_List_36 = v42;
				branch_zaMirth_35 = r30;
				branch_Data_34 = v31;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v29 = branch_Bool_37;
		v28 = branch_Bool_37;
		v27 = branch_List_36;
		v26 = branch_Data_34;
		r25 = branch_zaMirth_35;
	}
	decref(MK_std_list_List_1(v27));
	struct mirth_mirth_zaMirth* v44;
	mw_mirth_data_Data_tagszx(r25, in_List_5, v26, &v44);
	struct mirth_mirth_PropLabel v45 = mtw_mirth_mirth_PropLabel_DataParams(v26);
	struct mirth_mirth_zaMirth* v46;
	struct mirth_mirth_Prop_1* v47 = mw_mirth_mirth_PropLabel_prop(v44, MK_std_list_List_1(in_List_3), v45, &v46);
	void* v48 = field_mut(&mfld_mirth_data_Data_ztparams, v26);
	mut_set(MK_mirth_mirth_Prop_1(v47), v48);
	struct std_maybe_Maybe_1 v49 = { .tag=std_maybe_Maybe_1_None };
	struct mirth_mirth_zaMirth* v50;
	mw_mirth_data_Data_headzyzx(v46, v49, v26, &v50);
	struct mirth_def_Def v51 = mtw_mirth_def_Def_Data(v26);
	struct mirth_mirth_zaMirth* v52;
	mw_mirth_def_Def_register(v50, v51, &v52);
	*out_zaMirth_7 = v52;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %r9d, %r15d
movq %r8, %rbx
movl %edx, %r8d
movq %rsi, -0x30(%rbp)
movq %rdi, %r13
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
movq %rcx, %rax
andq %r12, %rax
sete %sil
testb $0x3, %cl
setne %dl
orb %sil, %dl
jne 0x1f6eb
incl (%rax)
movq %r8, -0x40(%rbp)
movl %r8d, %edi
movq %rcx, -0x38(%rbp)
movq %rcx, %rsi
callq 0x11653
movq %rax, %r14
andq %r12, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0x1f714
incl (%rax)
movq %r15, -0x48(%rbp)
leaq 0x10f5b29(%rip), %rdi   # 0x1115248
movq %rbx, %rsi
callq 0x13c85
leaq 0xf1cfb(%rip), %rsi     # 0x111429
movq %r14, %rdi
movq %rax, %rdx
callq 0x14766
movq -0x30(%rbp), %rdx
movq %rdx, %rax
andq %r12, %rax
sete %cl
testb $0x3, %dl
setne %dl
orb %cl, %dl
jne 0x1f752
incl (%rax)
leaq -0x68(%rbp), %r15
movq %r13, %rdi
movq -0x30(%rbp), %r13
movq %r13, %rsi
movq %r15, %rdx
callq 0x12e7f
movq %rax, %r12
movq (%r15), %r15
leaq 0x10f57b3(%rip), %rdi   # 0x1114f28
movq %rbx, %rsi
callq 0x13c85
leaq 0xf1f74(%rip), %rsi     # 0x1116f8
movq %r12, %rdi
movq %rax, %rdx
callq 0x14766
leaq -0x60(%rbp), %r12
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movq %r12, %rcx
callq 0x1b868
movq %rax, %r14
movq %rbx, %rdi
callq 0x1ffe1
movq %rax, %r15
movq (%r12), %rax
movq %rax, -0x30(%rbp)
leaq 0xf1f80(%rip), %rsi     # 0x111741
movq %r14, %rdi
callq 0x15b30
movl $0x1, %edi
movq %r15, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0x1f63a
movq %rax, %r14
leaq 0x10f539b(%rip), %rdi   # 0x1114b80
movq %rbx, %rsi
callq 0x13c85
leaq 0xf1fdd(%rip), %r15     # 0x1117d1
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x14766
movq %rbx, %rdi
callq 0x20034
movq %rax, %r14
movl 0x18(%rbp), %edi
shlq $0x30, %rdi
orq 0x20(%rbp), %rdi
leaq 0xf1aa2(%rip), %rsi     # 0x1112c1
callq 0x15b30
movl $0x3, %edi
movq %r14, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0x1f63a
movq %rax, %r14
leaq 0x10f59e8(%rip), %rdi   # 0x1115228
movq %rbx, %rsi
callq 0x13c85
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x14766
movq 0x10(%rbp), %rcx
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rdx
sete %al
testb $0x3, %cl
setne %cl
orb %al, %cl
jne 0x1f876
incl (%rdx)
leaq -0x58(%rbp), %r14
leaq 0x10f535f(%rip), %r12   # 0x1114be0
leaq 0xf2410(%rip), %r13     # 0x111c98
movq 0x10(%rbp), %rdi
movq -0x48(%rbp), %r15
movl %r15d, %eax
cmpl $0x1, %eax
jne 0x1f8c2
movq %r14, %rsi
callq 0xd0aa
movq %r12, %rdi
movq %rax, %rsi
callq 0x13c85
movq %rbx, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0x14766
movl -0x58(%rbp), %eax
movq -0x50(%rbp), %rdi
jmp 0x1f893
testl %eax, %eax
jne 0x1f9a7
leaq 0xf19a8(%rip), %r14     # 0x111279
shlq $0x30, %r15
orq 0x10(%rbp), %r15
movq -0x40(%rbp), %r12
shlq $0x30, %r12
orq -0x38(%rbp), %r12
leaq 0x10f596c(%rip), %rdi   # 0x1115258
movq %rbx, %rsi
callq 0x13c85
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x14766
movq %rbx, %rdi
callq 0x20087
movq %rax, %r15
movq %r12, %rdi
movq %r14, %rsi
callq 0x15b30
movl $0x2, %edi
movq %r15, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0x1f63a
movq %rax, %r14
leaq 0x10f5904(%rip), %rdi   # 0x1115238
movq %rbx, %rsi
callq 0x13c85
movq %r14, %rdi
leaq 0xf1e8b(%rip), %rsi     # 0x1117d1
movq %rax, %rdx
callq 0x14766
leaq 0x10f53b3(%rip), %rdi   # 0x1114d08
movq %rbx, %rsi
callq 0x13c85
xorl %edi, %edi
leaq 0xf195b(%rip), %rsi     # 0x1112c1
movq %rax, %rdx
callq 0x14766
movq %rbx, %rdi
callq 0x200da
leaq -0x58(%rbp), %rbx
movq -0x30(%rbp), %rdi
movl $0x3, %esi
movq %rax, %rdx
movq %rbx, %rcx
callq 0x1346e
movq (%rbx), %rax
movq 0x28(%rbp), %rcx
movq %rax, (%rcx)
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0xc0d0d(%rip), %xmm0    # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0xc0d12(%rip), %xmm0    # 0xe06dd
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x9302