	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ov_raw_seek                    ## -- Begin function ov_raw_seek
	.p2align	4, 0x90
_ov_raw_seek:                           ## @ov_raw_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_OPENED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_2
LBB0_1:
	movq	_OV_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_56
LBB0_2:
	movq	%rdi, %r15
	cmpl	$0, 116(%rdi)
	je	LBB0_3
## %bb.4:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	js	LBB0_1
## %bb.5:
	cmpq	%rbx, 8(%r15)
	jl	LBB0_1
## %bb.6:
	movq	_STREAMSET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_10
## %bb.7:
	movq	16(%r15), %rax
	movq	24(%r15), %rcx
	cmpq	%rbx, (%rax,%rcx,8)
	jg	LBB0_9
## %bb.8:
	cmpq	%rbx, 8(%rax,%rcx,8)
	jg	LBB0_10
LBB0_9:
	movq	%r15, %rdi
	callq	__decode_clear
LBB0_10:
	movl	$-1, 32(%r15)
	leaq	96(%r15), %r14
	movq	40(%r15), %rsi
	movq	%r14, %rdi
	callq	_ogg_stream_reset_serialno
	leaq	112(%r15), %rdi
	callq	_vorbis_synthesis_restart
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	__seek_helper
	testl	%eax, %eax
	je	LBB0_11
## %bb.55:
	movl	$-1, 32(%r15)
	leaq	-44(%rbp), %rdi
	callq	_ogg_stream_clear
	movq	%r15, %rdi
	callq	__decode_clear
	movq	_OV_EBADLINK@GOTPCREL(%rip), %rax
	jmp	LBB0_56
LBB0_3:
	movq	_OV_ENOSEEK@GOTPCREL(%rip), %rax
LBB0_56:
	movl	(%rax), %eax
