	.file	"extr_dsound.c_test_notify.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"IDirectSoundBuffer_SetCurrentPosition failed %08x\n"
	.align 8
.LC1:
	.string	"IDirectSoundBuffer_Play failed %08x\n"
	.align 8
.LC2:
	.string	"IDirectSoundBuffer_Stop failed %08x\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC3:
	.string	"expected %d. got %d\n"
	.text
	.p2align 4
	.type	test_notify, @function
test_notify:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, edi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	xor	esi, esi
	call	IDirectSoundBuffer_SetCurrentPosition@PLT
	xor	edi, edi
	cmp	QWORD PTR DS_OK[rip], rax
	lea	rsi, .LC0[rip]
	sete	dil
	mov	r12, rax
	mov	rdx, rax
	xor	eax, eax
	call	ok@PLT
	cmp	QWORD PTR DS_OK[rip], r12
	je	.L5
.L1:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	xor	ecx, ecx
	xor	edx, edx
	xor	esi, esi
	mov	edi, r15d
	call	IDirectSoundBuffer_Play@PLT
	xor	edi, edi
	cmp	QWORD PTR DS_OK[rip], rax
	lea	rsi, .LC1[rip]
	sete	dil
	mov	r12, rax
	mov	rdx, rax
	xor	eax, eax
	call	ok@PLT
	cmp	QWORD PTR DS_OK[rip], r12
	jne	.L1
	mov	edi, r15d
	call	IDirectSoundBuffer_Stop@PLT
	xor	edi, edi
	cmp	QWORD PTR DS_OK[rip], rax
	lea	rsi, .LC2[rip]
	sete	dil
	mov	r12, rax
	mov	rdx, rax
	xor	eax, eax
	call	ok@PLT
	cmp	QWORD PTR DS_OK[rip], r12
	jne	.L1
	mov	edx, DWORD PTR FALSE[rip]
	xor	ecx, ecx
	mov	esi, r14d
	mov	rdi, rbp
	call	WaitForMultipleObjects@PLT
	xor	edi, edi
	mov	rdx, r13
	lea	rsi, .LC3[rip]
	cmp	rax, r13
	mov	rcx, rax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	test_notify, .-test_notify
	.comm	FALSE,4,4
	.comm	DS_OK,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_dsound.c_test_notify.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"IDirectSoundBuffer_SetCurrentPosition failed %08x\012"
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"IDirectSoundBuffer_Play failed %08x\012\000"
	.align	2
.LC2:
	.ascii	"IDirectSoundBuffer_Stop failed %08x\012\000"
	.align	2
.LC3:
	.ascii	"expected %d. got %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_notify, %function
test_notify:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r7, r1
	mov	r1, #0
	mov	r8, r2
	mov	r6, r3
	mov	r5, r0
	bl	IDirectSoundBuffer_SetCurrentPosition
	mov	r4, r0
	ldr	r9, .L6
	mov	r2, r0
	ldr	r0, [r9]
	ldr	r1, .L6+4
	sub	r0, r0, r4
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	ip, [r9]
	cmp	ip, r4
	beq	.L5
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	mov	r3, #0
	mov	r0, r5
	mov	r2, r3
	mov	r1, r3
	bl	IDirectSoundBuffer_Play
	mov	r4, r0
	ldr	r0, [r9]
	mov	r2, r4
	sub	r0, r0, r4
	clz	r0, r0
	ldr	r1, .L6+8
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, [r9]
	cmp	r3, r4
	bne	.L1
	mov	r0, r5
	bl	IDirectSoundBuffer_Stop
	mov	r4, r0
	ldr	r0, [r9]
	mov	r2, r4
	sub	r0, r0, r4
	clz	r0, r0
	ldr	r1, .L6+12
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, [r9]
	cmp	r3, r4
	bne	.L1
	ldr	r3, .L6+16
	mov	r1, r8
	ldr	r2, [r3]
	mov	r0, r7
	mov	r3, #0
	bl	WaitForMultipleObjects
	mov	r3, r0
	sub	r0, r0, r6
	clz	r0, r0
	mov	r2, r6
	ldr	r1, .L6+20
	lsr	r0, r0, #5
	bl	ok
	b	.L1
.L7:
	.align	2
.L6:
	.word	DS_OK
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	FALSE
	.word	.LC3
	.size	test_notify, .-test_notify
	.comm	FALSE,4,4
	.comm	DS_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
