	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function _prefetch_all_headers
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
__prefetch_all_headers:                 ## @_prefetch_all_headers
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	56(%rdi), %rdi
	movl	(%r15), %esi
	callq	__ogg_realloc
	movq	%rax, 56(%r15)
	movq	48(%r15), %rdi
	movl	(%r15), %esi
	callq	__ogg_realloc
	movq	%rax, 48(%r15)
	movl	(%r15), %edi
	shll	$2, %edi
	callq	__ogg_malloc
	movq	%rax, 8(%r15)
	movl	(%r15), %edi
	shll	$3, %edi
	callq	__ogg_malloc
	movq	%rax, 16(%r15)
	cmpl	$0, (%r15)
	jle	LBB0_27
## %bb.1:
	leaq	-80(%rbp), %rbx
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	56(%r15), %rdi
	addq	%r12, %rdi
	callq	_vorbis_info_clear
	addq	48(%r15), %r12
	movq	%r12, %rdi
	callq	_vorbis_comment_clear
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rbx
	movslq	(%r15), %rax
	movq	%r13, %r12
	cmpq	%rax, %r13
	jge	LBB0_27
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##       Child Loop BB0_14 Depth 3
                                        ##     Child Loop BB0_22 Depth 2
	testq	%r12, %r12
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r15), %rax
	movl	(%rax,%r12,4), %esi
	movq	%r15, %rdi
	callq	__seek_helper
	movq	56(%r15), %rsi
	addq	%r12, %rsi
	movq	48(%r15), %rdx
	addq	%r12, %rdx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	__fetch_headers
	testq	%rax, %rax
	js	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	32(%r15), %eax
	movq	8(%r15), %rcx
	movl	%eax, (%rcx,%r12,4)
	cmpl	$-1, %eax
	jne	LBB0_8
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rax
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%esi, (%rax)
	movq	%r15, %rdi
	callq	__seek_helper
	movq	8(%r15), %rax
	movl	(%rax), %eax
	cmpl	$-1, %eax
	je	LBB0_21
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	64(%r15), %edi
	movq	40(%r15), %rax
	movq	(%rax,%r12,8), %rsi
	callq	_ogg_stream_reset_serialno
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -112(%rbp)
	movq	$0, -96(%rbp)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$-1, %edx
	callq	__get_next_page
	testl	%eax, %eax
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	js	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	$-1, %r14
	movq	%rbx, %r12
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_14 Depth 3
	movq	%r12, %rdi
	callq	_ogg_page_serialno
	movq	40(%r15), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	cmpq	(%rcx,%rdx,8), %rax
	jne	LBB0_20
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	%r12, %rdi
	callq	_ogg_page_granulepos
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	64(%r15), %edi
	movq	%r12, %rsi
	callq	_ogg_stream_pagein
	movl	64(%r15), %edi
	leaq	-112(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_ogg_stream_packetout
	testl	%eax, %eax
	je	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=3
	movl	64(%r15), %edi
	movq	%rbx, %rsi
	callq	_ogg_stream_packetout
	testl	%eax, %eax
	je	LBB0_17
LBB0_14:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_11 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	testl	%eax, %eax
	jle	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=3
	movq	56(%r15), %rdi
	addq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_vorbis_packet_blocksize
	movq	%rax, %rcx
	addq	%r14, %rcx
	shrq	$2, %rcx
	cmpq	$-1, %r14
	movl	$0, %edx
	cmovel	%edx, %ecx
	addl	%r13d, %ecx
	movq	%rax, %r14
	movl	%ecx, %r13d
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	%rbx, %rdi
	callq	_ogg_packet_release
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	cmpl	$-1, %eax
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_11 Depth=2
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -112(%rbp)
	movq	$0, -96(%rbp)
	movq	%r15, %rdi
	leaq	-80(%rbp), %r12
	movq	%r12, %rsi
	movl	$-1, %edx
	callq	__get_next_page
	testl	%eax, %eax
	jns	LBB0_11
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rax
	movl	$-1, (%rax,%r12,4)
	jmp	LBB0_21
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %r12
	xorl	%r13d, %r13d
	jmp	LBB0_20
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	subl	%r13d, %eax
	movl	%eax, %r13d
	leaq	-80(%rbp), %r12
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%r13d, %r13d
	movl	$0, %eax
	cmovlel	%eax, %r13d
	movq	16(%r15), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%r13d, (%rax,%rcx,8)
	movq	%r12, %rbx
	movq	%rcx, %r12
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r15), %rax
	leaq	1(%r12), %r13
	movl	4(%rax,%r12,4), %esi
	movq	%r15, %rdi
	callq	__seek_helper
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	__get_prev_page
	movq	%rbx, %r14
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=2
	movq	%r14, %rdi
	callq	_ogg_page_granulepos
	cmpl	$-1, %eax
	jne	LBB0_25
## %bb.28:                              ##   in Loop: Header=BB0_22 Depth=2
	movl	%ebx, 32(%r15)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	__get_prev_page
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_ogg_page_granulepos
	movq	16(%r15), %rcx
	subl	(%rcx,%r12,8), %eax
	movl	%eax, 4(%rcx,%r12,8)
	jmp	LBB0_26
