	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _fetch_headers
__fetch_headers:                        ## @_fetch_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rdi, %r14
	testq	%r9, %r9
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_1
LBB0_4:
	movq	%rsi, %rdi
	callq	_vorbis_info_init
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_vorbis_comment_init
	movq	_OPENED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	%r12, %rdi
	callq	_ogg_page_bos
	testq	%rax, %rax
	je	LBB0_27
## %bb.5:
	leaq	8(%r14), %r13
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	callq	_ogg_page_bos
	testq	%rax, %rax
	je	LBB0_27
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	(%rbx), %rsi
	movl	(%r15), %edx
	movq	%r12, %rdi
	callq	__lookup_page_serialno
	testq	%rax, %rax
	jne	LBB0_8
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	__add_serialno
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r14), %rax
	movq	_STREAMSET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_20
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	callq	_ogg_page_serialno
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_ogg_stream_reset_serialno
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_ogg_stream_pagein
	movq	%r13, %rdi
	leaq	-60(%rbp), %rsi
	callq	_ogg_stream_packetout
	testl	%eax, %eax
	jle	LBB0_20
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	-60(%rbp), %rdi
	callq	_vorbis_synthesis_idheader
	testq	%rax, %rax
	je	LBB0_20
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_STREAMSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	leaq	-60(%rbp), %rdx
	callq	_vorbis_synthesis_headerin
	testl	%eax, %eax
	jne	LBB0_16
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_CHUNKSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	__get_next_page
	movq	%rax, %r15
	movq	_OV_EREAD@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_18
## %bb.21:                              ##   in Loop: Header=BB0_6 Depth=1
	testl	%r15d, %r15d
	js	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r14), %rax
	movq	_STREAMSET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r13), %rbx
	movq	%r12, %rdi
	callq	_ogg_page_serialno
	cmpq	%rax, %rbx
	jne	LBB0_26
## %bb.25:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_ogg_stream_pagein
LBB0_27:
	movq	(%r14), %rax
	movq	_STREAMSET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.28:
	leaq	8(%r14), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movl	$0, -80(%rbp)                   ## 4-byte Folded Spill
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_29:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_37 Depth 2
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	leaq	-60(%rbp), %rsi
	callq	_ogg_stream_packetout
	testl	%eax, %eax
	je	LBB0_36
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	cmpl	$-1, %eax
	je	LBB0_31
## %bb.32:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	leaq	-60(%rbp), %rdx
	callq	_vorbis_synthesis_headerin
	testl	%eax, %eax
	jne	LBB0_33
## %bb.34:                              ##   in Loop: Header=BB0_29 Depth=1
	incl	%r13d
	cmpl	$2, %r13d
	jne	LBB0_29
	jmp	LBB0_35
LBB0_36:                                ##   in Loop: Header=BB0_29 Depth=1
	xorl	%r15d, %r15d
	cmpl	$1, %r13d
	jg	LBB0_42
	.p2align	4, 0x90
LBB0_37:                                ##   Parent Loop BB0_29 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_CHUNKSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	__get_next_page
	testq	%rax, %rax
	js	LBB0_16
## %bb.38:                              ##   in Loop: Header=BB0_37 Depth=2
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rbx
	movq	%r12, %rdi
	callq	_ogg_page_serialno
	cmpq	%rax, %rbx
	je	LBB0_41
## %bb.39:                              ##   in Loop: Header=BB0_37 Depth=2
	movq	%r12, %rdi
	callq	_ogg_page_bos
	testq	%rax, %rax
	je	LBB0_37
## %bb.40:                              ##   in Loop: Header=BB0_37 Depth=2
	cmpl	$0, -80(%rbp)                   ## 4-byte Folded Reload
	movl	$1, -80(%rbp)                   ## 4-byte Folded Spill
	je	LBB0_37
	jmp	LBB0_16
LBB0_41:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_ogg_stream_pagein
	cmpl	$2, %r13d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jl	LBB0_29
	jmp	LBB0_42
LBB0_1:
	movq	%r15, %r13
	movq	_CHUNKSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-84(%rbp), %r12
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	__get_next_page
	movq	%rax, %r15
	movq	_OV_EREAD@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_42
## %bb.2:
	testl	%r15d, %r15d
	movq	%r13, %r15
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	jns	LBB0_4
## %bb.3:
	movq	_OV_ENOTVORBIS@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_42
LBB0_22:
	movq	_OV_ENOTVORBIS@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_8:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	__ogg_free
