	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DoDSoundCallback               ## -- Begin function DoDSoundCallback
	.p2align	4, 0x90
_DoDSoundCallback:                      ## @DoDSoundCallback
	.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	$440, %rsp                      ## imm = 0x1B8
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movl	%edx, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -144(%rbp)
	movaps	%xmm0, -160(%rbp)
	movaps	%xmm0, -176(%rbp)
	movaps	%xmm0, -192(%rbp)
	movaps	%xmm0, -208(%rbp)
	movaps	%xmm0, -224(%rbp)
	movaps	%xmm0, -240(%rbp)
	movaps	%xmm0, -256(%rbp)
	movq	$0, -64(%rbp)
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	movq	%r9, %r13
	movq	%rsi, %r14
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.2:
	movb	$0, -256(%rbp)
	leaq	-256(%rbp), %rsi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	l_.str(%rip), %rax
	movq	%rcx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$200, %edx
	movl	%eax, %ecx
	callq	_LoadResourceString
	movb	$0, -57(%rbp)
	jmp	LBB0_4
LBB0_5:
	movq	%rdi, %r12
	movb	$0, -256(%rbp)
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.6:
	leaq	-256(%rbp), %rsi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	l_.str(%rip), %rax
	movq	%rcx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$200, %edx
	movl	%eax, %ecx
	callq	_LoadResourceString
	jmp	LBB0_8
