	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _span_queued_page
__span_queued_page:                     ## @_span_queued_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_FINFLAG@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
LBB0_25:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	leaq	-48(%rbp), %r14
	leaq	-52(%rbp), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movq	%r12, 32(%rbx)
	movq	%r14, %rdi
	callq	_ogg_page_eos
	movl	%eax, 68(%rbx)
	movq	%r14, %rdi
	callq	_ogg_page_bos
	movl	%eax, 64(%rbx)
	movl	(%r13), %eax
	testl	%eax, (%rbx)
	jne	LBB0_25
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_25
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rsi
	testq	%rsi, %rsi
	js	LBB0_4
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	addl	$27, %esi
	movq	%rax, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ogg_buffer_pretruncate
	movq	%rax, 8(%rbx)
	movq	$0, 16(%rbx)
	movl	$0, 24(%rbx)
	movq	$0, 96(%rbx)
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, 16(%rbx)
	movl	$0, 24(%rbx)
	movq	$0, 96(%rbx)
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, -48(%rbp)
	movq	%r14, %rdi
	callq	_ogg_page_pageno
	movq	%rax, %r12
	movq	8(%rbx), %rsi
	movq	%r15, %rdi
	callq	_oggbyte_init
	movq	%r15, %rdi
	movl	$26, %esi
	callq	_oggbyte_read1
	cltq
	movq	%rax, 16(%rbx)
	movq	32(%rbx), %rax
	cmpq	%rax, %r12
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	cmpq	$-1, %rax
	sete	%cl
	movl	$2, %eax
	subl	%ecx, %eax
	movl	%eax, 40(%rbx)
	movq	48(%rbx), %rdi
	movl	(%rbx), %esi
	callq	_ogg_buffer_pretruncate
	movq	%rax, 48(%rbx)
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, 80(%rbx)
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, (%rbx)
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_ogg_page_continued
	movl	(%rbx), %esi
	testq	%rax, %rax
	je	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	testl	%esi, %esi
	jne	LBB0_22
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	__next_lace
	movq	48(%rbx), %rdi
	movq	_FINMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	56(%rbx), %esi
	callq	_ogg_buffer_pretruncate
	movq	%rax, 48(%rbx)
	testq	%rax, %rax
	jne	LBB0_19
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, 80(%rbx)
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%esi, %esi
	jle	LBB0_22
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	48(%rbx), %rdi
	callq	_ogg_buffer_pretruncate
	movq	%rax, 48(%rbx)
	testq	%rax, %rax
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, 80(%rbx)
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, (%rbx)
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 60(%rbx)
	jne	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 40(%rbx)
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$2, 60(%rbx)
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	24(%rbx), %rax
	cmpq	%rax, 16(%rbx)
	jle	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_ogg_page_granulepos
	movl	%eax, 72(%rbx)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	__next_lace
	movl	56(%rbx), %eax
	addl	%eax, (%rbx)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	__next_lace
	jmp	LBB0_24
LBB0_14:
	movq	$0, 88(%rbx)
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_FINFLAG,4,2                    ## @FINFLAG
	.comm	_FINMASK,4,2                    ## @FINMASK
	.no_dead_strip	__span_queued_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _span_queued_page
__span_queued_page:                     ; @_span_queued_page
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x21, _FINFLAG@GOTPAGE
Lloh1:
	ldr	x21, [x21, _FINFLAG@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_2:
	mov	x19, x0
	mov	w22, #2
Lloh2:
	adrp	x23, _FINMASK@GOTPAGE
Lloh3:
	ldr	x23, [x23, _FINMASK@GOTPAGEOFF]
	mov	w24, #1
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x20, #1
	str	x8, [x19, #32]
	mov	x0, sp
	bl	_ogg_page_eos
	str	w0, [x19, #68]
	mov	x0, sp
	bl	_ogg_page_bos
	str	w0, [x19, #64]
	ldr	w8, [x19]
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #16]
	tbnz	x8, #63, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w1, w8, #27
	bl	_ogg_buffer_pretruncate
	stp	x0, xzr, [x19, #8]
	str	wzr, [x19, #24]
	str	xzr, [x19, #96]
	cbnz	x0, LBB0_8
	b	LBB0_25
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x19, #16]
	str	wzr, [x19, #24]
	str	xzr, [x19, #96]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x0, [sp]
	mov	x0, sp
	bl	_ogg_page_pageno
	mov	x20, x0
	ldr	x1, [x19, #8]
	add	x0, sp, #12
	bl	_oggbyte_init
	add	x0, sp, #12
	mov	w1, #26
	bl	_oggbyte_read1
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	str	x8, [x19, #16]
	ldr	x8, [x19, #32]
	cmp	x20, x8
	b.eq	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	cmn	x8, #1
	cinc	w8, w24, ne
	str	w8, [x19, #40]
	ldr	x0, [x19, #48]
	ldr	w1, [x19]
	bl	_ogg_buffer_pretruncate
	str	x0, [x19, #48]
	cbnz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x19, #80]
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	str	wzr, [x19]
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, sp
	bl	_ogg_page_continued
	ldr	w1, [x19]
	cbz	x0, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w1, LBB0_23
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #12
	mov	x1, x19
	bl	__next_lace
	ldr	x0, [x19, #48]
	ldr	w8, [x19, #56]
	ldr	w9, [x23]
	and	w1, w9, w8
	bl	_ogg_buffer_pretruncate
	str	x0, [x19, #48]
	cbnz	x0, LBB0_20
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x19, #80]
	b	LBB0_20
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w1, #1
	b.lt	LBB0_23
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19, #48]
	bl	_ogg_buffer_pretruncate
	str	x0, [x19, #48]
	cbnz	x0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x19, #80]
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	str	wzr, [x19]
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, #60]
	cbnz	w8, LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, #40]
	cbnz	w8, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_4 Depth=1
	str	w22, [x19, #60]
LBB0_23:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x8, [x19, #24]
	ldr	x9, [x19, #16]
	cmp	x9, x8
	b.le	LBB0_3
; %bb.24:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, sp
	bl	_ogg_page_granulepos
	str	w0, [x19, #72]
	add	x0, sp, #12
	mov	x1, x19
	bl	__next_lace
	ldr	w8, [x19, #56]
	ldr	w9, [x19]
	add	w8, w9, w8
	str	w8, [x19]
	add	x0, sp, #12
	mov	x1, x19
	bl	__next_lace
	b	LBB0_3
LBB0_25:
	str	xzr, [x19, #88]
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_FINFLAG,4,2                    ; @FINFLAG
	.comm	_FINMASK,4,2                    ; @FINMASK
	.no_dead_strip	__span_queued_page
.subsections_via_symbols
