	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function slab_free_item
_slab_free_item:                        ## @slab_free_item
	.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	%rdx, %r15
	movq	%rsi, %rbx
	movq	8(%rdi), %r14
	leaq	32(%r14), %rcx
	xorl	%eax, %eax
	cmpq	%rcx, (%rdi)
	sete	%al
	movl	%eax, %edi
	callq	_MPASS
	movq	%r14, %rdi
	callq	_KEG_LOCK_ASSERT
	xorl	%edi, %edi
	cmpq	32(%rbx), %r14
	sete	%dil
	callq	_MPASS
	movq	24(%r14), %r12
	movq	(%rbx), %r13
	movq	8(%rbx), %rax
	leaq	1(%rax), %rcx
	cmpq	(%r14), %rcx
	jne	LBB0_2
## %bb.1:
	movq	_us_link@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_LIST_REMOVE
	leaq	(%r12,%r13,8), %rdi
	addq	$4, %rdi
	jmp	LBB0_4
LBB0_2:
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movq	_us_link@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_LIST_REMOVE
	leaq	(%r12,%r13,8), %rdi
LBB0_4:
	movq	_us_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_LIST_INSERT_HEAD
LBB0_5:
	subq	24(%rbx), %r15
	movq	8(%r14), %rcx
	movq	%r15, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_6
## %bb.7:
	movq	%r15, %rax
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_8
LBB0_6:
	movl	%r15d, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_8:
	movq	_SLAB_SETSIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	16(%rbx), %rdx
	movq	%rax, %rsi
	callq	_BIT_SET
	incq	8(%rbx)
	incl	16(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_us_link,4,2                    ## @us_link
	.comm	_SLAB_SETSIZE,4,2               ## @SLAB_SETSIZE
	.no_dead_strip	_slab_free_item
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function slab_free_item
_slab_free_item:                        ; @slab_free_item
	.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	x21, x2
	mov	x20, x1
	ldp	x8, x19, [x0]
	add	x9, x19, #32
	cmp	x8, x9
	cset	w0, eq
	bl	_MPASS
	mov	x0, x19
	bl	_KEG_LOCK_ASSERT
	ldr	x8, [x20, #32]
	cmp	x19, x8
	cset	w0, eq
	bl	_MPASS
	ldr	x22, [x19, #24]
	ldp	x23, x8, [x20]
	add	x9, x8, #1
	ldr	x10, [x19]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x24, _us_link@GOTPAGE
Lloh1:
	ldr	x24, [x24, _us_link@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x20
	bl	_LIST_REMOVE
	add	x8, x22, x23, lsl #3
	add	x0, x8, #4
	b	LBB0_4
LBB0_2:
	cbnz	x8, LBB0_5
; %bb.3:
Lloh2:
	adrp	x24, _us_link@GOTPAGE
Lloh3:
	ldr	x24, [x24, _us_link@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x20
	bl	_LIST_REMOVE
	add	x0, x22, x23, lsl #3
LBB0_4:
	ldr	w2, [x24]
	mov	x1, x20
	bl	_LIST_INSERT_HEAD
LBB0_5:
	ldr	x8, [x20, #24]
	sub	x8, x21, x8
	ldr	x9, [x19, #8]
Lloh4:
	adrp	x10, _SLAB_SETSIZE@GOTPAGE
Lloh5:
	ldr	x10, [x10, _SLAB_SETSIZE@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x10]
	add	x2, x20, #16
	udiv	x1, x8, x9
	bl	_BIT_SET
	ldr	x8, [x20, #8]
	add	x8, x8, #1
	str	x8, [x20, #8]
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_us_link,4,2                    ; @us_link
	.comm	_SLAB_SETSIZE,4,2               ; @SLAB_SETSIZE
	.no_dead_strip	_slab_free_item
.subsections_via_symbols