LBB0_10:
	movq	$0, (%rbx)
	movl	$0, (%r15)
LBB0_16:
	movq	_OV_EBADHEADER@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %r15d
LBB0_18:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_19:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	_OPENED@GOTPCREL(%rip), %r12
	callq	_vorbis_info_clear
	movq	%rbx, %rdi
	callq	_vorbis_comment_clear
	movq	(%r12), %rax
	movq	%rax, (%r14)
LBB0_42:
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	movq	_OV_EBADHEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_19
LBB0_33:
	movl	%eax, %r15d
	jmp	LBB0_19
LBB0_35:
	xorl	%r15d, %r15d
	jmp	LBB0_42
	.cfi_endproc
                                        ## -- End function
	.comm	_CHUNKSIZE,4,2                  ## @CHUNKSIZE
	.comm	_OV_EREAD,4,2                   ## @OV_EREAD
	.comm	_OV_ENOTVORBIS,4,2              ## @OV_ENOTVORBIS
	.comm	_OPENED,8,3                     ## @OPENED
	.comm	_OV_EBADHEADER,4,2              ## @OV_EBADHEADER
	.comm	_STREAMSET,8,3                  ## @STREAMSET
	.no_dead_strip	__fetch_headers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _fetch_headers
__fetch_headers:                        ; @_fetch_headers
	.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
	mov	x22, x5
	mov	x23, x4
	mov	x24, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	cbz	x5, LBB0_29
LBB0_1:
	mov	x0, x21
	bl	_vorbis_info_init
	str	x20, [sp]                       ; 8-byte Folded Spill
	mov	x0, x20
	bl	_vorbis_comment_init
Lloh0:
	adrp	x8, _OPENED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OPENED@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x19]
	mov	x0, x22
	bl	_ogg_page_bos
Lloh3:
	adrp	x27, _STREAMSET@GOTPAGE
Lloh4:
	ldr	x27, [x27, _STREAMSET@GOTPAGEOFF]
	cbz	x0, LBB0_16
; %bb.2:
	add	x25, x19, #8
Lloh5:
	adrp	x28, _CHUNKSIZE@GOTPAGE
Lloh6:
	ldr	x28, [x28, _CHUNKSIZE@GOTPAGEOFF]
Lloh7:
	adrp	x26, _OV_EREAD@GOTPAGE
Lloh8:
	ldr	x26, [x26, _OV_EREAD@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_ogg_page_bos
	cbz	x0, LBB0_16
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x24, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x24]
	ldr	w2, [x23]
	mov	x0, x22
	bl	__lookup_page_serialno
	cbnz	x0, LBB0_35
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	mov	x1, x24
	mov	x2, x23
	bl	__add_serialno
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ge	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_ogg_page_serialno
	mov	x1, x0
	mov	x0, x25
	bl	_ogg_stream_reset_serialno
	mov	x0, x25
	mov	x1, x22
	bl	_ogg_stream_pagein
	add	x1, sp, #8
	mov	x0, x25
	bl	_ogg_stream_packetout
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #8
	bl	_vorbis_synthesis_idheader
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x27]
	str	x8, [x19]
	add	x2, sp, #8
	mov	x0, x21
	ldr	x1, [sp]                        ; 8-byte Folded Reload
	bl	_vorbis_synthesis_headerin
	cbnz	w0, LBB0_38
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [x28]
	mov	x0, x19
	mov	x1, x22
	bl	__get_next_page
	ldr	w8, [x26]
	cmp	w8, w0
	b.eq	LBB0_33
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	tbnz	w0, #31, LBB0_32
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x20, [x25]
	mov	x0, x22
	bl	_ogg_page_serialno
	cmp	x20, x0
	b.ne	LBB0_3
; %bb.15:
	mov	x0, x25
	mov	x1, x22
	bl	_ogg_stream_pagein
LBB0_16:
	ldr	x8, [x19]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_32
; %bb.17:
	mov	w24, #0
	mov	w26, #0
	add	x23, x19, #8
Lloh9:
	adrp	x27, _CHUNKSIZE@GOTPAGE
Lloh10:
	ldr	x27, [x27, _CHUNKSIZE@GOTPAGEOFF]
	ldr	x28, [sp]                       ; 8-byte Folded Reload
LBB0_18:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_23 Depth 2
	add	x1, sp, #8
	mov	x0, x23
	bl	_ogg_stream_packetout
	cbz	w0, LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	cmn	w0, #1
	b.eq	LBB0_34
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=1
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x28
	bl	_vorbis_synthesis_headerin
	cbnz	w0, LBB0_45
