	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DoNotifyPositionEvents         ## -- Begin function DoNotifyPositionEvents
	.p2align	4, 0x90
_DoNotifyPositionEvents:                ## @DoNotifyPositionEvents
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	_CDirectSoundNotifyImpl@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_lpVtbl@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_CONTAINING_RECORD
	cltq
	movq	(%rax), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r12), %r12
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testq	%r12, %r12
	je	LBB0_12
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, (%r12)
	jle	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$8, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=2
	movl	(%rax,%rbx), %edi
	callq	_SetEvent
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=2
	incq	%r13
	addq	$16, %rbx
	cmpq	(%r12), %r13
	jge	LBB0_11
LBB0_4:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r12), %rax
	movq	-8(%rax,%rbx), %rcx
	cmpq	%r15, %r14
	jle	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	cmpq	%r15, %rcx
	jle	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	cmpq	%r14, %rcx
	jle	LBB0_9
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=2
	cmpq	%r15, %rcx
	jg	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=2
	cmpq	%r14, %rcx
	jge	LBB0_10
	jmp	LBB0_9
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CDirectSoundNotifyImpl,4,2     ## @CDirectSoundNotifyImpl
	.comm	_lpVtbl,4,2                     ## @lpVtbl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DoNotifyPositionEvents         ; -- Begin function DoNotifyPositionEvents
	.p2align	2
_DoNotifyPositionEvents:                ; @DoNotifyPositionEvents
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, _CDirectSoundNotifyImpl@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CDirectSoundNotifyImpl@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _lpVtbl@GOTPAGE
Lloh4:
	ldr	x8, [x8, _lpVtbl@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_CONTAINING_RECORD
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	ldr	x21, [x8]
	cbnz	x21, LBB0_3
LBB0_1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x21, [x21, #8]
	cbz	x21, LBB0_1
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x8, [x21]
	cmp	x8, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, #0
	mov	x23, #0
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x8, x8, x22
	ldr	w0, [x8, #8]
	bl	_SetEvent
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x23, x23, #1
	ldr	x8, [x21]
	add	x22, x22, #16
	cmp	x23, x8
	b.ge	LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x21, #16]
	ldr	x9, [x8, x22]
	cmp	x19, x20
	b.le	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	cmp	x9, x20
	ccmp	x9, x19, #0, gt
	b.le	LBB0_5
	b	LBB0_6
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=2
	cmp	x9, x20
	ccmp	x9, x19, #8, le
	b.lt	LBB0_5
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CDirectSoundNotifyImpl,4,2     ; @CDirectSoundNotifyImpl
	.comm	_lpVtbl,4,2                     ; @lpVtbl
.subsections_via_symbols
