	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rs_svc_rm_rs
_rs_svc_rm_rs:                          ## @rs_svc_rm_rs
	.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	%rdi, %rbx
	callq	_rs_svc_index
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movq	(%rbx), %rsi
	movq	24(%rbx), %rcx
	movl	(%rcx,%rsi,4), %edx
	movl	%eax, %edi
	movl	%edx, (%rcx,%rdi,4)
	movq	16(%rbx), %rcx
	movslq	8(%rbx), %rdx
	imull	%edx, %eax
	movslq	%eax, %rdi
	addq	%rcx, %rdi
	imulq	%rdx, %rsi
	addq	%rcx, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	decq	(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_2:
	movq	_EBADF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EBADF,4,2                      ## @EBADF
	.no_dead_strip	_rs_svc_rm_rs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rs_svc_rm_rs
_rs_svc_rm_rs:                          ; @rs_svc_rm_rs
	.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
	bl	_rs_svc_index
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldp	x10, x9, [x19, #16]
	ldr	w11, [x9, x8, lsl #2]
	str	w11, [x9, w0, uxtw #2]
	ldrsw	x2, [x19, #8]
	mul	w9, w2, w0
	add	x0, x10, w9, sxtw
	madd	x1, x8, x2, x10
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memcpy
	mov	w0, #0
	ldr	x8, [x19]
	sub	x8, x8, #1
	str	x8, [x19]
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _EBADF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EBADF@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_3:
	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	_EBADF,4,2                      ; @EBADF
	.no_dead_strip	_rs_svc_rm_rs
.subsections_via_symbols
