// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_C99DataTagRepr_destructzx
static void mw_mirth_c99_C99DataTagRepr_destructzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_c99_zaC99Branch* in_zaC99Branch_2, struct std_either_zaEither_2 in_zaC99ValuezfResource_3, struct mirth_c99_C99DataTagRepr in_C99DataTagRepr_4, struct mirth_mirth_zaMirth* *out_zaMirth_5, struct mirth_c99_zaC99Branch* *out_zaC99Branch_6) {
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	struct mirth_c99_zaC99Branch* branch_zaC99Branch_8;
	switch ((in_C99DataTagRepr_4).tag) {
		case mirth_c99_C99DataTagRepr_Unit: {
			struct mirth_c99_C99DataUnitRepr* v9 = mtp_mirth_c99_C99DataTagRepr_Unit(in_C99DataTagRepr_4);
			struct mirth_mirth_zaMirth* v10;
			struct mirth_c99_zaC99Branch* v11;
			mw_mirth_c99_C99DataUnitRepr_destructzx(in_zaMirth_1, in_zaC99Branch_2, in_zaC99ValuezfResource_3, v9, &v10, &v11);
			branch_zaC99Branch_8 = v11;
			branch_zaMirth_7 = v10;
		} break;
		case mirth_c99_C99DataTagRepr_Enum: {
			struct mirth_c99_C99DataEnumTagRepr* v12 = mtp_mirth_c99_C99DataTagRepr_Enum(in_C99DataTagRepr_4);
			struct mirth_mirth_zaMirth* v13;
			struct mirth_c99_zaC99Branch* v14;
			mw_mirth_c99_C99DataEnumTagRepr_destructzx(in_zaMirth_1, in_zaC99Branch_2, in_zaC99ValuezfResource_3, v12, &v13, &v14);
			branch_zaC99Branch_8 = v14;
			branch_zaMirth_7 = v13;
		} break;
		case mirth_c99_C99DataTagRepr_Trans: {
			struct mirth_c99_C99DataTransRepr* v15 = mtp_mirth_c99_C99DataTagRepr_Trans(in_C99DataTagRepr_4);
			struct mirth_mirth_zaMirth* v16;
			struct mirth_c99_zaC99Branch* v17;
			mw_mirth_c99_C99DataTransRepr_destructzx(in_zaMirth_1, in_zaC99Branch_2, in_zaC99ValuezfResource_3, v15, &v16, &v17);
			branch_zaC99Branch_8 = v17;
			branch_zaMirth_7 = v16;
		} break;
		case mirth_c99_C99DataTagRepr_Struct: {
			struct mirth_c99_C99DataStructRepr* v18 = mtp_mirth_c99_C99DataTagRepr_Struct(in_C99DataTagRepr_4);
			struct mirth_mirth_zaMirth* v19;
			struct mirth_c99_zaC99Branch* v20;
			mw_mirth_c99_C99DataStructRepr_destructzx(in_zaMirth_1, in_zaC99Branch_2, v18, in_zaC99ValuezfResource_3, &v19, &v20);
			branch_zaC99Branch_8 = v20;
			branch_zaMirth_7 = v19;
		} break;
		case mirth_c99_C99DataTagRepr_Sum: {
			struct mirth_c99_C99DataSumTagRepr v21 = mtp_mirth_c99_C99DataTagRepr_Sum(in_C99DataTagRepr_4);
			struct mirth_mirth_zaMirth* v22;
			struct mirth_c99_zaC99Branch* v23;
			mw_mirth_c99_C99DataSumTagRepr_destructzx(in_zaMirth_1, in_zaC99Branch_2, in_zaC99ValuezfResource_3, v21, &v22, &v23);
			branch_zaC99Branch_8 = v23;
			branch_zaMirth_7 = v22;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaC99Branch_6 = branch_zaC99Branch_8;
	*out_zaMirth_5 = branch_zaMirth_7;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movq 0x18(%rbp), %rax
movq 0x10(%rbp), %rax
movl %edx, -0x10(%rbp)
movq %rcx, -0x8(%rbp)
movl %r8d, -0x20(%rbp)
movq %r9, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %rsi, -0x30(%rbp)
movl -0x20(%rbp), %eax
movq %rax, -0xc8(%rbp)
subq $0x4, %rax
ja 0x2ab74b
movq -0xc8(%rbp), %rax
leaq 0xa8290(%rip), %rcx     # 0x35382c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x28f3f0
movq %rax, -0x48(%rbp)
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq -0x48(%rbp), %r8
movl -0x10(%rbp), %edx
movq -0x8(%rbp), %rcx
leaq -0x50(%rbp), %r9
leaq -0x58(%rbp), %rax
movq %rax, (%rsp)
callq 0x2ab790
movq -0x58(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x2ab764
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x2902c0
movq %rax, -0x60(%rbp)
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq -0x60(%rbp), %r8
movl -0x10(%rbp), %edx
movq -0x8(%rbp), %rcx
leaq -0x68(%rbp), %r9
leaq -0x70(%rbp), %rax
movq %rax, (%rsp)
callq 0x2ab800
movq -0x70(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x2ab764
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x290fe0
movq %rax, -0x78(%rbp)
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq -0x78(%rbp), %r8
movl -0x10(%rbp), %edx
movq -0x8(%rbp), %rcx
leaq -0x80(%rbp), %r9
leaq -0x88(%rbp), %rax
movq %rax, (%rsp)
callq 0x2ab930
movq -0x88(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x2ab764
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x291570
movq %rax, -0x90(%rbp)
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq -0x90(%rbp), %rdx
movl -0x10(%rbp), %ecx
movq -0x8(%rbp), %r8
leaq -0x98(%rbp), %r9
leaq -0xa0(%rbp), %rax
movq %rax, (%rsp)
callq 0x2abca0
movq -0xa0(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x2ab764
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x291ba0
movl %eax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
movl -0x10(%rbp), %edx
movq -0x8(%rbp), %rcx
movl -0xb0(%rbp), %r8d
movq -0xa8(%rbp), %r9
leaq -0xb8(%rbp), %r10
leaq -0xc0(%rbp), %rax
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
callq 0x2abdf0
movq -0xc0(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x2ab764
leaq 0xa872f(%rip), %rdi     # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x40(%rbp), %rcx
movq 0x18(%rbp), %rax
movq %rcx, (%rax)
movq -0x38(%rbp), %rcx
movq 0x10(%rbp), %rax
movq %rcx, (%rax)
addq $0xe0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)