	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wav_reader_seek
_wav_reader_seek:                       ## @wav_reader_seek
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	(%rax), %rbx
	movl	%edx, %edi
	callq	_VC_CONTAINER_PARAM_UNUSED
	movl	%r12d, %edi
	callq	_VC_CONTAINER_PARAM_UNUSED
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	imull	(%r15), %ecx
	movslq	%ecx, %rcx
	imulq	$1125899907, %rcx, %rcx         ## imm = 0x431BDE83
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$53, %rcx
	addl	%edx, %ecx
	movq	8(%rax), %rax
	movl	(%rax), %esi
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movl	%ecx, %eax
	cltd
	idivl	%esi
	subl	%edx, %ecx
LBB0_2:
	movl	(%rbx), %eax
	cmpl	%eax, %ecx
	cmovll	%ecx, %eax
	movl	%eax, 4(%rbx)
	movq	$0, 16(%rbx)
	jge	LBB0_3
## %bb.4:
	movslq	%eax, %rsi
	addq	8(%rbx), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SEEK                           ## TAILCALL
LBB0_3:
	movq	_VC_CONTAINER_ERROR_EOS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_ERROR_EOS,4,2     ## @VC_CONTAINER_ERROR_EOS
	.no_dead_strip	_wav_reader_seek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wav_reader_seek
_wav_reader_seek:                       ; @wav_reader_seek
	.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	x20, x3
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x22, [x8]
	mov	x0, x2
	bl	_VC_CONTAINER_PARAM_UNUSED
	mov	x0, x20
	bl	_VC_CONTAINER_PARAM_UNUSED
	ldr	w8, [x21]
	ldr	x9, [x19]
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldr	w10, [x9]
	mul	w8, w10, w8
	mov	w10, #56963
	movk	w10, #17179, lsl #16
	smull	x8, w8, w10
	lsr	x10, x8, #63
	asr	x8, x8, #53
	add	w8, w8, w10
	ldr	x9, [x9, #8]
	ldr	w9, [x9]
	cbz	w9, LBB0_2
; %bb.1:
	sdiv	w8, w8, w9
	mul	w8, w8, w9
LBB0_2:
	ldr	w10, [x22]
	cmp	w8, w10
	csel	w9, w8, w10, lt
	str	w9, [x22, #4]
	str	xzr, [x22, #16]
	cmp	w10, w8
	b.le	LBB0_4
; %bb.3:
	ldr	x8, [x22, #8]
	add	x1, x8, w9, sxtw
	mov	x0, x19
	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
	b	_SEEK
LBB0_4:
Lloh0:
	adrp	x8, _VC_CONTAINER_ERROR_EOS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_EOS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_ERROR_EOS,4,2     ; @VC_CONTAINER_ERROR_EOS
	.no_dead_strip	_wav_reader_seek
.subsections_via_symbols
