	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lima_sched_slab_init           ## -- Begin function lima_sched_slab_init
	.p2align	4, 0x90
_lima_sched_slab_init:                  ## @lima_sched_slab_init
	.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
	movq	_lima_fence_slab@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	jne	LBB0_3
## %bb.1:
	movq	_SLAB_HWCACHE_ALIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	movl	$4, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_kmem_cache_create
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movq	_lima_fence_slab_refcnt@GOTPCREL(%rip), %rax
	incl	(%rax)
	xorl	%ebx, %ebx
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_lima_fence_slab,8,3            ## @lima_fence_slab
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lima_fence"

	.comm	_SLAB_HWCACHE_ALIGN,4,2         ## @SLAB_HWCACHE_ALIGN
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_lima_fence_slab_refcnt,4,2     ## @lima_fence_slab_refcnt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lima_sched_slab_init           ; -- Begin function lima_sched_slab_init
	.p2align	2
_lima_sched_slab_init:                  ; @lima_sched_slab_init
	.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	x19, _lima_fence_slab@GOTPAGE
Lloh1:
	ldr	x19, [x19, _lima_fence_slab@GOTPAGEOFF]
	ldr	x8, [x19]
	cbnz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _SLAB_HWCACHE_ALIGN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SLAB_HWCACHE_ALIGN@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #4
	mov	w2, #0
	mov	x4, #0
	bl	_kmem_cache_create
	str	x0, [x19]
	cbz	x0, LBB0_4
LBB0_2:
	mov	w0, #0
Lloh7:
	adrp	x8, _lima_fence_slab_refcnt@GOTPAGE
Lloh8:
	ldr	x8, [x8, _lima_fence_slab_refcnt@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_lima_fence_slab,8,3            ; @lima_fence_slab
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lima_fence"

	.comm	_SLAB_HWCACHE_ALIGN,4,2         ; @SLAB_HWCACHE_ALIGN
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_lima_fence_slab_refcnt,4,2     ; @lima_fence_slab_refcnt
.subsections_via_symbols
