	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_new_entry                  ## -- Begin function get_new_entry
	.p2align	4, 0x90
_get_new_entry:                         ## @get_new_entry
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_buffer_stack_size@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_free_LRU
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	movq	(%rbx), %rax
LBB0_2:
	movq	_buffer_stack@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	-1(%rax), %rdx
	movq	%rdx, (%rbx)
	movl	-4(%rcx,%rax,4), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_buffer_stack_size,8,3          ## @buffer_stack_size
	.comm	_buffer_stack,8,3               ## @buffer_stack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_new_entry                  ; -- Begin function get_new_entry
	.p2align	2
_get_new_entry:                         ; @get_new_entry
	.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
Lloh0:
	adrp	x19, _buffer_stack_size@GOTPAGE
Lloh1:
	ldr	x19, [x19, _buffer_stack_size@GOTPAGEOFF]
	ldr	x8, [x19]
	cbnz	x8, LBB0_2
; %bb.1:
	bl	_free_LRU
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	ldr	x8, [x19]
LBB0_2:
Lloh2:
	adrp	x9, _buffer_stack@GOTPAGE
Lloh3:
	ldr	x9, [x9, _buffer_stack@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	sub	x8, x8, #1
	str	x8, [x19]
	ldr	w0, [x9, x8, lsl #2]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_buffer_stack_size,8,3          ; @buffer_stack_size
	.comm	_buffer_stack,8,3               ; @buffer_stack
.subsections_via_symbols