LBB0_3:
	movq	%rbx, %rdi
	callq	_ASSERT
	leaq	-256(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_wcscpy
LBB0_4:
	leaq	-256(%rbp), %rsi
	movl	%r15d, %edi
	movq	%r13, %rdx
	movl	16(%rbp), %ecx
	callq	*%r14
	jmp	LBB0_11
LBB0_7:
	movq	_CP_ACP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	leaq	-256(%rbp), %r8
	xorl	%esi, %esi
	movq	%rbx, %rdx
	movl	$-1, %ecx
	movl	$200, %r9d
	callq	_WideCharToMultiByte
LBB0_8:
	movb	$0, -57(%rbp)
	movb	$0, -464(%rbp)
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.9:
	movq	_CP_ACP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	leaq	-464(%rbp), %r8
	xorl	%esi, %esi
	movq	%rbx, %rdx
	movl	$-1, %ecx
	movl	$200, %r9d
	callq	_WideCharToMultiByte
	movb	$0, -265(%rbp)
LBB0_10:
	leaq	-256(%rbp), %rsi
	leaq	-464(%rbp), %rdx
	movl	%r15d, %edi
	movl	16(%rbp), %ecx
	callq	*%r12
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_13
## %bb.12:
	addq	$440, %rsp                      ## imm = 0x1B8
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	80                              ## 0x50
	.long	114                             ## 0x72
	.long	105                             ## 0x69
	.long	109                             ## 0x6d
	.long	97                              ## 0x61
	.long	114                             ## 0x72
	.long	121                             ## 0x79
	.long	32                              ## 0x20
	.long	83                              ## 0x53
	.long	111                             ## 0x6f
	.long	117                             ## 0x75
	.long	110                             ## 0x6e
	.long	100                             ## 0x64
	.long	32                              ## 0x20
	.long	68                              ## 0x44
	.long	114                             ## 0x72
	.long	105                             ## 0x69
	.long	118                             ## 0x76
	.long	101                             ## 0x65
	.long	114                             ## 0x72
	.long	0                               ## 0x0

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_CP_ACP,4,2                     ## @CP_ACP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DoDSoundCallback               ; -- Begin function DoDSoundCallback
	.p2align	2
_DoDSoundCallback:                      ; @DoDSoundCallback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #496
	.cfi_def_cfa_offset 496
	stp	x28, x27, [sp, #416]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #432]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #448]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #464]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #480]            ; 16-byte Folded Spill
	add	x29, sp, #480
	.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 w27, -72
	.cfi_offset w28, -80
	mov	x19, x6
	mov	x22, x4
	mov	x20, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	str	xzr, [sp, #400]
	add	x8, sp, #208
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x8, #160]
	stp	q0, q0, [x8, #128]
	stp	q0, q0, [x8, #96]
	stp	q0, q0, [x8, #64]
	stp	q0, q0, [x8, #32]
	stp	q0, q0, [x8]
	cbz	x1, LBB0_3
; %bb.1:
	mov	x24, x5
	mov	x23, x1
	cbz	x3, LBB0_5
; %bb.2:
	strb	wzr, [sp, #208]
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
Lloh6:
	adrp	x8, l_.str@PAGE
Lloh7:
	add	x8, x8, l_.str@PAGEOFF
	add	x1, sp, #208
	mov	x0, x3
	mov	w2, #200
	mov	x3, x8
	bl	_LoadResourceString
	strb	wzr, [sp, #407]
	b	LBB0_6
LBB0_3:
	mov	x21, x0
	strb	wzr, [sp, #208]
Lloh8:
	adrp	x23, _CP_ACP@GOTPAGE
Lloh9:
	ldr	x23, [x23, _CP_ACP@GOTPAGEOFF]
	cbz	x3, LBB0_7
; %bb.4:
Lloh10:
	adrp	x8, _FALSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh12:
	ldr	w4, [x8]
Lloh13:
	adrp	x8, l_.str@PAGE
Lloh14:
	add	x8, x8, l_.str@PAGEOFF
	add	x1, sp, #208
	mov	x0, x3
	mov	w2, #200
	mov	x3, x8
	bl	_LoadResourceString
	b	LBB0_8
LBB0_5:
	mov	x0, x22
	bl	_ASSERT
	add	x0, sp, #208
	mov	x1, x22
	bl	_wcscpy
LBB0_6:
	add	x1, sp, #208
	mov	x0, x20
	mov	x2, x24
	mov	x3, x19
	blr	x23
	b	LBB0_11
LBB0_7:
	ldr	w0, [x23]
	add	x4, sp, #208
	mov	w1, #0
	mov	x2, x22
	mov	w3, #-1
	mov	w5, #200
	mov	x6, #0
	mov	x7, #0
	bl	_WideCharToMultiByte
LBB0_8:
	strb	wzr, [sp, #407]
	strb	wzr, [sp, #8]
	cbz	x22, LBB0_10
; %bb.9:
	ldr	w0, [x23]
	add	x4, sp, #8
	mov	w1, #0
	mov	x2, x22
	mov	w3, #-1
	mov	w5, #200
	mov	x6, #0
	mov	x7, #0
	bl	_WideCharToMultiByte
	strb	wzr, [sp, #207]
LBB0_10:
	add	x1, sp, #208
	add	x2, sp, #8
	mov	x0, x20
	mov	x3, x19
	blr	x21
LBB0_11:
	ldur	x8, [x29, #-72]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	ldp	x29, x30, [sp, #480]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #464]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #448]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #432]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #416]            ; 16-byte Folded Reload
	add	sp, sp, #496
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	80                              ; 0x50
	.long	114                             ; 0x72
	.long	105                             ; 0x69
	.long	109                             ; 0x6d
	.long	97                              ; 0x61
	.long	114                             ; 0x72
	.long	121                             ; 0x79
	.long	32                              ; 0x20
	.long	83                              ; 0x53
	.long	111                             ; 0x6f
	.long	117                             ; 0x75
	.long	110                             ; 0x6e
	.long	100                             ; 0x64
	.long	32                              ; 0x20
	.long	68                              ; 0x44
	.long	114                             ; 0x72
	.long	105                             ; 0x69
	.long	118                             ; 0x76
	.long	101                             ; 0x65
	.long	114                             ; 0x72
	.long	0                               ; 0x0

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_CP_ACP,4,2                     ; @CP_ACP
.subsections_via_symbols
