// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_C99DataTagRepr_constructzx
static void mw_mirth_c99_C99DataTagRepr_constructzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_c99_zaC99Branch* in_zaC99Branch_2, struct mirth_c99_C99DataTagRepr in_C99DataTagRepr_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_c99_zaC99Branch* *out_zaC99Branch_5, struct std_either_zaEither_2 *out_zaC99ValuezfResource_6) {
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	struct mirth_c99_zaC99Branch* branch_zaC99Branch_8;
	struct std_either_zaEither_2 branch_zaC99ValuezfResource_9;
	switch ((in_C99DataTagRepr_3).tag) {
		case mirth_c99_C99DataTagRepr_Unit: {
			struct mirth_c99_C99DataUnitRepr* v10 = mtp_mirth_c99_C99DataTagRepr_Unit(in_C99DataTagRepr_3);
			struct mirth_mirth_zaMirth* v11;
			struct mirth_c99_zaC99Branch* v12;
			struct std_either_zaEither_2 v13;
			mw_mirth_c99_C99DataUnitRepr_constructzx(in_zaMirth_1, in_zaC99Branch_2, v10, &v11, &v12, &v13);
			branch_zaC99ValuezfResource_9 = v13;
			branch_zaC99Branch_8 = v12;
			branch_zaMirth_7 = v11;
		} break;
		case mirth_c99_C99DataTagRepr_Enum: {
			struct mirth_c99_C99DataEnumTagRepr* v14 = mtp_mirth_c99_C99DataTagRepr_Enum(in_C99DataTagRepr_3);
			struct mirth_mirth_zaMirth* v15;
			struct mirth_c99_zaC99Branch* v16;
			struct std_either_zaEither_2 v17;
			mw_mirth_c99_C99DataEnumTagRepr_constructzx(in_zaMirth_1, in_zaC99Branch_2, v14, &v15, &v16, &v17);
			branch_zaC99ValuezfResource_9 = v17;
			branch_zaC99Branch_8 = v16;
			branch_zaMirth_7 = v15;
		} break;
		case mirth_c99_C99DataTagRepr_Trans: {
			struct mirth_c99_C99DataTransRepr* v18 = mtp_mirth_c99_C99DataTagRepr_Trans(in_C99DataTagRepr_3);
			struct mirth_mirth_zaMirth* v19;
			struct mirth_c99_zaC99Branch* v20;
			struct std_either_zaEither_2 v21;
			mw_mirth_c99_C99DataTransRepr_constructzx(in_zaMirth_1, in_zaC99Branch_2, v18, &v19, &v20, &v21);
			branch_zaC99ValuezfResource_9 = v21;
			branch_zaC99Branch_8 = v20;
			branch_zaMirth_7 = v19;
		} break;
		case mirth_c99_C99DataTagRepr_Struct: {
			struct mirth_c99_C99DataStructRepr* v22 = mtp_mirth_c99_C99DataTagRepr_Struct(in_C99DataTagRepr_3);
			struct mirth_mirth_zaMirth* v23;
			struct mirth_c99_zaC99Branch* v24;
			struct std_either_zaEither_2 v25;
			mw_mirth_c99_C99DataStructRepr_constructzx(in_zaMirth_1, in_zaC99Branch_2, v22, &v23, &v24, &v25);
			branch_zaC99ValuezfResource_9 = v25;
			branch_zaC99Branch_8 = v24;
			branch_zaMirth_7 = v23;
		} break;
		case mirth_c99_C99DataTagRepr_Sum: {
			struct mirth_c99_C99DataSumTagRepr v26 = mtp_mirth_c99_C99DataTagRepr_Sum(in_C99DataTagRepr_3);
			struct mirth_mirth_zaMirth* v27;
			struct mirth_c99_zaC99Branch* v28;
			struct std_either_zaEither_2 v29;
			mw_mirth_c99_C99DataSumTagRepr_constructzx(in_zaMirth_1, in_zaC99Branch_2, v26, &v27, &v28, &v29);
			branch_zaC99ValuezfResource_9 = v29;
			branch_zaC99Branch_8 = v28;
			branch_zaMirth_7 = v27;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaC99ValuezfResource_6 = branch_zaC99ValuezfResource_9;
	*out_zaC99Branch_5 = branch_zaC99Branch_8;
	*out_zaMirth_4 = branch_zaMirth_7;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp            # imm = 0x130
movq 0x10(%rbp), %rax
movl %edx, -0x10(%rbp)
movq %rcx, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movl -0x10(%rbp), %eax
movq %rax, -0x128(%rbp)
subq $0x4, %rax
ja 0x28d5de
movq -0x128(%rbp), %rax
leaq 0xc6224(%rip), %rcx     # 0x3535ec
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x28f3f0
movq %rax, -0x58(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x58(%rbp), %rdx
leaq -0x60(%rbp), %rcx
leaq -0x68(%rbp), %r8
leaq -0x78(%rbp), %r9
callq 0x28f4f0
movq -0x78(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x28d5f7
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x2902c0
movq %rax, -0x80(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x80(%rbp), %rdx
leaq -0x88(%rbp), %rcx
leaq -0x90(%rbp), %r8
leaq -0xa0(%rbp), %r9
callq 0x2903c0
movq -0xa0(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x88(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x28d5f7
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x290fe0
movq %rax, -0xa8(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0xa8(%rbp), %rdx
leaq -0xb0(%rbp), %rcx
leaq -0xb8(%rbp), %r8
leaq -0xc8(%rbp), %r9
callq 0x2910e0
movq -0xc8(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x28d5f7
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x291570
movq %rax, -0xd0(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0xd0(%rbp), %rdx
leaq -0xd8(%rbp), %rcx
leaq -0xe0(%rbp), %r8
leaq -0xf0(%rbp), %r9
callq 0x291670
movq -0xf0(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x28d5f7
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x291ba0
movl %eax, -0x100(%rbp)
movq %rdx, -0xf8(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
movl -0x100(%rbp), %edx
movq -0xf8(%rbp), %rcx
leaq -0x108(%rbp), %r8
leaq -0x110(%rbp), %r9
leaq -0x120(%rbp), %rax
movq %rax, (%rsp)
callq 0x291ca0
movq -0x120(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x110(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x108(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x28d5f7
leaq 0xc689c(%rip), %rdi     # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq 0x10(%rbp), %rax
movq -0x50(%rbp), %rcx
movq %rcx, (%rax)
movq -0x48(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x40(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movq -0x38(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
addq $0x130, %rsp            # imm = 0x130
popq %rbp
retq
nopl (%rax)