// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_C99DataRepr_tagzerepr
static struct mirth_c99_C99DataTagRepr mw_mirth_c99_C99DataRepr_tagzerepr (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Tag_2, struct mirth_c99_C99DataRepr in_C99DataRepr_3, struct mirth_mirth_zaMirth* *out_zaMirth_4) {
	struct mirth_mirth_zaMirth* branch_zaMirth_6;
	struct mirth_c99_C99DataTagRepr branch_C99DataTagRepr_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_c99_C99DataUnitRepr* v9 = mw_mirth_c99_C99DataUnitRepr_tagzerepr(in_Tag_2, v8);
			struct mirth_c99_C99DataTagRepr v10 = mw_mirth_c99_C99DataUnitRepr_zgC99DataTagRepr(v9);
			branch_C99DataTagRepr_7 = v10;
			branch_zaMirth_6 = in_zaMirth_1;
		} break;
		case mirth_c99_C99DataRepr_Enum: {
			uint64_t v11 = mtp_mirth_c99_C99DataRepr_Enum(in_C99DataRepr_3);
			struct mirth_c99_C99DataEnumTagRepr* v12 = mw_mirth_c99_C99DataEnumRepr_tagzerepr(in_Tag_2, v11);
			struct mirth_c99_C99DataTagRepr v13 = mw_mirth_c99_C99DataEnumTagRepr_zgC99DataTagRepr(v12);
			branch_C99DataTagRepr_7 = v13;
			branch_zaMirth_6 = in_zaMirth_1;
		} break;
		case mirth_c99_C99DataRepr_Trans: {
			struct mirth_c99_C99DataTransRepr* v14 = mtp_mirth_c99_C99DataRepr_Trans(in_C99DataRepr_3);
			struct mirth_c99_C99DataTransRepr* v15 = mw_mirth_c99_C99DataTransRepr_tagzerepr(in_Tag_2, v14);
			struct mirth_c99_C99DataTagRepr v16 = mw_mirth_c99_C99DataTransRepr_zgC99DataTagRepr(v15);
			branch_C99DataTagRepr_7 = v16;
			branch_zaMirth_6 = in_zaMirth_1;
		} break;
		case mirth_c99_C99DataRepr_Struct: {
			struct mirth_c99_C99DataStructRepr* v17 = mtp_mirth_c99_C99DataRepr_Struct(in_C99DataRepr_3);
			struct mirth_c99_C99DataStructRepr* v18 = mw_mirth_c99_C99DataStructRepr_tagzerepr(in_Tag_2, v17);
			struct mirth_c99_C99DataTagRepr v19 = mw_mirth_c99_C99DataStructRepr_zgC99DataTagRepr(v18);
			branch_C99DataTagRepr_7 = v19;
			branch_zaMirth_6 = in_zaMirth_1;
		} break;
		case mirth_c99_C99DataRepr_Sum: {
			struct mirth_c99_C99DataSumRepr* v20 = mtp_mirth_c99_C99DataRepr_Sum(in_C99DataRepr_3);
			struct mirth_mirth_zaMirth* v21;
			struct mirth_c99_C99DataSumTagRepr v22 = mw_mirth_c99_C99DataSumRepr_tagzerepr(in_zaMirth_1, in_Tag_2, v20, &v21);
			struct mirth_c99_C99DataTagRepr v23 = mw_mirth_c99_C99DataSumTagRepr_zgC99DataTagRepr(v22);
			branch_C99DataTagRepr_7 = v23;
			branch_zaMirth_6 = v21;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaMirth_4 = branch_zaMirth_6;
	return branch_C99DataTagRepr_7;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x100, %rsp            # imm = 0x100
movl %edx, -0x20(%rbp)
movq %rcx, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %rsi, -0x30(%rbp)
movq %r8, -0x38(%rbp)
movl -0x20(%rbp), %eax
movq %rax, -0xf8(%rbp)
subq $0x4, %rax
ja 0x28da4e
movq -0xf8(%rbp), %rax
leaq 0xc5da0(%rip), %rcx     # 0x353600
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x237130
movq %rax, -0x48(%rbp)
movq -0x30(%rbp), %rdi
movq -0x48(%rbp), %rsi
callq 0x28da90
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rdi
callq 0x28dab0
movl %eax, -0x60(%rbp)
movq %rdx, -0x58(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x40(%rbp)
jmp 0x28da67
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x239880
movq %rax, -0x68(%rbp)
movq -0x30(%rbp), %rdi
movq -0x68(%rbp), %rsi
callq 0x28dae0
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rdi
callq 0x28db10
movl %eax, -0x80(%rbp)
movq %rdx, -0x78(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x40(%rbp)
jmp 0x28da67
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x23bbd0
movq %rax, -0x88(%rbp)
movq -0x30(%rbp), %rdi
movq -0x88(%rbp), %rsi
callq 0x28db40
movq %rax, -0x90(%rbp)
movq -0x90(%rbp), %rdi
callq 0x28db60
movl %eax, -0xa0(%rbp)
movq %rdx, -0x98(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x40(%rbp)
jmp 0x28da67
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x23e060
movq %rax, -0xa8(%rbp)
movq -0x30(%rbp), %rdi
movq -0xa8(%rbp), %rsi
callq 0x28db90
movq %rax, -0xb0(%rbp)
movq -0xb0(%rbp), %rdi
callq 0x28dbb0
movl %eax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x40(%rbp)
jmp 0x28da67
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x241ad0
movq %rax, -0xc8(%rbp)
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq -0xc8(%rbp), %rdx
leaq -0xd0(%rbp), %rcx
callq 0x28dbe0
movl %eax, -0xe0(%rbp)
movq %rdx, -0xd8(%rbp)
movl -0xe0(%rbp), %edi
movq -0xd8(%rbp), %rsi
callq 0x28e830
movl %eax, -0xf0(%rbp)
movq %rdx, -0xe8(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0x40(%rbp)
jmp 0x28da67
leaq 0xc642c(%rip), %rdi     # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x40(%rbp), %rcx
movq -0x38(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x100, %rsp            # imm = 0x100
popq %rbp
retq
nopw %cs:(%rax,%rax)