	.file	"extr_persist.c_set_downloading_proc.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"(%p)\n"
.LC1:
	.string	"Use IDropTarget\n"
	.text
	.p2align 4
	.type	set_downloading_proc, @function
set_downloading_proc:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rbp, QWORD PTR 16[rdi]
	lea	rdi, .LC0[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rsi, rbp
	call	TRACE@PLT
	mov	edx, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR IDS_STATUS_DOWNLOADINGFROM[rip]
	mov	rdi, rbp
	call	set_statustext@PLT
	cmp	QWORD PTR [rbx], 0
	jne	.L20
.L2:
	mov	eax, DWORD PTR 16[rbp]
	test	eax, eax
	je	.L1
	mov	rdi, QWORD PTR 8[rbp]
	test	rdi, rdi
	jne	.L21
	mov	rdi, QWORD PTR 0[rbp]
	test	rdi, rdi
	jne	.L22
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L23
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	xor	esi, esi
	mov	rdx, rsp
	mov	QWORD PTR [rsp], 0
	call	IDocHostUIHandler_GetDropTarget@PLT
	mov	edi, eax
	call	SUCCEEDED@PLT
	test	rax, rax
	je	.L1
	cmp	QWORD PTR [rsp], 0
	je	.L1
	lea	rdi, .LC1[rip]
	call	FIXME@PLT
	mov	rdi, QWORD PTR [rsp]
	call	IDropTarget_Release@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L21:
	mov	esi, DWORD PTR DVASPECT_CONTENT[rip]
	mov	edx, -1
	call	IAdviseSink_OnViewChange@PLT
	mov	rdi, QWORD PTR 0[rbp]
	test	rdi, rdi
	je	.L1
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L20:
	mov	esi, 1
	mov	rdi, rbp
	call	set_download_state@PLT
	jmp	.L2
.L23:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	set_downloading_proc, .-set_downloading_proc
	.comm	IDS_STATUS_DOWNLOADINGFROM,4,4
	.comm	DVASPECT_CONTENT,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_persist.c_set_downloading_proc.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"(%p)\012\000"
	.align	2
.LC1:
	.ascii	"Use IDropTarget\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_downloading_proc, %function
set_downloading_proc:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r0
	ldr	r5, [r0, #8]
	ldr	r3, .L30
	sub	sp, sp, #12
	mov	r1, r5
	ldr	r0, .L30+4
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	TRACE
	ldr	r3, .L30+8
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, [r4, #4]
	bl	set_statustext
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L26
.L2:
	ldr	r3, [r5, #8]
	cmp	r3, #0
	beq	.L1
	ldr	r0, [r5, #4]
	cmp	r0, #0
	bne	.L27
	ldr	r0, [r5]
	cmp	r0, #0
	bne	.L28
.L1:
	ldr	r3, .L30
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L29
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L28:
	mov	r1, #0
	mov	r2, sp
	str	r1, [sp]
	bl	IDocHostUIHandler_GetDropTarget
	bl	SUCCEEDED
	cmp	r0, #0
	beq	.L1
	ldr	r3, [sp]
	cmp	r3, #0
	beq	.L1
	ldr	r0, .L30+12
	bl	FIXME
	ldr	r0, [sp]
	bl	IDropTarget_Release
	b	.L1
.L27:
	ldr	r3, .L30+16
	mvn	r2, #0
	ldr	r1, [r3]
	bl	IAdviseSink_OnViewChange
	ldr	r0, [r5]
	cmp	r0, #0
	beq	.L1
	b	.L28
.L26:
	mov	r1, #1
	mov	r0, r5
	bl	set_download_state
	b	.L2
.L29:
	bl	__stack_chk_fail
.L31:
	.align	2
.L30:
	.word	.LC2
	.word	.LC0
	.word	IDS_STATUS_DOWNLOADINGFROM
	.word	.LC1
	.word	DVASPECT_CONTENT
	.size	set_downloading_proc, .-set_downloading_proc
	.comm	IDS_STATUS_DOWNLOADINGFROM,4,4
	.comm	DVASPECT_CONTENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
