	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_slab_allocator
_init_slab_allocator:                   ## @init_slab_allocator
	.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	%rdi, %r14
	testl	%esi, %esi
	jle	LBB0_9
## %bb.1:
	movl	%esi, %ebx
	movq	_SLAB_SLOT_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	imull	%esi, %edi
	callq	_palloc
	movq	%rax, (%r14)
	movslq	(%r15), %rcx
	movslq	%ebx, %rsi
	imulq	%rcx, %rsi
	movq	%rsi, %rcx
	addq	%rax, %rcx
	movq	%rcx, 8(%r14)
	movq	%rax, 24(%r14)
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_USEMEM
	movq	(%r14), %rdx
	cmpl	$1, %ebx
	je	LBB0_8
## %bb.2:
	movslq	(%r15), %rax
	leal	-2(%rbx), %esi
	decl	%ebx
	movl	%ebx, %ecx
	andl	$7, %ecx
	cmpl	$7, %esi
	jae	LBB0_4
## %bb.3:
	movq	%rdx, %rsi
	jmp	LBB0_6
LBB0_9:
	movq	$0, 24(%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r14)
	jmp	LBB0_10
LBB0_4:
	andl	$-8, %ebx
	leaq	(%rax,%rax), %r8
	leaq	(%rax,%rax,2), %r10
	leaq	(,%rax,4), %r9
	leaq	(%rax,%rax,4), %r11
	leaq	(%r8,%r8,2), %r12
	leaq	(,%rax,8), %r15
	movq	%r15, %r13
	subq	%rax, %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rdx,%rax), %rsi
	movq	%rsi, (%rdx)
	addq	%rax, %rsi
	leaq	(%rdx,%r8), %rdi
	movq	%rdi, (%rdx,%rax)
	addq	%rax, %rsi
	leaq	(%rdx,%r10), %rdi
	movq	%rdi, (%rdx,%rax,2)
	addq	%rax, %rsi
	leaq	(%rdx,%r9), %rdi
	movq	%rdi, (%rdx,%r10)
	addq	%rax, %rsi
	leaq	(%rdx,%r11), %rdi
	movq	%rdi, (%rdx,%rax,4)
	addq	%rax, %rsi
	leaq	(%rdx,%r12), %rdi
	movq	%rdi, (%rdx,%r11)
	addq	%rax, %rsi
	leaq	(%rdx,%r13), %rdi
	movq	%rdi, (%rdx,%r12)
	addq	%rax, %rsi
	leaq	(%rdx,%r15), %rdi
	movq	%rdi, (%rdx,%r13)
	movq	%rsi, %rdx
	addl	$-8, %ebx
	jne	LBB0_5
LBB0_6:
	movq	%rsi, %rdx
	testl	%ecx, %ecx
	je	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rsi,%rax), %rdx
	movq	%rdx, (%rsi)
	movq	%rdx, %rsi
	decl	%ecx
	jne	LBB0_7
LBB0_8:
	movq	$0, (%rdx)
LBB0_10:
	movl	$1, 16(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SLAB_SLOT_SIZE,4,2             ## @SLAB_SLOT_SIZE
	.no_dead_strip	_init_slab_allocator
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_slab_allocator
_init_slab_allocator:                   ; @init_slab_allocator
	.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, x0
	cmp	w1, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, x1
Lloh0:
	adrp	x21, _SLAB_SLOT_SIZE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SLAB_SLOT_SIZE@GOTPAGEOFF]
	ldr	w8, [x21]
	mul	w0, w8, w1
	bl	_palloc
	ldrsw	x8, [x21]
	sxtw	x9, w20
	mul	x1, x8, x9
	add	x8, x0, x1
	stp	x0, x8, [x19]
	str	x0, [x19, #24]
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_USEMEM
	ldr	x9, [x19]
	subs	w8, w20, #1
	b.ne	LBB0_4
; %bb.2:
	mov	x11, x9
	str	xzr, [x9]
	b	LBB0_7
LBB0_3:
	str	xzr, [x19, #24]
	stp	xzr, xzr, [x19]
	b	LBB0_7
LBB0_4:
	ldrsw	x10, [x21]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x11, x9, x10
	str	x11, [x9]
	mov	x9, x11
	subs	w8, w8, #1
	b.ne	LBB0_5
; %bb.6:
	str	xzr, [x11]
LBB0_7:
	mov	w8, #1
	str	w8, [x19, #16]
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SLAB_SLOT_SIZE,4,2             ; @SLAB_SLOT_SIZE
	.no_dead_strip	_init_slab_allocator
.subsections_via_symbols
