	.file	"extr_activex.c_cs_qi.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cs_qi, @function
cs_qi:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	QWORD PTR [rsi], 0
	mov	rsi, rdi
	lea	rdi, IID_IUnknown[rip]
	call	IsEqualGUID@PLT
	test	rax, rax
	je	.L2
.L4:
	lea	rax, ClientSite[rip]
	mov	QWORD PTR [rbx], rax
.L3:
	mov	eax, DWORD PTR S_OK[rip]
	add	rsp, 8
	.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
.L2:
	.cfi_restore_state
	mov	rsi, rbp
	lea	rdi, IID_IOleClientSite[rip]
	call	IsEqualGUID@PLT
	test	rax, rax
	jne	.L4
	mov	rsi, rbp
	lea	rdi, IID_IOleDocumentSite[rip]
	call	IsEqualGUID@PLT
	test	rax, rax
	je	.L5
	lea	rax, DocumentSite[rip]
	mov	QWORD PTR [rbx], rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rsi, rbp
	lea	rdi, IID_IOleWindow[rip]
	call	IsEqualGUID@PLT
	test	rax, rax
	je	.L6
.L7:
	lea	rax, InPlaceSite[rip]
	mov	QWORD PTR [rbx], rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rsi, rbp
	lea	rdi, IID_IOleInPlaceSite[rip]
	call	IsEqualGUID@PLT
	test	rax, rax
	jne	.L7
	lea	rsi, IID_IServiceProvider[rip]
	mov	rdi, rbp
	call	IsEqualGUID@PLT
	test	rax, rax
	je	.L8
	lea	rax, ServiceProvider[rip]
	mov	QWORD PTR [rbx], rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L8:
	cmp	QWORD PTR [rbx], 0
	jne	.L3
	mov	eax, DWORD PTR E_NOINTERFACE[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	cs_qi, .-cs_qi
	.comm	ServiceProvider,4,4
	.comm	S_OK,4,4
	.comm	InPlaceSite,4,4
	.comm	IID_IUnknown,4,4
	.comm	IID_IServiceProvider,4,4
	.comm	IID_IOleWindow,4,4
	.comm	IID_IOleInPlaceSite,4,4
	.comm	IID_IOleDocumentSite,4,4
	.comm	IID_IOleClientSite,4,4
	.comm	E_NOINTERFACE,4,4
	.comm	DocumentSite,4,4
	.comm	ClientSite,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_activex.c_cs_qi.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cs_qi, %function
cs_qi:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r3, #0
	mov	r4, r1
	mov	r5, r0
	mov	r1, r0
	str	r3, [r4]
	ldr	r0, .L12
	bl	IsEqualGUID
	cmp	r0, #0
	beq	.L2
.L4:
	ldr	r3, .L12+4
	str	r3, [r4]
.L3:
	ldr	r3, .L12+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L2:
	mov	r1, r5
	ldr	r0, .L12+12
	bl	IsEqualGUID
	cmp	r0, #0
	bne	.L4
	mov	r1, r5
	ldr	r0, .L12+16
	bl	IsEqualGUID
	cmp	r0, #0
	ldrne	r3, .L12+20
	strne	r3, [r4]
	bne	.L3
.L5:
	mov	r1, r5
	ldr	r0, .L12+24
	bl	IsEqualGUID
	cmp	r0, #0
	beq	.L6
.L7:
	ldr	r3, .L12+28
	str	r3, [r4]
	b	.L3
.L6:
	mov	r1, r5
	ldr	r0, .L12+32
	bl	IsEqualGUID
	cmp	r0, #0
	bne	.L7
	mov	r0, r5
	ldr	r1, .L12+36
	bl	IsEqualGUID
	cmp	r0, #0
	ldrne	r3, .L12+40
	strne	r3, [r4]
	bne	.L3
.L8:
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L12+44
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L13:
	.align	2
.L12:
	.word	IID_IUnknown
	.word	ClientSite
	.word	S_OK
	.word	IID_IOleClientSite
	.word	IID_IOleDocumentSite
	.word	DocumentSite
	.word	IID_IOleWindow
	.word	InPlaceSite
	.word	IID_IOleInPlaceSite
	.word	IID_IServiceProvider
	.word	ServiceProvider
	.word	E_NOINTERFACE
	.size	cs_qi, .-cs_qi
	.comm	ServiceProvider,4,4
	.comm	S_OK,4,4
	.comm	InPlaceSite,4,4
	.comm	IID_IUnknown,4,4
	.comm	IID_IServiceProvider,4,4
	.comm	IID_IOleWindow,4,4
	.comm	IID_IOleInPlaceSite,4,4
	.comm	IID_IOleDocumentSite,4,4
	.comm	IID_IOleClientSite,4,4
	.comm	E_NOINTERFACE,4,4
	.comm	DocumentSite,4,4
	.comm	ClientSite,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
