// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_zaC99Branch_popzedatazx
static void mw_mirth_c99_zaC99Branch_popzedatazx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_c99_zaC99Branch* in_zaC99Branch_2, uint64_t in_Data_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* v7;
	bool v8 = mw_mirth_data_Data_iszeresourcezy(in_zaMirth_1, in_Data_3, &v7);
	struct mirth_mirth_zaMirth* branch_zaMirth_9;
	struct mirth_c99_zaC99Branch* branch_zaC99Branch_10;
	struct std_either_zaEither_2 branch_zaC99ValuezfResource_11;
	if (v8) {
		struct mirth_c99_C99ReprType v12 = mtw_mirth_c99_C99ReprType_Data(in_Data_3);
		incref(MK_mirth_c99_C99ReprType(v12));
		struct mirth_mirth_zaMirth* v13;
		struct mirth_c99_zaC99Branch* v14;
		struct mirth_c99_zaC99Resource* v15;
		mw_mirth_c99_zaC99Branch_popzeresourcezx(v7, in_zaC99Branch_2, v12, &v13, &v14, &v15);
		struct mirth_mirth_zaMirth* v16;
		struct mirth_c99_zaC99Branch* v17;
		struct mirth_c99_zaC99Resource* v18;
		mw_mirth_c99_zaC99Resource_convertzeresourcezx(v13, v14, v15, v12, &v16, &v17, &v18);
		struct std_either_zaEither_2 v19;
		mtw_std_either_zaEither_2_zaRight(MK_mirth_c99_zaC99Resource(v18), &v19);
		branch_zaC99ValuezfResource_11 = v19;
		branch_zaC99Branch_10 = v17;
		branch_zaMirth_9 = v16;
	} else {
		struct mirth_c99_C99ReprType v20 = mtw_mirth_c99_C99ReprType_Data(in_Data_3);
		incref(MK_mirth_c99_C99ReprType(v20));
		struct mirth_mirth_zaMirth* v21;
		struct mirth_c99_zaC99Branch* v22;
		struct mirth_c99_zaC99Value* v23;
		mw_mirth_c99_zaC99Branch_popzevaluezx(v7, in_zaC99Branch_2, v20, &v21, &v22, &v23);
		struct mirth_mirth_zaMirth* v24;
		struct mirth_c99_zaC99Branch* v25;
		struct mirth_c99_zaC99Value* v26;
		mw_mirth_c99_zaC99Value_convertzevaluezx(v21, v22, v23, v20, &v24, &v25, &v26);
		struct std_either_zaEither_2 v27;
		mtw_std_either_zaEither_2_zaLeft(MK_mirth_c99_zaC99Value(v26), &v27);
		branch_zaC99ValuezfResource_11 = v27;
		branch_zaC99Branch_10 = v25;
		branch_zaMirth_9 = v24;
	}
	*out_zaC99ValuezfResource_6 = branch_zaC99ValuezfResource_11;
	*out_zaC99Branch_5 = branch_zaC99Branch_10;
	*out_zaMirth_4 = branch_zaMirth_9;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1b0, %rsp            # imm = 0x1B0
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 -0x8(%rbp), %rdi
movq -0x18(%rbp), %rsi
leaq -0x38(%rbp), %rdx
callq 0x74100
andb $0x1, %al
movb %al, -0x39(%rbp)
testb $0x1, -0x39(%rbp)
je 0x2ab34c
movq -0x18(%rbp), %rdi
callq 0x233590
movl %eax, -0x70(%rbp)
movq %rdx, -0x68(%rbp)
movl -0x70(%rbp), %edi
movq -0x68(%rbp), %rsi
callq 0x2315b0
movq %rax, -0x80(%rbp)
movq %rdx, -0x78(%rbp)
movq -0x78(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2ab277
movl -0x70(%rbp), %edi
movq -0x68(%rbp), %rsi
callq 0x2315b0
movq %rax, -0x90(%rbp)
movq %rdx, -0x88(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x90(%rbp), %rax
cmpq $0x0, %rax
je 0x2ab277
movl -0x70(%rbp), %edi
movq -0x68(%rbp), %rsi
callq 0x2315b0
movq %rax, -0xa0(%rbp)
movq %rdx, -0x98(%rbp)
movq -0xa0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2ab277
movl -0x70(%rbp), %edi
movq -0x68(%rbp), %rsi
callq 0x2315b0
movq %rax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xb0(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x2ab279
movq -0x38(%rbp), %rdi
movq -0x10(%rbp), %rsi
movl -0x70(%rbp), %edx
movq -0x68(%rbp), %rcx
leaq -0xb8(%rbp), %r8
leaq -0xc0(%rbp), %r9
leaq -0xc8(%rbp), %rax
movq %rax, (%rsp)
callq 0x294a50
movq -0xb8(%rbp), %rdi
movq -0xc0(%rbp), %rsi
movq -0xc8(%rbp), %rdx
movl -0x70(%rbp), %ecx
movq -0x68(%rbp), %r8
leaq -0xd0(%rbp), %r9
leaq -0xd8(%rbp), %r10
leaq -0xe0(%rbp), %rax
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
callq 0x29eaa0
movq -0xe0(%rbp), %rax
movq %rax, -0x100(%rbp)
leaq 0xe801e(%rip), %rax     # 0x393318
movq %rax, -0xf8(%rbp)
movq -0x100(%rbp), %rdi
movq -0xf8(%rbp), %rsi
leaq -0xf0(%rbp), %rdx
callq 0x29be80
movq -0xf0(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x2ab513
movq -0x18(%rbp), %rdi
callq 0x233590
movl %eax, -0x110(%rbp)
movq %rdx, -0x108(%rbp)
movl -0x110(%rbp), %edi
movq -0x108(%rbp), %rsi
callq 0x2315b0
movq %rax, -0x120(%rbp)
movq %rdx, -0x118(%rbp)
movq -0x118(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2ab437
movl -0x110(%rbp), %edi
movq -0x108(%rbp), %rsi
callq 0x2315b0
movq %rax, -0x130(%rbp)
movq %rdx, -0x128(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x130(%rbp), %rax
cmpq $0x0, %rax
je 0x2ab437
movl -0x110(%rbp), %edi
movq -0x108(%rbp), %rsi
callq 0x2315b0
movq %rax, -0x140(%rbp)
movq %rdx, -0x138(%rbp)
movq -0x140(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2ab437
movl -0x110(%rbp), %edi
movq -0x108(%rbp), %rsi
callq 0x2315b0
movq %rax, -0x150(%rbp)
movq %rdx, -0x148(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x150(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x2ab439
movq -0x38(%rbp), %rdi
movq -0x10(%rbp), %rsi
movl -0x110(%rbp), %edx
movq -0x108(%rbp), %rcx
leaq -0x158(%rbp), %r8
leaq -0x160(%rbp), %r9
leaq -0x168(%rbp), %rax
movq %rax, (%rsp)
callq 0x294820
movq -0x158(%rbp), %rdi
movq -0x160(%rbp), %rsi
movq -0x168(%rbp), %rdx
movl -0x110(%rbp), %ecx
movq -0x108(%rbp), %r8
leaq -0x170(%rbp), %r9
leaq -0x178(%rbp), %r10
leaq -0x180(%rbp), %rax
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
callq 0x29e970
movq -0x180(%rbp), %rax
movq %rax, -0x1a0(%rbp)
leaq 0xe7e0a(%rip), %rax     # 0x3932d0
movq %rax, -0x198(%rbp)
movq -0x1a0(%rbp), %rdi
movq -0x198(%rbp), %rsi
leaq -0x190(%rbp), %rdx
callq 0x29e5a0
movq -0x190(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x188(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x170(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x30(%rbp), %rax
movq -0x60(%rbp), %rcx
movq %rcx, (%rax)
movq -0x58(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x50(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movq -0x48(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
addq $0x1b0, %rsp            # imm = 0x1B0
popq %rbp
retq
nopw %cs:(%rax,%rax)