	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rs_svc_grow_sets
_rs_svc_grow_sets:                      ## @rs_svc_grow_sets
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movslq	(%rdi), %rax
	movslq	%esi, %rbx
	addq	%rax, %rbx
	movl	4(%rdi), %esi
	addl	$8, %esi
	movl	%ebx, %edi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movl	%ebx, (%r12)
	leaq	(%rax,%rbx,8), %r15
	movl	8(%r12), %eax
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	24(%r12), %rsi
	leal	8(,%rax,8), %edx
	movq	%r14, %rdi
	callq	_memcpy
	movq	16(%r12), %rsi
	movl	8(%r12), %edx
	incl	%edx
	imull	4(%r12), %edx
	movq	%r15, %rdi
	callq	_memcpy
LBB0_4:
	movq	24(%r12), %rdi
	callq	_free
	movq	%r14, 24(%r12)
	movq	%r15, 16(%r12)
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_rs_svc_grow_sets
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rs_svc_grow_sets
_rs_svc_grow_sets:                      ; @rs_svc_grow_sets
	.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	x19, x0
	ldp	w8, w9, [x0]
	add	w21, w8, w1
	add	w1, w9, #8
	mov	x0, x21
	bl	_calloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	str	w21, [x19]
	add	x21, x0, w21, sxtw #3
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_3
; %bb.2:
	ldr	x1, [x19, #24]
	lsl	w8, w8, #3
	add	w2, w8, #8
	mov	x0, x20
	bl	_memcpy
	ldr	x1, [x19, #16]
	ldp	w8, w9, [x19, #4]
	madd	w2, w8, w9, w8
	mov	x0, x21
	bl	_memcpy
LBB0_3:
	ldr	x0, [x19, #24]
	bl	_free
	mov	w0, #0
	stp	x21, x20, [x19, #16]
	b	LBB0_5
LBB0_4:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_rs_svc_grow_sets
.subsections_via_symbols
