	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_S_StartLocalSound              ## -- Begin function S_StartLocalSound
	.p2align	4, 0x90
_S_StartLocalSound:                     ## @S_StartLocalSound
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_s_soundStarted@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_5
## %bb.1:
	movq	_s_soundMuted@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_5
## %bb.2:
	movq	%rdi, %rcx
	testq	%rdi, %rdi
	js	LBB0_6
## %bb.3:
	movq	_s_numSfx@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	jle	LBB0_6
## %bb.4:
	movl	%esi, %edx
	movq	_listener_number@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	popq	%rbp
	jmp	_S_StartSound                   ## TAILCALL
LBB0_5:
	popq	%rbp
	retq
LBB0_6:
	movq	_S_COLOR_YELLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rcx, %rdx
	popq	%rbp
	jmp	_Com_Printf                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_s_soundStarted,4,2             ## @s_soundStarted
	.comm	_s_soundMuted,8,3               ## @s_soundMuted
	.comm	_s_numSfx,8,3                   ## @s_numSfx
	.comm	_S_COLOR_YELLOW,4,2             ## @S_COLOR_YELLOW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"S_StartLocalSound: handle %i out of range\n"

	.comm	_listener_number,4,2            ## @listener_number
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_S_StartLocalSound              ; -- Begin function S_StartLocalSound
	.p2align	2
_S_StartLocalSound:                     ; @S_StartLocalSound
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _s_soundStarted@GOTPAGE
Lloh1:
	ldr	x8, [x8, _s_soundStarted@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _s_soundMuted@GOTPAGE
Lloh4:
	ldr	x9, [x9, _s_soundMuted@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	w8, #0
	ccmp	x9, #0, #0, ne
	b.eq	LBB0_2
; %bb.1:
	ret
LBB0_2:
	mov	x3, x0
	tbnz	x0, #63, LBB0_5
; %bb.3:
Lloh6:
	adrp	x8, _s_numSfx@GOTPAGE
Lloh7:
	ldr	x8, [x8, _s_numSfx@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x3
	b.le	LBB0_5
; %bb.4:
	mov	x2, x1
Lloh9:
	adrp	x8, _listener_number@GOTPAGE
Lloh10:
	ldr	x8, [x8, _listener_number@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, #0
	b	_S_StartSound
LBB0_5:
Lloh12:
	adrp	x8, _S_COLOR_YELLOW@GOTPAGE
Lloh13:
	ldr	x8, [x8, _S_COLOR_YELLOW@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x3
	b	_Com_Printf
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_s_soundStarted,4,2             ; @s_soundStarted
	.comm	_s_soundMuted,8,3               ; @s_soundMuted
	.comm	_s_numSfx,8,3                   ; @s_numSfx
	.comm	_S_COLOR_YELLOW,4,2             ; @S_COLOR_YELLOW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"S_StartLocalSound: handle %i out of range\n"

	.comm	_listener_number,4,2            ; @listener_number
.subsections_via_symbols
