	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	cmpq	$0, (%rdi)
	jle	LBB0_23
## %bb.1:
	xorl	%eax, %eax
	testl	%r15d, %r15d
	jle	LBB0_27
## %bb.2:
	movl	%r15d, %r14d
	leaq	112(%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	16(%r13), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%r15d, %r12d
	jge	LBB0_25
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_18 Depth 2
                                        ##     Child Loop BB0_21 Depth 2
	movq	%rdi, %rbx
	movq	-80(%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
	cmpl	%r15d, %r12d
	jge	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	movl	16(%rbx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rdi), %r8
	imull	%ecx, %eax
	cltq
	leaq	(%r8,%rax,4), %r9
	movslq	%r12d, %r12
	movq	%r12, %rdx
	notq	%rdx
	addq	%r14, %rdx
	leaq	-1(%rcx), %r11
	cmpq	%rdx, %r11
	cmovaeq	%rdx, %r11
	incq	%r11
	testq	%rdx, %rdx
	movl	$1, %edx
	cmoveq	%rdx, %r11
	cmpq	$8, %r11
	jb	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	(,%r12,4), %rdx
	addq	%r13, %rdx
	subq	%r9, %rdx
	cmpq	$32, %rdx
	jae	LBB0_12
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	%edx, %edx
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%rdx
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movss	-4(%r9,%rdx,4), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%r13,%r12,4)
	incq	%r12
	cmpq	%r14, %r12
	jge	LBB0_4
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=2
	leaq	1(%rdx), %rsi
	cmpq	%rcx, %rdx
	movq	%rsi, %rdx
	jb	LBB0_21
	jmp	LBB0_4
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r11, %rdx
	andq	$-8, %rdx
	leaq	-8(%rdx), %rsi
	movq	%rsi, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %r10d
	andl	$3, %r10d
	cmpq	$24, %rsi
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	jae	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	xorl	%esi, %esi
	jmp	LBB0_16
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	andq	$-4, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r8, %r15
	leaq	(%rsi,%r12,4), %r8
	leaq	(%r15,%rax,4), %r15
	addq	$112, %r15
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	-112(%r15,%rsi,4), %xmm0
	movups	-96(%r15,%rsi,4), %xmm1
	movups	%xmm0, -112(%r8,%rsi,4)
	movups	%xmm1, -96(%r8,%rsi,4)
	movups	-80(%r15,%rsi,4), %xmm0
	movups	-64(%r15,%rsi,4), %xmm1
	movups	%xmm0, -80(%r8,%rsi,4)
	movups	%xmm1, -64(%r8,%rsi,4)
	movups	-48(%r15,%rsi,4), %xmm0
	movups	-32(%r15,%rsi,4), %xmm1
	movups	%xmm0, -48(%r8,%rsi,4)
	movups	%xmm1, -32(%r8,%rsi,4)
	movups	-16(%r15,%rsi,4), %xmm0
	movups	(%r15,%rsi,4), %xmm1
	movups	%xmm0, -16(%r8,%rsi,4)
	movups	%xmm1, (%r8,%rsi,4)
	addq	$32, %rsi
	addq	$-4, %rdi
	jne	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	testq	%r10, %r10
	movq	%rbx, %rdi
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	addq	%rsi, %rax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%rbx,%rax,4), %rax
	addq	$16, %rax
	addq	%r12, %rsi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%rbx,%rsi,4), %rsi
	shlq	$5, %r10
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	-16(%rax,%rbx), %xmm0
	movups	(%rax,%rbx), %xmm1
	movups	%xmm0, -16(%rsi,%rbx)
	movups	%xmm1, (%rsi,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %r10
	jne	LBB0_18
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	addq	%rdx, %r12
	cmpq	%rdx, %r11
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_4
	jmp	LBB0_20
LBB0_23:
	testl	%r15d, %r15d
	jle	LBB0_25
## %bb.24:
	movl	%r15d, %esi
	shlq	$2, %rsi
	movq	%r13, %rdi
	callq	___bzero
LBB0_25:
	xorl	%eax, %eax
	jmp	LBB0_27
LBB0_26:
	movq	$-1, %rax
LBB0_27:
	addq	$40, %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	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_16
; %bb.1:
	cmp	w20, #1
	b.lt	LBB0_18
; %bb.2:
	mov	x21, x2
	mov	x22, x0
	mov	w26, #0
	add	x23, x19, #32
	mov	w24, #1
	mov	w25, w20
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w26, w20
	b.ge	LBB0_18
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	mov	x0, x22
	mov	x1, x21
	bl	_decode_packed_entry_number
	cmn	w0, #1
	b.eq	LBB0_19
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w26, w20
	b.ge	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x22, #16]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x22, #8]
	mul	w10, w8, w0
                                        ; kill: def $w26 killed $w26 killed $x26 def $x26
	sxtw	x13, w26
	mvn	x11, x13
	sub	x12, x8, #1
	add	x11, x11, x25
	cmp	x12, x11
	csel	x12, x12, x11, lo
	cmp	x11, #0
	csinc	x12, x24, x12, eq
	cmp	x12, #16
	b.lo	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x11, w10
	add	x15, x19, x13, lsl #2
	add	x14, x9, x11, lsl #2
	sub	x11, x15, x14
	cmp	x11, #64
	b.hs	LBB0_13
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x11, #0
	mov	x26, x13
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, w10, sxtw #2
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	s0, [x9, x11, lsl #2]
	str	s0, [x19, x26, lsl #2]
	add	x26, x26, #1
	cmp	x26, x25
	b.ge	LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	add	x11, x11, #1
	cmp	x11, x8
	b.lo	LBB0_11
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	and	x11, x12, #0xfffffffffffffff0
	add	x26, x11, x13
	add	x13, x23, x13, lsl #2
	add	x14, x14, #32
	mov	x15, x11
LBB0_14:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q0, q1, [x14, #-32]
	ldp	q2, q3, [x14], #64
	stp	q0, q1, [x13, #-32]
	stp	q2, q3, [x13], #64
	subs	x15, x15, #16
	b.ne	LBB0_14
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	x12, x11
	b.eq	LBB0_3
	b	LBB0_10
LBB0_16:
	cmp	w20, #1
	b.lt	LBB0_18
; %bb.17:
	mov	w8, w20
	lsl	x1, x8, #2
	mov	x0, x19
	bl	_bzero
LBB0_18:
	mov	x0, #0
	b	LBB0_20
LBB0_19:
	mov	x0, #-1
LBB0_20:
	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
