	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vorbis_book_decodevs_add       ## -- Begin function vorbis_book_decodevs_add
	.p2align	4, 0x90
_vorbis_book_decodevs_add:              ## @vorbis_book_decodevs_add
	.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	%rdx, -64(%rbp)                 ## 8-byte Spill
	cmpq	$0, (%rdi)
	jle	LBB0_7
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, %r13
	movl	%ecx, %eax
	cltd
	idivl	8(%rdi)
	movl	%eax, %r15d
	leal	(,%r15,8), %ebx
	movl	%ebx, %edi
	callq	_alloca
	movq	%rax, %r14
	movl	%ebx, %edi
	callq	_alloca
	movq	%rax, %rbx
	movl	%r15d, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testl	%r15d, %r15d
	jle	LBB0_8
## %bb.2:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_decode_packed_entry_number
	movq	%rax, (%r14,%r12,8)
	cmpq	$-1, %rax
	je	LBB0_16
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	8(%r13), %rcx
	imulq	%rcx, %rax
	shlq	$2, %rax
	addq	16(%r13), %rax
	movq	%rax, (%rbx,%r12,8)
	incq	%r12
	cmpq	%r12, -48(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_3
## %bb.5:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	testl	%ecx, %ecx
	jg	LBB0_9
LBB0_7:
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_8:
	movl	8(%r13), %ecx
	testl	%ecx, %ecx
	jle	LBB0_7
LBB0_9:
	movslq	%r15d, %r9
	movl	%ecx, %r8d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
                                        ## kill: def $r14d killed $r14d killed $r14 def $r14
	andl	$-2, %r14d
	leaq	4(%r12), %rdi
	leaq	(,%r9,4), %r10
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	xorl	%r11d, %r11d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%rcx
	addq	%r9, %r11
	addq	%r10, %rdi
	cmpq	%r8, %rcx
	je	LBB0_17
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	testl	%r15d, %r15d
	jle	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	xorl	%edx, %edx
	cmpl	$1, %r15d
	je	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx,%rdx,8), %rsi
	movss	(%rsi,%rcx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	addss	-4(%rdi,%rdx,4), %xmm0
	movss	%xmm0, -4(%rdi,%rdx,4)
	movq	8(%rbx,%rdx,8), %rsi
	movss	(%rsi,%rcx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	addss	(%rdi,%rdx,4), %xmm0
	movss	%xmm0, (%rdi,%rdx,4)
	addq	$2, %rdx
	cmpq	%rdx, %r14
	jne	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	testb	$1, -48(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_10
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	(%rbx,%rdx,8), %rsi
	movss	(%rsi,%rcx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	addq	%r11, %rdx
	addss	(%r12,%rdx,4), %xmm0
	movss	%xmm0, (%r12,%rdx,4)
	jmp	LBB0_10
LBB0_16:
	movq	$-1, %rax
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	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	_vorbis_book_decodevs_add       ; -- Begin function vorbis_book_decodevs_add
	.p2align	2
_vorbis_book_decodevs_add:              ; @vorbis_book_decodevs_add
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x8, [x0]
	cmp	x8, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	ldr	w8, [x0, #8]
	sdiv	w24, w3, w8
	lsl	w20, w24, #3
	mov	x0, x20
	bl	_alloca
	mov	x23, x0
	mov	x0, x20
	bl	_alloca
	mov	x20, x0
	cmp	w24, #0
	b.le	LBB0_6
; %bb.2:
	mov	x25, x24
	mov	x26, x20
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x21
	bl	_decode_packed_entry_number
	str	x0, [x23]
	cmn	x0, #1
	b.eq	LBB0_13
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22, #16]
	ldrsw	x9, [x22, #8]
	mul	x10, x0, x9
	add	x8, x8, x10, lsl #2
	str	x8, [x26], #8
	add	x23, x23, #8
	subs	x25, x25, #1
	b.ne	LBB0_3
; %bb.5:
	cmp	w9, #1
	b.ge	LBB0_7
	b	LBB0_12
LBB0_6:
	ldr	w9, [x22, #8]
	cmp	w9, #1
	b.lt	LBB0_12
LBB0_7:
	mov	x8, #0
	mov	w9, w9
	mov	x10, x24
	sbfiz	x10, x10, #2, #32
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x8, x8, #1
	add	x19, x19, x10
	cmp	x8, x9
	b.eq	LBB0_12
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	cmp	w24, #1
	b.lt	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x11, x24
	mov	x12, x20
	mov	x13, x19
LBB0_11:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x14, [x12], #8
	ldr	s0, [x14, x8, lsl #2]
	ldr	s1, [x13]
	fadd	s0, s0, s1
	str	s0, [x13], #4
	subs	x11, x11, #1
	b.ne	LBB0_11
	b	LBB0_8
LBB0_12:
	mov	x0, #0
LBB0_13:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
