	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vorbis_analysis_buffer         ## -- Begin function vorbis_analysis_buffer
	.p2align	4, 0x90
_vorbis_analysis_buffer:                ## @vorbis_analysis_buffer
	.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	%esi, %r14d
	movq	%rdi, %r13
	movq	24(%rdi), %r12
	movq	32(%rdi), %r15
	movq	16(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	__ogg_free
LBB0_2:
	movq	$0, 16(%r12)
	movq	8(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	__ogg_free
LBB0_4:
	movq	$0, 8(%r12)
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	__ogg_free
LBB0_6:
	movq	$0, (%r12)
	movl	(%r13), %eax
	leal	(%rax,%r14), %ecx
	cmpl	4(%r13), %ecx
	jge	LBB0_8
## %bb.7:
	movl	(%r15), %ecx
	jmp	LBB0_12
LBB0_8:
	leal	(%rax,%r14,2), %esi
	movl	%esi, 4(%r13)
	cmpl	$0, (%r15)
	jle	LBB0_20
## %bb.9:
	movq	8(%r13), %rax
	movq	(%rax), %rdi
	shll	$2, %esi
	callq	__ogg_realloc
	movq	8(%r13), %rcx
	movq	%rax, (%rcx)
	movl	(%r15), %ecx
	cmpl	$2, %ecx
	jl	LBB0_12
## %bb.10:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	4(%r13), %esi
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	shll	$2, %esi
	callq	__ogg_realloc
	movq	8(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r15), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_11
LBB0_12:
	testl	%ecx, %ecx
	jle	LBB0_20
## %bb.13:
	movslq	(%r13), %r8
	movl	%ecx, %esi
	leaq	-1(%rsi), %rdx
	movl	%esi, %ecx
	andl	$3, %ecx
	cmpq	$3, %rdx
	jae	LBB0_15
## %bb.14:
	xorl	%edx, %edx
	jmp	LBB0_17
LBB0_15:
	andl	$-4, %esi
	xorl	%edx, %edx
	leaq	(,%r8,4), %rdi
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rbx
	movq	16(%r13), %rax
	movq	(%rbx,%rdx,8), %rbx
	addq	%rdi, %rbx
	movq	%rbx, (%rax,%rdx,8)
	movq	8(%r13), %rax
	movq	16(%r13), %rbx
	movq	8(%rax,%rdx,8), %rax
	addq	%rdi, %rax
	movq	%rax, 8(%rbx,%rdx,8)
	movq	8(%r13), %rax
	movq	16(%r13), %rbx
	movq	16(%rax,%rdx,8), %rax
	addq	%rdi, %rax
	movq	%rax, 16(%rbx,%rdx,8)
	movq	8(%r13), %rax
	movq	16(%r13), %rbx
	movq	24(%rax,%rdx,8), %rax
	addq	%rdi, %rax
	movq	%rax, 24(%rbx,%rdx,8)
	addq	$4, %rdx
	cmpq	%rdx, %rsi
	jne	LBB0_16
LBB0_17:
	testq	%rcx, %rcx
	je	LBB0_20
## %bb.18:
	shlq	$2, %r8
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movq	16(%r13), %rsi
	movq	(%rax,%rdx,8), %rax
	addq	%r8, %rax
	movq	%rax, (%rsi,%rdx,8)
	incq	%rdx
	decq	%rcx
	jne	LBB0_19
LBB0_20:
	movq	16(%r13), %rax
	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_analysis_buffer         ; -- Begin function vorbis_analysis_buffer
	.p2align	2
_vorbis_analysis_buffer:                ; @vorbis_analysis_buffer
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	ldp	x22, x21, [x0, #24]
	ldr	x0, [x22, #16]
	cbz	x0, LBB0_2
; %bb.1:
	bl	__ogg_free
LBB0_2:
	str	xzr, [x22, #16]
	ldr	x0, [x22, #8]
	cbz	x0, LBB0_4
; %bb.3:
	bl	__ogg_free
LBB0_4:
	str	xzr, [x22, #8]
	ldr	x0, [x22]
	cbz	x0, LBB0_6
; %bb.5:
	bl	__ogg_free
LBB0_6:
	str	xzr, [x22]
	ldp	w8, w9, [x19]
	add	w10, w8, w20
	cmp	w10, w9
	b.ge	LBB0_8
; %bb.7:
	ldr	w8, [x21]
	b	LBB0_12
LBB0_8:
	add	w8, w8, w20, lsl #1
	str	w8, [x19, #4]
	ldr	w9, [x21]
	cmp	w9, #1
	b.lt	LBB0_15
; %bb.9:
	ldr	x9, [x19, #8]
	ldr	x0, [x9]
	lsl	w1, w8, #2
	bl	__ogg_realloc
	ldr	x8, [x19, #8]
	str	x0, [x8]
	ldr	w8, [x21]
	cmp	w8, #1
	b.le	LBB0_12
; %bb.10:
	mov	w20, #1
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19, #4]
	ldr	x9, [x19, #8]
	lsl	x22, x20, #3
	ldr	x0, [x9, x22]
	lsl	w1, w8, #2
	bl	__ogg_realloc
	ldr	x8, [x19, #8]
	str	x0, [x8, x22]
	add	x20, x20, #1
	ldrsw	x8, [x21]
	cmp	x20, x8
	b.lt	LBB0_11
LBB0_12:
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.13:
	mov	x9, #0
	ldrsw	x10, [x19]
	mov	w8, w8
	lsl	x8, x8, #3
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldp	x11, x12, [x19, #8]
	ldr	x11, [x11, x9]
	add	x11, x11, x10, lsl #2
	str	x11, [x12, x9]
	add	x9, x9, #8
	cmp	x8, x9
	b.ne	LBB0_14
LBB0_15:
	ldr	x0, [x19, #16]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
