	.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
	subq	$24, %rsp
	.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, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rax
	cmpq	$0, (%rdi)
	jle	LBB0_12
## %bb.1:
	movl	%r8d, %r13d
	movq	%rdi, %r14
	subl	8(%rdi), %r13d
	js	LBB0_14
## %bb.2:
	xorl	%ebx, %ebx
	testl	%r12d, %r12d
	jle	LBB0_29
## %bb.3:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, %eax
	movl	$1, %ecx
	subq	%rax, %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%r12d, %r15d
	jge	LBB0_29
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_decode_packed_entry_number
	cmpl	$-1, %eax
	je	LBB0_28
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%r12d, %r15d
	jge	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	24(%r14), %ecx
	movslq	%r15d, %r15
	testl	%ecx, %ecx
	jle	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	imull	%eax, %ecx
	movslq	%ecx, %rax
	shlq	$2, %rax
	addq	16(%r14), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%r15,4), %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%r15), %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rax,%rsi,4), %ebx
	movl	%r13d, %ecx
	sarl	%cl, %ebx
	movl	%ebx, (%rdx,%rsi,4)
	movq	%rdi, %rcx
	addq	%rsi, %rcx
	je	LBB0_25
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	incq	%rsi
	movslq	24(%r14), %rcx
	cmpq	%rcx, %rsi
	jl	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	addq	%rsi, %r15
	xorl	%ebx, %ebx
	jmp	LBB0_4
LBB0_12:
	testl	%r12d, %r12d
	jle	LBB0_25
## %bb.13:
	movl	%r12d, %esi
	shlq	$2, %rsi
	movq	%rax, %rdi
	callq	___bzero
	xorl	%ebx, %ebx
	jmp	LBB0_29
LBB0_14:
	xorl	%ebx, %ebx
	testl	%r12d, %r12d
	jle	LBB0_29
## %bb.15:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	negl	%r13d
	movl	%r12d, %eax
	movl	$1, %ecx
	subq	%rax, %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_17 Depth=1
	cmpl	%r12d, %r15d
	jge	LBB0_29
LBB0_17:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_21 Depth 2
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_decode_packed_entry_number
	cmpl	$-1, %eax
	je	LBB0_28
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	cmpl	%r12d, %r15d
	jge	LBB0_16
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	24(%r14), %ecx
	movslq	%r15d, %r15
	testl	%ecx, %ecx
	jle	LBB0_16
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=1
	imull	%eax, %ecx
	movslq	%ecx, %rax
	shlq	$2, %rax
	addq	16(%r14), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%r15,4), %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%r15), %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_17 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rax,%rsi,4), %ebx
	movl	%r13d, %ecx
	shll	%cl, %ebx
	movl	%ebx, (%rdx,%rsi,4)
	movq	%rdi, %rcx
	addq	%rsi, %rcx
	je	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=2
	incq	%rsi
	movslq	24(%r14), %rcx
	cmpq	%rcx, %rsi
	jl	LBB0_21
## %bb.23:                              ##   in Loop: Header=BB0_17 Depth=1
	addq	%rsi, %r15
	xorl	%ebx, %ebx
	jmp	LBB0_16
LBB0_25:
	xorl	%ebx, %ebx
LBB0_29:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	movq	$-1, %rbx
	jmp	LBB0_29
	.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	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
	mov	x20, x3
	mov	x19, x1
	ldr	x8, [x0]
	cmp	x8, #0
	b.le	LBB0_13
; %bb.1:
	mov	x21, x2
	mov	x22, x0
	ldr	w8, [x0, #8]
	subs	w23, w4, w8
	b.mi	LBB0_15
; %bb.2:
	cmp	w20, #1
	b.lt	LBB0_26
; %bb.3:
	mov	w25, #0
	mov	w8, #1
	sub	x24, x8, w20, uxtw
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, x8
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmp	w25, w20
	b.ge	LBB0_26
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	mov	x0, x22
	mov	x1, x21
	bl	_decode_packed_entry_number
	cmn	w0, #1
	b.eq	LBB0_28
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w25, w20
	b.ge	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w10, [x22, #24]
	sxtw	x8, w25
	cmp	w10, #1
	b.lt	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x9, #0
	ldr	x11, [x22, #16]
	mul	w10, w10, w0
	add	x10, x11, w10, sxtw #2
	add	x11, x19, x8, lsl #2
	add	x12, x24, x8
LBB0_10:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x13, x9, #2
	ldr	w14, [x10, x13]
	asr	w14, w14, w23
	str	w14, [x11, x13]
	cmn	x12, x9
	b.eq	LBB0_26
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	add	x9, x9, #1
	ldrsw	x13, [x22, #24]
	cmp	x9, x13
	b.lt	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x8, x9
	b	LBB0_4
LBB0_13:
	cmp	w20, #1
	b.lt	LBB0_26
; %bb.14:
	mov	w8, w20
	lsl	x1, x8, #2
	mov	x0, x19
	bl	_bzero
	mov	x0, #0
	b	LBB0_27
LBB0_15:
	cmp	w20, #1
	b.lt	LBB0_26
; %bb.16:
	mov	w25, #0
	neg	w23, w23
	mov	w8, #1
	sub	x24, x8, w20, uxtw
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x25, x8
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, #0
	cmp	w25, w20
	b.ge	LBB0_27
LBB0_19:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_23 Depth 2
	mov	x0, x22
	mov	x1, x21
	bl	_decode_packed_entry_number
	cmn	w0, #1
	b.eq	LBB0_28
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	cmp	w25, w20
	b.ge	LBB0_18
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	w10, [x22, #24]
	sxtw	x8, w25
	cmp	w10, #1
	b.lt	LBB0_17
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x9, #0
	ldr	x11, [x22, #16]
	mul	w10, w10, w0
	add	x10, x11, w10, sxtw #2
	add	x11, x19, x8, lsl #2
	add	x12, x24, x8
LBB0_23:                                ;   Parent Loop BB0_19 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x13, x9, #2
	ldr	w14, [x10, x13]
	lsl	w14, w14, w23
	str	w14, [x11, x13]
	cmn	x12, x9
	b.eq	LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=2
	add	x9, x9, #1
	ldrsw	x13, [x22, #24]
	cmp	x9, x13
	b.lt	LBB0_23
; %bb.25:                               ;   in Loop: Header=BB0_19 Depth=1
	add	x8, x8, x9
	b	LBB0_17
LBB0_26:
	mov	x0, #0
LBB0_27:
	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
LBB0_28:
	mov	x0, #-1
	b	LBB0_27
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
