// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_C99DataRepr_mkzemacro
static STR* mw_mirth_c99_C99DataRepr_mkzemacro (struct mirth_mirth_zaMirth* in_zaMirth_1, STR* in_Str_2, struct mirth_c99_C99DataRepr in_C99DataRepr_3, struct mirth_mirth_zaMirth* *out_zaMirth_4) {
	struct mirth_mirth_zaMirth* branch_zaMirth_6;
	STR* branch_Str_7;
	switch ((in_C99DataRepr_3).tag) {
		case mirth_c99_C99DataRepr_Unit: {
			struct mirth_c99_C99DataUnitRepr* v8 = mtp_mirth_c99_C99DataRepr_Unit(in_C99DataRepr_3);
			STR* v9 = mw_mirth_c99_C99DataUnitRepr_mkzemacro(MKSTR(in_Str_2), v8);
			branch_Str_7 = v9;
			branch_zaMirth_6 = in_zaMirth_1;
		} break;
		case mirth_c99_C99DataRepr_Enum: {
			uint64_t v10 = mtp_mirth_c99_C99DataRepr_Enum(in_C99DataRepr_3);
			struct mirth_mirth_zaMirth* v11;
			STR* v12 = mw_mirth_c99_C99DataEnumRepr_mkzemacro(in_Str_2, in_zaMirth_1, v10, &v11);
			branch_Str_7 = v12;
			branch_zaMirth_6 = v11;
		} break;
		case mirth_c99_C99DataRepr_Trans: {
			struct mirth_c99_C99DataTransRepr* v13 = mtp_mirth_c99_C99DataRepr_Trans(in_C99DataRepr_3);
			struct mirth_mirth_zaMirth* v14;
			STR* v15 = mw_mirth_c99_C99DataTransRepr_mkzemacro(in_zaMirth_1, in_Str_2, v13, &v14);
			branch_Str_7 = v15;
			branch_zaMirth_6 = v14;
		} break;
		case mirth_c99_C99DataRepr_Struct: {
			struct mirth_c99_C99DataStructRepr* v16 = mtp_mirth_c99_C99DataRepr_Struct(in_C99DataRepr_3);
			struct mirth_mirth_zaMirth* v17;
			STR* v18 = mw_mirth_c99_C99DataStructRepr_mkzemacro(in_zaMirth_1, in_Str_2, v16, &v17);
			branch_Str_7 = v18;
			branch_zaMirth_6 = v17;
		} break;
		case mirth_c99_C99DataRepr_Sum: {
			struct mirth_c99_C99DataSumRepr* v19 = mtp_mirth_c99_C99DataRepr_Sum(in_C99DataRepr_3);
			struct mirth_mirth_zaMirth* v20;
			STR* v21 = mw_mirth_c99_C99DataSumRepr_mkzemacro(in_Str_2, in_zaMirth_1, v19, &v20);
			branch_Str_7 = v21;
			branch_zaMirth_6 = v20;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaMirth_4 = branch_zaMirth_6;
	return branch_Str_7;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movl %edx, -0x10(%rbp)
movq %rcx, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movl -0x10(%rbp), %eax
movq %rax, -0xc0(%rbp)
subq $0x4, %rax
ja 0x2777f6
movq -0xc0(%rbp), %rax
leaq 0xdbe00(%rip), %rcx     # 0x353480
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x237130
movq %rax, -0x40(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x58(%rbp)
leaq 0x119ab0(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x50(%rbp)
movq -0x40(%rbp), %rdx
movq -0x58(%rbp), %rdi
movq -0x50(%rbp), %rsi
callq 0x277830
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x27780f
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x239880
movq %rax, -0x60(%rbp)
movq -0x20(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x60(%rbp), %rdx
leaq -0x68(%rbp), %rcx
callq 0x277dc0
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x27780f
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x23bbd0
movq %rax, -0x78(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x78(%rbp), %rdx
leaq -0x80(%rbp), %rcx
callq 0x277e20
movq %rax, -0x88(%rbp)
movq -0x88(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x27780f
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x23e060
movq %rax, -0x90(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x90(%rbp), %rdx
leaq -0x98(%rbp), %rcx
callq 0x278030
movq %rax, -0xa0(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x27780f
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x241ad0
movq %rax, -0xa8(%rbp)
movq -0x20(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0xa8(%rbp), %rdx
leaq -0xb0(%rbp), %rcx
callq 0x2786c0
movq %rax, -0xb8(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x27780f
leaq 0xdc684(%rip), %rdi     # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x30(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movq -0x38(%rbp), %rax
addq $0xc0, %rsp
popq %rbp
retq
nopw (%rax,%rax)