	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memslot_id                     ## -- Begin function memslot_id
	.p2align	4, 0x90
_memslot_id:                            ## @memslot_id
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_rcu_dereference
	movq	%rax, %r15
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_unalias_gfn
	movl	(%r15), %esi
	xorl	%edi, %edi
	movq	8(%r15), %rdx
	testl	%esi, %esi
	jle	LBB0_1
## %bb.2:
	movq	%rax, %rcx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%edi
	cmpl	%esi, %edi
	jge	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edi, %edi
	movq	%rdi, %rax
	shlq	$4, %rax
	movq	(%rdx,%rax), %rbx
	cmpq	%rbx, %rcx
	jl	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	8(%rdx,%rax), %rbx
	cmpq	%rbx, %rcx
	jge	LBB0_5
LBB0_6:
	addq	%rdx, %rax
	jmp	LBB0_7
LBB0_1:
	xorl	%eax, %eax
LBB0_7:
	subq	%rdx, %rax
	shrq	$4, %rax
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memslot_id                     ; -- Begin function memslot_id
	.p2align	2
_memslot_id:                            ; @memslot_id
	.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	x19, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_rcu_dereference
	mov	x21, x0
	mov	x0, x20
	mov	x1, x19
	bl	_unalias_gfn
	ldr	w9, [x21]
	ldr	x8, [x21, #8]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.1:
	mov	w11, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w11, w12, #1
	cmp	w11, w9
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	w12, w11
	add	x10, x8, w11, uxtw #4
	ldr	x13, [x10]
	cmp	x0, x13
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x11, x8, x12, lsl #4
	ldr	x14, [x11, #8]
	add	w11, w12, #1
	add	x12, x14, x13
	cmp	x0, x12
	ccmp	w11, w9, #0, ge
	b.lt	LBB0_3
	b	LBB0_6
LBB0_5:
	mov	x10, #0
LBB0_6:
	sub	x8, x10, x8
	lsr	x0, x8, #4
                                        ; kill: def $w0 killed $w0 killed $x0
	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
.subsections_via_symbols
