	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SNDDMA_Init                    ## -- Begin function SNDDMA_Init
	.p2align	4, 0x90
_SNDDMA_Init:                           ## @SNDDMA_Init
	.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	%r12
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_snd_inited@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_2
## %bb.1:
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_26
LBB0_2:
	movq	_s_sdlBits@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	jne	LBB0_4
## %bb.3:
	movq	_CVAR_ARCHIVE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_Cvar_Get
	movq	%rax, (%r15)
	movl	(%rbx), %edx
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %r12
	movq	%r12, %rsi
	callq	_Cvar_Get
	movq	_s_sdlSpeed@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %edx
	leaq	L_.str.4(%rip), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_Cvar_Get
	movq	_s_sdlChannels@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %edx
	leaq	L_.str.6(%rip), %rdi
	movq	%r12, %rsi
	callq	_Cvar_Get
	movq	_s_sdlDevSamps@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %edx
	leaq	L_.str.7(%rip), %rdi
	movq	%r12, %rsi
	callq	_Cvar_Get
	movq	_s_sdlMixSamps@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_4:
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_Com_Printf
	movq	_SDL_INIT_AUDIO@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_SDL_Init
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	xorl	%eax, %eax
	callq	_SDL_GetError
	leaq	L_.str.9(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_Com_Printf
LBB0_6:
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_26
LBB0_7:
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_Com_Printf
	xorl	%eax, %eax
	callq	_SDL_GetCurrentAudioDriver
	leaq	L_.str.11(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_Com_Printf
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	leaq	-96(%rbp), %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	_s_sdlSpeed@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	movl	$22050, %eax                    ## imm = 0x5622
	cmovnel	%ecx, %eax
	movq	(%r15), %rcx
	cmpl	$8, (%rcx)
	movl	%eax, -64(%rbp)
	jne	LBB0_8
## %bb.9:
	movq	_AUDIO_U8@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_8:
	movq	_AUDIO_S16SYS@GOTPCREL(%rip), %rcx
LBB0_10:
	movq	(%rcx), %rcx
	movq	%rcx, -48(%rbp)
	movq	_s_sdlDevSamps@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	je	LBB0_12
## %bb.11:
	movl	%ecx, -60(%rbp)
	jmp	LBB0_19
LBB0_12:
	cmpl	$11025, %eax                    ## imm = 0x2B11
	jg	LBB0_14
## %bb.13:
	movl	$256, -60(%rbp)                 ## imm = 0x100
	jmp	LBB0_19
LBB0_14:
	cmpl	$22050, %eax                    ## imm = 0x5622
	ja	LBB0_16
## %bb.15:
	movl	$512, -60(%rbp)                 ## imm = 0x200
	jmp	LBB0_19
LBB0_16:
	cmpl	$44100, %eax                    ## imm = 0xAC44
	ja	LBB0_18
## %bb.17:
	movl	$1024, -60(%rbp)                ## imm = 0x400
	jmp	LBB0_19
LBB0_18:
	movl	$2048, -60(%rbp)                ## imm = 0x800
LBB0_19:
	movq	_s_sdlChannels@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_SNDDMA_AudioCallback@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	_SDL_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SDL_AUDIO_ALLOW_ANY_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-64(%rbp), %rdx
	leaq	-96(%rbp), %rcx
	xorl	%edi, %edi
	callq	_SDL_OpenAudioDevice
	movq	_sdlPlaybackDevice@GOTPCREL(%rip), %r15
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_20
## %bb.21:
	leaq	L_.str.13(%rip), %rdi
	leaq	-96(%rbp), %rsi
	callq	_SNDDMA_PrintAudiospec
	movq	_s_sdlMixSamps@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-92(%rbp), %ecx
	imull	-88(%rbp), %ecx
	movl	(%rax), %edx
	addl	%ecx, %ecx
	testl	%edx, %edx
	leal	(%rcx,%rcx,4), %eax
	cmovnel	%edx, %eax
	leal	-1(%rax), %ecx
	testl	%ecx, %eax
	jne	LBB0_23
## %bb.22:
	movl	%eax, %ebx
	jmp	LBB0_25
LBB0_20:
	xorl	%eax, %eax
	callq	_SDL_GetError
	leaq	L_.str.12(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_Com_Printf
	movl	(%rbx), %edi
	callq	_SDL_QuitSubSystem
	jmp	LBB0_6
LBB0_23:
	movl	$1, %ecx
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %ebx
	leal	(%rbx,%rbx), %ecx
	cmpl	%eax, %ebx
	jl	LBB0_24
LBB0_25:
	movq	_dmapos@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	-80(%rbp), %rdi
	callq	_SDL_AUDIO_BITSIZE
	movq	_dma@GOTPCREL(%rip), %r12
	movl	%eax, (%r12)
	movq	-80(%rbp), %rdi
	callq	_SDL_AUDIO_ISFLOAT
	movl	%eax, 24(%r12)
	movl	-96(%rbp), %eax
	movl	-88(%rbp), %ecx
	movl	%ecx, 4(%r12)
	movl	%ebx, 8(%r12)
	movl	$1, 12(%r12)
	movl	%eax, 16(%r12)
	movl	(%r12), %eax
	leal	7(%rax), %esi
	testl	%eax, %eax
	cmovnsl	%eax, %esi
	sarl	$3, %esi
	imull	%ebx, %esi
	movq	_dmasize@GOTPCREL(%rip), %rax
	movl	%esi, (%rax)
	movl	$1, %edi
	callq	_calloc
	movl	%eax, 20(%r12)
	leaq	L_.str.14(%rip), %rdi
	xorl	%eax, %eax
	callq	_Com_Printf
	movq	(%r15), %rdi
	xorl	%esi, %esi
	callq	_SDL_PauseAudioDevice
	leaq	L_.str.15(%rip), %rdi
	xorl	%eax, %eax
	callq	_Com_Printf
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
LBB0_26:
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_snd_inited,8,3                 ## @snd_inited
	.comm	_qtrue,8,3                      ## @qtrue
	.comm	_s_sdlBits,8,3                  ## @s_sdlBits
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"s_sdlBits"

L_.str.1:                               ## @.str.1
	.asciz	"16"

	.comm	_CVAR_ARCHIVE,4,2               ## @CVAR_ARCHIVE
L_.str.2:                               ## @.str.2
	.asciz	"s_sdlSpeed"

L_.str.3:                               ## @.str.3
	.asciz	"0"

	.comm	_s_sdlSpeed,8,3                 ## @s_sdlSpeed
L_.str.4:                               ## @.str.4
	.asciz	"s_sdlChannels"

L_.str.5:                               ## @.str.5
	.asciz	"2"

	.comm	_s_sdlChannels,8,3              ## @s_sdlChannels
L_.str.6:                               ## @.str.6
	.asciz	"s_sdlDevSamps"

	.comm	_s_sdlDevSamps,8,3              ## @s_sdlDevSamps
L_.str.7:                               ## @.str.7
	.asciz	"s_sdlMixSamps"

	.comm	_s_sdlMixSamps,8,3              ## @s_sdlMixSamps
L_.str.8:                               ## @.str.8
	.asciz	"SDL_Init( SDL_INIT_AUDIO )... "

	.comm	_SDL_INIT_AUDIO,4,2             ## @SDL_INIT_AUDIO
L_.str.9:                               ## @.str.9
	.asciz	"FAILED (%s)\n"

	.comm	_qfalse,8,3                     ## @qfalse
L_.str.10:                              ## @.str.10
	.asciz	"OK\n"

L_.str.11:                              ## @.str.11
	.asciz	"SDL audio driver is \"%s\".\n"

	.comm	_AUDIO_S16SYS,8,3               ## @AUDIO_S16SYS
	.comm	_AUDIO_U8,8,3                   ## @AUDIO_U8
	.comm	_SNDDMA_AudioCallback,4,2       ## @SNDDMA_AudioCallback
	.comm	_SDL_FALSE,4,2                  ## @SDL_FALSE
	.comm	_SDL_AUDIO_ALLOW_ANY_CHANGE,4,2 ## @SDL_AUDIO_ALLOW_ANY_CHANGE
	.comm	_sdlPlaybackDevice,8,3          ## @sdlPlaybackDevice
L_.str.12:                              ## @.str.12
	.asciz	"SDL_OpenAudioDevice() failed: %s\n"

L_.str.13:                              ## @.str.13
	.asciz	"SDL_AudioSpec"

	.comm	_dmapos,8,3                     ## @dmapos
	.comm	_dma,28,2                       ## @dma
	.comm	_dmasize,4,2                    ## @dmasize
L_.str.14:                              ## @.str.14
	.asciz	"Starting SDL audio callback...\n"

L_.str.15:                              ## @.str.15
	.asciz	"SDL audio initialized.\n"

	.comm	_CVAR_LATCH,4,2                 ## @CVAR_LATCH
	.comm	_SDL_TRUE,4,2                   ## @SDL_TRUE
	.comm	_VOIP_MAX_PACKET_SAMPLES,4,2    ## @VOIP_MAX_PACKET_SAMPLES
	.comm	_cl_useMumble,8,3               ## @cl_useMumble
	.comm	_s_sdlCapture,8,3               ## @s_sdlCapture
	.comm	_sdlCaptureDevice,8,3           ## @sdlCaptureDevice
	.comm	_sdlMasterGain,4,2              ## @sdlMasterGain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SNDDMA_Init                    ; -- Begin function SNDDMA_Init
	.p2align	2
_SNDDMA_Init:                           ; @SNDDMA_Init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
Lloh0:
	adrp	x20, _snd_inited@GOTPAGE
Lloh1:
	ldr	x20, [x20, _snd_inited@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _qtrue@GOTPAGE
Lloh3:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh4:
	ldr	x0, [x8]
	b	LBB0_22
LBB0_2:
Lloh5:
	adrp	x21, _s_sdlBits@GOTPAGE
Lloh6:
	ldr	x21, [x21, _s_sdlBits@GOTPAGEOFF]
	ldr	x8, [x21]
	cbnz	x8, LBB0_4
; %bb.3:
Lloh7:
	adrp	x22, _CVAR_ARCHIVE@GOTPAGE
Lloh8:
	ldr	x22, [x22, _CVAR_ARCHIVE@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_Cvar_Get
	str	x0, [x21]
	ldr	w2, [x22]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh15:
	adrp	x19, l_.str.3@PAGE
Lloh16:
	add	x19, x19, l_.str.3@PAGEOFF
	mov	x1, x19
	bl	_Cvar_Get
Lloh17:
	adrp	x8, _s_sdlSpeed@GOTPAGE
Lloh18:
	ldr	x8, [x8, _s_sdlSpeed@GOTPAGEOFF]
Lloh19:
	str	x0, [x8]
	ldr	w2, [x22]
Lloh20:
	adrp	x0, l_.str.4@PAGE
Lloh21:
	add	x0, x0, l_.str.4@PAGEOFF
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_Cvar_Get
Lloh24:
	adrp	x8, _s_sdlChannels@GOTPAGE
Lloh25:
	ldr	x8, [x8, _s_sdlChannels@GOTPAGEOFF]
Lloh26:
	str	x0, [x8]
	ldr	w2, [x22]
Lloh27:
	adrp	x0, l_.str.6@PAGE
Lloh28:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x19
	bl	_Cvar_Get
Lloh29:
	adrp	x8, _s_sdlDevSamps@GOTPAGE
Lloh30:
	ldr	x8, [x8, _s_sdlDevSamps@GOTPAGEOFF]
Lloh31:
	str	x0, [x8]
	ldr	w2, [x22]
Lloh32:
	adrp	x0, l_.str.7@PAGE
Lloh33:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x19
	bl	_Cvar_Get
Lloh34:
	adrp	x8, _s_sdlMixSamps@GOTPAGE
Lloh35:
	ldr	x8, [x8, _s_sdlMixSamps@GOTPAGEOFF]
Lloh36:
	str	x0, [x8]
LBB0_4:
Lloh37:
	adrp	x0, l_.str.8@PAGE
Lloh38:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_Com_Printf
Lloh39:
	adrp	x19, _SDL_INIT_AUDIO@GOTPAGE
Lloh40:
	ldr	x19, [x19, _SDL_INIT_AUDIO@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_SDL_Init
	cbz	x0, LBB0_7
; %bb.5:
	bl	_SDL_GetError
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh41:
	adrp	x0, l_.str.9@PAGE
Lloh42:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_Com_Printf
LBB0_6:
Lloh43:
	adrp	x8, _qfalse@GOTPAGE
Lloh44:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh45:
	ldr	x0, [x8]
	b	LBB0_22
LBB0_7:
Lloh46:
	adrp	x0, l_.str.10@PAGE
Lloh47:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_Com_Printf
	bl	_SDL_GetCurrentAudioDriver
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh48:
	adrp	x0, l_.str.11@PAGE
Lloh49:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_Com_Printf
	add	x0, sp, #48
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	ldr	x8, [x21]
	ldr	w9, [x8]
Lloh50:
	adrp	x8, _s_sdlSpeed@GOTPAGE
Lloh51:
	ldr	x8, [x8, _s_sdlSpeed@GOTPAGEOFF]
Lloh52:
	ldr	x8, [x8]
	ldr	w8, [x8]
	mov	w10, #22050
	cmp	w8, #0
	csel	w8, w10, w8, eq
	str	w8, [sp, #48]
Lloh53:
	adrp	x10, _AUDIO_S16SYS@GOTPAGE
Lloh54:
	ldr	x10, [x10, _AUDIO_S16SYS@GOTPAGEOFF]
Lloh55:
	adrp	x11, _AUDIO_U8@GOTPAGE
Lloh56:
	ldr	x11, [x11, _AUDIO_U8@GOTPAGEOFF]
	cmp	w9, #8
	csel	x9, x11, x10, eq
	ldr	x9, [x9]
	str	x9, [sp, #64]
Lloh57:
	adrp	x9, _s_sdlDevSamps@GOTPAGE
Lloh58:
	ldr	x9, [x9, _s_sdlDevSamps@GOTPAGEOFF]
Lloh59:
	ldr	x9, [x9]
	ldr	w9, [x9]
	cbz	w9, LBB0_9
; %bb.8:
	str	w9, [sp, #52]
	b	LBB0_17
LBB0_9:
	mov	w9, #11025
	cmp	w8, w9
	b.gt	LBB0_11
; %bb.10:
	mov	w8, #256
	b	LBB0_16
LBB0_11:
	mov	w9, #22050
	cmp	w8, w9
	b.hi	LBB0_13
; %bb.12:
	mov	w8, #512
	b	LBB0_16
LBB0_13:
	mov	w9, #44100
	cmp	w8, w9
	b.hi	LBB0_15
; %bb.14:
	mov	w8, #1024
	b	LBB0_16
LBB0_15:
	mov	w8, #2048
LBB0_16:
	str	w8, [sp, #52]
LBB0_17:
Lloh60:
	adrp	x8, _s_sdlChannels@GOTPAGE
Lloh61:
	ldr	x8, [x8, _s_sdlChannels@GOTPAGEOFF]
Lloh62:
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh63:
	adrp	x9, _SNDDMA_AudioCallback@GOTPAGE
Lloh64:
	ldr	x9, [x9, _SNDDMA_AudioCallback@GOTPAGEOFF]
Lloh65:
	ldr	w9, [x9]
	str	w8, [sp, #56]
	str	w9, [sp, #72]
Lloh66:
	adrp	x8, _SDL_FALSE@GOTPAGE
Lloh67:
	ldr	x8, [x8, _SDL_FALSE@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
Lloh69:
	adrp	x8, _SDL_AUDIO_ALLOW_ANY_CHANGE@GOTPAGE
Lloh70:
	ldr	x8, [x8, _SDL_AUDIO_ALLOW_ANY_CHANGE@GOTPAGEOFF]
Lloh71:
	ldr	w4, [x8]
	add	x2, sp, #48
	add	x3, sp, #16
	mov	x0, #0
	bl	_SDL_OpenAudioDevice
Lloh72:
	adrp	x21, _sdlPlaybackDevice@GOTPAGE
Lloh73:
	ldr	x21, [x21, _sdlPlaybackDevice@GOTPAGEOFF]
	str	x0, [x21]
	cbz	x0, LBB0_23
; %bb.18:
Lloh74:
	adrp	x0, l_.str.13@PAGE
Lloh75:
	add	x0, x0, l_.str.13@PAGEOFF
	add	x1, sp, #16
	bl	_SNDDMA_PrintAudiospec
Lloh76:
	adrp	x8, _s_sdlMixSamps@GOTPAGE
Lloh77:
	ldr	x8, [x8, _s_sdlMixSamps@GOTPAGEOFF]
Lloh78:
	ldr	x8, [x8]
	ldr	w8, [x8]
	ldp	w9, w10, [sp, #20]
	mul	w9, w9, w10
	add	w9, w9, w9, lsl #2
	lsl	w9, w9, #1
	cmp	w8, #0
	csel	w8, w9, w8, eq
	sub	w9, w8, #1
	mov	x19, x8
	tst	w8, w9
	b.eq	LBB0_21
; %bb.19:
	mov	w9, #1
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	mov	x19, x9
	lsl	w9, w9, #1
	cmp	w19, w8
	b.lt	LBB0_20
LBB0_21:
Lloh79:
	adrp	x8, _dmapos@GOTPAGE
Lloh80:
	ldr	x8, [x8, _dmapos@GOTPAGEOFF]
Lloh81:
	str	xzr, [x8]
	ldr	x0, [sp, #32]
	bl	_SDL_AUDIO_BITSIZE
Lloh82:
	adrp	x22, _dma@GOTPAGE
Lloh83:
	ldr	x22, [x22, _dma@GOTPAGEOFF]
	str	w0, [x22]
	ldr	x0, [sp, #32]
	bl	_SDL_AUDIO_ISFLOAT
	str	w0, [x22, #24]
	ldr	w8, [sp, #24]
	ldr	w9, [sp, #16]
	stp	w8, w19, [x22, #4]
	mov	w8, #1
	stp	w8, w9, [x22, #12]
	ldr	w8, [x22]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #3
	mul	w1, w8, w19
Lloh84:
	adrp	x8, _dmasize@GOTPAGE
Lloh85:
	ldr	x8, [x8, _dmasize@GOTPAGEOFF]
Lloh86:
	str	w1, [x8]
	mov	w0, #1
	bl	_calloc
	str	w0, [x22, #20]
Lloh87:
	adrp	x0, l_.str.14@PAGE
Lloh88:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_Com_Printf
	ldr	x0, [x21]
	mov	w1, #0
	bl	_SDL_PauseAudioDevice
Lloh89:
	adrp	x0, l_.str.15@PAGE
Lloh90:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_Com_Printf
Lloh91:
	adrp	x8, _qtrue@GOTPAGE
Lloh92:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh93:
	ldr	x0, [x8]
	str	x0, [x20]
LBB0_22:
	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
	add	sp, sp, #128
	ret
LBB0_23:
	bl	_SDL_GetError
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh94:
	adrp	x0, l_.str.12@PAGE
Lloh95:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_Com_Printf
	ldr	w0, [x19]
	bl	_SDL_QuitSubSystem
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotStr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpLdrGotStr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGot	Lloh82, Lloh83
	.loh AdrpLdrGotStr	Lloh79, Lloh80, Lloh81
	.loh AdrpAdd	Lloh94, Lloh95
	.cfi_endproc
                                        ; -- End function
	.comm	_snd_inited,8,3                 ; @snd_inited
	.comm	_qtrue,8,3                      ; @qtrue
	.comm	_s_sdlBits,8,3                  ; @s_sdlBits
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"s_sdlBits"

l_.str.1:                               ; @.str.1
	.asciz	"16"

	.comm	_CVAR_ARCHIVE,4,2               ; @CVAR_ARCHIVE
l_.str.2:                               ; @.str.2
	.asciz	"s_sdlSpeed"

l_.str.3:                               ; @.str.3
	.asciz	"0"

	.comm	_s_sdlSpeed,8,3                 ; @s_sdlSpeed
l_.str.4:                               ; @.str.4
	.asciz	"s_sdlChannels"

l_.str.5:                               ; @.str.5
	.asciz	"2"

	.comm	_s_sdlChannels,8,3              ; @s_sdlChannels
l_.str.6:                               ; @.str.6
	.asciz	"s_sdlDevSamps"

	.comm	_s_sdlDevSamps,8,3              ; @s_sdlDevSamps
l_.str.7:                               ; @.str.7
	.asciz	"s_sdlMixSamps"

	.comm	_s_sdlMixSamps,8,3              ; @s_sdlMixSamps
l_.str.8:                               ; @.str.8
	.asciz	"SDL_Init( SDL_INIT_AUDIO )... "

	.comm	_SDL_INIT_AUDIO,4,2             ; @SDL_INIT_AUDIO
l_.str.9:                               ; @.str.9
	.asciz	"FAILED (%s)\n"

	.comm	_qfalse,8,3                     ; @qfalse
l_.str.10:                              ; @.str.10
	.asciz	"OK\n"

l_.str.11:                              ; @.str.11
	.asciz	"SDL audio driver is \"%s\".\n"

	.comm	_AUDIO_S16SYS,8,3               ; @AUDIO_S16SYS
	.comm	_AUDIO_U8,8,3                   ; @AUDIO_U8
	.comm	_SNDDMA_AudioCallback,4,2       ; @SNDDMA_AudioCallback
	.comm	_SDL_FALSE,4,2                  ; @SDL_FALSE
	.comm	_SDL_AUDIO_ALLOW_ANY_CHANGE,4,2 ; @SDL_AUDIO_ALLOW_ANY_CHANGE
	.comm	_sdlPlaybackDevice,8,3          ; @sdlPlaybackDevice
l_.str.12:                              ; @.str.12
	.asciz	"SDL_OpenAudioDevice() failed: %s\n"

l_.str.13:                              ; @.str.13
	.asciz	"SDL_AudioSpec"

	.comm	_dmapos,8,3                     ; @dmapos
	.comm	_dma,28,2                       ; @dma
	.comm	_dmasize,4,2                    ; @dmasize
l_.str.14:                              ; @.str.14
	.asciz	"Starting SDL audio callback...\n"

l_.str.15:                              ; @.str.15
	.asciz	"SDL audio initialized.\n"

	.comm	_CVAR_LATCH,4,2                 ; @CVAR_LATCH
	.comm	_SDL_TRUE,4,2                   ; @SDL_TRUE
	.comm	_VOIP_MAX_PACKET_SAMPLES,4,2    ; @VOIP_MAX_PACKET_SAMPLES
	.comm	_cl_useMumble,8,3               ; @cl_useMumble
	.comm	_s_sdlCapture,8,3               ; @s_sdlCapture
	.comm	_sdlCaptureDevice,8,3           ; @sdlCaptureDevice
	.comm	_sdlMasterGain,4,2              ; @sdlMasterGain
.subsections_via_symbols
