	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StopOgg                        ## -- Begin function StopOgg
	.p2align	4, 0x90
_StopOgg:                               ## @StopOgg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%edi, %edi
	callq	_ASND_StopVoice
	movq	_ogg_thread_running@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_h_oggplayer@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	_LWP_THREAD_NULL@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rdi
	je	LBB0_4
## %bb.1:
	movq	_oggplayer_queue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_LWP_TQUEUE_NULL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %rdi
	callq	_LWP_ThreadSignal
	movq	(%rbx), %rdi
LBB0_3:
	xorl	%esi, %esi
	callq	_LWP_JoinThread
	movq	(%r14), %rax
	movq	%rax, (%rbx)
LBB0_4:
	movq	_oggplayer_queue@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	_LWP_TQUEUE_NULL@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rdi
	je	LBB0_6
## %bb.5:
	callq	_LWP_CloseQueue
	movq	(%rbx), %rax
	movq	%rax, (%r14)
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ogg_thread_running,8,3         ## @ogg_thread_running
	.comm	_h_oggplayer,8,3                ## @h_oggplayer
	.comm	_LWP_THREAD_NULL,8,3            ## @LWP_THREAD_NULL
	.comm	_oggplayer_queue,8,3            ## @oggplayer_queue
	.comm	_LWP_TQUEUE_NULL,8,3            ## @LWP_TQUEUE_NULL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StopOgg                        ; -- Begin function StopOgg
	.p2align	2
_StopOgg:                               ; @StopOgg
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	w0, #0
	bl	_ASND_StopVoice
Lloh0:
	adrp	x8, _ogg_thread_running@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ogg_thread_running@GOTPAGEOFF]
Lloh2:
	str	xzr, [x8]
Lloh3:
	adrp	x21, _h_oggplayer@GOTPAGE
Lloh4:
	ldr	x21, [x21, _h_oggplayer@GOTPAGEOFF]
	ldr	x0, [x21]
Lloh5:
	adrp	x22, _LWP_THREAD_NULL@GOTPAGE
Lloh6:
	ldr	x22, [x22, _LWP_THREAD_NULL@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh7:
	adrp	x19, _oggplayer_queue@GOTPAGE
Lloh8:
	ldr	x19, [x19, _oggplayer_queue@GOTPAGEOFF]
Lloh9:
	adrp	x20, _LWP_TQUEUE_NULL@GOTPAGE
Lloh10:
	ldr	x20, [x20, _LWP_TQUEUE_NULL@GOTPAGEOFF]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.1:
	ldr	x8, [x19]
	ldr	x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x8
	bl	_LWP_ThreadSignal
	ldr	x0, [x21]
LBB0_3:
	mov	x1, #0
	bl	_LWP_JoinThread
	ldr	x8, [x22]
	str	x8, [x21]
LBB0_4:
	ldr	x0, [x19]
	ldr	x8, [x20]
	cmp	x0, x8
	b.eq	LBB0_6
; %bb.5:
	bl	_LWP_CloseQueue
	ldr	x8, [x20]
	str	x8, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ogg_thread_running,8,3         ; @ogg_thread_running
	.comm	_h_oggplayer,8,3                ; @h_oggplayer
	.comm	_LWP_THREAD_NULL,8,3            ; @LWP_THREAD_NULL
	.comm	_oggplayer_queue,8,3            ; @oggplayer_queue
	.comm	_LWP_TQUEUE_NULL,8,3            ; @LWP_TQUEUE_NULL
.subsections_via_symbols