; %bb.21:                               ;   in Loop: Header=BB0_18 Depth=1
	add	w24, w24, #1
	cmp	w24, #2
	b.ne	LBB0_18
	b	LBB0_44
LBB0_22:                                ;   in Loop: Header=BB0_18 Depth=1
	cmp	w24, #1
	b.gt	LBB0_44
LBB0_23:                                ;   Parent Loop BB0_18 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w2, [x27]
	mov	x0, x19
	mov	x1, x22
	bl	__get_next_page
	tbnz	x0, #63, LBB0_34
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=2
	ldr	x20, [x23]
	mov	x0, x22
	bl	_ogg_page_serialno
	cmp	x20, x0
	b.eq	LBB0_28
; %bb.25:                               ;   in Loop: Header=BB0_23 Depth=2
	mov	x0, x22
	bl	_ogg_page_bos
	cbz	x0, LBB0_23
; %bb.26:                               ;   in Loop: Header=BB0_23 Depth=2
	cbnz	w26, LBB0_34
; %bb.27:                               ;   in Loop: Header=BB0_23 Depth=2
	mov	w26, #1
	b	LBB0_23
LBB0_28:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x23
	mov	x1, x22
	bl	_ogg_stream_pagein
	mov	w25, #0
	cmp	w24, #2
	b.lt	LBB0_18
	b	LBB0_42
LBB0_29:
Lloh11:
	adrp	x8, _CHUNKSIZE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CHUNKSIZE@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	add	x1, sp, #12
	mov	x0, x19
	bl	__get_next_page
	mov	x25, x0
Lloh14:
	adrp	x8, _OV_EREAD@GOTPAGE
Lloh15:
	ldr	x8, [x8, _OV_EREAD@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w8, w25
	b.eq	LBB0_42
; %bb.30:
	tbnz	w25, #31, LBB0_43
; %bb.31:
	add	x22, sp, #12
	b	LBB0_1
LBB0_32:
Lloh17:
	adrp	x8, _OV_ENOTVORBIS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _OV_ENOTVORBIS@GOTPAGEOFF]
	b	LBB0_39
LBB0_33:
	mov	x25, x0
	b	LBB0_40
LBB0_34:
Lloh19:
	adrp	x8, _OV_EBADHEADER@GOTPAGE
Lloh20:
	ldr	x8, [x8, _OV_EBADHEADER@GOTPAGEOFF]
Lloh21:
	ldr	w25, [x8]
	b	LBB0_41
LBB0_35:
	ldr	x0, [x24]
	cbz	x0, LBB0_37
; %bb.36:
	bl	__ogg_free
LBB0_37:
	str	xzr, [x24]
	str	wzr, [x23]
LBB0_38:
Lloh22:
	adrp	x8, _OV_EBADHEADER@GOTPAGE
Lloh23:
	ldr	x8, [x8, _OV_EBADHEADER@GOTPAGEOFF]
LBB0_39:
	ldr	w25, [x8]
LBB0_40:
	ldr	x28, [sp]                       ; 8-byte Folded Reload
LBB0_41:
Lloh24:
	adrp	x20, _OPENED@GOTPAGE
Lloh25:
	ldr	x20, [x20, _OPENED@GOTPAGEOFF]
	mov	x0, x21
	bl	_vorbis_info_clear
	mov	x0, x28
	bl	_vorbis_comment_clear
Lloh26:
	ldr	x8, [x20]
	str	x8, [x19]
LBB0_42:
	mov	x0, x25
	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_43:
Lloh27:
	adrp	x8, _OV_ENOTVORBIS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _OV_ENOTVORBIS@GOTPAGEOFF]
Lloh29:
	ldr	w25, [x8]
	b	LBB0_42
LBB0_44:
	mov	w25, #0
	b	LBB0_42
LBB0_45:
	mov	x25, x0
	b	LBB0_41
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_CHUNKSIZE,4,2                  ; @CHUNKSIZE
	.comm	_OV_EREAD,4,2                   ; @OV_EREAD
	.comm	_OV_ENOTVORBIS,4,2              ; @OV_ENOTVORBIS
	.comm	_OPENED,8,3                     ; @OPENED
	.comm	_OV_EBADHEADER,4,2              ; @OV_EBADHEADER
	.comm	_STREAMSET,8,3                  ; @STREAMSET
	.no_dead_strip	__fetch_headers
.subsections_via_symbols
