// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_C99DataRepr_getzedatazetag
static STR* mw_mirth_c99_C99DataRepr_getzedatazetag (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);
			struct mirth_mirth_zaMirth* v9;
			STR* v10 = mw_mirth_c99_C99DataUnitRepr_getzedatazetag(in_zaMirth_1, MKSTR(in_Str_2), v8, &v9);
			branch_Str_7 = v10;
			branch_zaMirth_6 = v9;
		} break;
		case mirth_c99_C99DataRepr_Enum: {
			uint64_t v11 = mtp_mirth_c99_C99DataRepr_Enum(in_C99DataRepr_3);
			mw_mirth_c99_C99DataEnumRepr_getzedatazetag(v11);
			branch_Str_7 = in_Str_2;
			branch_zaMirth_6 = in_zaMirth_1;
		} break;
		case mirth_c99_C99DataRepr_Trans: {
			struct mirth_c99_C99DataTransRepr* v12 = mtp_mirth_c99_C99DataRepr_Trans(in_C99DataRepr_3);
			struct mirth_mirth_zaMirth* v13;
			STR* v14 = mw_mirth_c99_C99DataTransRepr_getzedatazetag(in_zaMirth_1, MKSTR(in_Str_2), v12, &v13);
			branch_Str_7 = v14;
			branch_zaMirth_6 = v13;
		} break;
		case mirth_c99_C99DataRepr_Struct: {
			struct mirth_c99_C99DataStructRepr* v15 = mtp_mirth_c99_C99DataRepr_Struct(in_C99DataRepr_3);
			struct mirth_mirth_zaMirth* v16;
			STR* v17 = mw_mirth_c99_C99DataStructRepr_getzedatazetag(in_zaMirth_1, MKSTR(in_Str_2), v15, &v16);
			branch_Str_7 = v17;
			branch_zaMirth_6 = v16;
		} break;
		case mirth_c99_C99DataRepr_Sum: {
			struct mirth_c99_C99DataSumRepr* v18 = mtp_mirth_c99_C99DataRepr_Sum(in_C99DataRepr_3);
			STR* v19 = mw_mirth_c99_C99DataSumRepr_getzedatazetag(in_Str_2, v18);
			branch_Str_7 = v19;
			branch_zaMirth_6 = in_zaMirth_1;
		} 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 $0xd0, %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, -0xd0(%rbp)
subq $0x4, %rax
ja 0x343518
movq -0xd0(%rbp), %rax
leaq 0x109f0(%rip), %rcx     # 0x353d60
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 -0x18(%rbp), %rdi
movq -0x20(%rbp), %rax
movq %rax, -0x60(%rbp)
leaq 0x4ddbc(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x58(%rbp)
movq -0x40(%rbp), %rcx
movq -0x60(%rbp), %rsi
movq -0x58(%rbp), %rdx
leaq -0x48(%rbp), %r8
callq 0x343550
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x343531
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x239880
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rdi
callq 0x343810
movq -0x20(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x343531
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x23bbd0
movq %rax, -0x70(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rax
movq %rax, -0x90(%rbp)
leaq 0x4dd32(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x88(%rbp)
movq -0x70(%rbp), %rcx
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
leaq -0x78(%rbp), %r8
callq 0x343820
movq %rax, -0x80(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x343531
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x23e060
movq %rax, -0x98(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rax
movq %rax, -0xb8(%rbp)
leaq 0x4dcca(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0xb0(%rbp)
movq -0x98(%rbp), %rcx
movq -0xb8(%rbp), %rsi
movq -0xb0(%rbp), %rdx
leaq -0xa0(%rbp), %r8
callq 0x343ae0
movq %rax, -0xa8(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x343531
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x241ad0
movq %rax, -0xc0(%rbp)
movq -0x20(%rbp), %rdi
movq -0xc0(%rbp), %rsi
callq 0x343da0
movq %rax, -0xc8(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x343531
leaq 0x10962(%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 $0xd0, %rsp
popq %rbp
retq
nopl (%rax)