	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function which_bucket
_which_bucket:                          ## @which_bucket
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_smp_processor_id
	movl	%eax, %edi
	callq	_nr_iowait_cpu
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_BUCKETS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ebx
	shrl	$31, %ebx
	addl	%eax, %ebx
	sarl	%ebx
LBB0_2:
	cmpl	$10, %r14d
	jb	LBB0_12
## %bb.3:
	cmpl	$99, %r14d
	ja	LBB0_5
## %bb.4:
	incl	%ebx
	jmp	LBB0_12
LBB0_5:
	cmpl	$999, %r14d                     ## imm = 0x3E7
	ja	LBB0_7
## %bb.6:
	addl	$2, %ebx
	jmp	LBB0_12
LBB0_7:
	cmpl	$9999, %r14d                    ## imm = 0x270F
	ja	LBB0_9
## %bb.8:
	addl	$3, %ebx
	jmp	LBB0_12
LBB0_9:
	cmpl	$99999, %r14d                   ## imm = 0x1869F
	ja	LBB0_11
## %bb.10:
	addl	$4, %ebx
	jmp	LBB0_12
LBB0_11:
	addl	$5, %ebx
LBB0_12:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BUCKETS,4,2                    ## @BUCKETS
	.no_dead_strip	_which_bucket
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function which_bucket
_which_bucket:                          ; @which_bucket
	.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	_smp_processor_id
	bl	_nr_iowait_cpu
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _BUCKETS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BUCKETS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	b	LBB0_3
LBB0_2:
	mov	w8, #0
LBB0_3:
	lsr	w9, w19, #4
	lsr	w10, w19, #5
	add	w11, w8, #5
	add	w12, w8, #4
	cmp	w10, #3124
	csel	w10, w11, w12, hi
	add	w11, w8, #3
	cmp	w9, #624
	csel	w9, w10, w11, hi
	add	w10, w8, #2
	cmp	w19, #999
	csel	w9, w9, w10, hi
	cmp	w19, #99
	csinc	w9, w9, w8, hi
	cmp	w19, #10
	csel	w0, w8, w9, lo
	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	_BUCKETS,4,2                    ; @BUCKETS
	.no_dead_strip	_which_bucket
.subsections_via_symbols
