	.file	"extr_mimeole.c_test_mhtml_protocol.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"CoGetClassObject failed: %08x\n"
	.align 8
.LC1:
	.string	"IInternetProtocolInfo supported\n"
	.align 8
.LC2:
	.string	"Could not get IClassFactory iface: %08x\n"
	.align 8
.LC3:
	.string	"CreateInstance returned: %08x\n"
	.align 8
.LC4:
	.string	"Could not get IInternetProtocol iface: %08x\n"
	.text
	.p2align 4
	.type	test_mhtml_protocol, @function
test_mhtml_protocol:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	rcx, IID_IUnknown[rip]
	xor	edx, edx
	lea	rdi, CLSID_IMimeHtmlProtocol[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 48
	.cfi_def_cfa_offset 80
	mov	esi, DWORD PTR CLSCTX_INPROC_SERVER[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	lea	r13, 24[rsp]
	lea	rax, outer_vtbl[rip]
	mov	r8, r13
	mov	QWORD PTR 8[rsp], rax
	lea	r12, 32[rsp]
	call	CoGetClassObject@PLT
	xor	edi, edi
	cmp	QWORD PTR S_OK[rip], rax
	lea	rsi, .LC0[rip]
	sete	dil
	mov	rdx, rax
	xor	eax, eax
	call	ok@PLT
	mov	rdi, QWORD PTR 24[rsp]
	mov	rdx, r12
	lea	rsi, IID_IInternetProtocolInfo[rip]
	call	IUnknown_QueryInterface@PLT
	xor	edi, edi
	cmp	QWORD PTR E_NOINTERFACE[rip], rax
	lea	rsi, .LC1[rip]
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	rdi, QWORD PTR 24[rsp]
	lea	rdx, 16[rsp]
	lea	rsi, IID_IClassFactory[rip]
	call	IUnknown_QueryInterface@PLT
	xor	edi, edi
	cmp	QWORD PTR S_OK[rip], rax
	lea	rsi, .LC2[rip]
	sete	dil
	mov	rdx, rax
	xor	eax, eax
	call	ok@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	IUnknown_Release@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	rcx, r13
	lea	rsi, 8[rsp]
	lea	rdx, IID_IUnknown[rip]
	call	IClassFactory_CreateInstance@PLT
	xor	edi, edi
	cmp	QWORD PTR S_OK[rip], rax
	lea	rsi, .LC3[rip]
	sete	dil
	mov	rdx, rax
	xor	eax, eax
	call	ok@PLT
	mov	rdi, QWORD PTR 24[rsp]
	mov	rdx, r12
	lea	rsi, IID_IInternetProtocol[rip]
	call	IUnknown_QueryInterface@PLT
	xor	edi, edi
	cmp	QWORD PTR S_OK[rip], rax
	lea	rsi, .LC4[rip]
	sete	dil
	mov	rdx, rax
	xor	eax, eax
	call	ok@PLT
	mov	rdi, QWORD PTR 32[rsp]
	call	IUnknown_Release@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	IUnknown_Release@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	rcx, r12
	lea	rdx, IID_IInternetProtocol[rip]
	mov	esi, 3735928559
	call	IClassFactory_CreateInstance@PLT
	xor	edi, edi
	cmp	QWORD PTR CLASS_E_NOAGGREGATION[rip], rax
	lea	rsi, .LC3[rip]
	sete	dil
	mov	rdx, rax
	xor	eax, eax
	call	ok@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	IClassFactory_Release@PLT
	mov	eax, DWORD PTR broken_mhtml_resolver[rip]
	test	eax, eax
	je	.L8
.L2:
	xor	ebx, ebx
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edi, ebx
	add	rdi, QWORD PTR binding_tests[rip]
	add	ebx, 1
	call	test_mhtml_protocol_binding@PLT
.L3:
	mov	rdi, QWORD PTR binding_tests[rip]
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	ja	.L4
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	xor	eax, eax
	call	test_mhtml_protocol_info@PLT
	jmp	.L2
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_mhtml_protocol, .-test_mhtml_protocol
	.comm	outer_vtbl,4,4
	.comm	broken_mhtml_resolver,4,4
	.comm	binding_tests,8,8
	.comm	S_OK,8,8
	.comm	IID_IUnknown,4,4
	.comm	IID_IInternetProtocolInfo,4,4
	.comm	IID_IInternetProtocol,4,4
	.comm	IID_IClassFactory,4,4
	.comm	E_NOINTERFACE,8,8
	.comm	CLSID_IMimeHtmlProtocol,4,4
	.comm	CLSCTX_INPROC_SERVER,4,4
	.comm	CLASS_E_NOAGGREGATION,8,8
	.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_mimeole.c_test_mhtml_protocol.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"CoGetClassObject failed: %08x\012\000"
	.align	2
.LC1:
	.ascii	"IInternetProtocolInfo supported\012\000"
	.align	2
.LC2:
	.ascii	"Could not get IClassFactory iface: %08x\012\000"
	.align	2
.LC3:
	.ascii	"CreateInstance returned: %08x\012\000"
	.align	2
.LC4:
	.ascii	"Could not get IInternetProtocol iface: %08x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_mhtml_protocol, %function
test_mhtml_protocol:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L10
	sub	sp, sp, #36
	ldr	ip, .L10+4
	ldr	lr, .L10+8
	add	r5, sp, #20
	ldr	r1, [r3]
	mov	r2, #0
	ldr	r3, .L10+12
	str	r5, [sp]
	ldr	r0, .L10+16
	ldr	lr, [lr]
	str	lr, [sp, #28]
	mov	lr,#0
	str	ip, [sp, #12]
	bl	CoGetClassObject
	mov	r2, r0
	ldr	r4, .L10+20
	ldr	r1, .L10+24
	ldr	r0, [r4]
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	add	r2, sp, #24
	ldr	r1, .L10+28
	ldr	r0, [sp, #20]
	bl	IUnknown_QueryInterface
	ldr	r3, .L10+32
	ldr	r1, .L10+36
	ldr	r3, [r3]
	sub	r0, r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r1, .L10+40
	add	r2, sp, #16
	ldr	r0, [sp, #20]
	bl	IUnknown_QueryInterface
	mov	r2, r0
	ldr	r0, [r4]
	ldr	r1, .L10+44
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r0, [sp, #20]
	bl	IUnknown_Release
	mov	r3, r5
	ldr	r2, .L10+12
	add	r1, sp, #12
	ldr	r0, [sp, #16]
	bl	IClassFactory_CreateInstance
	mov	r2, r0
	ldr	r0, [r4]
	ldr	r1, .L10+48
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r1, .L10+52
	add	r2, sp, #24
	ldr	r0, [sp, #20]
	bl	IUnknown_QueryInterface
	mov	r2, r0
	ldr	r0, [r4]
	ldr	r1, .L10+56
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r0, [sp, #24]
	bl	IUnknown_Release
	ldr	r0, [sp, #20]
	bl	IUnknown_Release
	ldr	r2, .L10+52
	ldr	r1, .L10+60
	add	r3, sp, #24
	ldr	r0, [sp, #16]
	bl	IClassFactory_CreateInstance
	mov	r2, r0
	ldr	r3, .L10+64
	ldr	r1, .L10+48
	ldr	r0, [r3]
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r0, [sp, #16]
	bl	IClassFactory_Release
	ldr	r3, .L10+68
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L8
.L2:
	mov	r4, #0
	ldr	r5, .L10+72
	b	.L3
.L4:
	ldr	r0, [r5]
	add	r0, r4, r0
	bl	test_mhtml_protocol_binding
	add	r4, r4, #1
.L3:
	ldr	r0, [r5]
	bl	ARRAY_SIZE
	cmp	r0, r4
	bhi	.L4
	ldr	r3, .L10+8
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, pc}
.L8:
	bl	test_mhtml_protocol_info
	b	.L2
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	CLSCTX_INPROC_SERVER
	.word	outer_vtbl
	.word	.LC5
	.word	IID_IUnknown
	.word	CLSID_IMimeHtmlProtocol
	.word	S_OK
	.word	.LC0
	.word	IID_IInternetProtocolInfo
	.word	E_NOINTERFACE
	.word	.LC1
	.word	IID_IClassFactory
	.word	.LC2
	.word	.LC3
	.word	IID_IInternetProtocol
	.word	.LC4
	.word	-559038737
	.word	CLASS_E_NOAGGREGATION
	.word	broken_mhtml_resolver
	.word	binding_tests
	.size	test_mhtml_protocol, .-test_mhtml_protocol
	.comm	outer_vtbl,4,4
	.comm	broken_mhtml_resolver,4,4
	.comm	binding_tests,4,4
	.comm	S_OK,4,4
	.comm	IID_IUnknown,4,4
	.comm	IID_IInternetProtocolInfo,4,4
	.comm	IID_IInternetProtocol,4,4
	.comm	IID_IClassFactory,4,4
	.comm	E_NOINTERFACE,4,4
	.comm	CLSID_IMimeHtmlProtocol,4,4
	.comm	CLSCTX_INPROC_SERVER,4,4
	.comm	CLASS_E_NOAGGREGATION,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
