	.file	"extr_htmldoc.c_test_InPlaceDeactivate.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"QueryInterface(IID_IOleInPlaceObjectWindowless) failed: %08x\n"
	.align 8
.LC1:
	.string	"InPlaceDeactivate failed: %08x\n"
	.text
	.p2align 4
	.type	test_InPlaceDeactivate, @function
test_InPlaceDeactivate:
.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, rsi
	lea	rsi, IID_IOleInPlaceObjectWindowless[rip]
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rdx, rsp
	mov	QWORD PTR [rsp], 0
	call	IHTMLDocument2_QueryInterface@PLT
	xor	edi, edi
	cmp	QWORD PTR S_OK[rip], rax
	lea	rsi, .LC0[rip]
	sete	dil
	mov	rbp, rax
	mov	rdx, rax
	call	ok@PLT
	mov	rdi, rbp
	call	FAILED@PLT
	test	rax, rax
	jne	.L1
	test	rbx, rbx
	jne	.L14
	mov	rdi, QWORD PTR [rsp]
	call	IOleInPlaceObjectWindowless_InPlaceDeactivate@PLT
	xor	edi, edi
	cmp	QWORD PTR S_OK[rip], rax
	lea	rsi, .LC1[rip]
	mov	rdx, rax
	sete	dil
	call	ok@PLT
.L7:
	mov	rdi, QWORD PTR [rsp]
	call	IOleInPlaceObjectWindowless_Release@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	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
.L14:
	.cfi_restore_state
	mov	edi, DWORD PTR SetStatusText[rip]
	call	SET_EXPECT@PLT
	mov	edi, DWORD PTR OnFocus_FALSE[rip]
	call	SET_EXPECT@PLT
	cmp	QWORD PTR ipsex[rip], 0
	jne	.L16
	mov	edi, DWORD PTR OnInPlaceDeactivate[rip]
	call	SET_EXPECT@PLT
.L6:
	mov	rdi, QWORD PTR [rsp]
	call	IOleInPlaceObjectWindowless_InPlaceDeactivate@PLT
	xor	edi, edi
	cmp	QWORD PTR S_OK[rip], rax
	lea	rsi, .LC1[rip]
	sete	dil
	mov	rdx, rax
	call	ok@PLT
	mov	edi, DWORD PTR SetStatusText[rip]
	call	CLEAR_CALLED@PLT
	mov	edi, DWORD PTR OnFocus_FALSE[rip]
	call	CHECK_CALLED@PLT
	cmp	QWORD PTR ipsex[rip], 0
	je	.L17
	mov	edi, DWORD PTR OnInPlaceDeactivateEx[rip]
	call	CHECK_CALLED@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edi, DWORD PTR OnInPlaceDeactivateEx[rip]
	call	SET_EXPECT@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L17:
	mov	edi, DWORD PTR OnInPlaceDeactivate[rip]
	call	CHECK_CALLED@PLT
	jmp	.L7
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_InPlaceDeactivate, .-test_InPlaceDeactivate
	.comm	ipsex,8,8
	.comm	SetStatusText,4,4
	.comm	S_OK,8,8
	.comm	OnInPlaceDeactivateEx,4,4
	.comm	OnInPlaceDeactivate,4,4
	.comm	OnFocus_FALSE,4,4
	.comm	IID_IOleInPlaceObjectWindowless,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_htmldoc.c_test_InPlaceDeactivate.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"QueryInterface(IID_IOleInPlaceObjectWindowless) fai"
	.ascii	"led: %08x\012\000"
	.align	2
.LC1:
	.ascii	"InPlaceDeactivate failed: %08x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_InPlaceDeactivate, %function
test_InPlaceDeactivate:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L17
	sub	sp, sp, #12
	mov	r2, sp
	mov	r5, r1
	ldr	r1, .L17+4
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	str	ip, [sp]
	bl	IHTMLDocument2_QueryInterface
	mov	r4, r0
	ldr	r6, .L17+8
	mov	r2, r0
	ldr	r0, [r6]
	ldr	r1, .L17+12
	sub	r0, r0, r4
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	mov	r0, r4
	bl	FAILED
	cmp	r0, #0
	bne	.L1
	cmp	r5, #0
	bne	.L14
	ldr	r0, [sp]
	bl	IOleInPlaceObjectWindowless_InPlaceDeactivate
	mov	r2, r0
	ldr	r0, [r6]
	ldr	r1, .L17+16
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
.L7:
	ldr	r0, [sp]
	bl	IOleInPlaceObjectWindowless_Release
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L14:
	ldr	r7, .L17+20
	ldr	r5, .L17+24
	ldr	r4, .L17+28
	ldr	r0, [r7]
	bl	SET_EXPECT
	ldr	r0, [r5]
	bl	SET_EXPECT
	ldr	r3, [r4]
	cmp	r3, #0
	ldrne	r3, .L17+32
	ldreq	r3, .L17+36
	ldr	r0, [r3]
	bl	SET_EXPECT
	ldr	r0, [sp]
	bl	IOleInPlaceObjectWindowless_InPlaceDeactivate
	mov	r2, r0
	ldr	r0, [r6]
	ldr	r1, .L17+16
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r0, [r7]
	bl	CLEAR_CALLED
	ldr	r0, [r5]
	bl	CHECK_CALLED
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L16
	ldr	r3, .L17+32
	ldr	r0, [r3]
	bl	CHECK_CALLED
	b	.L7
.L16:
	ldr	r3, .L17+36
	ldr	r0, [r3]
	bl	CHECK_CALLED
	b	.L7
.L15:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC2
	.word	IID_IOleInPlaceObjectWindowless
	.word	S_OK
	.word	.LC0
	.word	.LC1
	.word	SetStatusText
	.word	OnFocus_FALSE
	.word	ipsex
	.word	OnInPlaceDeactivateEx
	.word	OnInPlaceDeactivate
	.size	test_InPlaceDeactivate, .-test_InPlaceDeactivate
	.comm	ipsex,4,4
	.comm	SetStatusText,4,4
	.comm	S_OK,4,4
	.comm	OnInPlaceDeactivateEx,4,4
	.comm	OnInPlaceDeactivate,4,4
	.comm	OnFocus_FALSE,4,4
	.comm	IID_IOleInPlaceObjectWindowless,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
