	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vorbis_book_decodev_set        ## -- Begin function vorbis_book_decodev_set
	.p2align	4, 0x90
_vorbis_book_decodev_set:               ## @vorbis_book_decodev_set
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %rbx
	cmpq	$0, (%rdi)
	jle	LBB0_10
## %bb.1:
	movl	%r8d, %r13d
	subl	8(%rbx), %r13d
	js	LBB0_16
## %bb.2:
	xorl	%eax, %eax
	testl	%r12d, %r12d
	jle	LBB0_27
## %bb.3:
	xorl	%r14d, %r14d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%r12d, %r14d
	jge	LBB0_24
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_decode_packed_entry_number
	cmpl	$-1, %eax
	je	LBB0_26
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	24(%rbx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	imull	%eax, %ecx
	movslq	%ecx, %rax
	shlq	$2, %rax
	addq	16(%rbx), %rax
	movslq	%r14d, %rcx
	leaq	(%r15,%rcx,4), %rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rcx, %rsi
	movl	(%rax,%rcx,4), %edi
	movl	%r13d, %ecx
	sarl	%cl, %edi
	movl	%edi, (%rdx,%rsi,4)
	leaq	1(%rsi), %rcx
	movslq	24(%rbx), %rsi
	cmpq	%rsi, %rcx
	jl	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	addl	%ecx, %r14d
	jmp	LBB0_4
LBB0_10:
	xorl	%eax, %eax
	testl	%r12d, %r12d
	jle	LBB0_27
## %bb.11:
	movl	24(%rbx), %ecx
	xorl	%esi, %esi
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=1
	cmpl	%r12d, %esi
	jge	LBB0_27
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
	testl	%ecx, %ecx
	jle	LBB0_12
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movslq	%esi, %rcx
	leaq	(%r15,%rcx,4), %rdx
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$0, (%rdx)
	movl	24(%rbx), %ecx
	addq	$4, %rdx
	incl	%esi
	testl	%ecx, %ecx
	jg	LBB0_15
	jmp	LBB0_12
LBB0_16:
	xorl	%eax, %eax
	testl	%r12d, %r12d
	jle	LBB0_27
## %bb.17:
	negl	%r13d
	xorl	%r14d, %r14d
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_19 Depth=1
	cmpl	%r12d, %r14d
	jge	LBB0_24
LBB0_19:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_22 Depth 2
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_decode_packed_entry_number
	cmpl	$-1, %eax
	je	LBB0_26
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	24(%rbx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_18
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	imull	%eax, %ecx
	movslq	%ecx, %rax
	shlq	$2, %rax
	addq	16(%rbx), %rax
	movslq	%r14d, %rcx
	leaq	(%r15,%rcx,4), %rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_19 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rcx, %rsi
	movl	(%rax,%rcx,4), %edi
	movl	%r13d, %ecx
	shll	%cl, %edi
	movl	%edi, (%rdx,%rsi,4)
	leaq	1(%rsi), %rcx
	movslq	24(%rbx), %rsi
	cmpq	%rsi, %rcx
	jl	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_19 Depth=1
	addl	%ecx, %r14d
	jmp	LBB0_18
LBB0_26:
	movq	$-1, %rax
	jmp	LBB0_27
LBB0_24:
	xorl	%eax, %eax
LBB0_27:
	addq	$8, %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_decodev_set        ; -- Begin function vorbis_book_decodev_set
	.p2align	2
_vorbis_book_decodev_set:               ; @vorbis_book_decodev_set
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0]
	cmp	x8, #0
	b.le	LBB0_10
; %bb.1:
	mov	x22, x2
	ldr	w8, [x21, #8]
	subs	w23, w4, w8
	b.mi	LBB0_16
; %bb.2:
	cmp	w19, #1
	b.lt	LBB0_24
; %bb.3:
	mov	w24, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w24, w19
	b.ge	LBB0_24
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	mov	x0, x21
	mov	x1, x22
	bl	_decode_packed_entry_number
	cmn	w0, #1
	b.eq	LBB0_26
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x21, #24]
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, #0
	ldr	x10, [x21, #16]
	mul	w9, w9, w0
	add	x9, x10, w9, sxtw #2
	add	x10, x20, w24, sxtw #2
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x11, x8, #2
	ldr	w12, [x9, x11]
	add	x8, x8, #1
	asr	w12, w12, w23
	str	w12, [x10, x11]
	ldrsw	x11, [x21, #24]
	cmp	x8, x11
	b.lt	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w24, w24, w8
	b	LBB0_4
LBB0_10:
	cmp	w19, #1
	b.lt	LBB0_24
; %bb.11:
	mov	w8, #0
	ldr	w9, [x21, #24]
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	cmp	w8, w19
	b.ge	LBB0_24
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	cmp	w9, #1
	b.lt	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x10, x20, w8, sxtw #2
LBB0_15:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	wzr, [x10], #4
	ldr	w9, [x21, #24]
	add	w8, w8, #1
	cmp	w9, #0
	b.gt	LBB0_15
	b	LBB0_12
LBB0_16:
	cmp	w19, #1
	b.lt	LBB0_24
; %bb.17:
	mov	w24, #0
	neg	w23, w23
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	cmp	w24, w19
	b.ge	LBB0_24
LBB0_19:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_22 Depth 2
	mov	x0, x21
	mov	x1, x22
	bl	_decode_packed_entry_number
	cmn	w0, #1
	b.eq	LBB0_26
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	w9, [x21, #24]
	cmp	w9, #1
	b.lt	LBB0_18
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x8, #0
	ldr	x10, [x21, #16]
	mul	w9, w9, w0
	add	x9, x10, w9, sxtw #2
	add	x10, x20, w24, sxtw #2
LBB0_22:                                ;   Parent Loop BB0_19 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x11, x8, #2
	ldr	w12, [x9, x11]
	add	x8, x8, #1
	lsl	w12, w12, w23
	str	w12, [x10, x11]
	ldrsw	x11, [x21, #24]
	cmp	x8, x11
	b.lt	LBB0_22
; %bb.23:                               ;   in Loop: Header=BB0_19 Depth=1
	add	w24, w24, w8
	b	LBB0_18
LBB0_24:
	mov	x0, #0
LBB0_25:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_26:
	mov	x0, #-1
	b	LBB0_25
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
