	.file	"extr_url.c_test_StdURLMoniker.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Could not create IInternet instance: %08x\n"
	.align 8
.LC1:
	.string	"Could not get IAsyncMoniker iface: %08x\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"mon != async_mon\n"
	.section	.rodata.str1.8
	.align 8
.LC3:
	.string	"GetDisplayName failed: %08x, expected E_OUTOFMEMORY\n"
	.align 8
.LC4:
	.string	"Could not get IUriMoniker iface: %08x\n"
	.section	.rodata.str1.1
.LC5:
	.string	"GetIUri failed: %08x\n"
.LC6:
	.string	"uri = %p, expected NULL\n"
	.section	.rodata.str1.8
	.align 8
.LC7:
	.string	"CreateAsyncBindCtx failed: %08x\n\n"
	.align 8
.LC8:
	.string	"BindToStorage failed: %08x, expected MK_E_SYNTAX\n"
	.section	.rodata.str1.1
.LC9:
	.string	"unk = %p\n"
	.text
	.p2align 4
	.type	test_StdURLMoniker, @function
test_StdURLMoniker:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	esi, esi
	lea	rcx, IID_IMoniker[rip]
	lea	rdi, IID_IInternet[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 56
	.cfi_def_cfa_offset 80
	mov	edx, DWORD PTR CLSCTX_INPROC_SERVER[rip]
	or	edx, DWORD PTR CLSCTX_INPROC_HANDLER[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	lea	r8, 8[rsp]
	call	CoCreateInstance@PLT
	xor	edi, edi
	cmp	QWORD PTR S_OK[rip], rax
	lea	rsi, .LC0[rip]
	sete	dil
	mov	rbp, rax
	mov	rdx, rax
	xor	eax, eax
	call	ok@PLT
	mov	rdi, rbp
	call	FAILED@PLT
	test	rax, rax
	je	.L10
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rsp]
	lea	rdx, 16[rsp]
	lea	r12, 24[rsp]
	lea	rsi, IID_IAsyncMoniker[rip]
	call	IMoniker_QueryInterface@PLT
	xor	edi, edi
	cmp	QWORD PTR S_OK[rip], rax
	lea	rsi, .LC1[rip]
	mov	rdx, rax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	rax, QWORD PTR 16[rsp]
	xor	edi, edi
	cmp	QWORD PTR 8[rsp], rax
	sete	dil
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	ok@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	IMoniker_Release@PLT
	mov	rdi, QWORD PTR 8[rsp]
	xor	edx, edx
	xor	esi, esi
	lea	rcx, 4[rsp]
	call	IMoniker_GetDisplayName@PLT
	xor	edi, edi
	cmp	QWORD PTR E_OUTOFMEMORY[rip], rax
	lea	rsi, .LC3[rip]
	sete	dil
	mov	rdx, rax
	xor	eax, eax
	call	ok@PLT
	cmp	QWORD PTR pCreateUri[rip], 0
	jne	.L12
.L4:
	mov	edi, DWORD PTR QueryInterface_IServiceProvider[rip]
	call	SET_EXPECT@PLT
	mov	rcx, r12
	xor	edx, edx
	xor	edi, edi
	lea	rsi, bsc[rip]
	call	CreateAsyncBindCtx@PLT
	xor	edi, edi
	cmp	QWORD PTR S_OK[rip], rax
	lea	rsi, .LC7[rip]
	sete	dil
	mov	rdx, rax
	xor	eax, eax
	call	ok@PLT
	mov	edi, DWORD PTR QueryInterface_IServiceProvider[rip]
	call	CHECK_CALLED@PLT
	cmp	QWORD PTR pCreateUri[rip], 0
	jne	.L13
.L5:
	mov	rdi, QWORD PTR 8[rsp]
	call	IMoniker_Release@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, QWORD PTR 8[rsp]
	mov	rdx, r12
	lea	rsi, IID_IUriContainer[rip]
	call	IMoniker_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 24[rsp]
	lea	rsi, 32[rsp]
	mov	eax, 3735928559
	mov	QWORD PTR 32[rsp], rax
	call	IUriContainer_GetIUri@PLT
	xor	edi, edi
	cmp	QWORD PTR S_FALSE[rip], rax
	lea	rsi, .LC5[rip]
	sete	dil
	mov	rdx, rax
	xor	eax, eax
	call	ok@PLT
	mov	rdx, QWORD PTR 32[rsp]
	xor	edi, edi
	lea	rsi, .LC6[rip]
	test	rdx, rdx
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	IUriContainer_Release@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rsi, QWORD PTR 24[rsp]
	mov	rdi, QWORD PTR 8[rsp]
	xor	edx, edx
	lea	rbp, 32[rsp]
	mov	r8, rbp
	lea	rcx, IID_IStream[rip]
	mov	r12d, 3735928559
	mov	QWORD PTR 32[rsp], r12
	call	IMoniker_BindToStorage@PLT
	xor	edi, edi
	cmp	QWORD PTR MK_E_SYNTAX[rip], rax
	lea	rsi, .LC8[rip]
	sete	dil
	mov	rdx, rax
	xor	eax, eax
	call	ok@PLT
	mov	rdx, QWORD PTR 32[rsp]
	xor	edi, edi
	lea	rsi, .LC9[rip]
	test	rdx, rdx
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	rsi, QWORD PTR 24[rsp]
	mov	r8, rbp
	xor	edx, edx
	mov	rdi, QWORD PTR 8[rsp]
	lea	rcx, IID_IUnknown[rip]
	mov	QWORD PTR 32[rsp], r12
	call	IMoniker_BindToObject@PLT
	xor	edi, edi
	cmp	QWORD PTR MK_E_SYNTAX[rip], rax
	lea	rsi, .LC8[rip]
	sete	dil
	mov	rdx, rax
	xor	eax, eax
	call	ok@PLT
	mov	rdx, QWORD PTR 32[rsp]
	xor	edi, edi
	lea	rsi, .LC9[rip]
	test	rdx, rdx
	sete	dil
	xor	eax, eax
	call	ok@PLT
	jmp	.L5
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_StdURLMoniker, .-test_StdURLMoniker
	.comm	pCreateUri,8,8
	.comm	bsc,4,4
	.comm	S_OK,8,8
	.comm	S_FALSE,8,8
	.comm	QueryInterface_IServiceProvider,4,4
	.comm	MK_E_SYNTAX,8,8
	.comm	IID_IUriContainer,4,4
	.comm	IID_IUnknown,4,4
	.comm	IID_IStream,4,4
	.comm	IID_IMoniker,4,4
	.comm	IID_IInternet,4,4
	.comm	IID_IAsyncMoniker,4,4
	.comm	E_OUTOFMEMORY,8,8
	.comm	CLSCTX_INPROC_SERVER,4,4
	.comm	CLSCTX_INPROC_HANDLER,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_url.c_test_StdURLMoniker.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Could not create IInternet instance: %08x\012\000"
	.align	2
.LC1:
	.ascii	"Could not get IAsyncMoniker iface: %08x\012\000"
	.align	2
.LC2:
	.ascii	"mon != async_mon\012\000"
	.align	2
.LC3:
	.ascii	"GetDisplayName failed: %08x, expected E_OUTOFMEMORY"
	.ascii	"\012\000"
	.align	2
.LC4:
	.ascii	"Could not get IUriMoniker iface: %08x\012\000"
	.align	2
.LC5:
	.ascii	"GetIUri failed: %08x\012\000"
	.align	2
.LC6:
	.ascii	"uri = %p, expected NULL\012\000"
	.align	2
.LC7:
	.ascii	"CreateAsyncBindCtx failed: %08x\012\012\000"
	.align	2
.LC8:
	.ascii	"BindToStorage failed: %08x, expected MK_E_SYNTAX\012"
	.ascii	"\000"
	.align	2
.LC9:
	.ascii	"unk = %p\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_StdURLMoniker, %function
test_StdURLMoniker:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r2, .L18
	ldr	r3, .L18+4
	sub	sp, sp, #36
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	ip, .L18+8
	add	r3, sp, #8
	orr	r2, r1, r2
	str	r3, [sp]
	mov	r1, #0
	ldr	r3, .L18+12
	ldr	r0, .L18+16
	ldr	ip, [ip]
	str	ip, [sp, #28]
	mov	ip,#0
	bl	CoCreateInstance
	mov	r4, r0
	ldr	r5, .L18+20
	mov	r2, r0
	ldr	r0, [r5]
	ldr	r1, .L18+24
	sub	r0, r0, r4
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	mov	r0, r4
	bl	FAILED
	subs	r4, r0, #0
	beq	.L15
.L1:
	ldr	r3, .L18+8
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L15:
	ldr	r1, .L18+28
	add	r2, sp, #12
	ldr	r0, [sp, #8]
	bl	IMoniker_QueryInterface
	mov	r2, r0
	ldr	r0, [r5]
	ldr	r1, .L18+32
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, [sp, #12]
	ldr	r0, [sp, #8]
	ldr	r1, .L18+36
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r0, [sp, #12]
	bl	IMoniker_Release
	mov	r2, r4
	mov	r1, r4
	add	r3, sp, #16
	ldr	r0, [sp, #8]
	bl	IMoniker_GetDisplayName
	mov	r2, r0
	ldr	r3, .L18+40
	ldr	r4, .L18+44
	ldr	r0, [r3]
	ldr	r1, .L18+48
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, [r4]
	add	r7, sp, #20
	cmp	r3, #0
	bne	.L12
.L4:
	ldr	r6, .L18+52
	ldr	r0, [r6]
	bl	SET_EXPECT
	mov	r2, #0
	mov	r3, r7
	mov	r0, r2
	ldr	r1, .L18+56
	bl	CreateAsyncBindCtx
	mov	r2, r0
	ldr	r0, [r5]
	ldr	r1, .L18+60
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r0, [r6]
	bl	CHECK_CALLED
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L17
.L5:
	ldr	r0, [sp, #8]
	bl	IMoniker_Release
	b	.L1
.L12:
	mov	r2, r7
	ldr	r1, .L18+64
	ldr	r0, [sp, #8]
	bl	IMoniker_QueryInterface
	mov	r2, r0
	ldr	r0, [r5]
	ldr	r1, .L18+68
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, .L18+72
	add	r1, sp, #24
	ldr	r0, [sp, #20]
	str	r3, [sp, #24]
	bl	IUriContainer_GetIUri
	mov	r2, r0
	ldr	r3, .L18+76
	ldr	r1, .L18+80
	ldr	r0, [r3]
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r2, [sp, #24]
	ldr	r1, .L18+84
	clz	r0, r2
	lsr	r0, r0, #5
	bl	ok
	ldr	r0, [sp, #20]
	bl	IUriContainer_Release
	b	.L4
.L17:
	ldr	r5, .L18+72
	add	r6, sp, #24
	ldr	r3, .L18+88
	ldr	r1, [sp, #20]
	mov	r2, #0
	ldr	r0, [sp, #8]
	str	r6, [sp]
	str	r5, [sp, #24]
	bl	IMoniker_BindToStorage
	mov	r2, r0
	ldr	r4, .L18+92
	ldr	r1, .L18+96
	ldr	r0, [r4]
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r2, [sp, #24]
	ldr	r1, .L18+100
	clz	r0, r2
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, .L18+104
	ldr	r1, [sp, #20]
	mov	r2, #0
	ldr	r0, [sp, #8]
	str	r6, [sp]
	str	r5, [sp, #24]
	bl	IMoniker_BindToObject
	mov	r2, r0
	ldr	r0, [r4]
	ldr	r1, .L18+96
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r2, [sp, #24]
	ldr	r1, .L18+100
	clz	r0, r2
	lsr	r0, r0, #5
	bl	ok
	b	.L5
.L16:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	CLSCTX_INPROC_SERVER
	.word	CLSCTX_INPROC_HANDLER
	.word	.LC10
	.word	IID_IMoniker
	.word	IID_IInternet
	.word	S_OK
	.word	.LC0
	.word	IID_IAsyncMoniker
	.word	.LC1
	.word	.LC2
	.word	E_OUTOFMEMORY
	.word	pCreateUri
	.word	.LC3
	.word	QueryInterface_IServiceProvider
	.word	bsc
	.word	.LC7
	.word	IID_IUriContainer
	.word	.LC4
	.word	-559038737
	.word	S_FALSE
	.word	.LC5
	.word	.LC6
	.word	IID_IStream
	.word	MK_E_SYNTAX
	.word	.LC8
	.word	.LC9
	.word	IID_IUnknown
	.size	test_StdURLMoniker, .-test_StdURLMoniker
	.comm	pCreateUri,4,4
	.comm	bsc,4,4
	.comm	S_OK,4,4
	.comm	S_FALSE,4,4
	.comm	QueryInterface_IServiceProvider,4,4
	.comm	MK_E_SYNTAX,4,4
	.comm	IID_IUriContainer,4,4
	.comm	IID_IUnknown,4,4
	.comm	IID_IStream,4,4
	.comm	IID_IMoniker,4,4
	.comm	IID_IInternet,4,4
	.comm	IID_IAsyncMoniker,4,4
	.comm	E_OUTOFMEMORY,4,4
	.comm	CLSCTX_INPROC_SERVER,4,4
	.comm	CLSCTX_INPROC_HANDLER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
