	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_oggpack_adv                    ## -- Begin function oggpack_adv
	.p2align	4, 0x90
_oggpack_adv:                           ## @oggpack_adv
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	movl	(%rdi), %eax
	leal	(%rax,%rsi), %ecx
	movl	%ecx, %edx
	andl	$7, %edx
	movl	%edx, (%rdi)
	addl	%esi, %eax
	addl	$7, %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	sarl	$3, %eax
	addl	%eax, 4(%rdi)
	subl	%eax, 8(%rdi)
	jle	LBB0_2
## %bb.1:
	popq	%rbp
	retq
LBB0_2:
	popq	%rbp
	jmp	__span                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_oggpack_adv                    ; -- Begin function oggpack_adv
	.p2align	2
_oggpack_adv:                           ; @oggpack_adv
	.cfi_startproc
; %bb.0:
	ldp	w8, w9, [x0]
	add	w8, w8, w1
	add	w10, w8, #7
	cmp	w8, #0
	csel	w10, w10, w8, lt
	and	w8, w8, #0x7
	asr	w10, w10, #3
	add	w9, w9, w10
	stp	w8, w9, [x0]
	ldr	w8, [x0, #8]
	sub	w8, w8, w10
	str	w8, [x0, #8]
	cmp	w8, #0
	b.le	LBB0_2
; %bb.1:
	ret
LBB0_2:
	b	__span
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