LBB0_27:
	leaq	-80(%rbp), %rdi
	callq	_ogg_page_release
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	__prefetch_all_headers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _prefetch_all_headers
__prefetch_all_headers:                 ; @_prefetch_all_headers
	.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, #32]
	ldr	x0, [x0, #56]
	ldr	w1, [x20]
	bl	__ogg_realloc
	str	x0, [x20, #56]
	ldr	x0, [x20, #48]
	ldr	w1, [x20]
	bl	__ogg_realloc
	str	x0, [x20, #48]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	__ogg_malloc
	str	x0, [x20, #8]
	ldr	w8, [x20]
	lsl	w0, w8, #3
	bl	__ogg_malloc
	str	x0, [x20, #16]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_25
; %bb.1:
	mov	x23, #0
	mov	w22, #-1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #56]
	add	x0, x8, x23
	bl	_vorbis_info_clear
	ldr	x8, [x20, #48]
	add	x0, x8, x23
	bl	_vorbis_comment_clear
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x8, [x20]
	mov	x23, x24
	cmp	x24, x8
	b.ge	LBB0_25
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
                                        ;       Child Loop BB0_12 Depth 3
                                        ;     Child Loop BB0_21 Depth 2
	cbz	x23, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #24]
	ldr	w1, [x8, x23, lsl #2]
	mov	x0, x20
	bl	__seek_helper
	ldp	x9, x8, [x20, #48]
	add	x1, x8, x23
	add	x2, x9, x23
	mov	x0, x20
	mov	x3, #0
	mov	x4, #0
	bl	__fetch_headers
	tbnz	x0, #63, LBB0_17
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20, #32]
	ldr	x9, [x20, #8]
	str	w8, [x9, x23, lsl #2]
	cmn	w8, #1
	b.ne	LBB0_8
	b	LBB0_20
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #8]
	str	w19, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	__seek_helper
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	cmn	w8, #1
	b.eq	LBB0_20
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x20, #64]
	ldr	x8, [x20, #40]
	ldr	x1, [x8, x23, lsl #3]
	bl	_ogg_stream_reset_serialno
	stp	xzr, xzr, [sp, #8]
	str	xzr, [sp, #24]
	add	x1, sp, #32
	mov	x0, x20
	mov	w2, #-1
	bl	__get_next_page
	mov	w24, #0
	tbnz	w0, #31, LBB0_19
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, #-1
LBB0_10:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_12 Depth 3
	add	x0, sp, #32
	bl	_ogg_page_serialno
	ldr	x8, [x20, #40]
	ldr	x8, [x8, x23, lsl #3]
	cmp	x0, x8
	b.ne	LBB0_19
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	add	x0, sp, #32
	bl	_ogg_page_granulepos
	mov	x21, x0
	ldr	w0, [x20, #64]
	add	x1, sp, #32
	bl	_ogg_stream_pagein
LBB0_12:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_10 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w0, [x20, #64]
	add	x1, sp, #8
	bl	_ogg_stream_packetout
	cbz	w0, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=3
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=3
	ldr	x8, [x20, #56]
	add	x0, x8, x23
	add	x1, sp, #8
	bl	_vorbis_packet_blocksize
	add	x8, x0, x25
	lsr	x8, x8, #2
	cmn	x25, #1
	csel	w8, wzr, w8, eq
	add	w24, w8, w24
	mov	x25, x0
	b	LBB0_12
LBB0_15:                                ;   in Loop: Header=BB0_10 Depth=2
	add	x0, sp, #8
	bl	_ogg_packet_release
	cmn	w21, #1
	b.ne	LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=2
	stp	xzr, xzr, [sp, #8]
	str	xzr, [sp, #24]
	add	x1, sp, #32
	mov	x0, x20
	mov	w2, #-1
	bl	__get_next_page
	tbz	w0, #31, LBB0_10
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #8]
	str	w22, [x8, x23, lsl #2]
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w24, w21, w24
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w24, #0
	csel	w8, w24, wzr, gt
	ldr	x9, [x20, #16]
	lsl	x10, x23, #3
	str	w8, [x9, x10]
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #24]
	add	x24, x23, #1
	ldr	w1, [x8, x24, lsl #2]
	mov	x0, x20
	bl	__seek_helper
LBB0_21:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x1, sp, #32
	mov	x0, x20
	bl	__get_prev_page
	mov	x21, x0
	tbnz	w0, #31, LBB0_2
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=2
	add	x0, sp, #32
	bl	_ogg_page_granulepos
	cmn	w0, #1
	b.ne	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=2
	str	w21, [x20, #32]
	b	LBB0_21
LBB0_24:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #32
	bl	_ogg_page_granulepos
	ldr	x8, [x20, #16]
	add	x8, x8, x23, lsl #3
	ldr	w9, [x8]
	sub	w9, w0, w9
	str	w9, [x8, #4]
	b	LBB0_3
LBB0_25:
	add	x0, sp, #32
	bl	_ogg_page_release
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	__prefetch_all_headers
.subsections_via_symbols
