	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__vorbis_block_alloc            ## -- Begin function _vorbis_block_alloc
	.p2align	4, 0x90
__vorbis_block_alloc:                   ## @_vorbis_block_alloc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_WORD_ALIGN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rax,%rsi), %rcx
	decq	%rcx
	negl	%eax
	movslq	%eax, %rbx
	andq	%rcx, %rbx
	movq	(%rdi), %rcx
	movq	16(%rdi), %rax
	leaq	(%rbx,%rcx), %rdx
	cmpq	8(%rdi), %rdx
	jle	LBB0_4
## %bb.1:
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	$16, %edi
	callq	__ogg_malloc
	movl	(%r14), %ecx
	addl	%ecx, 32(%r14)
	movq	24(%r14), %rcx
	movq	%rcx, 8(%rax)
	movq	16(%r14), %rcx
	movq	%rcx, (%rax)
	movq	%rax, 24(%r14)
LBB0_3:
	movq	%rbx, 8(%r14)
	movl	%ebx, %edi
	callq	__ogg_malloc
	movq	%rax, 16(%r14)
	xorl	%ecx, %ecx
LBB0_4:
	addq	%rcx, %rax
	addq	%rcx, %rbx
	movq	%rbx, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WORD_ALIGN,4,2                 ## @WORD_ALIGN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__vorbis_block_alloc            ; -- Begin function _vorbis_block_alloc
	.p2align	2
__vorbis_block_alloc:                   ; @_vorbis_block_alloc
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _WORD_ALIGN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WORD_ALIGN@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	add	x9, x8, x1
	sub	x9, x9, #1
	neg	w8, w8
	sxtw	x8, w8
	and	x20, x9, x8
	ldp	x8, x9, [x0]
	ldr	x0, [x0, #16]
	add	x10, x20, x8
	cmp	x10, x9
	b.le	LBB0_4
; %bb.1:
	cbz	x0, LBB0_3
; %bb.2:
	mov	w0, #16
	bl	__ogg_malloc
	ldr	w8, [x19]
	ldr	w9, [x19, #32]
	add	w8, w9, w8
	str	w8, [x19, #32]
	ldp	x9, x8, [x19, #16]
	stp	x9, x8, [x0]
	str	x0, [x19, #24]
LBB0_3:
	str	x20, [x19, #8]
	mov	x0, x20
	bl	__ogg_malloc
	mov	x8, #0
	str	x0, [x19, #16]
LBB0_4:
	add	x0, x0, x8
	add	x8, x8, x20
	str	x8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WORD_ALIGN,4,2                 ; @WORD_ALIGN
.subsections_via_symbols
