	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rc_alloc                       ## -- Begin function rc_alloc
	.p2align	4, 0x90
_rc_alloc:                              ## @rc_alloc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $ecx killed $ecx def $rcx
	movl	(%rsi), %eax
	addl	%ecx, %eax
	decl	%eax
	negl	%ecx
	andl	%eax, %ecx
	movslq	%ecx, %rcx
	leaq	(%rdi,%rcx), %rax
	testq	%rdi, %rdi
	cmoveq	%r8, %rax
	addl	%edx, %ecx
	movl	%ecx, (%rsi)
	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	_rc_alloc                       ; -- Begin function rc_alloc
	.p2align	2
_rc_alloc:                              ; @rc_alloc
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	add	w8, w3, w8
	sub	w8, w8, #1
	neg	w9, w3
	and	w8, w8, w9
	add	x9, x0, w8, sxtw
	cmp	x0, #0
	csel	x0, x4, x9, eq
	add	w8, w8, w2
	str	w8, [x1]
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
