// File: /workspace/github_c_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %r9, -0x38(%rbp)
movq %r8, -0x40(%rbp)
movq %rcx, -0x48(%rbp)
movq %rdx, %r12
movq %rsi, %r13
leaq -0x30(%rbp), %rdx
movq %r12, %rsi
callq 0x1e4f2
movl %eax, %ebx
movq %r12, %rdi
callq 0x93ff0
movq %rax, %r12
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %r12, %rax
setne %dl
testb $0x3, %r12b
sete %cl
andb %dl, %cl
testb %bl, %bl
je 0xab8da
testb %cl, %cl
je 0xab873
incl (%rax)
movq -0x30(%rbp), %rdi
subq $0x8, %rsp
leaq -0x68(%rbp), %rbx
pushq $0x15
popq %rdx
leaq -0x78(%rbp), %r14
leaq -0x70(%rbp), %r15
movq %r13, %rsi
movl %edx, %r13d
movq %r12, %rcx
movq %r14, %r8
movq %r15, %r9
pushq %rbx
callq 0xa68c2
popq %rax
popq %rcx
movq (%r14), %rdi
movq (%r15), %rsi
movq (%rbx), %rdx
leaq -0x50(%rbp), %rbx
leaq -0x58(%rbp), %r15
leaq -0x60(%rbp), %r14
movl %r13d, %ecx
movq %r12, %r8
movq %r14, %r9
pushq %rbx
pushq %r15
callq 0xa8fd8
popq %rax
popq %rcx
movq (%rbx), %rdi
leaq -0x88(%rbp), %rsi
callq 0xa8828
jmp 0xab945
testb %cl, %cl
je 0xab8e0
incl (%rax)
movq -0x30(%rbp), %rdi
subq $0x8, %rsp
leaq -0x68(%rbp), %rbx
pushq $0x15
popq %rdx
leaq -0x78(%rbp), %r14
leaq -0x70(%rbp), %r15
movq %r13, %rsi
movl %edx, %r13d
movq %r12, %rcx
movq %r14, %r8
movq %r15, %r9
pushq %rbx
callq 0xa638d
popq %rax
popq %rcx
movq (%r14), %rdi
movq (%r15), %rsi
movq (%rbx), %rdx
leaq -0x50(%rbp), %rbx
leaq -0x58(%rbp), %r15
leaq -0x60(%rbp), %r14
movl %r13d, %ecx
movq %r12, %r8
movq %r14, %r9
pushq %rbx
pushq %r15
callq 0xa8f46
popq %rax
popq %rcx
movq (%rbx), %rdi
leaq -0x88(%rbp), %rsi
callq 0xa8d15
movq (%r15), %rax
movq (%r14), %rcx
movups -0x88(%rbp), %xmm0
movq -0x38(%rbp), %rdx
movups %xmm0, (%rdx)
movq -0x40(%rbp), %rdx
movq %rax, (%rdx)
movq -0x48(%rbp), %rax
movq %rcx, (%rax)
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq