	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _vds_init
__vds_init:                             ## @_vds_init
	.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
	movq	8(%rsi), %r14
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r15
	movq	%rdi, %r12
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movl	$1, %edi
	movl	$24, %esi
	callq	__ogg_calloc
	movq	%rax, %rbx
	movq	%rax, 48(%r12)
	movq	%r15, 40(%r12)
	movl	(%r14), %edi
	callq	_ilog
	movl	%eax, 16(%rbx)
	movq	8(%r14), %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	sarl	%esi
	xorl	%edi, %edi
	callq	__vorbis_window
	movq	8(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	8(%r14), %rax
	movl	4(%rax), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	sarl	%esi
	xorl	%edi, %edi
	callq	__vorbis_window
	movq	8(%rbx), %rcx
	movq	%rax, 8(%rcx)
	cmpq	$0, 56(%r14)
	je	LBB0_3
LBB0_16:
	movq	%rbx, %r13
	movq	8(%r14), %rax
	movl	4(%rax), %eax
	movl	%eax, (%r12)
	movl	(%r15), %edi
	shll	$3, %edi
	callq	__ogg_malloc
	movq	%rax, 24(%r12)
	movl	(%r15), %edi
	shll	$3, %edi
	callq	__ogg_malloc
	movq	%rax, 32(%r12)
	cmpl	$0, (%r15)
	jle	LBB0_19
## %bb.17:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	movl	$4, %esi
	callq	__ogg_calloc
	movq	24(%r12), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_18
LBB0_19:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r12)
	movl	(%r14), %edi
	movl	$8, %esi
	callq	__ogg_calloc
	movq	%rax, (%r13)
	cmpl	$0, (%r14)
	jle	LBB0_22
## %bb.20:
	movq	%r13, %r15
	movq	__mapping_P@GOTPCREL(%rip), %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	48(%r14), %rax
	movq	(%rax,%rbx,8), %rsi
	movslq	(%rsi), %rax
	movq	24(%r14), %rcx
	movq	40(%r14), %rdx
	movslq	(%rcx,%rax,4), %rcx
	movq	(%r13), %rdi
	movq	(%rdi,%rcx,8), %rcx
	movl	(%rdx,%rax,4), %edx
	movq	%r12, %rdi
	callq	*(%rcx)
	movq	(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_21
LBB0_22:
	xorl	%eax, %eax
	jmp	LBB0_23
LBB0_1:
	movl	$1, %eax
	jmp	LBB0_23
LBB0_3:
	movl	16(%r14), %edi
	movl	$4, %esi
	callq	__ogg_calloc
	movq	%rax, 56(%r14)
	movl	16(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_16
## %bb.4:
	movq	32(%r14), %rcx
	movq	(%rcx), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.5:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(,%r13,4), %rdi
	addq	56(%r14), %rdi
	callq	_vorbis_book_init_decode
	testq	%rax, %rax
	jne	LBB0_8
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	32(%r14), %rax
	movq	(%rax,%r13,8), %rdi
	callq	_vorbis_staticbook_destroy
	movq	32(%r14), %rax
	movq	$0, (%rax,%r13,8)
	incq	%r13
	movslq	16(%r14), %rax
	cmpq	%rax, %r13
	jge	LBB0_16
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	32(%r14), %rcx
	movq	(%rcx,%r13,8), %rsi
	testq	%rsi, %rsi
	jne	LBB0_7
	jmp	LBB0_9
LBB0_8:
	movl	16(%r14), %eax
LBB0_9:
	testl	%eax, %eax
	jle	LBB0_14
## %bb.10:
	xorl	%ebx, %ebx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_14
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%r14), %rcx
	movq	(%rcx,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	callq	_vorbis_staticbook_destroy
	movq	32(%r14), %rax
	movq	$0, (%rax,%rbx,8)
	movl	16(%r14), %eax
	jmp	LBB0_13
LBB0_14:
	movq	%r12, %rdi
	callq	_vorbis_dsp_clear
	movl	$-1, %eax
LBB0_23:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__mapping_P,8,3                 ## @_mapping_P
	.no_dead_strip	__vds_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _vds_init
__vds_init:                             ; @_vds_init
	.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	x22, [x1, #8]
	cbz	x22, LBB0_9
; %bb.1:
	mov	x21, x1
	mov	x19, x0
	mov	w1, #0
	mov	w2, #56
	bl	_memset
	mov	w0, #1
	mov	w1, #24
	bl	__ogg_calloc
	mov	x20, x0
	stp	x21, x0, [x19, #40]
	ldr	w0, [x22]
	bl	_ilog
	str	w0, [x20, #16]
	ldr	x8, [x22, #8]
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w1, w8, #1
	mov	w0, #0
	bl	__vorbis_window
	ldr	x8, [x20, #8]
	str	x0, [x8]
	ldr	x8, [x22, #8]
	ldr	w8, [x8, #4]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w1, w8, #1
	mov	w0, #0
	bl	__vorbis_window
	ldr	x8, [x20, #8]
	str	x0, [x8, #8]
	ldr	x8, [x22, #56]
	cbz	x8, LBB0_10
LBB0_2:
	ldr	x8, [x22, #8]
	ldr	w8, [x8, #4]
	str	w8, [x19]
	ldr	w8, [x21]
	lsl	w0, w8, #3
	bl	__ogg_malloc
	str	x0, [x19, #24]
	ldr	w8, [x21]
	lsl	w0, w8, #3
	bl	__ogg_malloc
	str	x0, [x19, #32]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x23, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	mov	w1, #4
	bl	__ogg_calloc
	ldr	x8, [x19, #24]
	str	x0, [x8, x23, lsl #3]
	add	x23, x23, #1
	ldrsw	x8, [x21]
	cmp	x23, x8
	b.lt	LBB0_4
LBB0_5:
	stp	xzr, xzr, [x19, #8]
	ldr	w0, [x22]
	mov	w1, #8
	bl	__ogg_calloc
	str	x0, [x20]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x21, #0
Lloh0:
	adrp	x23, __mapping_P@GOTPAGE
Lloh1:
	ldr	x23, [x23, __mapping_P@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x24, x21, #3
	ldp	x9, x8, [x22, #40]
	ldr	x1, [x8, x24]
	ldrsw	x8, [x1]
	ldr	x10, [x22, #24]
	lsl	x8, x8, #2
	ldrsw	x10, [x10, x8]
	ldr	x11, [x23]
	ldr	x10, [x11, x10, lsl #3]
	ldr	x10, [x10]
	ldr	w2, [x9, x8]
	mov	x0, x19
	blr	x10
	ldr	x8, [x20]
	str	x0, [x8, x24]
	add	x21, x21, #1
	ldrsw	x8, [x22]
	cmp	x21, x8
	b.lt	LBB0_7
LBB0_8:
	mov	w0, #0
	b	LBB0_23
LBB0_9:
	mov	w0, #1
	b	LBB0_23
LBB0_10:
	ldr	w0, [x22, #16]
	mov	w1, #4
	bl	__ogg_calloc
	str	x0, [x22, #56]
	ldr	w8, [x22, #16]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.11:
	ldr	x9, [x22, #32]
	ldr	x1, [x9]
	cbz	x1, LBB0_17
; %bb.12:
	mov	x23, #0
	mov	x24, #0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #56]
	add	x0, x8, x23
	bl	_vorbis_book_init_decode
	cbnz	x0, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x22, #32]
	lsl	x25, x24, #3
	ldr	x0, [x8, x25]
	bl	_vorbis_staticbook_destroy
	ldr	x8, [x22, #32]
	str	xzr, [x8, x25]
	add	x9, x24, #1
	ldrsw	x8, [x22, #16]
	cmp	x9, x8
	b.ge	LBB0_2
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x10, [x22, #32]
	add	x10, x10, x24, lsl #3
	ldr	x1, [x10, #8]
	add	x23, x23, #4
	mov	x24, x9
	cbnz	x1, LBB0_13
	b	LBB0_17
LBB0_16:
	ldr	w8, [x22, #16]
LBB0_17:
	cmp	w8, #1
	b.lt	LBB0_22
; %bb.18:
	mov	x20, #0
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	add	x20, x20, #1
	cmp	x20, w8, sxtw
	b.ge	LBB0_22
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x22, #32]
	ldr	x0, [x9, x20, lsl #3]
	cbz	x0, LBB0_19
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	bl	_vorbis_staticbook_destroy
	ldr	x8, [x22, #32]
	str	xzr, [x8, x20, lsl #3]
	ldr	w8, [x22, #16]
	b	LBB0_19
LBB0_22:
	mov	x0, x19
	bl	_vorbis_dsp_clear
	mov	w0, #-1
LBB0_23:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	__mapping_P,8,3                 ; @_mapping_P
	.no_dead_strip	__vds_init
.subsections_via_symbols
