// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_C99DataStructRepr_constructzx
static void mw_mirth_c99_C99DataStructRepr_constructzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_c99_zaC99Branch* in_zaC99Branch_2, struct mirth_c99_C99DataStructRepr* in_C99DataStructRepr_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_c99_zaC99Branch* *out_zaC99Branch_5, struct std_either_zaEither_2 *out_zaC99ValuezfResource_6) {
	incref(MK_mirth_c99_C99DataStructRepr(in_C99DataStructRepr_3));
	struct mirth_mirth_zaMirth* v7;
	struct mirth_c99_zaC99Branch* v8;
	STR* v9 = mw_mirth_c99_C99DataStructRepr_packzestructzx(in_zaMirth_1, in_zaC99Branch_2, in_C99DataStructRepr_3, &v7, &v8);
	incref(MK_mirth_c99_C99DataStructRepr(in_C99DataStructRepr_3));
	struct mirth_mirth_zaMirth* v10;
	uint64_t v11 = mw_mirth_c99_C99DataStructRepr_data(v7, in_C99DataStructRepr_3, &v10);
	struct mirth_c99_C99ReprType v12 = mtw_mirth_c99_C99ReprType_Data(v11);
	struct mirth_c99_zaC99Value* v13;
	mtw_mirth_c99_zaC99Value_zaC99Value(v12, v9, &v13);
	incref(MK_mirth_c99_C99DataStructRepr(in_C99DataStructRepr_3));
	struct mirth_mirth_zaMirth* v14;
	uint64_t v15 = mw_mirth_c99_C99DataStructRepr_data(v10, in_C99DataStructRepr_3, &v14);
	struct mirth_mirth_zaMirth* v16;
	bool v17 = mw_mirth_data_Data_iszeresourcezy(v14, v15, &v16);
	struct mirth_c99_zaC99Branch* branch_zaC99Branch_18;
	struct mirth_c99_C99DataStructRepr* branch_C99DataStructRepr_19;
	struct mirth_mirth_zaMirth* branch_zaMirth_20;
	struct std_either_zaEither_2 branch_zaC99ValuezfResource_21;
	if (v17) {
		struct mirth_c99_zaC99Resource* v22;
		mw_mirth_c99_zaC99Value_turnzeintozeresourcezx(v13, &v22);
		struct std_either_zaEither_2 v23;
		mw_mirth_c99_zaC99ValuezfResource_zaRight(v22, &v23);
		branch_zaC99ValuezfResource_21 = v23;
		branch_zaMirth_20 = v16;
		branch_C99DataStructRepr_19 = in_C99DataStructRepr_3;
		branch_zaC99Branch_18 = v8;
	} else {
		struct std_either_zaEither_2 v24;
		mw_mirth_c99_zaC99ValuezfResource_zaLeft(v13, &v24);
		branch_zaC99ValuezfResource_21 = v24;
		branch_zaMirth_20 = v16;
		branch_C99DataStructRepr_19 = in_C99DataStructRepr_3;
		branch_zaC99Branch_18 = v8;
	}
	decref(MK_mirth_c99_C99DataStructRepr(branch_C99DataStructRepr_19));
	*out_zaC99ValuezfResource_6 = branch_zaC99ValuezfResource_21;
	*out_zaC99Branch_5 = branch_zaC99Branch_18;
	*out_zaMirth_4 = branch_zaMirth_20;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1f0, %rsp            # imm = 0x1F0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x40(%rbp)
leaq 0x101916(%rip), %rax    # 0x392fb8
orq $0x1, %rax
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x291734
movq -0x18(%rbp), %rax
movq %rax, -0x50(%rbp)
leaq 0x1018f1(%rip), %rax    # 0x392fb8
orq $0x1, %rax
movq %rax, -0x48(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x50(%rbp), %rax
cmpq $0x0, %rax
je 0x291734
movq -0x18(%rbp), %rax
movq %rax, -0x60(%rbp)
leaq 0x1018c6(%rip), %rax    # 0x392fb8
orq $0x1, %rax
movq %rax, -0x58(%rbp)
movq -0x60(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x291734
movq -0x18(%rbp), %rax
movq %rax, -0x70(%rbp)
leaq 0x1018a1(%rip), %rax    # 0x392fb8
orq $0x1, %rax
movq %rax, -0x68(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x70(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x291736
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
leaq -0x78(%rbp), %rcx
leaq -0x80(%rbp), %r8
callq 0x2a3970
movq %rax, -0x88(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x98(%rbp)
leaq 0x101850(%rip), %rax    # 0x392fb8
orq $0x1, %rax
movq %rax, -0x90(%rbp)
movq -0x90(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x29181f
movq -0x18(%rbp), %rax
movq %rax, -0xa8(%rbp)
leaq 0x10181e(%rip), %rax    # 0x392fb8
orq $0x1, %rax
movq %rax, -0xa0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xa8(%rbp), %rax
cmpq $0x0, %rax
je 0x29181f
movq -0x18(%rbp), %rax
movq %rax, -0xb8(%rbp)
leaq 0x1017ea(%rip), %rax    # 0x392fb8
orq $0x1, %rax
movq %rax, -0xb0(%rbp)
movq -0xb8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x29181f
movq -0x18(%rbp), %rax
movq %rax, -0xc8(%rbp)
leaq 0x1017bc(%rip), %rax    # 0x392fb8
orq $0x1, %rax
movq %rax, -0xc0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xc8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x291821
movq -0x78(%rbp), %rdi
movq -0x18(%rbp), %rsi
leaq -0xd0(%rbp), %rdx
callq 0x24f3f0
movq %rax, -0xd8(%rbp)
movq -0xd8(%rbp), %rdi
callq 0x233590
movl %eax, -0xe8(%rbp)
movq %rdx, -0xe0(%rbp)
movq -0x88(%rbp), %rdx
movl -0xe8(%rbp), %edi
movq -0xe0(%rbp), %rsi
leaq -0xf0(%rbp), %rcx
callq 0x28cac0
movq -0x18(%rbp), %rax
movq %rax, -0x100(%rbp)
leaq 0x101731(%rip), %rax    # 0x392fb8
orq $0x1, %rax
movq %rax, -0xf8(%rbp)
movq -0xf8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x29193e
movq -0x18(%rbp), %rax
movq %rax, -0x110(%rbp)
leaq 0x1016ff(%rip), %rax    # 0x392fb8
orq $0x1, %rax
movq %rax, -0x108(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x110(%rbp), %rax
cmpq $0x0, %rax
je 0x29193e
movq -0x18(%rbp), %rax
movq %rax, -0x120(%rbp)
leaq 0x1016cb(%rip), %rax    # 0x392fb8
orq $0x1, %rax
movq %rax, -0x118(%rbp)
movq -0x120(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x29193e
movq -0x18(%rbp), %rax
movq %rax, -0x130(%rbp)
leaq 0x10169d(%rip), %rax    # 0x392fb8
orq $0x1, %rax
movq %rax, -0x128(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x130(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x291940
movq -0xd0(%rbp), %rdi
movq -0x18(%rbp), %rsi
leaq -0x138(%rbp), %rdx
callq 0x24f3f0
movq %rax, -0x140(%rbp)
movq -0x138(%rbp), %rdi
movq -0x140(%rbp), %rsi
leaq -0x148(%rbp), %rdx
callq 0x74100
andb $0x1, %al
movb %al, -0x149(%rbp)
testb $0x1, -0x149(%rbp)
je 0x2919f1
movq -0xf0(%rbp), %rdi
leaq -0x180(%rbp), %rsi
callq 0x28cc50
movq -0x180(%rbp), %rdi
leaq -0x190(%rbp), %rsi
callq 0x2947d0
movq -0x190(%rbp), %rax
movq %rax, -0x178(%rbp)
movq -0x188(%rbp), %rax
movq %rax, -0x170(%rbp)
movq -0x148(%rbp), %rax
movq %rax, -0x168(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x160(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x158(%rbp)
jmp 0x291a44
movq -0xf0(%rbp), %rdi
leaq -0x1a0(%rbp), %rsi
callq 0x293c40
movq -0x1a0(%rbp), %rax
movq %rax, -0x178(%rbp)
movq -0x198(%rbp), %rax
movq %rax, -0x170(%rbp)
movq -0x148(%rbp), %rax
movq %rax, -0x168(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x160(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x158(%rbp)
jmp 0x291a46
movq -0x160(%rbp), %rax
movq %rax, -0x1b0(%rbp)
leaq 0x10155d(%rip), %rax    # 0x392fb8
orq $0x1, %rax
movq %rax, -0x1a8(%rbp)
movq -0x1a8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x291b59
movq -0x160(%rbp), %rax
movq %rax, -0x1c0(%rbp)
leaq 0x101528(%rip), %rax    # 0x392fb8
orq $0x1, %rax
movq %rax, -0x1b8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1c0(%rbp), %rax
cmpq $0x0, %rax
je 0x291b59
movq -0x160(%rbp), %rax
movq %rax, -0x1d0(%rbp)
leaq 0x1014ed(%rip), %rax    # 0x392fb8
orq $0x1, %rax
movq %rax, -0x1c8(%rbp)
movq -0x1d0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x291b59
movq -0x160(%rbp), %rax
movq %rax, -0x1e0(%rbp)
leaq 0x1014bc(%rip), %rax    # 0x392fb8
orq $0x1, %rax
movq %rax, -0x1d8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x1e0(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x291b57
movq -0x160(%rbp), %rax
movq %rax, -0x1f0(%rbp)
leaq 0x10147f(%rip), %rax    # 0x392fb8
orq $0x1, %rax
movq %rax, -0x1e8(%rbp)
movq -0x1f0(%rbp), %rdi
movq -0x1e8(%rbp), %rsi
callq 0x127c0
jmp 0x291b59
jmp 0x291b5b
movq -0x30(%rbp), %rax
movq -0x178(%rbp), %rcx
movq %rcx, (%rax)
movq -0x170(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x158(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movq -0x168(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
addq $0x1f0, %rsp            # imm = 0x1F0
popq %rbp
retq
nopl (%rax)