	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_oggpack_read1                  ## -- Begin function oggpack_read1
	.p2align	4, 0x90
_oggpack_read1:                         ## @oggpack_read1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	8(%rdi), %rax
	cmpq	%rax, %rcx
	jge	LBB0_3
## %bb.1:
	movq	16(%rdi), %r9
	movl	(%r9), %r8d
	movl	24(%rdi), %esi
	xorl	%eax, %eax
	btq	%rsi, %r8
	setb	%al
	leal	1(%rsi), %edx
	movl	%edx, 24(%rdi)
	cmpl	$7, %esi
	jl	LBB0_4
## %bb.2:
	movl	$0, 24(%rdi)
	addq	$4, %r9
	movq	%r9, 16(%rdi)
	incq	%rcx
	movq	%rcx, (%rdi)
	popq	%rbp
	retq
LBB0_3:
	movq	$0, 16(%rdi)
	movq	%rax, (%rdi)
	movl	$1, 24(%rdi)
	movq	$-1, %rax
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_oggpack_read1                  ; -- Begin function oggpack_read1
	.p2align	2
_oggpack_read1:                         ; @oggpack_read1
	.cfi_startproc
; %bb.0:
	ldp	x9, x8, [x0]
	cmp	x9, x8
	b.ge	LBB0_3
; %bb.1:
	ldr	x10, [x0, #16]
	ldr	w8, [x10]
	ldr	w11, [x0, #24]
	lsr	x8, x8, x11
	and	x8, x8, #0x1
	add	w12, w11, #1
	str	w12, [x0, #24]
	cmp	w11, #7
	b.lt	LBB0_4
; %bb.2:
	str	wzr, [x0, #24]
	add	x10, x10, #4
	str	x10, [x0, #16]
	add	x9, x9, #1
	str	x9, [x0]
	mov	x0, x8
	ret
LBB0_3:
	str	xzr, [x0, #16]
	str	x8, [x0]
	mov	w8, #1
	str	w8, [x0, #24]
	mov	x8, #-1
LBB0_4:
	mov	x0, x8
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
