	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ov_pcm_seek_page               ## -- Begin function ov_pcm_seek_page
	.p2align	4, 0x90
_ov_pcm_seek_page:                      ## @ov_pcm_seek_page
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	$-1, %esi
	callq	_ov_pcm_total
	movq	%rax, %r14
	movq	(%r15), %rax
	movq	_OPENED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_2
LBB0_1:
	movq	_OV_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_62
LBB0_2:
	cmpl	$0, 96(%r15)
	je	LBB0_9
## %bb.3:
	testq	%rbx, %rbx
	js	LBB0_1
## %bb.4:
	cmpq	%rbx, %r14
	jl	LBB0_1
## %bb.5:
	movslq	8(%r15), %rsi
	movl	%esi, %eax
	sarl	$31, %eax
	andl	%esi, %eax
	leal	-1(%rax), %r9d
	leal	(%rsi,%rsi), %ecx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rsi, %rsi
	jle	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	decq	%rsi
	movq	16(%r15), %rdx
	leal	-1(%rcx), %edi
	movslq	%edi, %rdi
	subq	(%rdx,%rdi,8), %r14
	addl	$-2, %ecx
	cmpq	%rbx, %r14
	jg	LBB0_6
## %bb.8:
	leal	1(%rsi), %eax
	movl	%esi, %r9d
	jmp	LBB0_11
LBB0_9:
	movq	_OV_ENOSEEK@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_62
LBB0_10:
	movq	16(%r15), %rdx
	leal	(%r9,%r9), %ecx
	leal	(%r9,%r9), %esi
	incl	%esi
	movslq	%esi, %rdi
LBB0_11:
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	cltq
	movq	24(%r15), %rsi
	movq	32(%r15), %r8
	movq	(%rsi,%rax,8), %rsi
	movq	%r9, -136(%rbp)                 ## 8-byte Spill
	movslq	%r9d, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	(%r8,%rax,8), %rbx
	movslq	%ecx, %rax
	movq	(%rdx,%rax,8), %rcx
	movq	(%rdx,%rdi,8), %rax
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	addq	%rcx, %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	cmpq	%rsi, %rbx
	jne	LBB0_14
## %bb.12:
	movq	%r15, %rdi
	movq	%rsi, %rbx
	callq	__seek_helper
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_61
## %bb.13:
	leaq	-52(%rbp), %rsi
	movl	$1, %r12d
	movq	%r15, %rdi
	movl	$1, %edx
	callq	__get_next_page
	movq	%rax, %r13
	testq	%rax, %rax
	jns	LBB0_15
	jmp	LBB0_61
LBB0_14:
	movq	%rsi, %rbx
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
LBB0_15:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, %rbx
	jle	LBB0_50
## %bb.16:
	movq	%rbx, %rdx
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	subq	%r14, %rax
	addq	-104(%rbp), %rax                ## 8-byte Folded Reload
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	$-1, -88(%rbp)                  ## 8-byte Folded Spill
	movq	_CHUNKSIZE@GOTPCREL(%rip), %rax
LBB0_17:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_21 Depth 2
                                        ##       Child Loop BB0_24 Depth 3
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	subq	%rcx, %rdx
	movq	%rcx, %rbx
	movq	%rcx, %rsi
	cmpq	(%rax), %rdx
	jl	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movq	-104(%rbp), %rax                ## 8-byte Reload
	subq	%rax, %rdi
	movq	-144(%rbp), %rsi                ## 8-byte Reload
	subq	%rax, %rsi
	callq	_rescale64
	movq	%rax, %rsi
	movq	%rbx, %rcx
	addq	%rbx, %rsi
	movq	_CHUNKSIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subq	%rax, %rsi
	addq	%rbx, %rax
	cmpq	%rax, %rsi
	cmovlq	%rbx, %rsi
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	%r15, %rdi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	callq	__seek_helper
	testq	%rax, %rax
	jne	LBB0_43
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	%rbx, %rcx
	cmpq	%rbx, %rdx
	jle	LBB0_38
LBB0_21:                                ##   Parent Loop BB0_17 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_24 Depth 3
	movq	%rcx, %rbx
	movl	40(%r15), %eax
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
                                        ## kill: def $edx killed $edx killed $rdx
	subl	%eax, %edx
	movq	%r15, %rdi
	leaq	-52(%rbp), %rsi
	callq	__get_next_page
	movq	%rax, %r13
	movq	_OV_EREAD@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	je	LBB0_61
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=2
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_24 Depth=3
	movl	40(%r15), %eax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, %edx
	subl	%eax, %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	__get_next_page
	movq	%rax, %r13
	movl	$1, %r12d
	movq	_OV_EREAD@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	je	LBB0_61
