// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_zaC99Branch_popzeresourcezefromzestackzetypezx
static struct mirth_type_StackType mw_mirth_c99_zaC99Branch_popzeresourcezefromzestackzetypezx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_c99_zaC99Branch* in_zaC99Branch_2, struct mirth_type_StackType in_StackType_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_c99_zaC99Branch* *out_zaC99Branch_5, struct mirth_c99_zaC99Resource* *out_zaC99Resource_7) {
	struct mirth_mirth_zaMirth* v8;
	struct std_maybe_Maybe_1 v9 = mw_mirth_type_StackType_forcezewithzyzx(in_zaMirth_1, in_StackType_3, &v8);
	struct mirth_mirth_zaMirth* v10;
	VAL v11 = mw_std_maybe_Maybe_1_unwrap_1_sp5(v8, v9, &v10);
	VAL v12 = ((TUP*)PTRPTR(value_tup(v11)))->cells[0];
	VAL v13 = ((TUP*)PTRPTR(value_tup(v11)))->cells[1];
	tup_decref_outer(value_tup(v11));
	struct mirth_mirth_zaMirth* v14;
	struct mirth_c99_zaC99Branch* v15;
	struct mirth_c99_C99ReprType v16 = mw_mirth_c99_zaC99Branch_resourcezetozec99zerepr(v10, in_zaC99Branch_2, V_mirth_type_Type(v13), &v14, &v15);
	struct mirth_mirth_zaMirth* v17;
	struct mirth_c99_zaC99Branch* v18;
	struct mirth_c99_zaC99Resource* v19;
	mw_mirth_c99_zaC99Branch_popzeresourcezx(v14, v15, v16, &v17, &v18, &v19);
	*out_zaC99Resource_7 = v19;
	*out_zaC99Branch_5 = v18;
	*out_zaMirth_4 = v17;
	return V_mirth_type_StackType(v12);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x100, %rsp            # imm = 0x100
movq 0x10(%rbp), %rax
movl %edx, -0x20(%rbp)
movq %rcx, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %rsi, -0x30(%rbp)
movq %r8, -0x38(%rbp)
movq %r9, -0x40(%rbp)
movq -0x28(%rbp), %rdi
movl -0x20(%rbp), %esi
movq -0x18(%rbp), %rdx
leaq -0x48(%rbp), %rcx
callq 0xc8ac0
movl %eax, -0x58(%rbp)
movq %rdx, -0x50(%rbp)
movq -0x48(%rbp), %rdi
movl -0x58(%rbp), %esi
movq -0x50(%rbp), %rdx
leaq -0x60(%rbp), %rcx
callq 0x331420
movq %rax, -0x70(%rbp)
movq %rdx, -0x68(%rbp)
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
callq 0xb770
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
movq %rcx, -0xf0(%rbp)
andq %rcx, %rax
movups 0x8(%rax), %xmm0
movaps %xmm0, -0x80(%rbp)
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
callq 0xb770
movq -0xf0(%rbp), %rcx
andq %rcx, %rax
movups 0x18(%rax), %xmm0
movaps %xmm0, -0x90(%rbp)
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
callq 0xb770
movq %rax, %rdi
callq 0xb7e0
movq -0x60(%rbp), %rax
movq %rax, -0xe8(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0x90(%rbp), %rdi
movq -0x88(%rbp), %rsi
callq 0x6f100
movq -0xe8(%rbp), %rdi
movq -0xe0(%rbp), %rsi
movl %eax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movl -0xc0(%rbp), %edx
movq -0xb8(%rbp), %rcx
leaq -0x98(%rbp), %r8
leaq -0xa0(%rbp), %r9
callq 0x294510
movl %eax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movq -0x98(%rbp), %rdi
movq -0xa0(%rbp), %rsi
movl -0xb0(%rbp), %edx
movq -0xa8(%rbp), %rcx
movq %rsp, %rax
leaq -0xd8(%rbp), %r8
movq %r8, (%rax)
leaq -0xc8(%rbp), %r8
leaq -0xd0(%rbp), %r9
callq 0x294a50
movq -0xd8(%rbp), %rcx
movq 0x10(%rbp), %rax
movq %rcx, (%rax)
movq -0xd0(%rbp), %rcx
movq -0x40(%rbp), %rax
movq %rcx, (%rax)
movq -0xc8(%rbp), %rcx
movq -0x38(%rbp), %rax
movq %rcx, (%rax)
movq -0x80(%rbp), %rdi
movq -0x78(%rbp), %rsi
callq 0x6fd00
movl %eax, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x100, %rsp            # imm = 0x100
popq %rbp
retq
nopw (%rax,%rax)