	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getvacant
_getvacant:                             ## @getvacant
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_pickss
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_32
## %bb.1:
	movq	_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	(%r15), %eax
	sete	%dil
	callq	_assert
	movq	40(%r15), %r12
	testq	%r12, %r12
	je	LBB0_4
## %bb.2:
	movq	32(%r15), %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_FDEBUG
	movq	24(%r12), %rax
	movq	$0, (%rax,%rbx,8)
	movq	16(%r12), %rax
	shlq	$5, %rbx
	movq	(%rax,%rbx), %rcx
	movq	8(%rax,%rbx), %r12
	movq	$0, 8(%rax,%rbx)
	movq	%rcx, %rbx
	testq	%r12, %r12
	jne	LBB0_3
LBB0_4:
	movq	$0, 40(%r15)
	cmpl	$0, (%r14)
	jle	LBB0_22
## %bb.5:
	xorl	%r12d, %r12d
	jmp	LBB0_6
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
LBB0_19:                                ##   in Loop: Header=BB0_6 Depth=1
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_assert
	shlq	$5, %r13
	addq	16(%rbx), %r13
LBB0_20:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	16(%r15), %rax
	movq	%r12, %rcx
	shlq	$5, %rcx
	movups	(%rax,%rcx), %xmm0
	movups	16(%rax,%rcx), %xmm1
	movups	%xmm1, 16(%r13)
	movups	%xmm0, (%r13)
	movq	24(%r15), %rax
	movq	$0, (%rax,%r12,8)
	movq	16(%r15), %rax
	movq	$0, 8(%rax,%rcx)
LBB0_21:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%r12
	movslq	(%r14), %rax
	cmpq	%rax, %r12
	jge	LBB0_22
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	movq	24(%r15), %rax
	movq	(%rax,%r12,8), %r13
	xorl	%edi, %edi
	cmpq	%r15, %r13
	setne	%dil
	callq	_assert
	testq	%r13, %r13
	je	LBB0_21
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rax
	subq	24(%r14), %rax
	shrq	$6, %rax
	movslq	%eax, %rdi
	callq	_FDEBUG
	movq	40(%r13), %rax
	cmpq	%r15, %rax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpq	%r12, 32(%r13)
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	addq	$32, %r13
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	40(%r13), %rax
	xorl	%edi, %edi
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	32(%r13), %rcx
	cmpq	%r15, %rax
	jne	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpq	%r12, %rcx
	jne	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	movl	$1, %edi
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rax, %rbx
	movq	%rcx, %r13
	movq	16(%rax), %rcx
	movq	%r13, %rdx
	shlq	$5, %rdx
	movq	8(%rcx,%rdx), %rax
	testq	%rax, %rax
	je	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_18 Depth=2
	movq	(%rcx,%rdx), %rcx
	cmpq	%r15, %rax
	jne	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_18 Depth=2
	cmpq	%r12, %rcx
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %edi
	jmp	LBB0_19
LBB0_22:
	movl	(%r15), %eax
	movq	_POSTSTATE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_27
## %bb.23:
	movq	8(%r15), %rcx
	movq	16(%r14), %rdx
	cmpq	%rdx, %rcx
	je	LBB0_27
## %bb.24:
	testq	%rdx, %rdx
	je	LBB0_26
## %bb.25:
	cmpq	%rcx, %rdx
	jae	LBB0_27
LBB0_26:
	movq	%rcx, 16(%r14)
LBB0_27:
	movq	_NOPROGRESS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_32
## %bb.28:
	movq	8(%r15), %rax
	movq	8(%r14), %rcx
	cmpq	%rcx, %rax
	je	LBB0_32
## %bb.29:
	testq	%rcx, %rcx
	je	LBB0_31
## %bb.30:
	cmpq	%rax, %rcx
	jae	LBB0_32
LBB0_31:
	movq	%rax, 8(%r14)
