	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ov_pcm_seek                    ## -- Begin function ov_pcm_seek
	.p2align	4, 0x90
_ov_pcm_seek:                           ## @ov_pcm_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, -116(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -64(%rbp)
	callq	_ov_pcm_seek_page
	testl	%eax, %eax
	js	LBB0_41
## %bb.1:
	movq	%rbx, %rdi
	callq	__make_decode_ready
	leaq	84(%rbx), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	56(%rbx), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	-128(%rbp), %r13
	xorl	%r15d, %r15d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	80(%rbx), %edi
	xorl	%esi, %esi
	callq	_ogg_stream_packetout
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_30 Depth 2
                                        ##     Child Loop BB0_17 Depth 2
                                        ##     Child Loop BB0_4 Depth 2
	movl	80(%rbx), %edi
	movq	%r13, %rsi
	callq	_ogg_stream_packetpeek
	testl	%eax, %eax
	jle	LBB0_18
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movslq	(%rbx), %rdi
	addq	88(%rbx), %rdi
	movq	%r13, %rsi
	callq	_vorbis_packet_blocksize
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %r12d
	testl	%r15d, %r15d
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	addl	%r12d, %r15d
	sarl	$2, %r15d
	movslq	%r15d, %r15
	addq	8(%rbx), %r15
	movq	%r15, 8(%rbx)
	jmp	LBB0_11
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_OV_HOLE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_33
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	leaq	-64(%rbp), %rsi
	movl	$-1, %edx
	callq	__get_next_page
	testq	%rax, %rax
	js	LBB0_33
## %bb.21:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	24(%rbx), %r12
	leaq	-64(%rbp), %rdi
	callq	_ogg_page_serialno
	cmpq	%rax, %r12
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	__decode_clear
LBB0_23:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	32(%rbx), %rax
	movq	_STREAMSET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_28
## %bb.24:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	-64(%rbp), %rdi
	callq	_ogg_page_serialno
	movq	%rax, 24(%rbx)
	movl	40(%rbx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_25
## %bb.29:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	48(%rbx), %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_30:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rax, (%rsi,%rdx,8)
	je	LBB0_26
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=2
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_30
	jmp	LBB0_32
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rbx), %r15
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	88(%rbx), %rdi
	movl	$1, %esi
	callq	_vorbis_info_blocksize
	addl	%r12d, %eax
	sarl	$2, %eax
	cltq
	addq	%r15, %rax
	cmpq	%r14, %rax
	jge	LBB0_33
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%r12d, %r15d
	movl	80(%rbx), %edi
	xorl	%esi, %esi
	callq	_ogg_stream_packetout
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_vorbis_synthesis
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_vorbis_synthesis_blockin
	movl	-128(%rbp), %eax
	testl	%eax, %eax
	js	LBB0_5
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%rbx), %r8
	movslq	(%rbx), %rcx
	movq	%rcx, %rdx
	shlq	$4, %rdx
	subq	(%r8,%rdx), %rax
	testq	%rax, %rax
	movl	$0, %edx
	cmovleq	%rdx, %rax
	movq	%rax, 8(%rbx)
	testq	%rcx, %rcx
	jle	LBB0_5
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%ecx, %esi
	leaq	-1(%rsi), %rcx
	movl	%esi, %edx
	andl	$3, %edx
	cmpq	$3, %rcx
	jae	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	xorl	%edi, %edi
	jmp	LBB0_2
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	andl	$-4, %esi
	leaq	56(%r8), %rcx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addq	-48(%rcx), %rax
	movq	%rax, 8(%rbx)
	addq	-32(%rcx), %rax
	movq	%rax, 8(%rbx)
	addq	-16(%rcx), %rax
	movq	%rax, 8(%rbx)
	addq	(%rcx), %rax
	movq	%rax, 8(%rbx)
	addq	$4, %rdi
	addq	$64, %rcx
	cmpq	%rdi, %rsi
	jne	LBB0_17
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_5 Depth=1
	shlq	$4, %rdi
	leaq	(%r8,%rdi), %rcx
	addq	$8, %rcx
	shlq	$4, %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addq	(%rcx,%rsi), %rax
	movq	%rax, 8(%rbx)
	addq	$16, %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_4
	jmp	LBB0_5
LBB0_25:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%edx, %edx
LBB0_26:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%ecx, %edx
	je	LBB0_32
