	.file	"extr_referenceclock.c_test_IReferenceClock_SystemClock.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Unable to create reference clock from system clock %x\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"SystemClock"
	.text
	.p2align 4
	.type	test_IReferenceClock_SystemClock, @function
test_IReferenceClock_SystemClock:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	xor	esi, esi
	lea	rcx, IID_IReferenceClock[rip]
	lea	rdi, CLSID_SystemClock[rip]
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	edx, DWORD PTR CLSCTX_INPROC_SERVER[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	r8, rsp
	call	CoCreateInstance@PLT
	xor	edi, edi
	cmp	QWORD PTR S_OK[rip], rax
	lea	rsi, .LC0[rip]
	sete	dil
	mov	rdx, rax
	mov	rbx, rax
	call	ok@PLT
	cmp	QWORD PTR S_OK[rip], rbx
	je	.L6
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rsi, QWORD PTR [rsp]
	lea	rdi, .LC1[rip]
	call	test_IReferenceClock_query_interface@PLT
	mov	rsi, QWORD PTR [rsp]
	lea	rdi, .LC1[rip]
	call	test_IReferenceClock_methods@PLT
	mov	rdi, QWORD PTR [rsp]
	call	IReferenceClock_Release@PLT
	jmp	.L1
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_IReferenceClock_SystemClock, .-test_IReferenceClock_SystemClock
	.comm	S_OK,8,8
	.comm	IID_IReferenceClock,4,4
	.comm	CLSID_SystemClock,4,4
	.comm	CLSCTX_INPROC_SERVER,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_referenceclock.c_test_IReferenceClock_SystemClock.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unable to create reference clock from system clock "
	.ascii	"%x\012\000"
	.align	2
.LC1:
	.ascii	"SystemClock\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_IReferenceClock_SystemClock, %function
test_IReferenceClock_SystemClock:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r2, .L8
	sub	sp, sp, #20
	ldr	ip, .L8+4
	add	r3, sp, #8
	ldr	r2, [r2]
	mov	r1, #0
	str	r3, [sp]
	ldr	r0, .L8+8
	ldr	r3, .L8+12
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	bl	CoCreateInstance
	mov	r4, r0
	ldr	r5, .L8+16
	mov	r2, r0
	ldr	r0, [r5]
	ldr	r1, .L8+20
	sub	r0, r0, r4
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, [r5]
	cmp	r3, r4
	beq	.L6
.L1:
	ldr	r3, .L8+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L6:
	ldr	r1, [sp, #8]
	ldr	r0, .L8+24
	bl	test_IReferenceClock_query_interface
	ldr	r1, [sp, #8]
	ldr	r0, .L8+24
	bl	test_IReferenceClock_methods
	ldr	r0, [sp, #8]
	bl	IReferenceClock_Release
	b	.L1
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	CLSCTX_INPROC_SERVER
	.word	.LC2
	.word	CLSID_SystemClock
	.word	IID_IReferenceClock
	.word	S_OK
	.word	.LC0
	.word	.LC1
	.size	test_IReferenceClock_SystemClock, .-test_IReferenceClock_SystemClock
	.comm	S_OK,4,4
	.comm	IID_IReferenceClock,4,4
	.comm	CLSID_SystemClock,4,4
	.comm	CLSCTX_INPROC_SERVER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