LBB0_57:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	40(%r15), %rsi
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ogg_stream_init
	movq	%rbx, %rdi
	callq	_ogg_stream_reset
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	-92(%rbp), %r12
	movl	$0, -80(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
                                        ##       Child Loop BB0_49 Depth 3
	movl	%r13d, %r14d
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_52:                                ##   in Loop: Header=BB0_13 Depth=2
	cmpl	%eax, %ecx
	jne	LBB0_53
LBB0_13:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_49 Depth 3
	movq	(%r15), %rax
	movq	_STREAMSET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	leaq	-44(%rbp), %rdi
	jl	LBB0_37
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	leaq	-64(%rbp), %rsi
	callq	_ogg_stream_packetout
	testl	%eax, %eax
	jle	LBB0_37
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	24(%r15), %rax
	movq	104(%r15), %rcx
	cmpq	$0, (%rcx,%rax,8)
	jne	LBB0_16
## %bb.36:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_ogg_stream_packetout
LBB0_37:                                ##   in Loop: Header=BB0_13 Depth=2
	testl	%r14d, %r14d
	jne	LBB0_38
## %bb.39:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	$-1, %edx
	callq	__get_next_page
	testq	%rax, %rax
	js	LBB0_40
## %bb.41:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	%rax, %r13
	movq	(%r15), %rax
	movq	_STREAMSET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_45
## %bb.42:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	40(%r15), %rbx
	movq	%r12, %rdi
	callq	_ogg_page_serialno
	cmpq	%rax, %rbx
	je	LBB0_45
## %bb.43:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	%r12, %rdi
	callq	_ogg_page_bos
	testq	%rax, %rax
	je	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	%r15, %rdi
	callq	__decode_clear
	leaq	-44(%rbp), %rdi
	callq	_ogg_stream_clear
	.p2align	4, 0x90
LBB0_45:                                ##   in Loop: Header=BB0_13 Depth=2
	movq	(%r15), %rax
	movq	_STREAMSET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_46
## %bb.47:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	%r12, %rdi
	callq	_ogg_page_serialno
	movq	%rax, %rbx
	movl	56(%r15), %eax
	xorl	%r14d, %r14d
	movl	$0, %ecx
	testl	%eax, %eax
	jle	LBB0_52
## %bb.48:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	64(%r15), %rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_49:                                ##   Parent Loop BB0_12 Depth=1
                                        ##     Parent Loop BB0_13 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpq	%rbx, (%rdx,%rcx,8)
	je	LBB0_52
## %bb.50:                              ##   in Loop: Header=BB0_49 Depth=3
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_49
## %bb.51:                              ##   in Loop: Header=BB0_13 Depth=2
	movl	%eax, %ecx
	jmp	LBB0_52
LBB0_46:                                ##   in Loop: Header=BB0_13 Depth=2
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	-44(%rbp), %r14
	jmp	LBB0_54
LBB0_53:                                ##   in Loop: Header=BB0_13 Depth=2
	movl	%ecx, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, 24(%r15)
	movq	%rbx, 40(%r15)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_ogg_stream_reset_serialno
	leaq	-44(%rbp), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ogg_stream_reset_serialno
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	_STREAMSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	72(%r15), %rax
	xorl	%ecx, %ecx
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	cmpq	(%rax,%rdx,8), %r13
	setle	%cl
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
LBB0_54:                                ##   in Loop: Header=BB0_13 Depth=2
	movq	%r12, %rsi
	callq	_ogg_stream_pagein
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_ogg_stream_pagein
	movq	%r12, %rdi
	callq	_ogg_page_eos
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_13
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	leaq	(%rcx,%rax,8), %rdi
	leaq	-64(%rbp), %rsi
	callq	_vorbis_packet_blocksize
	testl	%eax, %eax
	js	LBB0_17
## %bb.19:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	%eax, %r13d
	cmpl	$0, -80(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpl	$0, -88(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_12 Depth=1
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_18
LBB0_17:                                ##   in Loop: Header=BB0_12 Depth=1
	xorl	%r13d, %r13d
LBB0_18:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_ogg_stream_packetout
	jmp	LBB0_24
LBB0_22:                                ##   in Loop: Header=BB0_12 Depth=1
	testl	%r14d, %r14d
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	%r13d, %eax
	addl	%r14d, %eax
	shrl	$2, %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, %ecx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
LBB0_24:                                ##   in Loop: Header=BB0_12 Depth=1
	movslq	-64(%rbp), %rsi
	cmpq	$-1, %rsi
	je	LBB0_12
## %bb.25:
	movq	24(%r15), %rcx
	movq	48(%r15), %r8
	leal	(%rcx,%rcx), %eax
	cltq
	subq	(%r8,%rax,8), %rsi
	xorl	%eax, %eax
	testq	%rsi, %rsi
	cmovleq	%rax, %rsi
	testl	%ecx, %ecx
	jle	LBB0_26
## %bb.27:
	movl	%ecx, %ecx
	cmpl	$5, %ecx
	jae	LBB0_29
## %bb.28:
	xorl	%ebx, %ebx
	jmp	LBB0_32
LBB0_38:
	movl	$-1, %eax
	jmp	LBB0_35
LBB0_40:
	movq	%r15, %rdi
	movl	$-1, %esi
	callq	_ov_pcm_total
LBB0_35:
	movl	%eax, 32(%r15)
	leaq	-44(%rbp), %rdi
	callq	_ogg_stream_clear
	pxor	%xmm0, %xmm0
	movdqu	%xmm0, 80(%r15)
	xorl	%eax, %eax
	jmp	LBB0_57
LBB0_26:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_34
LBB0_29:
	movl	%ecx, %edi
	andl	$3, %edi
	testq	%rdi, %rdi
	movl	$4, %edx
	cmovneq	%rdi, %rdx
	movq	%rcx, %rbx
	subq	%rdx, %rbx
	movq	%rsi, %xmm1
	leaq	40(%r8), %rsi
	pxor	%xmm0, %xmm0
	movq	%rbx, %rdi
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movdqu	-32(%rsi), %xmm2
	movdqu	-16(%rsi), %xmm3
	punpcklqdq	%xmm3, %xmm2            ## xmm2 = xmm2[0],xmm3[0]
	paddq	%xmm2, %xmm1
	movdqu	(%rsi), %xmm2
	movdqu	16(%rsi), %xmm3
	punpcklqdq	%xmm3, %xmm2            ## xmm2 = xmm2[0],xmm3[0]
	paddq	%xmm2, %xmm0
	addq	$64, %rsi
	addq	$-4, %rdi
	jne	LBB0_30
## %bb.31:
	paddq	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddq	%xmm0, %xmm1
	movq	%xmm1, %rsi
LBB0_32:
	subq	%rbx, %rcx
	shlq	$4, %rbx
	leaq	(%rbx,%r8), %rdx
	addq	$8, %rdx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	addq	(%rdx), %rsi
	addq	$16, %rdx
	decq	%rcx
	jne	LBB0_33
LBB0_34:
	subl	%edi, %esi
	testl	%esi, %esi
	cmovgl	%esi, %eax
	jmp	LBB0_35
	.cfi_endproc
                                        ## -- End function
	.comm	_OPENED,8,3                     ## @OPENED
	.comm	_OV_EINVAL,4,2                  ## @OV_EINVAL
	.comm	_OV_ENOSEEK,4,2                 ## @OV_ENOSEEK
	.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_raw_seek                    ; -- Begin function ov_raw_seek
	.p2align	2
_ov_raw_seek:                           ; @ov_raw_seek
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	ldr	x8, [x0]
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]
	b	LBB0_12
LBB0_2:
	mov	x19, x0
	ldr	w9, [x0, #116]
	cbz	w9, LBB0_11
; %bb.3:
	mov	x21, x1
	tbnz	x1, #63, LBB0_1
; %bb.4:
	ldr	x9, [x19, #8]
	cmp	x9, x21
	b.lt	LBB0_1
; %bb.5:
Lloh5:
	adrp	x25, _STREAMSET@GOTPAGE
Lloh6:
	ldr	x25, [x25, _STREAMSET@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x8, x9
	b.lt	LBB0_9
; %bb.6:
	ldp	x8, x9, [x19, #16]
	ldr	x10, [x8, x9, lsl #3]
	cmp	x10, x21
	b.gt	LBB0_8
; %bb.7:
	add	x8, x8, x9, lsl #3
	ldr	x8, [x8, #8]
	cmp	x8, x21
	b.gt	LBB0_9
LBB0_8:
	mov	x0, x19
	bl	__decode_clear
LBB0_9:
	mov	w22, #-1
	str	w22, [x19, #32]
	add	x20, x19, #96
	ldr	x1, [x19, #40]
	mov	x0, x20
	bl	_ogg_stream_reset_serialno
	add	x0, x19, #112
	bl	_vorbis_synthesis_restart
	mov	x0, x19
	mov	x1, x21
	bl	__seek_helper
	cbz	w0, LBB0_14
; %bb.10:
	str	w22, [x19, #32]
	add	x0, sp, #12
	bl	_ogg_stream_clear
	mov	x0, x19
	bl	__decode_clear
Lloh7:
	adrp	x8, _OV_EBADLINK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _OV_EBADLINK@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh9:
	adrp	x8, _OV_ENOSEEK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OV_ENOSEEK@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
LBB0_13:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_14:
	ldr	x1, [x19, #40]
	add	x0, sp, #12
	bl	_ogg_stream_init
	add	x0, sp, #12
	bl	_ogg_stream_reset
	mov	w24, #0
	mov	w21, #0
	mov	w26, #0
	mov	w22, #0
LBB0_15:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
                                        ;       Child Loop BB0_31 Depth 3
	mov	x27, x22
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=2
	mov	w28, #0
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=2
	mov	w27, #0
	cmp	w28, w8
	b.ne	LBB0_34
LBB0_18:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_31 Depth 3
	ldr	x8, [x19]
	ldr	x9, [x25]
	cmp	x8, x9
	b.lt	LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=2
	add	x0, sp, #12
	mov	x1, sp
	bl	_ogg_stream_packetout
	cmp	w0, #1
	b.lt	LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=2
	ldr	x8, [x19, #104]
	ldr	x9, [x19, #24]
	add	x0, x8, x9, lsl #3
	ldr	x8, [x0]
	cbnz	x8, LBB0_36
; %bb.21:                               ;   in Loop: Header=BB0_18 Depth=2
	mov	x0, x20
	mov	x1, #0
	bl	_ogg_stream_packetout
LBB0_22:                                ;   in Loop: Header=BB0_18 Depth=2
	cbnz	w27, LBB0_46
; %bb.23:                               ;   in Loop: Header=BB0_18 Depth=2
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #-1
	bl	__get_next_page
	tbnz	x0, #63, LBB0_47
; %bb.24:                               ;   in Loop: Header=BB0_18 Depth=2
	mov	x22, x0
	ldr	x8, [x19]
	ldr	x9, [x25]
	cmp	x8, x9
	b.lt	LBB0_28
; %bb.25:                               ;   in Loop: Header=BB0_18 Depth=2
	ldr	x23, [x19, #40]
	add	x0, sp, #8
	bl	_ogg_page_serialno
	cmp	x23, x0
	b.eq	LBB0_28
; %bb.26:                               ;   in Loop: Header=BB0_18 Depth=2
	add	x0, sp, #8
	bl	_ogg_page_bos
	cbz	x0, LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_18 Depth=2
	mov	x0, x19
	bl	__decode_clear
	add	x0, sp, #12
	bl	_ogg_stream_clear
LBB0_28:                                ;   in Loop: Header=BB0_18 Depth=2
	ldr	x8, [x19]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ge	LBB0_35
; %bb.29:                               ;   in Loop: Header=BB0_18 Depth=2
	add	x0, sp, #8
	bl	_ogg_page_serialno
	mov	x23, x0
	ldr	w8, [x19, #56]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.30:                               ;   in Loop: Header=BB0_18 Depth=2
	mov	x28, #0
	ldr	x9, [x19, #64]
LBB0_31:                                ;   Parent Loop BB0_15 Depth=1
                                        ;     Parent Loop BB0_18 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x10, [x9, x28, lsl #3]
	cmp	x10, x23
	b.eq	LBB0_17
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=3
	add	x28, x28, #1
	cmp	x8, x28
	b.ne	LBB0_31
; %bb.33:                               ;   in Loop: Header=BB0_18 Depth=2
	mov	x28, x8
	b	LBB0_17
LBB0_34:                                ;   in Loop: Header=BB0_18 Depth=2
	mov	w8, w28
	str	x8, [x19, #24]
	str	x23, [x19, #40]
	mov	x0, x20
	mov	x1, x23
	bl	_ogg_stream_reset_serialno
	add	x0, sp, #12
	mov	x1, x23
	bl	_ogg_stream_reset_serialno
	ldr	x8, [x25]
	str	x8, [x19]
	ldr	x8, [x19, #72]
	ldr	x8, [x8, w28, uxtw #3]
	cmp	x22, x8
	cset	w26, le
LBB0_35:                                ;   in Loop: Header=BB0_18 Depth=2
	add	x1, sp, #8
	mov	x0, x20
	bl	_ogg_stream_pagein
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_ogg_stream_pagein
	add	x0, sp, #8
	bl	_ogg_page_eos
	mov	x21, x0
	mov	w27, #0
	b	LBB0_18
LBB0_36:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x1, sp
	bl	_vorbis_packet_blocksize
	tbnz	w0, #31, LBB0_40
; %bb.37:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x22, x0
	cbz	w21, LBB0_41
; %bb.38:                               ;   in Loop: Header=BB0_15 Depth=1
	cbnz	w26, LBB0_41
; %bb.39:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x20
	mov	x1, #0
	bl	_ogg_stream_packetout
	b	LBB0_42
LBB0_40:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x20
	mov	x1, #0
	bl	_ogg_stream_packetout
	mov	w22, #0
	b	LBB0_42
LBB0_41:                                ;   in Loop: Header=BB0_15 Depth=1
	add	w8, w22, w27
	add	w8, w24, w8, lsr #2
	cmp	w27, #0
	csel	w24, w24, w8, eq
LBB0_42:                                ;   in Loop: Header=BB0_15 Depth=1
	ldrsw	x9, [sp]
	cmn	w9, #1
	b.eq	LBB0_15
; %bb.43:
	ldr	x10, [x19, #24]
	ldr	x8, [x19, #48]
	lsl	w11, w10, #1
	ldr	x11, [x8, w11, sxtw #3]
	sub	x9, x9, x11
	cmp	x9, #0
	csel	x11, x9, xzr, gt
	cmp	w10, #1
	b.lt	LBB0_54
; %bb.44:
	and	x9, x10, #0xffffffff
	cmp	x9, #9
	b.hs	LBB0_49
; %bb.45:
	mov	x10, #0
	b	LBB0_52
LBB0_46:
	mov	w0, #-1
	b	LBB0_48
LBB0_47:
	mov	x0, x19
	mov	w1, #-1
	bl	_ov_pcm_total
LBB0_48:
	str	w0, [x19, #32]
	add	x0, sp, #12
	bl	_ogg_stream_clear
	mov	w0, #0
	stp	xzr, xzr, [x19, #80]
	b	LBB0_13
LBB0_49:
	ands	x10, x9, #0x7
	mov	w12, #8
	csel	x10, x12, x10, eq
	sub	x10, x9, x10
	movi.2d	v0, #0000000000000000
	movi.2d	v1, #0000000000000000
	mov.d	v1[0], x11
	add	x12, x8, #72
	mov	x11, x10
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_50:                                ; =>This Inner Loop Header: Depth=1
	sub	x13, x12, #64
	ld2.2d	{ v4, v5 }, [x13]
	sub	x13, x12, #32
	ld2.2d	{ v6, v7 }, [x13]
	add	x13, x12, #128
	ld2.2d	{ v16, v17 }, [x12], #32
	ld2.2d	{ v18, v19 }, [x12]
	add.2d	v1, v4, v1
	add.2d	v0, v6, v0
	add.2d	v2, v16, v2
	add.2d	v3, v18, v3
	mov	x12, x13
	subs	x11, x11, #8
	b.ne	LBB0_50
; %bb.51:
	add.2d	v0, v0, v1
	add.2d	v0, v2, v0
	add.2d	v0, v3, v0
	addp.2d	d0, v0
	fmov	x11, d0
LBB0_52:
	add	x8, x8, x10, lsl #4
	add	x8, x8, #8
	sub	x9, x9, x10
LBB0_53:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8], #16
	add	x11, x10, x11
	subs	x9, x9, #1
	b.ne	LBB0_53
LBB0_54:
	sub	w8, w11, w24
	cmp	w8, #0
	csel	w0, w8, wzr, gt
	b	LBB0_48
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_OPENED,8,3                     ; @OPENED
	.comm	_OV_EINVAL,4,2                  ; @OV_EINVAL
	.comm	_OV_ENOSEEK,4,2                 ; @OV_ENOSEEK
	.comm	_STREAMSET,8,3                  ; @STREAMSET
	.comm	_OV_EBADLINK,4,2                ; @OV_EBADLINK
.subsections_via_symbols
