	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function camelot_pos
_camelot_pos:                           ## @camelot_pos
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movq	16(%rdi), %rdi
	movq	(%rax), %rdx
	movq	8(%rax), %rcx
	movq	_cam_pcm_data@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	_SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_3
## %bb.1:
	shlq	$5, %rcx
	cmpq	$0, 16(%rax,%rcx)
	je	LBB0_7
## %bb.2:
	addq	%rcx, %rax
	addq	$8, %rax
	jmp	LBB0_5
LBB0_3:
	shlq	$5, %rcx
	cmpq	$0, 24(%rax,%rcx)
	je	LBB0_7
## %bb.4:
	addq	%rcx, %rax
LBB0_5:
	movq	(%rax), %rsi
	popq	%rbp
	jmp	_bytes_to_frames                ## TAILCALL
LBB0_7:
	xorl	%esi, %esi
	popq	%rbp
	jmp	_bytes_to_frames                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cam_pcm_data,8,3               ## @cam_pcm_data
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ## @SNDRV_PCM_STREAM_PLAYBACK
	.no_dead_strip	_camelot_pos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function camelot_pos
_camelot_pos:                           ; @camelot_pos
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	x0, [x0, #16]
Lloh0:
	adrp	x9, _cam_pcm_data@GOTPAGE
Lloh1:
	ldr	x9, [x9, _cam_pcm_data@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldp	x11, x10, [x8]
	ldr	x8, [x10]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh3:
	adrp	x10, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	add	x8, x9, x8, lsl #5
	cmp	x11, x10
	b.ne	LBB0_3
; %bb.1:
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_5
; %bb.2:
	add	x8, x8, #8
	b	LBB0_4
LBB0_3:
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_5
LBB0_4:
	ldr	x1, [x8]
	b	_bytes_to_frames
LBB0_5:
	mov	x1, #0
	b	_bytes_to_frames
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_cam_pcm_data,8,3               ; @cam_pcm_data
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ; @SNDRV_PCM_STREAM_PLAYBACK
	.no_dead_strip	_camelot_pos
.subsections_via_symbols