LBB0_24:                                ##   Parent Loop BB0_17 Depth=1
                                        ##     Parent Loop BB0_21 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	testq	%r13, %r13
	js	LBB0_29
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=3
	leaq	-52(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ogg_page_serialno
	movq	48(%r15), %rcx
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	cmpq	(%rcx,%rdx,8), %rax
	jne	LBB0_23
## %bb.26:                              ##   in Loop: Header=BB0_24 Depth=3
	movq	%rbx, %rdi
	callq	_ogg_page_granulepos
	cmpl	$-1, %eax
	je	LBB0_23
## %bb.27:                              ##   in Loop: Header=BB0_21 Depth=2
	movslq	%eax, %rcx
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	subq	%rcx, %rdx
	jle	LBB0_34
## %bb.28:                              ##   in Loop: Header=BB0_21 Depth=2
	movq	40(%r15), %rbx
	movl	$1, %r12d
	movq	%r13, %rax
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	cmpq	$44100, %rdx                    ## imm = 0xAC44
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	jle	LBB0_33
	jmp	LBB0_41
LBB0_29:                                ##   in Loop: Header=BB0_21 Depth=2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	1(%rax), %rbx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rbx, %rax
	jle	LBB0_44
## %bb.30:                              ##   in Loop: Header=BB0_21 Depth=2
	testq	%rax, %rax
	je	LBB0_61
## %bb.31:                              ##   in Loop: Header=BB0_21 Depth=2
	movq	_CHUNKSIZE@GOTPCREL(%rip), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	subq	(%rax), %rcx
	cmpq	-48(%rbp), %rcx                 ## 8-byte Folded Reload
	cmovgq	%rcx, %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	__seek_helper
	testq	%rax, %rax
	jne	LBB0_43
## %bb.32:                              ##   in Loop: Header=BB0_21 Depth=2
	xorl	%eax, %eax
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
LBB0_33:                                ##   in Loop: Header=BB0_21 Depth=2
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rdx, %rcx
	jl	LBB0_21
	jmp	LBB0_40
LBB0_34:                                ##   in Loop: Header=BB0_21 Depth=2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incq	%rax
	cmpq	%rax, -64(%rbp)                 ## 8-byte Folded Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jle	LBB0_65
## %bb.35:                              ##   in Loop: Header=BB0_21 Depth=2
	cmpq	40(%r15), %rbx
	jne	LBB0_42
## %bb.36:                              ##   in Loop: Header=BB0_21 Depth=2
	movq	%rax, %rdx
	movq	_CHUNKSIZE@GOTPCREL(%rip), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	subq	(%rax), %rcx
	cmpq	-48(%rbp), %rcx                 ## 8-byte Folded Reload
	movq	%rdx, %rbx
	cmovgq	%rcx, %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	__seek_helper
	testq	%rax, %rax
	jne	LBB0_43
## %bb.37:                              ##   in Loop: Header=BB0_21 Depth=2
	movl	$1, %r12d
	xorl	%eax, %eax
	movq	%r13, %rdx
	jmp	LBB0_33
LBB0_38:                                ##   in Loop: Header=BB0_17 Depth=1
	xorl	%r13d, %r13d
LBB0_39:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	_CHUNKSIZE@GOTPCREL(%rip), %rax
	cmpq	%rcx, %rdx
	jg	LBB0_17
	jmp	LBB0_45
LBB0_40:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	%rax, %r13
	jmp	LBB0_39
LBB0_41:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_39
LBB0_42:                                ##   in Loop: Header=BB0_17 Depth=1
	movl	$1, %r12d
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_39
LBB0_65:
	movl	$1, %r12d
LBB0_44:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
LBB0_45:
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	cmpq	$-1, %rsi
	je	LBB0_50
## %bb.46:
	movq	%r15, %rdi
	callq	__seek_helper
	movq	%rax, %r13
	movl	$-1, 56(%r15)
	testq	%rax, %rax
	jne	LBB0_61
## %bb.47:
	leaq	-116(%rbp), %rsi
	movq	%r15, %rdi
	movl	$-1, %edx
	callq	__get_next_page
	testq	%rax, %rax
	js	LBB0_43
## %bb.48:
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	cmpl	60(%r15), %ebx
	jne	LBB0_68
## %bb.49:
	leaq	92(%r15), %rdi
	callq	_vorbis_synthesis_restart
	movq	64(%r15), %rsi
	jmp	LBB0_69
LBB0_50:
	testl	%r12d, %r12d
	je	LBB0_61
## %bb.51:
	movq	32(%r15), %rax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	cmpq	(%rax,%rbx,8), %rcx
	jne	LBB0_61
## %bb.52:
	leaq	-52(%rbp), %rdi
	callq	_ogg_page_serialno
	movq	48(%r15), %rcx
	cmpq	(%rcx,%rbx,8), %rax
	jne	LBB0_61
## %bb.53:
	movl	%r14d, 56(%r15)
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	cmpl	60(%r15), %ebx
	jne	LBB0_55
## %bb.54:
	leaq	92(%r15), %rdi
	callq	_vorbis_synthesis_restart
	movq	64(%r15), %rsi
	jmp	LBB0_56
LBB0_43:
	movq	%rax, %r13
	jmp	LBB0_61
LBB0_55:
	movq	%r15, %rdi
	callq	__decode_clear
	movl	%ebx, 60(%r15)
	movq	48(%r15), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rsi
	movq	%rsi, 64(%r15)
	movq	_STREAMSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
LBB0_56:
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	leaq	88(%r15), %rbx
	movq	%rbx, %rdi
	callq	_ogg_stream_reset_serialno
	leaq	-52(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_ogg_stream_pagein
	movl	56(%r15), %r14d
LBB0_57:
	movslq	%r14d, %rax
	cmpq	%r12, %rax
	jg	LBB0_59
## %bb.58:
	movq	%r15, %rdi
	movl	$-1, %esi
	callq	_ov_pcm_total
	cmpq	%r12, %rax
	jge	LBB0_63
LBB0_59:
	movq	_OV_EFAULT@GOTPCREL(%rip), %rax
LBB0_60:
	movq	(%rax), %r13
LBB0_61:
	movl	$-1, 56(%r15)
	movq	%r15, %rdi
	callq	__decode_clear
LBB0_62:
	movl	%r13d, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_63:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 72(%r15)
	xorl	%r13d, %r13d
	jmp	LBB0_62
LBB0_68:
	movq	%r15, %rdi
	callq	__decode_clear
	movl	%ebx, 60(%r15)
	movq	48(%r15), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rsi
	movq	%rsi, 64(%r15)
	movq	_STREAMSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
LBB0_69:
	leaq	88(%r15), %rbx
	movq	%rbx, %rdi
	callq	_ogg_stream_reset_serialno
	leaq	-116(%rbp), %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ogg_stream_pagein
LBB0_70:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_74 Depth 2
	movq	%rbx, %rdi
	leaq	-112(%rbp), %rsi
	callq	_ogg_stream_packetpeek
	testq	%rax, %rax
	jne	LBB0_78
## %bb.71:                              ##   in Loop: Header=BB0_70 Depth=1
	movq	32(%r15), %rcx
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, %rax
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	cmpq	(%rcx,%rdx,8), %rsi
	jle	LBB0_78
## %bb.72:                              ##   in Loop: Header=BB0_70 Depth=1
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_74
LBB0_73:                                ##   in Loop: Header=BB0_74 Depth=2
	movq	32(%r15), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	cmpq	(%rax,%rcx,8), %r13
	jle	LBB0_79
LBB0_74:                                ##   Parent Loop BB0_70 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	__get_prev_page
	movq	%rax, %r13
	testq	%rax, %rax
	js	LBB0_61
## %bb.75:                              ##   in Loop: Header=BB0_74 Depth=2
	movq	%r12, %rdi
	callq	_ogg_page_serialno
	cmpq	64(%r15), %rax
	jne	LBB0_73
## %bb.76:                              ##   in Loop: Header=BB0_74 Depth=2
	movq	%r12, %rdi
	callq	_ogg_page_granulepos
	testl	%eax, %eax
	jns	LBB0_81
## %bb.77:                              ##   in Loop: Header=BB0_74 Depth=2
	movq	%r12, %rdi
	callq	_ogg_page_continued
	testl	%eax, %eax
	jne	LBB0_73
	jmp	LBB0_81
LBB0_78:                                ##   in Loop: Header=BB0_70 Depth=1
	testq	%rax, %rax
	js	LBB0_82
LBB0_79:                                ##   in Loop: Header=BB0_70 Depth=1
	movl	-112(%rbp), %eax
	cmpl	$-1, %eax
	jne	LBB0_83
## %bb.80:                              ##   in Loop: Header=BB0_70 Depth=1
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ogg_stream_packetout
	jmp	LBB0_70
LBB0_81:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_ov_raw_seek
	movl	%eax, %r13d
	jmp	LBB0_62
LBB0_82:
	movq	_OV_EBADPACKET@GOTPCREL(%rip), %rax
	jmp	LBB0_60
LBB0_83:
	movq	16(%r15), %rcx
	movslq	60(%r15), %rdx
	shlq	$4, %rdx
	subl	(%rcx,%rdx), %eax
	xorl	%ecx, %ecx
	testl	%eax, %eax
	cmovgl	%eax, %ecx
	addl	%ecx, %r14d
	movl	%r14d, 56(%r15)
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_57
	.cfi_endproc
                                        ## -- End function
	.comm	_OPENED,8,3                     ## @OPENED
	.comm	_OV_EINVAL,4,2                  ## @OV_EINVAL
	.comm	_OV_ENOSEEK,4,2                 ## @OV_ENOSEEK
	.comm	_CHUNKSIZE,8,3                  ## @CHUNKSIZE
	.comm	_OV_EREAD,8,3                   ## @OV_EREAD
	.comm	_STREAMSET,8,3                  ## @STREAMSET
	.comm	_OV_EBADPACKET,8,3              ## @OV_EBADPACKET
	.comm	_OV_EFAULT,8,3                  ## @OV_EFAULT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ov_pcm_seek_page               ; -- Begin function ov_pcm_seek_page
	.p2align	2
_ov_pcm_seek_page:                      ; @ov_pcm_seek_page
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	mov	w1, #-1
	bl	_ov_pcm_total
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _OPENED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OPENED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_2
LBB0_1:
Lloh3:
	adrp	x8, _OV_EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OV_EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	b	LBB0_61
LBB0_2:
	ldr	w8, [x19, #96]
	cbz	w8, LBB0_9
; %bb.3:
	tbnz	x20, #63, LBB0_1
; %bb.4:
	mov	x21, x0
	cmp	x0, x20
	b.lt	LBB0_1
; %bb.5:
	ldrsw	x11, [x19, #8]
	cmp	w11, #0
	csel	w9, w11, wzr, lt
	sub	w14, w9, #1
	lsl	w8, w11, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x11, #0
	b.le	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x11, x11, #1
	ldr	x10, [x19, #16]
	sub	w12, w8, #1
	ldr	x13, [x10, w12, sxtw #3]
	sub	w8, w8, #2
	sub	x21, x21, x13
	cmp	x21, x20
	b.gt	LBB0_6
; %bb.8:
	sxtw	x12, w12
	add	w9, w11, #1
	mov	x14, x11
	b	LBB0_11
LBB0_9:
Lloh6:
	adrp	x8, _OV_ENOSEEK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OV_ENOSEEK@GOTPAGEOFF]
Lloh8:
	ldr	w23, [x8]
	b	LBB0_61
LBB0_10:
	ldr	x10, [x19, #16]
	lsl	w8, w14, #1
	mov	w11, #1
	bfi	w11, w14, #1, #31
	sxtw	x12, w11
LBB0_11:
	ldp	x11, x13, [x19, #24]
	ldr	x24, [x11, w9, sxtw #3]
	ldr	x28, [x13, w14, sxtw #3]
	ldr	x8, [x10, w8, sxtw #3]
	stp	x8, x14, [sp, #32]              ; 16-byte Folded Spill
	ldr	x25, [x10, x12, lsl #3]
	cmp	x28, x24
	b.ne	LBB0_14
; %bb.12:
	mov	x0, x19
	mov	x1, x24
	bl	__seek_helper
	mov	x23, x0
	cbnz	x0, LBB0_60
; %bb.13:
	mov	w22, #1
	add	x1, sp, #60
	mov	x0, x19
	mov	w2, #1
	bl	__get_next_page
	mov	x23, x0
	tbz	x0, #63, LBB0_15
	b	LBB0_60
LBB0_14:
	mov	x23, #0
	mov	w22, #0
LBB0_15:
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	sxtw	x26, w8
	cmp	x24, x28
	b.le	LBB0_48
; %bb.16:
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	add	x8, x25, x9
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	sub	x8, x20, x21
	add	x8, x9, x8
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	mov	x8, #-1
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
Lloh9:
	adrp	x8, _CHUNKSIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CHUNKSIZE@GOTPAGEOFF]
Lloh11:
	adrp	x27, _OV_EREAD@GOTPAGE
Lloh12:
	ldr	x27, [x27, _OV_EREAD@GOTPAGEOFF]
LBB0_17:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_21 Depth 2
                                        ;       Child Loop BB0_23 Depth 3
	ldr	x8, [x8]
	sub	x2, x24, x28
	cmp	x2, x8
	mov	x25, x28
	b.lt	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldp	x9, x8, [sp, #24]               ; 16-byte Folded Reload
	sub	x0, x9, x8
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	sub	x1, x9, x8
	bl	_rescale64
Lloh13:
	adrp	x8, _CHUNKSIZE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CHUNKSIZE@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	add	x9, x0, x28
	sub	x9, x9, x8
	add	x8, x8, x28
	cmp	x9, x8
	csel	x25, x28, x9, lt
LBB0_19:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x19
	mov	x1, x25
	bl	__seek_helper
	cbnz	x0, LBB0_53
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=1
	cmp	x24, x28
	b.le	LBB0_38
LBB0_21:                                ;   Parent Loop BB0_17 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_23 Depth 3
	ldr	w8, [x19, #40]
	sub	w2, w24, w8
	add	x1, sp, #60
	mov	x0, x19
	bl	__get_next_page
	mov	x23, x0
	ldr	x8, [x27]
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=3
	ldr	w8, [x19, #40]
	sub	w2, w24, w8
	add	x1, sp, #60
	mov	x0, x19
	bl	__get_next_page
	mov	x23, x0
	ldr	x8, [x27]
	mov	w22, #1
LBB0_23:                                ;   Parent Loop BB0_17 Depth=1
                                        ;     Parent Loop BB0_21 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	cmp	x0, x8
	b.eq	LBB0_60
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=3
	tbnz	x23, #63, LBB0_29
; %bb.25:                               ;   in Loop: Header=BB0_23 Depth=3
	add	x0, sp, #60
	bl	_ogg_page_serialno
	ldr	x8, [x19, #48]
	ldr	x8, [x8, x26, lsl #3]
	cmp	x0, x8
	b.ne	LBB0_22
; %bb.26:                               ;   in Loop: Header=BB0_23 Depth=3
	add	x0, sp, #60
	bl	_ogg_page_granulepos
                                        ; kill: def $w0 killed $w0 def $x0
	cmn	w0, #1
	b.eq	LBB0_22
; %bb.27:                               ;   in Loop: Header=BB0_21 Depth=2
	sxtw	x8, w0
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	subs	x9, x9, x8
	b.le	LBB0_33
; %bb.28:                               ;   in Loop: Header=BB0_21 Depth=2
	mov	w22, #1
	mov	x0, x23
	ldr	x28, [x19, #40]
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	str	x23, [sp, #8]                   ; 8-byte Folded Spill
	mov	x25, x28
	mov	w10, #44100
	cmp	x9, x10
	b.le	LBB0_32
	b	LBB0_40
LBB0_29:                                ;   in Loop: Header=BB0_21 Depth=2
	add	x8, x28, #1
	cmp	x25, x8
	b.le	LBB0_43
; %bb.30:                               ;   in Loop: Header=BB0_21 Depth=2
	cbz	x25, LBB0_60
; %bb.31:                               ;   in Loop: Header=BB0_21 Depth=2
Lloh16:
	adrp	x9, _CHUNKSIZE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _CHUNKSIZE@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	sub	x9, x25, x9
	cmp	x9, x28
	csel	x25, x9, x8, gt
	mov	x0, x19
	mov	x1, x25
	bl	__seek_helper
	cbnz	x0, LBB0_53
LBB0_32:                                ;   in Loop: Header=BB0_21 Depth=2
	cmp	x28, x24
	b.lt	LBB0_21
	b	LBB0_37
LBB0_33:                                ;   in Loop: Header=BB0_21 Depth=2
	add	x9, x28, #1
	cmp	x25, x9
	b.le	LBB0_42
; %bb.34:                               ;   in Loop: Header=BB0_21 Depth=2
	ldr	x10, [x19, #40]
	cmp	x24, x10
	b.ne	LBB0_41
; %bb.35:                               ;   in Loop: Header=BB0_21 Depth=2
Lloh19:
	adrp	x8, _CHUNKSIZE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CHUNKSIZE@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	sub	x8, x25, x8
	cmp	x8, x28
	csel	x25, x8, x9, gt
	mov	x0, x19
	mov	x1, x25
	bl	__seek_helper
	cbnz	x0, LBB0_53
; %bb.36:                               ;   in Loop: Header=BB0_21 Depth=2
	mov	w22, #1
	mov	x24, x23
	cmp	x28, x24
	b.lt	LBB0_21
LBB0_37:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	x23, x0
	b	LBB0_39
LBB0_38:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	x23, #0
LBB0_39:                                ;   in Loop: Header=BB0_17 Depth=1
	cmp	x24, x28
Lloh22:
	adrp	x8, _CHUNKSIZE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CHUNKSIZE@GOTPAGEOFF]
	b.gt	LBB0_17
	b	LBB0_43
LBB0_40:                                ;   in Loop: Header=BB0_17 Depth=1
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	str	x23, [sp, #8]                   ; 8-byte Folded Spill
	b	LBB0_39
LBB0_41:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	w22, #1
	mov	x24, x25
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	b	LBB0_39
LBB0_42:
	mov	w22, #1
LBB0_43:
	ldr	x25, [sp, #8]                   ; 8-byte Folded Reload
	cmn	x25, #1
	ldr	x24, [sp, #40]                  ; 8-byte Folded Reload
	b.eq	LBB0_48
; %bb.44:
	mov	x0, x19
	mov	x1, x25
	bl	__seek_helper
	mov	x23, x0
	mov	w8, #-1
	str	w8, [x19, #56]
	cbnz	x0, LBB0_60
; %bb.45:
	add	x1, sp, #56
	mov	x0, x19
	mov	w2, #-1
	bl	__get_next_page
	tbnz	x0, #63, LBB0_53
; %bb.46:
	ldr	w8, [x19, #60]
	cmp	w24, w8
	b.ne	LBB0_63
; %bb.47:
	add	x0, x19, #92
	bl	_vorbis_synthesis_restart
	ldr	x1, [x19, #64]
	b	LBB0_64
LBB0_48:
	cbz	w22, LBB0_60
; %bb.49:
	ldr	x8, [x19, #32]
	ldr	x8, [x8, x26, lsl #3]
	cmp	x28, x8
	b.ne	LBB0_60
; %bb.50:
	add	x0, sp, #60
	bl	_ogg_page_serialno
	ldr	x8, [x19, #48]
	ldr	x8, [x8, x26, lsl #3]
	cmp	x0, x8
	b.ne	LBB0_60
; %bb.51:
	str	w21, [x19, #56]
	ldr	w8, [x19, #60]
	ldr	x21, [sp, #40]                  ; 8-byte Folded Reload
	cmp	w21, w8
	b.ne	LBB0_54
; %bb.52:
	add	x0, x19, #92
	bl	_vorbis_synthesis_restart
	ldr	x1, [x19, #64]
	b	LBB0_55
LBB0_53:
	mov	x23, x0
	b	LBB0_60
LBB0_54:
	mov	x0, x19
	bl	__decode_clear
	ldr	x8, [x19, #48]
	ldr	x1, [x8, x26, lsl #3]
	str	w21, [x19, #60]
	str	x1, [x19, #64]
Lloh24:
	adrp	x8, _STREAMSET@GOTPAGE
Lloh25:
	ldr	x8, [x8, _STREAMSET@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_55:
	add	x21, x19, #88
	mov	x0, x21
	bl	_ogg_stream_reset_serialno
	add	x1, sp, #60
	mov	x0, x21
	bl	_ogg_stream_pagein
	ldr	w8, [x19, #56]
LBB0_56:
	sxtw	x8, w8
	cmp	x8, x20
	b.gt	LBB0_58
; %bb.57:
	mov	x0, x19
	mov	w1, #-1
	bl	_ov_pcm_total
	cmp	x0, x20
	b.ge	LBB0_62
LBB0_58:
Lloh27:
	adrp	x8, _OV_EFAULT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _OV_EFAULT@GOTPAGEOFF]
LBB0_59:
	ldr	x23, [x8]
LBB0_60:
	mov	w8, #-1
	str	w8, [x19, #56]
	mov	x0, x19
	bl	__decode_clear
LBB0_61:
	mov	x0, x23
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_62:
	mov	w23, #0
	stp	xzr, xzr, [x19, #72]
	b	LBB0_61
LBB0_63:
	mov	x0, x19
	bl	__decode_clear
	ldr	x8, [x19, #48]
	ldr	x1, [x8, x26, lsl #3]
	str	w24, [x19, #60]
	str	x1, [x19, #64]
Lloh29:
	adrp	x8, _STREAMSET@GOTPAGE
Lloh30:
	ldr	x8, [x8, _STREAMSET@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_64:
	add	x24, x19, #88
	mov	x0, x24
	bl	_ogg_stream_reset_serialno
	add	x1, sp, #56
	mov	x0, x24
	bl	_ogg_stream_pagein
LBB0_65:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_69 Depth 2
	add	x1, sp, #48
	mov	x0, x24
	bl	_ogg_stream_packetpeek
	cbnz	x0, LBB0_73
; %bb.66:                               ;   in Loop: Header=BB0_65 Depth=1
	ldr	x8, [x19, #32]
	ldr	x8, [x8, x26, lsl #3]
	mov	x0, x25
	cmp	x25, x8
	b.le	LBB0_73
; %bb.67:                               ;   in Loop: Header=BB0_65 Depth=1
	mov	x23, x25
	b	LBB0_69
LBB0_68:                                ;   in Loop: Header=BB0_69 Depth=2
	ldr	x8, [x19, #32]
	ldr	x8, [x8, x26, lsl #3]
	cmp	x23, x8
	b.le	LBB0_74
LBB0_69:                                ;   Parent Loop BB0_65 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x2, sp, #56
	mov	x0, x19
	mov	x1, x23
	bl	__get_prev_page
	mov	x23, x0
	tbnz	x0, #63, LBB0_60
; %bb.70:                               ;   in Loop: Header=BB0_69 Depth=2
	add	x0, sp, #56
	bl	_ogg_page_serialno
	ldr	x8, [x19, #64]
	cmp	x0, x8
	b.ne	LBB0_68
; %bb.71:                               ;   in Loop: Header=BB0_69 Depth=2
	add	x0, sp, #56
	bl	_ogg_page_granulepos
	tbz	w0, #31, LBB0_76
; %bb.72:                               ;   in Loop: Header=BB0_69 Depth=2
	add	x0, sp, #56
	bl	_ogg_page_continued
	cbnz	w0, LBB0_68
	b	LBB0_76
LBB0_73:                                ;   in Loop: Header=BB0_65 Depth=1
	tbnz	x0, #63, LBB0_77
LBB0_74:                                ;   in Loop: Header=BB0_65 Depth=1
	ldr	w8, [sp, #48]
	cmn	w8, #1
	b.ne	LBB0_78
; %bb.75:                               ;   in Loop: Header=BB0_65 Depth=1
	mov	x0, x24
	mov	x1, #0
	bl	_ogg_stream_packetout
	b	LBB0_65
LBB0_76:
	mov	x0, x19
	mov	x1, x23
	bl	_ov_raw_seek
	mov	x23, x0
	b	LBB0_61
LBB0_77:
Lloh32:
	adrp	x8, _OV_EBADPACKET@GOTPAGE
Lloh33:
	ldr	x8, [x8, _OV_EBADPACKET@GOTPAGEOFF]
	b	LBB0_59
LBB0_78:
	ldr	x9, [x19, #16]
	ldrsw	x10, [x19, #60]
	lsl	x10, x10, #4
	ldr	w9, [x9, x10]
	sub	w8, w8, w9
	cmp	w8, #0
	csel	w8, w8, wzr, gt
	add	w8, w8, w21
	str	w8, [x19, #56]
	b	LBB0_56
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_OPENED,8,3                     ; @OPENED
	.comm	_OV_EINVAL,4,2                  ; @OV_EINVAL
	.comm	_OV_ENOSEEK,4,2                 ; @OV_ENOSEEK
	.comm	_CHUNKSIZE,8,3                  ; @CHUNKSIZE
	.comm	_OV_EREAD,8,3                   ; @OV_EREAD
	.comm	_STREAMSET,8,3                  ; @STREAMSET
	.comm	_OV_EBADPACKET,8,3              ; @OV_EBADPACKET
	.comm	_OV_EFAULT,8,3                  ; @OV_EFAULT
.subsections_via_symbols