LBB0_32:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LOCKED,4,2                     ## @LOCKED
	.comm	_POSTSTATE,4,2                  ## @POSTSTATE
	.comm	_NOPROGRESS,4,2                 ## @NOPROGRESS
	.no_dead_strip	_getvacant
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getvacant
_getvacant:                             ; @getvacant
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	bl	_pickss
	mov	x20, x0
	cbz	x0, LBB0_30
; %bb.1:
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _LOCKED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LOCKED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
	bl	_assert
	ldr	x22, [x20, #40]
	cbz	x22, LBB0_4
; %bb.2:
	ldr	x21, [x20, #32]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_FDEBUG
	ldr	x8, [x22, #24]
	str	xzr, [x8, x21, lsl #3]
	ldr	x8, [x22, #16]
	add	x8, x8, x21, lsl #5
	ldp	x21, x22, [x8]
	str	xzr, [x8, #8]
	cbnz	x22, LBB0_3
LBB0_4:
	str	xzr, [x20, #40]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.5:
	mov	x21, #0
	b	LBB0_11
LBB0_6:                                 ;   in Loop: Header=BB0_11 Depth=1
	mov	x22, #0
	mov	x23, #0
LBB0_7:                                 ;   in Loop: Header=BB0_11 Depth=1
	mov	w0, #0
LBB0_8:                                 ;   in Loop: Header=BB0_11 Depth=1
	bl	_assert
	ldr	x8, [x23, #16]
	add	x8, x8, x22, lsl #5
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	ldr	x9, [x20, #16]
	lsl	x10, x21, #5
	add	x9, x9, x10
	ldp	q0, q1, [x9]
	stp	q0, q1, [x8]
	ldr	x8, [x20, #24]
	str	xzr, [x8, x21, lsl #3]
	ldr	x8, [x20, #16]
	add	x8, x8, x10
	str	xzr, [x8, #8]
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x19]
	cmp	x21, x8
	b.ge	LBB0_20
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
	ldr	x8, [x20, #24]
	ldr	x22, [x8, x21, lsl #3]
	cmp	x22, x20
	cset	w0, ne
	bl	_assert
	cbz	x22, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x19, #24]
	sub	x8, x22, x8
	sbfx	x0, x8, #6, #32
	bl	_FDEBUG
	ldr	x9, [x22, #40]
	cmp	x9, x20
	b.ne	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x8, x22
	ldr	x10, [x8, #32]!
	cmp	x10, x21
	b.eq	LBB0_9
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=1
	cmp	x9, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x22, #40]
	cbz	x8, LBB0_6
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x9, [x22, #32]
	cmp	x8, x20
	ccmp	x9, x21, #0, eq
	b.eq	LBB0_18
LBB0_16:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x23, x8
	mov	x22, x9
	ldr	x9, [x8, #16]
	add	x8, x9, x22, lsl #5
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_7
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	lsl	x10, x22, #5
	ldr	x9, [x9, x10]
	cmp	x8, x20
	ccmp	x9, x21, #0, eq
	b.ne	LBB0_16
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x22, #0
	mov	x23, #0
LBB0_19:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	w0, #1
	b	LBB0_8
LBB0_20:
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _POSTSTATE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _POSTSTATE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_25
; %bb.21:
	ldr	x9, [x20, #8]
	ldr	x10, [x19, #16]
	cmp	x9, x10
	b.eq	LBB0_25
; %bb.22:
	cbz	x10, LBB0_24
; %bb.23:
	cmp	x10, x9
	b.hs	LBB0_25
LBB0_24:
	str	x9, [x19, #16]
LBB0_25:
Lloh6:
	adrp	x9, _NOPROGRESS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NOPROGRESS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_30
; %bb.26:
	ldr	x8, [x20, #8]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.eq	LBB0_30
; %bb.27:
	cbz	x9, LBB0_29
; %bb.28:
	cmp	x9, x8
	b.hs	LBB0_30
LBB0_29:
	str	x8, [x19, #8]
LBB0_30:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_LOCKED,4,2                     ; @LOCKED
	.comm	_POSTSTATE,4,2                  ; @POSTSTATE
	.comm	_NOPROGRESS,4,2                 ; @NOPROGRESS
	.no_dead_strip	_getvacant
.subsections_via_symbols