## %bb.27:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%edx, (%rbx)
	movl	80(%rbx), %edi
	movq	%rax, %rsi
	callq	_ogg_stream_reset_serialno
	movq	_STREAMSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
	movq	%rbx, %rdi
	callq	__make_decode_ready
	xorl	%r15d, %r15d
LBB0_28:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	80(%rbx), %edi
	leaq	-64(%rbp), %rsi
	callq	_ogg_stream_pagein
	jmp	LBB0_5
LBB0_32:
	leaq	-64(%rbp), %rdi
	callq	_ogg_page_release
	leaq	-128(%rbp), %rdi
	callq	_ogg_packet_release
	movq	_OV_EBADLINK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_41
LBB0_33:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 64(%rbx)
	movq	8(%rbx), %r12
	cmpq	%r14, %r12
	jge	LBB0_40
## %bb.34:
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_35
LBB0_38:                                ##   in Loop: Header=BB0_35 Depth=1
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_ov_pcm_total
	movq	%rax, %r12
	movq	%rax, 8(%rbx)
	.p2align	4, 0x90
LBB0_39:                                ##   in Loop: Header=BB0_35 Depth=1
	cmpq	%r14, %r12
	jge	LBB0_40
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %r15
	subq	%r12, %r15
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_vorbis_synthesis_pcmout
	movq	%rax, %r13
	cmpq	%r15, %rax
	movq	%r15, %r12
	cmovlq	%rax, %r12
	movq	%r14, %rdi
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_vorbis_synthesis_read
	addq	8(%rbx), %r12
	movq	%r12, 8(%rbx)
	cmpq	%r13, %r15
	jle	LBB0_39
## %bb.36:                              ##   in Loop: Header=BB0_35 Depth=1
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	__fetch_and_process_packet
	testq	%rax, %rax
	jle	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_35 Depth=1
	movq	8(%rbx), %r12
	jmp	LBB0_39
LBB0_40:
	leaq	-64(%rbp), %rdi
	callq	_ogg_page_release
	leaq	-128(%rbp), %rdi
	callq	_ogg_packet_release
	xorl	%eax, %eax
LBB0_41:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OV_HOLE,4,2                    ## @OV_HOLE
	.comm	_STREAMSET,8,3                  ## @STREAMSET
	.comm	_OV_EBADLINK,4,2                ## @OV_EBADLINK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ov_pcm_seek                    ; -- Begin function ov_pcm_seek
	.p2align	2
