// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_mirth_zaMirth_makezeprimzetagzx
static void mw_mirth_mirth_zaMirth_makezeprimzetagzx (struct mirth_mirth_zaMirth* in_zaMirth_1, STR* in_Str_2, INT in_Int_3, struct std_list_List_1 in_List_4, uint64_t in_Tag_5, struct mirth_mirth_zaMirth* *out_zaMirth_6) {
	struct mirth_mirth_zaMirth* v7;
	uint64_t v8 = mw_mirth_name_Name_Name(in_zaMirth_1, in_Str_2, &v7);
	struct mirth_mirth_zaMirth* v9;
	mw_mirth_data_Tag_namezx(v7, v8, in_Tag_5, &v9);
	struct mirth_mirth_zaMirth* v10;
	mw_mirth_data_Tag_valuezx(v9, in_Int_3, in_Tag_5, &v10);
	struct std_maybe_Maybe_1 v11 = { .tag=std_maybe_Maybe_1_None };
	struct mirth_mirth_zaMirth* v12;
	mw_mirth_data_Tag_sigzyzx(v10, v11, in_Tag_5, &v12);
	struct std_maybe_Maybe_1 v13 = { .tag=std_maybe_Maybe_1_None };
	struct mirth_mirth_zaMirth* v14;
	mw_mirth_data_Tag_doczx(v12, v13, in_Tag_5, &v14);
	incref(MK_std_list_List_1(in_List_4));
	struct std_list_List_1 v15 = { .tag=std_list_List_1_Nil };
	struct std_list_List_1 v16;
	mw_std_list_List_1_buildzx(v15, &v16);
	bool v17 = true;
	struct std_list_List_1 r18 = v16;
	struct std_list_List_1 v19 = in_List_4;
	bool v20 = v17;
	bool v21 = v17;
	while (v21) {
		struct std_list_List_1 r22 = r18;
		struct std_list_List_1 v23 = v19;
		bool v24 = v20;
		struct std_list_List_1 branch_zaLister_25;
		struct std_list_List_1 branch_List_26;
		bool branch_Bool_27;
		switch ((v23).tag) {
			case std_list_List_1_Cons: {
				struct std_list_List_1 v28;
				VAL v29 = mtp_std_list_List_1_Cons(v23, &v28);
				struct mirth_type_StackTypePart v30 = mtw_mirth_type_StackTypePart_Cons(V_mirth_type_Type(v29));
				struct std_list_List_1 v31;
				mw_std_list_zaLister_1_pushzx(MK_mirth_type_StackTypePart(v30), r22, &v31);
				bool v32 = true;
				branch_Bool_27 = v32;
				branch_List_26 = v28;
				branch_zaLister_25 = v31;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v33 = { .tag=std_list_List_1_Nil };
				bool v34 = false;
				branch_Bool_27 = v34;
				branch_List_26 = v33;
				branch_zaLister_25 = r22;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v21 = branch_Bool_27;
		v20 = branch_Bool_27;
		v19 = branch_List_26;
		r18 = branch_zaLister_25;
	}
	decref(MK_std_list_List_1(v19));
	struct std_list_List_1 v35 = mw_std_list_zaLister_1_donezx(r18);
	struct mirth_mirth_zaMirth* v36;
	mw_mirth_data_Tag_inputszx(v14, v35, in_Tag_5, &v36);
	incref(MK_std_list_List_1(in_List_4));
	INT v37 = mw_std_list_List_1_len(in_List_4);
	struct mirth_mirth_zaMirth* v38;
	mw_mirth_data_Tag_numzetypezeinputszx(v36, v37, in_Tag_5, &v38);
	INT v39 = WRAP_I63(0LL);
	struct mirth_mirth_zaMirth* v40;
	mw_mirth_data_Tag_numzeresourcezeinputszx(v38, v39, in_Tag_5, &v40);
	struct std_list_List_1 v41 = { .tag=std_list_List_1_Nil };
	struct mirth_mirth_zaMirth* v42;
	mw_mirth_data_Tag_labelzeinputszx(v40, v41, in_Tag_5, &v42);
	struct mirth_mirth_zaMirth* v43;
	uint64_t v44 = mw_mirth_data_Tag_data(v42, in_Tag_5, &v43);
	struct mirth_mirth_zaMirth* v45;
	struct std_list_List_1 v46 = mw_mirth_data_Data_params(v43, v44, &v45);
	struct std_list_List_1 v47 = mw_std_list_List_1_zgCtx(v46);
	struct mirth_type_StackType v48 = mw_mirth_type_T0();
	struct mirth_type_StackType v49 = mw_std_list_List_1_for_1_sp102(v48, in_List_4);
	struct mirth_type_StackType v50 = mw_mirth_type_T0();
	struct mirth_mirth_zaMirth* v51;
	uint64_t v52 = mw_mirth_data_Tag_data(v45, in_Tag_5, &v51);
	struct mirth_mirth_zaMirth* v53;
	struct std_either_Either_2 v54 = mw_mirth_data_Data_fullzetype(v51, v52, &v53);
	struct mirth_type_StackType v55 = mw_mirth_type_Tzmza(v50, v54);
	struct mirth_type_ArrowType* v56 = mw_mirth_type_Tzezg(v49, v55);
	struct mirth_mirth_PropLabel v57 = mtw_mirth_mirth_PropLabel_TagType(in_Tag_5);
	struct mirth_mirth_zaMirth* v58;
	struct mirth_mirth_Prop_1* v59 = mw_mirth_mirth_PropLabel_prop2(v53, MK_std_list_List_1(v47), MK_mirth_type_ArrowType(v56), v57, &v58);
	void* v60 = field_mut(&mfld_mirth_data_Tag_ztctxzetype, in_Tag_5);
	mut_set(MK_mirth_mirth_Prop_1(v59), v60);
	struct mirth_def_Def v61 = mtw_mirth_def_Def_Tag(in_Tag_5);
	struct mirth_mirth_zaMirth* v62;
	mw_mirth_def_Def_register(v58, v61, &v62);
	*out_zaMirth_6 = v62;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x400, %rsp            # imm = 0x400
movq 0x10(%rbp), %rax
movq %rdx, -0x8(%rbp)
movl %ecx, -0x18(%rbp)
movq %r8, -0x10(%rbp)
movq %rdi, -0x20(%rbp)
movq %rsi, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movq -0x20(%rbp), %rdi
movq -0x28(%rbp), %rsi
leaq -0x38(%rbp), %rdx
callq 0x3ed80
movq %rax, -0x40(%rbp)
movq -0x38(%rbp), %rdi
movq -0x40(%rbp), %rsi
movq -0x30(%rbp), %rdx
leaq -0x48(%rbp), %rcx
callq 0x72b80
movq -0x48(%rbp), %rdi
movq -0x30(%rbp), %rdx
movq -0x8(%rbp), %rsi
leaq -0x50(%rbp), %rcx
callq 0x72bf0
leaq -0x60(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x50(%rbp), %rdi
movq -0x30(%rbp), %rcx
movl -0x60(%rbp), %esi
movq -0x58(%rbp), %rdx
leaq -0x68(%rbp), %r8
callq 0x72c60
leaq -0x78(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x68(%rbp), %rdi
movq -0x30(%rbp), %rcx
movl -0x78(%rbp), %esi
movq -0x70(%rbp), %rdx
leaq -0x80(%rbp), %r8
callq 0x72cd0
movl -0x18(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x12780
movq %rax, -0x90(%rbp)
movq %rdx, -0x88(%rbp)
movq -0x88(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x71822
movl -0x18(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x12780
movq %rax, -0xa0(%rbp)
movq %rdx, -0x98(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xa0(%rbp), %rax
cmpq $0x0, %rax
je 0x71822
movl -0x18(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x12780
movq %rax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movq -0xb0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x71822
movl -0x18(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x12780
movq %rax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xc0(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x71824
leaq -0xd0(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movl -0xd0(%rbp), %edi
movq -0xc8(%rbp), %rsi
leaq -0xe0(%rbp), %rdx
callq 0xc9d0
movb $0x1, -0xe1(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0xf8(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x108(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x100(%rbp)
movb -0xe1(%rbp), %al
andb $0x1, %al
movb %al, -0x109(%rbp)
movb -0xe1(%rbp), %al
andb $0x1, %al
movb %al, -0x10a(%rbp)
testb $0x1, -0x10a(%rbp)
je 0x71ad3
movups -0xf8(%rbp), %xmm0
movaps %xmm0, -0x120(%rbp)
movups -0x108(%rbp), %xmm0
movaps %xmm0, -0x130(%rbp)
movb -0x109(%rbp), %al
andb $0x1, %al
movb %al, -0x131(%rbp)
movl -0x130(%rbp), %eax
movl %eax, -0x3dc(%rbp)
testl %eax, %eax
je 0x719ff
jmp 0x718f2
movl -0x3dc(%rbp), %eax
subl $0x1, %eax
jne 0x71a61
jmp 0x71903
movl -0x130(%rbp), %edi
movq -0x128(%rbp), %rsi
leaq -0x170(%rbp), %rdx
callq 0x125e0
movq %rax, -0x180(%rbp)
movq %rdx, -0x178(%rbp)
movq -0x180(%rbp), %rdi
movq -0x178(%rbp), %rsi
callq 0x6f100
movl %eax, -0x1a0(%rbp)
movq %rdx, -0x198(%rbp)
movl -0x1a0(%rbp), %edi
movq -0x198(%rbp), %rsi
callq 0x72d40
movl %eax, -0x190(%rbp)
movq %rdx, -0x188(%rbp)
movl -0x190(%rbp), %edi
movq -0x188(%rbp), %rsi
callq 0x72dd0
movq %rax, -0x1c0(%rbp)
movq %rdx, -0x1b8(%rbp)
movq -0x1c0(%rbp), %rdi
movq -0x1b8(%rbp), %rsi
movl -0x120(%rbp), %edx
movq -0x118(%rbp), %rcx
leaq -0x1b0(%rbp), %r8
callq 0xcc30
movb $0x1, -0x1c1(%rbp)
movb -0x1c1(%rbp), %al
andb $0x1, %al
movb %al, -0x159(%rbp)
movq -0x170(%rbp), %rax
movq %rax, -0x158(%rbp)
movq -0x168(%rbp), %rax
movq %rax, -0x150(%rbp)
movq -0x1b0(%rbp), %rax
movq %rax, -0x148(%rbp)
movq -0x1a8(%rbp), %rax
movq %rax, -0x140(%rbp)
jmp 0x71a7a
leaq -0x1d8(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movb $0x0, -0x1d9(%rbp)
movb -0x1d9(%rbp), %al
andb $0x1, %al
movb %al, -0x159(%rbp)
movq -0x1d8(%rbp), %rax
movq %rax, -0x158(%rbp)
movq -0x1d0(%rbp), %rax
movq %rax, -0x150(%rbp)
movq -0x120(%rbp), %rax
movq %rax, -0x148(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0x140(%rbp)
jmp 0x71a7a
leaq 0x2e2419(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movb -0x159(%rbp), %al
andb $0x1, %al
movb %al, -0x10a(%rbp)
movb -0x159(%rbp), %al
andb $0x1, %al
movb %al, -0x109(%rbp)
movq -0x158(%rbp), %rax
movq %rax, -0x108(%rbp)
movq -0x150(%rbp), %rax
movq %rax, -0x100(%rbp)
movq -0x148(%rbp), %rax
movq %rax, -0xf8(%rbp)
movq -0x140(%rbp), %rax
movq %rax, -0xf0(%rbp)
jmp 0x718a5
jmp 0x71ad5
movl -0x108(%rbp), %edi
movq -0x100(%rbp), %rsi
callq 0x12780
movq %rax, -0x1f0(%rbp)
movq %rdx, -0x1e8(%rbp)
movq -0x1e8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x71be8
movl -0x108(%rbp), %edi
movq -0x100(%rbp), %rsi
callq 0x12780
movq %rax, -0x200(%rbp)
movq %rdx, -0x1f8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x200(%rbp), %rax
cmpq $0x0, %rax
je 0x71be8
movl -0x108(%rbp), %edi
movq -0x100(%rbp), %rsi
callq 0x12780
movq %rax, -0x210(%rbp)
movq %rdx, -0x208(%rbp)
movq -0x210(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x71be8
movl -0x108(%rbp), %edi
movq -0x100(%rbp), %rsi
callq 0x12780
movq %rax, -0x220(%rbp)
movq %rdx, -0x218(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x220(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x71be6
movl -0x108(%rbp), %edi
movq -0x100(%rbp), %rsi
callq 0x12780
movq %rax, -0x230(%rbp)
movq %rdx, -0x228(%rbp)
movq -0x230(%rbp), %rdi
movq -0x228(%rbp), %rsi
callq 0x127c0
jmp 0x71be8
jmp 0x71bea
movl -0xf8(%rbp), %edi
movq -0xf0(%rbp), %rsi
callq 0xcea0
movl %eax, -0x240(%rbp)
movq %rdx, -0x238(%rbp)
movq -0x80(%rbp), %rdi
movq -0x30(%rbp), %rcx
movl -0x240(%rbp), %esi
movq -0x238(%rbp), %rdx
leaq -0x248(%rbp), %r8
callq 0x72e10
movl -0x18(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x12780
movq %rax, -0x258(%rbp)
movq %rdx, -0x250(%rbp)
movq -0x250(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x71ce7
movl -0x18(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x12780
movq %rax, -0x268(%rbp)
movq %rdx, -0x260(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x268(%rbp), %rax
cmpq $0x0, %rax
je 0x71ce7
movl -0x18(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x12780
movq %rax, -0x278(%rbp)
movq %rdx, -0x270(%rbp)
movq -0x278(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x71ce7
movl -0x18(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x12780
movq %rax, -0x288(%rbp)
movq %rdx, -0x280(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x288(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x71ce9
movl -0x18(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x33100
movq %rax, -0x290(%rbp)
movq -0x248(%rbp), %rdi
movq -0x30(%rbp), %rdx
movq -0x290(%rbp), %rsi
leaq -0x298(%rbp), %rcx
callq 0x72e80
movq 0x2fcd2f(%rip), %rax    # 0x36ea50
movq %rax, -0x2a0(%rbp)
movq -0x298(%rbp), %rdi
movq -0x30(%rbp), %rdx
movq -0x2a0(%rbp), %rsi
leaq -0x2a8(%rbp), %rcx
callq 0x72ef0
leaq -0x2b8(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x2a8(%rbp), %rdi
movq -0x30(%rbp), %rcx
movl -0x2b8(%rbp), %esi
movq -0x2b0(%rbp), %rdx
leaq -0x2c0(%rbp), %r8
callq 0x72f60
movq -0x2c0(%rbp), %rdi
movq -0x30(%rbp), %rsi
leaq -0x2c8(%rbp), %rdx
callq 0x57890
movq %rax, -0x2d0(%rbp)
movq -0x2c8(%rbp), %rdi
movq -0x2d0(%rbp), %rsi
leaq -0x2d8(%rbp), %rdx
callq 0x72fd0
movl %eax, -0x2e8(%rbp)
movq %rdx, -0x2e0(%rbp)
movl -0x2e8(%rbp), %edi
movq -0x2e0(%rbp), %rsi
callq 0x73040
movl %eax, -0x2f8(%rbp)
movq %rdx, -0x2f0(%rbp)
callq 0x73060
movl %eax, -0x308(%rbp)
movq %rdx, -0x300(%rbp)
movl -0x308(%rbp), %edi
movq -0x300(%rbp), %rsi
movl -0x18(%rbp), %edx
movq -0x10(%rbp), %rcx
callq 0x73080
movl %eax, -0x318(%rbp)
movq %rdx, -0x310(%rbp)
callq 0x73060
movl %eax, -0x328(%rbp)
movq %rdx, -0x320(%rbp)
movq -0x2d8(%rbp), %rdi
movq -0x30(%rbp), %rsi
leaq -0x330(%rbp), %rdx
callq 0x57890
movq %rax, -0x338(%rbp)
movq -0x330(%rbp), %rdi
movq -0x338(%rbp), %rsi
leaq -0x340(%rbp), %rdx
callq 0x73390
movl %eax, -0x350(%rbp)
movq %rdx, -0x348(%rbp)
movl -0x328(%rbp), %edi
movq -0x320(%rbp), %rsi
movl -0x350(%rbp), %edx
movq -0x348(%rbp), %rcx
callq 0x73490
movl %eax, -0x360(%rbp)
movq %rdx, -0x358(%rbp)
movl -0x318(%rbp), %edi
movq -0x310(%rbp), %rsi
movl -0x360(%rbp), %edx
movq -0x358(%rbp), %rcx
callq 0x735b0
movq %rax, -0x368(%rbp)
movq -0x30(%rbp), %rdi
callq 0x735f0
movl %eax, -0x378(%rbp)
movq %rdx, -0x370(%rbp)
movq -0x340(%rbp), %rax
movq %rax, -0x3e8(%rbp)
movl -0x2f8(%rbp), %edi
movq -0x2f0(%rbp), %rsi
callq 0x12780
movq -0x3e8(%rbp), %rdi
movq %rax, -0x398(%rbp)
movq %rdx, -0x390(%rbp)
movq -0x368(%rbp), %rax
movq %rax, -0x3a8(%rbp)
leaq 0x31fce6(%rip), %rax    # 0x391c08
orq $0x1, %rax
movq %rax, -0x3a0(%rbp)
movq -0x398(%rbp), %rsi
movq -0x390(%rbp), %rdx
movq -0x3a8(%rbp), %rcx
movq -0x3a0(%rbp), %r8
leaq -0x378(%rbp), %rax
leaq -0x380(%rbp), %r9
movq (%rax), %r10
movq %r10, (%rsp)
movq 0x8(%rax), %rax
movq %rax, 0x8(%rsp)
callq 0x73680
movq %rax, -0x388(%rbp)
movq -0x30(%rbp), %rsi
leaq 0x132342a(%rip), %rdi   # 0x13953a8
callq 0x40d30
movq %rax, -0x3b0(%rbp)
movq -0x388(%rbp), %rax
movq %rax, -0x3c0(%rbp)
leaq 0x31f8c1(%rip), %rax    # 0x391860
orq $0x1, %rax
movq %rax, -0x3b8(%rbp)
movq -0x3b0(%rbp), %rdx
movq -0x3c0(%rbp), %rdi
movq -0x3b8(%rbp), %rsi
callq 0x431a0
movq -0x30(%rbp), %rdi
callq 0x73760
movl %eax, -0x3d0(%rbp)
movq %rdx, -0x3c8(%rbp)
movq -0x380(%rbp), %rdi
movl -0x3d0(%rbp), %esi
movq -0x3c8(%rbp), %rdx
leaq -0x3d8(%rbp), %rcx
callq 0x3f300
movq -0x3d8(%rbp), %rcx
movq 0x10(%rbp), %rax
movq %rcx, (%rax)
addq $0x400, %rsp            # imm = 0x400
popq %rbp
retq
nopw %cs:(%rax,%rax)