	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ready_list_remove
_ready_list_remove:                     ## @ready_list_remove
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movslq	(%rdi), %r15
	xorl	%edi, %edi
	cmpl	%esi, %r15d
	jg	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	cmpl	%ebx, 4(%r14)
	setge	%dil
LBB0_2:
	callq	_Assert
	cmpl	%ebx, %r15d
	jge	LBB0_4
## %bb.3:
	movq	8(%r14), %rax
	leaq	(%rax,%r15,8), %rsi
	leaq	(%rax,%r15,8), %rdi
	addq	$8, %rdi
	subl	%r15d, %ebx
	shll	$3, %ebx
	movl	%ebx, %edx
	callq	_memmove
LBB0_4:
	incl	(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ready_list_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ready_list_remove
_ready_list_remove:                     ; @ready_list_remove
	.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	x20, x1
	mov	x19, x0
	ldrsw	x21, [x0]
	cmp	w21, w1
	b.le	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	ldr	w8, [x19, #4]
	cmp	w8, w20
	cset	w0, ge
LBB0_3:
	bl	_Assert
	cmp	w21, w20
	b.ge	LBB0_5
; %bb.4:
	ldr	x8, [x19, #8]
	add	x1, x8, x21, lsl #3
	add	x0, x1, #8
	sub	w8, w20, w21
	lsl	w2, w8, #3
	bl	_memmove
LBB0_5:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ready_list_remove
.subsections_via_symbols
