	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function AllocSetFreeIndex
_AllocSetFreeIndex:                     ## @AllocSetFreeIndex
	.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	_ALLOC_MINBITS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$1, %eax
	shll	%cl, %eax
                                        ## kill: def $edi killed $edi def $rdi
	xorl	%ebx, %ebx
	cmpl	%edi, %eax
	jge	LBB0_5
## %bb.1:
	decl	%edi
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %edi
	cmpl	$256, %edi                      ## imm = 0x100
	jae	LBB0_2
## %bb.3:
	movq	_LogTable256@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%edi, %ecx
	movl	(%rax,%rcx,4), %ebx
	jmp	LBB0_4
LBB0_2:
	shrl	$8, %edi
	movq	_LogTable256@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rdi,4), %ebx
	addl	$8, %ebx
LBB0_4:
	movq	_ALLOCSET_NUM_FREELISTS@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %ebx
	setl	%dil
	callq	_Assert
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ALLOC_MINBITS,4,2              ## @ALLOC_MINBITS
	.comm	_LogTable256,8,3                ## @LogTable256
	.comm	_ALLOCSET_NUM_FREELISTS,4,2     ## @ALLOCSET_NUM_FREELISTS
	.no_dead_strip	_AllocSetFreeIndex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function AllocSetFreeIndex
_AllocSetFreeIndex:                     ; @AllocSetFreeIndex
	.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
Lloh0:
	adrp	x8, _ALLOC_MINBITS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ALLOC_MINBITS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w9, w9, w8
	cmp	w9, w0
	b.ge	LBB0_3
; %bb.1:
	sub	w9, w0, #1
	asr	w8, w9, w8
	cmp	w8, #256
	b.hs	LBB0_4
; %bb.2:
Lloh3:
	adrp	x9, _LogTable256@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LogTable256@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w19, [x9, w8, uxtw #2]
	b	LBB0_5
LBB0_3:
	mov	w19, #0
	b	LBB0_6
LBB0_4:
	lsr	w8, w8, #8
Lloh6:
	adrp	x9, _LogTable256@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LogTable256@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	w8, [x9, w8, uxtw #2]
	add	w19, w8, #8
LBB0_5:
Lloh9:
	adrp	x8, _ALLOCSET_NUM_FREELISTS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ALLOCSET_NUM_FREELISTS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w19, w8
	cset	w0, lt
	bl	_Assert
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ALLOC_MINBITS,4,2              ; @ALLOC_MINBITS
	.comm	_LogTable256,8,3                ; @LogTable256
	.comm	_ALLOCSET_NUM_FREELISTS,4,2     ; @ALLOCSET_NUM_FREELISTS
	.no_dead_strip	_AllocSetFreeIndex
.subsections_via_symbols
