	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vorbis_packet_blocksize        ## -- Begin function vorbis_packet_blocksize
	.p2align	4, 0x90
_vorbis_packet_blocksize:               ## @vorbis_packet_blocksize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %r14
	movl	(%rsi), %edx
	movl	4(%rsi), %esi
	leaq	-20(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_oggpack_readinit
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_oggpack_read
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_OV_ENOTAUDIO@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_2:
	movl	(%r14), %eax
	xorl	%esi, %esi
	cmpl	$2, %eax
	jl	LBB0_5
## %bb.3:
	xorl	%esi, %esi
	movl	%eax, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	incl	%esi
	shrl	%ecx
	cmpl	$3, %eax
	movl	%ecx, %eax
	ja	LBB0_4
LBB0_5:
	leaq	-20(%rbp), %rdi
	callq	_oggpack_read
	movq	_OV_EBADPACKET@GOTPCREL(%rip), %rcx
	cmpl	$-1, %eax
	je	LBB0_8
## %bb.6:
	movq	16(%r14), %rdx
	cltq
	movq	(%rdx,%rax,8), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	(%rax), %rcx
	shlq	$3, %rcx
	addq	8(%r14), %rcx
LBB0_8:
	movq	(%rcx), %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OV_ENOTAUDIO,8,3               ## @OV_ENOTAUDIO
	.comm	_OV_EBADPACKET,8,3              ## @OV_EBADPACKET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vorbis_packet_blocksize        ; -- Begin function vorbis_packet_blocksize
	.p2align	2
_vorbis_packet_blocksize:               ; @vorbis_packet_blocksize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x0]
	ldp	w2, w8, [x1]
	add	x0, sp, #12
	mov	x1, x8
	bl	_oggpack_readinit
	add	x0, sp, #12
	mov	w1, #1
	bl	_oggpack_read
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _OV_ENOTAUDIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OV_ENOTAUDIO@GOTPAGEOFF]
	b	LBB0_10
LBB0_2:
	ldr	w8, [x19]
	cmp	w8, #2
	b.lt	LBB0_5
; %bb.3:
	mov	w1, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	w1, w1, #1
	lsr	w9, w8, #1
	cmp	w8, #3
	mov	x8, x9
	b.hi	LBB0_4
	b	LBB0_6
LBB0_5:
	mov	w1, #0
LBB0_6:
	add	x0, sp, #12
	bl	_oggpack_read
	cmn	w0, #1
	b.eq	LBB0_9
; %bb.7:
	ldr	x8, [x19, #16]
	sbfiz	x9, x0, #3, #32
	ldr	x8, [x8, x9]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	x9, [x19, #8]
	ldr	x8, [x8]
	add	x8, x9, x8, lsl #3
	b	LBB0_10
LBB0_9:
Lloh2:
	adrp	x8, _OV_EBADPACKET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OV_EBADPACKET@GOTPAGEOFF]
LBB0_10:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_OV_ENOTAUDIO,8,3               ; @OV_ENOTAUDIO
	.comm	_OV_EBADPACKET,8,3              ; @OV_EBADPACKET
.subsections_via_symbols