_ov_pcm_seek:                           ; @ov_pcm_seek
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	stp	xzr, xzr, [sp, #16]
	str	wzr, [sp, #40]
	str	xzr, [sp, #32]
	stp	xzr, xzr, [sp]
	bl	_ov_pcm_seek_page
	tbnz	w0, #31, LBB0_35
; %bb.1:
	mov	x0, x20
	bl	__make_decode_ready
	mov	w26, #0
	add	x22, x20, #84
	add	x21, x20, #56
Lloh0:
	adrp	x24, _OV_HOLE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _OV_HOLE@GOTPAGEOFF]
Lloh2:
	adrp	x25, _STREAMSET@GOTPAGE
Lloh3:
	ldr	x25, [x25, _STREAMSET@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x20, #80]
	mov	x1, #0
	bl	_ogg_stream_packetout
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
                                        ;     Child Loop BB0_21 Depth 2
	ldr	w0, [x20, #80]
	add	x1, sp, #16
	bl	_ogg_stream_packetpeek
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #88]
	ldrsw	x9, [x20]
	add	x0, x8, x9
	add	x1, sp, #16
	bl	_vorbis_packet_blocksize
	tbnz	w0, #31, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, x0
	cbz	w26, LBB0_16
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w23, w26
	asr	w8, w8, #2
	ldr	x9, [x20, #8]
	add	x26, x9, w8, sxtw
	str	x26, [x20, #8]
	b	LBB0_17
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x24]
	cmp	w0, #0
	ccmp	w0, w8, #4, ne
	b.ne	LBB0_28
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, sp
	mov	x0, x20
	mov	w2, #-1
	bl	__get_next_page
	tbnz	x0, #63, LBB0_28
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x23, [x20, #24]
	mov	x0, sp
	bl	_ogg_page_serialno
	cmp	x23, x0
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	__decode_clear
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #32]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ge	LBB0_26
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, sp
	bl	_ogg_page_serialno
	mov	x1, x0
	str	x0, [x20, #24]
	ldr	w8, [x20, #40]
	cmp	w8, #1
	b.lt	LBB0_23
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x9, #0
	ldr	x10, [x20, #48]
LBB0_14:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x10, x9, lsl #3]
	cmp	x11, x1
	b.eq	LBB0_24
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_14
	b	LBB0_27
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x26, [x20, #8]
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x20, #88]
	mov	w1, #1
	bl	_vorbis_info_blocksize
	add	w8, w0, w23
	asr	w8, w8, #2
	add	x8, x26, w8, sxtw
	cmp	x8, x19
	b.ge	LBB0_28
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x20, #80]
	mov	x1, #0
	bl	_ogg_stream_packetout
	add	x1, sp, #16
	mov	x0, x22
	mov	w2, #0
	bl	_vorbis_synthesis
	mov	x0, x21
	mov	x1, x22
	bl	_vorbis_synthesis_blockin
	ldr	w8, [sp, #16]
	mov	x26, x23
	tbnz	w8, #31, LBB0_3
; %bb.19:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x20, #16]
	ldrsw	x9, [x20]
	lsl	x11, x9, #4
	ldr	x11, [x10, x11]
	sub	x8, x8, x11
	cmp	x8, #0
	csel	x8, x8, xzr, gt
	str	x8, [x20, #8]
	mov	x26, x23
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.20:                               ;   in Loop: Header=BB0_3 Depth=1
	and	x9, x9, #0xffffffff
	add	x10, x10, #8
LBB0_21:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x10], #16
	add	x8, x8, x11
	str	x8, [x20, #8]
	subs	x9, x9, #1
	b.ne	LBB0_21
; %bb.22:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, x23
	b	LBB0_3
LBB0_23:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w9, #0
LBB0_24:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w9, w8
	b.eq	LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_3 Depth=1
	str	w9, [x20]
	ldr	w0, [x20, #80]
	bl	_ogg_stream_reset_serialno
	ldr	x8, [x25]
	str	x8, [x20, #32]
	mov	x0, x20
	bl	__make_decode_ready
	mov	w26, #0
LBB0_26:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x20, #80]
	mov	x1, sp
	bl	_ogg_stream_pagein
	b	LBB0_3
LBB0_27:
	mov	x0, sp
	bl	_ogg_page_release
	add	x0, sp, #16
	bl	_ogg_packet_release
Lloh4:
	adrp	x8, _OV_EBADLINK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _OV_EBADLINK@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	b	LBB0_35
LBB0_28:
	stp	xzr, xzr, [x20, #64]
	b	LBB0_33
LBB0_29:                                ;   Parent Loop BB0_33 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x0, x19
	b.ge	LBB0_34
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=2
	sub	x24, x19, x0
	mov	x0, x21
	mov	x1, #0
	bl	_vorbis_synthesis_pcmout
	mov	x22, x0
	cmp	x0, x24
	csel	x23, x0, x24, lt
	mov	x0, x21
	mov	x1, x23
	bl	_vorbis_synthesis_read
	ldr	x8, [x20, #8]
	add	x0, x8, x23
	str	x0, [x20, #8]
	cmp	x24, x22
	b.le	LBB0_29
; %bb.31:                               ;   in Loop: Header=BB0_29 Depth=2
	mov	x0, x20
	mov	w1, #1
	mov	w2, #1
	bl	__fetch_and_process_packet
	cmp	x0, #1
	b.ge	LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_29 Depth=2
	mov	x0, x20
	mov	w1, #-1
	bl	_ov_pcm_total
	str	x0, [x20, #8]
	b	LBB0_29
LBB0_33:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_29 Depth 2
	ldr	x0, [x20, #8]
	b	LBB0_29
LBB0_34:
	mov	x0, sp
	bl	_ogg_page_release
	add	x0, sp, #16
	bl	_ogg_packet_release
	mov	w0, #0
LBB0_35:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_OV_HOLE,4,2                    ; @OV_HOLE
	.comm	_STREAMSET,8,3                  ; @STREAMSET
	.comm	_OV_EBADLINK,4,2                ; @OV_EBADLINK
.subsections_via_symbols
