	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SNDOpenSLGetAudioSpace
_SNDOpenSLGetAudioSpace:                ## @SNDOpenSLGetAudioSpace
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_mbufferSizeInBytes@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_soundoffset@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_currentpos@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	subl	(%rax,%rdx,4), %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	cmovgl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mbufferSizeInBytes,4,2         ## @mbufferSizeInBytes
	.comm	_soundoffset,8,3                ## @soundoffset
	.comm	_currentpos,8,3                 ## @currentpos
	.no_dead_strip	_SNDOpenSLGetAudioSpace
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SNDOpenSLGetAudioSpace
_SNDOpenSLGetAudioSpace:                ; @SNDOpenSLGetAudioSpace
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _mbufferSizeInBytes@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mbufferSizeInBytes@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _soundoffset@GOTPAGE
Lloh4:
	ldr	x9, [x9, _soundoffset@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _currentpos@GOTPAGE
Lloh7:
	ldr	x10, [x10, _currentpos@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	ldr	w9, [x9, x10, lsl #2]
	sub	w8, w8, w9
	cmp	w8, #0
	csel	w0, w8, wzr, gt
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mbufferSizeInBytes,4,2         ; @mbufferSizeInBytes
	.comm	_soundoffset,8,3                ; @soundoffset
	.comm	_currentpos,8,3                 ; @currentpos
	.no_dead_strip	_SNDOpenSLGetAudioSpace
.subsections_via_symbols
