	.file	"extr_richole.c_ME_CopyReObject.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ME_CopyReObject
	.type	ME_CopyReObject, @function
ME_CopyReObject:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	QWORD PTR 16[rdi], 0
	mov	QWORD PTR 8[rdi], 0
	mov	QWORD PTR [rdi], 0
	test	DWORD PTR REO_GETOBJ_POLEOBJ[rip], edx
	je	.L2
	mov	rdi, QWORD PTR 16[rsi]
	test	rdi, rdi
	je	.L2
	mov	QWORD PTR 16[rbx], rdi
	call	IOleObject_AddRef@PLT
.L2:
	test	DWORD PTR REO_GETOBJ_PSTG[rip], ebp
	je	.L3
	mov	rdi, QWORD PTR 8[r12]
	test	rdi, rdi
	je	.L3
	mov	QWORD PTR 8[rbx], rdi
	call	IStorage_AddRef@PLT
.L3:
	test	DWORD PTR REO_GETOBJ_POLESITE[rip], ebp
	je	.L1
	mov	rdi, QWORD PTR [r12]
	test	rdi, rdi
	je	.L1
	mov	QWORD PTR [rbx], rdi
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	IOleClientSite_AddRef@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ME_CopyReObject, .-ME_CopyReObject
	.comm	REO_GETOBJ_PSTG,4,4
	.comm	REO_GETOBJ_POLESITE,4,4
	.comm	REO_GETOBJ_POLEOBJ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_richole.c_ME_CopyReObject.c"
	.text
	.align	2
	.global	ME_CopyReObject
	.syntax unified
	.arm
	.fpu softvfp
	.type	ME_CopyReObject, %function
ME_CopyReObject:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r2
	mov	r3, #0
	ldr	r2, .L25
	mov	r4, r0
	ldr	r2, [r2]
	mov	r6, r1
	tst	r5, r2
	str	r3, [r0, #8]
	str	r3, [r0, #4]
	str	r3, [r0]
	beq	.L2
	ldr	r0, [r1, #8]
	cmp	r0, r3
	beq	.L2
	str	r0, [r4, #8]
	bl	IOleObject_AddRef
.L2:
	ldr	r3, .L25+4
	ldr	r3, [r3]
	tst	r5, r3
	beq	.L3
	ldr	r0, [r6, #4]
	cmp	r0, #0
	beq	.L3
	str	r0, [r4, #4]
	bl	IStorage_AddRef
.L3:
	ldr	r3, .L25+8
	ldr	r3, [r3]
	tst	r5, r3
	popeq	{r4, r5, r6, pc}
	ldr	r0, [r6]
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	str	r0, [r4]
	pop	{r4, r5, r6, lr}
	b	IOleClientSite_AddRef
.L26:
	.align	2
.L25:
	.word	REO_GETOBJ_POLEOBJ
	.word	REO_GETOBJ_PSTG
	.word	REO_GETOBJ_POLESITE
	.size	ME_CopyReObject, .-ME_CopyReObject
	.comm	REO_GETOBJ_PSTG,4,4
	.comm	REO_GETOBJ_POLESITE,4,4
	.comm	REO_GETOBJ_POLEOBJ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
