	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NewDirectSoundCaptureBuffer    ## -- Begin function NewDirectSoundCaptureBuffer
	.p2align	4, 0x90
_NewDirectSoundCaptureBuffer:           ## @NewDirectSoundCaptureBuffer
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	_HEAP_ZERO_MEMORY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	$4, %edx
	movl	%eax, %edi
	callq	_HeapAlloc
	movq	_DSERR_OUTOFMEMORY@GOTPCREL(%rip), %r13
	testq	%rax, %rax
	je	LBB0_30
## %bb.1:
	movq	%rax, %rbx
	movq	8(%r12), %rax
	movq	(%rax), %r13
	addq	$4, %r13
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdx
	callq	_HeapAlloc
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movl	(%r12), %edi
	callq	_ASSERT
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movslq	(%r12), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	movq	%rax, 64(%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movslq	(%r12), %rax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, (%rbx)
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	8(%r12), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	sete	%dil
	callq	_ASSERT
	movq	_TRUE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_GetPinIdFromFilter
	movq	%rbx, %rsi
	movq	_ULONG_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.6:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	72(%rcx), %r13
	movl	$1, %r12d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rdx
	movq	(%rsi), %r8
	movq	%rsi, %rbx
	movq	%rax, %rsi
	movq	%r13, %rcx
	callq	_OpenPin
	movq	%rax, %r14
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_GetPinIdFromFilter
	incq	%r12
	movq	_ULONG_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	_TRUE@GOTPCREL(%rip), %rsi
	jne	LBB0_8
	jmp	LBB0_12
LBB0_4:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	24(%rbx), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapFree
LBB0_2:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_HeapFree
	movq	_DSERR_OUTOFMEMORY@GOTPCREL(%rip), %r13
	jmp	LBB0_30
LBB0_9:
	movq	%rbx, %rsi
	jmp	LBB0_12
LBB0_11:
	movq	_TRUE@GOTPCREL(%rip), %rsi
LBB0_12:
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_29
## %bb.13:
	addq	$72, %r14
	movq	(%rsi), %rsi
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r13, %rdx
	callq	_GetPinIdFromFilter
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_DPRINT
	movq	_ULONG_MAX@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	(%r15), %edi
	movq	_TRUE@GOTPCREL(%rip), %r12
	movq	(%r12), %rdx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rcx
	movq	%rbx, %rsi
	leaq	-60(%rbp), %r8
	movq	%r14, %r9
	callq	_CreateCompatiblePin
	testq	%rax, %rax
	jne	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	incq	%r13
	movq	(%r12), %rsi
	testq	%rsi, %rsi
	jne	LBB0_14
	jmp	LBB0_18
LBB0_16:
	movq	(%r12), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 104(%rcx)
	leaq	88(%rcx), %rdi
	leaq	-60(%rbp), %rsi
	movl	$4, %edx
	callq	_CopyMemory
LBB0_18:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	cmpq	$0, 104(%r14)
	je	LBB0_19
## %bb.20:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movslq	(%rcx), %rax
	movq	8(%rcx), %rcx
	movq	8(%rcx), %rsi
	movq	%rax, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_21
## %bb.22:
	cqto
	idivq	%rsi
	jmp	LBB0_23
LBB0_19:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINT
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	80(%r14), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapFree
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	64(%r14), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapFree
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	24(%r14), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapFree
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_HeapFree
	movq	_DSERR_GENERIC@GOTPCREL(%rip), %r13
	jmp	LBB0_30
LBB0_21:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
LBB0_23:
	movq	_DSERR_OUTOFMEMORY@GOTPCREL(%rip), %r13
	movl	16(%rcx), %edx
	leal	7(%rdx), %ecx
	testl	%edx, %edx
	cmovnsl	%edx, %ecx
	sarl	$3, %ecx
	movslq	%ecx, %rsi
	movq	%rax, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_24
## %bb.25:
	cqto
	idivq	%rsi
	jmp	LBB0_26
LBB0_24:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_26:
	imulq	88(%r14), %rax
	movl	96(%r14), %ecx
	leal	7(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$3, %edx
	movslq	%edx, %rbx
	imulq	%rax, %rbx
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_HeapAlloc
	movq	%rax, 80(%r14)
	cmpq	$0, 64(%r14)
	je	LBB0_27
## %bb.28:
	movq	%rbx, 56(%r14)
	movq	(%r14), %rdx
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_DPRINT1
	movq	_TRUE@GOTPCREL(%rip), %rsi
LBB0_29:
	movl	$1, 8(%r14)
	movq	%r14, %rbx
	addq	$16, %rbx
	movq	_vt_DirectSoundCaptureBuffer8@GOTPCREL(%rip), %rax
	movq	%rax, 16(%r14)
	movq	%r15, 48(%r14)
	movq	_KSSTATE_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r14)
	movq	(%rsi), %rax
	movq	%rax, 32(%r14)
	movq	24(%r14), %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_RtlMoveMemory
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	movq	_DS_OK@GOTPCREL(%rip), %r13
LBB0_30:
	movl	(%r13), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	movl	72(%r14), %edi
	callq	_CloseHandle
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	64(%r14), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapFree
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	24(%r14), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapFree
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_HeapFree
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.comm	_HEAP_ZERO_MEMORY,4,2           ## @HEAP_ZERO_MEMORY
	.comm	_DSERR_OUTOFMEMORY,4,2          ## @DSERR_OUTOFMEMORY
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_ULONG_MAX,8,3                  ## @ULONG_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PinId %u DeviceId %u\n"

L_.str.1:                               ## @.str.1
	.asciz	"failed to compute a compatible format\n"

	.comm	_DSERR_GENERIC,4,2              ## @DSERR_GENERIC
L_.str.2:                               ## @.str.2
	.asciz	"MixBufferSize %u BufferSize %u\n"

	.comm	_vt_DirectSoundCaptureBuffer8,4,2 ## @vt_DirectSoundCaptureBuffer8
	.comm	_KSSTATE_STOP,4,2               ## @KSSTATE_STOP
	.comm	_DS_OK,4,2                      ## @DS_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NewDirectSoundCaptureBuffer    ; -- Begin function NewDirectSoundCaptureBuffer
	.p2align	2
_NewDirectSoundCaptureBuffer:           ; @NewDirectSoundCaptureBuffer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x27, _ERROR_SUCCESS@GOTPAGE
Lloh1:
	ldr	x27, [x27, _ERROR_SUCCESS@GOTPAGEOFF]
	ldr	x24, [x27]
	bl	_GetProcessHeap
Lloh2:
	adrp	x8, _HEAP_ZERO_MEMORY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HEAP_ZERO_MEMORY@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_HeapAlloc
	cbz	x0, LBB0_22
; %bb.1:
	mov	x19, x0
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	add	x23, x8, #4
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x23
	bl	_HeapAlloc
	str	x0, [x19, #24]
	cbz	x0, LBB0_21
; %bb.2:
	ldr	w0, [x21]
	bl	_ASSERT
	bl	_GetProcessHeap
	ldrsw	x2, [x21]
	mov	w1, #0
	bl	_HeapAlloc
	str	x0, [x19, #64]
	cbz	x0, LBB0_20
; %bb.3:
	str	x20, [sp, #16]                  ; 8-byte Folded Spill
	ldrsw	x8, [x21]
	str	x8, [x19]
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, eq
	bl	_ASSERT
Lloh5:
	adrp	x28, _TRUE@GOTPAGE
Lloh6:
	ldr	x28, [x28, _TRUE@GOTPAGEOFF]
	ldr	x1, [x28]
	mov	x0, x22
	mov	x2, #0
	bl	_GetPinIdFromFilter
Lloh7:
	adrp	x20, _ULONG_MAX@GOTPAGE
Lloh8:
	ldr	x20, [x20, _ULONG_MAX@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.eq	LBB0_8
; %bb.4:
	mov	x1, x0
	add	x25, x19, #72
	mov	w26, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	ldr	x2, [x21, #8]
	ldr	x4, [x28]
	mov	x3, x25
	bl	_OpenPin
	mov	x24, x0
	ldr	x8, [x27]
	cmp	x0, x8
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [x28]
	cbz	x1, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	mov	x2, x26
	bl	_GetPinIdFromFilter
	mov	x1, x0
	ldr	x8, [x20]
	add	x26, x26, #1
	cmp	x0, x8
	b.ne	LBB0_5
LBB0_8:
	ldr	x8, [x27]
	cmp	x24, x8
	b.eq	LBB0_16
; %bb.9:
	mov	x24, #0
	add	x25, x19, #72
	ldr	x1, [x28]
Lloh9:
	adrp	x26, l_.str@PAGE
Lloh10:
	add	x26, x26, l_.str@PAGEOFF
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x2, x24
	bl	_GetPinIdFromFilter
	mov	x27, x0
	stp	x0, x24, [sp]
	mov	x0, x26
	bl	_DPRINT
	ldr	x8, [x20]
	cmp	x27, x8
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x22]
	ldr	x2, [x28]
	ldr	x3, [x21, #8]
	add	x4, sp, #28
	mov	x1, x27
	mov	x5, x25
	bl	_CreateCompatiblePin
	cbnz	x0, LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x24, x24, #1
	ldr	x1, [x28]
	cbnz	x1, LBB0_10
LBB0_13:
	ldr	x8, [x19, #104]
	cbz	x8, LBB0_18
LBB0_14:
	ldrsw	x8, [x21]
	ldr	x9, [x21, #8]
	ldr	x10, [x9, #8]
	sdiv	x8, x8, x10
	ldr	w9, [x9, #16]
	add	w10, w9, #7
	cmp	w9, #0
	csel	w9, w10, w9, lt
	sbfx	x9, x9, #3, #29
	sdiv	x8, x8, x9
	ldr	x9, [x19, #88]
	mul	x8, x9, x8
	ldr	w9, [x19, #96]
	add	w10, w9, #7
	cmp	w9, #0
	csel	w9, w10, w9, lt
	sbfx	x9, x9, #3, #29
	mul	x24, x8, x9
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x24
	bl	_HeapAlloc
	str	x0, [x19, #80]
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_19
; %bb.15:
	str	x24, [x19, #56]
	ldr	x2, [x19]
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x24
	bl	_DPRINT1
LBB0_16:
Lloh13:
	adrp	x8, _vt_DirectSoundCaptureBuffer8@GOTPAGE
Lloh14:
	ldr	x8, [x8, _vt_DirectSoundCaptureBuffer8@GOTPAGEOFF]
	str	x8, [x19, #16]!
	mov	w8, #1
	stur	w8, [x19, #-8]
	str	x22, [x19, #32]
Lloh15:
	adrp	x8, _KSSTATE_STOP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _KSSTATE_STOP@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	ldr	x8, [x28]
	str	x8, [x19, #16]
	ldr	x0, [x19, #8]
	ldr	x1, [x21, #8]
	mov	x2, x23
	bl	_RtlMoveMemory
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	str	x19, [x8]
Lloh18:
	adrp	x8, _DS_OK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DS_OK@GOTPAGEOFF]
	b	LBB0_23
LBB0_17:
	ldr	x8, [x28]
	str	x8, [x19, #104]
	add	x0, x19, #88
	add	x1, sp, #28
	mov	w2, #4
	bl	_CopyMemory
	ldr	x8, [x19, #104]
	cbnz	x8, LBB0_14
LBB0_18:
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DPRINT
	bl	_GetProcessHeap
	ldr	x2, [x19, #80]
	mov	w1, #0
	bl	_HeapFree
	bl	_GetProcessHeap
	ldr	x2, [x19, #64]
	mov	w1, #0
	bl	_HeapFree
	bl	_GetProcessHeap
	ldr	x2, [x19, #24]
	mov	w1, #0
	bl	_HeapFree
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x19
	bl	_HeapFree
Lloh22:
	adrp	x8, _DSERR_GENERIC@GOTPAGE
Lloh23:
	ldr	x8, [x8, _DSERR_GENERIC@GOTPAGEOFF]
	b	LBB0_23
LBB0_19:
	ldr	w0, [x19, #72]
	bl	_CloseHandle
	bl	_GetProcessHeap
	ldr	x2, [x19, #64]
	mov	w1, #0
	bl	_HeapFree
LBB0_20:
	bl	_GetProcessHeap
	ldr	x2, [x19, #24]
	mov	w1, #0
	bl	_HeapFree
LBB0_21:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x19
	bl	_HeapFree
LBB0_22:
Lloh24:
	adrp	x8, _DSERR_OUTOFMEMORY@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DSERR_OUTOFMEMORY@GOTPAGEOFF]
LBB0_23:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.comm	_HEAP_ZERO_MEMORY,4,2           ; @HEAP_ZERO_MEMORY
	.comm	_DSERR_OUTOFMEMORY,4,2          ; @DSERR_OUTOFMEMORY
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_ULONG_MAX,8,3                  ; @ULONG_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PinId %u DeviceId %u\n"

l_.str.1:                               ; @.str.1
	.asciz	"failed to compute a compatible format\n"

	.comm	_DSERR_GENERIC,4,2              ; @DSERR_GENERIC
l_.str.2:                               ; @.str.2
	.asciz	"MixBufferSize %u BufferSize %u\n"

	.comm	_vt_DirectSoundCaptureBuffer8,4,2 ; @vt_DirectSoundCaptureBuffer8
	.comm	_KSSTATE_STOP,4,2               ; @KSSTATE_STOP
	.comm	_DS_OK,4,2                      ; @DS_OK
.subsections_via_symbols
