	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cipso_v4_cache_init
_cipso_v4_cache_init:                   ## @cipso_v4_cache_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	%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	_CIPSO_V4_CACHE_BUCKETS@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$4, %esi
	callq	_kcalloc
	movq	_cipso_v4_cache@GOTPCREL(%rip), %r12
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	xorl	%r14d, %r14d
	cmpq	$0, (%r15)
	je	LBB0_5
## %bb.2:
	addq	$16, %rax
	movq	%rax, %rdi
	callq	_spin_lock_init
	movq	(%r12), %rdi
	movq	$0, 8(%rdi)
	callq	_INIT_LIST_HEAD
	cmpq	$2, (%r15)
	jb	LBB0_5
## %bb.3:
	movl	$1, %r13d
	movl	$40, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	addq	%rbx, %rdi
	callq	_spin_lock_init
	movq	(%r12), %rax
	movq	$0, -8(%rax,%rbx)
	leaq	(%rax,%rbx), %rdi
	addq	$-16, %rdi
	callq	_INIT_LIST_HEAD
	incq	%r13
	addq	$24, %rbx
	cmpq	(%r15), %r13
	jb	LBB0_4
	jmp	LBB0_5
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CIPSO_V4_CACHE_BUCKETS,8,3     ## @CIPSO_V4_CACHE_BUCKETS
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_cipso_v4_cache,8,3             ## @cipso_v4_cache
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_cipso_v4_cache_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cipso_v4_cache_init
_cipso_v4_cache_init:                   ; @cipso_v4_cache_init
	.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
Lloh0:
	adrp	x19, _CIPSO_V4_CACHE_BUCKETS@GOTPAGE
Lloh1:
	ldr	x19, [x19, _CIPSO_V4_CACHE_BUCKETS@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w1, #4
	bl	_kcalloc
Lloh5:
	adrp	x20, _cipso_v4_cache@GOTPAGE
Lloh6:
	ldr	x20, [x20, _cipso_v4_cache@GOTPAGEOFF]
	str	x0, [x20]
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.2:
	add	x0, x0, #16
	bl	_spin_lock_init
	ldr	x0, [x20]
	str	xzr, [x0, #8]
	bl	_INIT_LIST_HEAD
	ldr	x8, [x19]
	cmp	x8, #2
	b.lo	LBB0_5
; %bb.3:
	mov	x21, #0
	mov	w22, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	add	x8, x8, x21
	add	x0, x8, #40
	bl	_spin_lock_init
	ldr	x8, [x20]
	add	x8, x8, x21
	str	xzr, [x8, #32]
	add	x0, x8, #24
	bl	_INIT_LIST_HEAD
	add	x22, x22, #1
	ldr	x8, [x19]
	add	x21, x21, #24
	cmp	x22, x8
	b.lo	LBB0_4
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_CIPSO_V4_CACHE_BUCKETS,8,3     ; @CIPSO_V4_CACHE_BUCKETS
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_cipso_v4_cache,8,3             ; @cipso_v4_cache
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_cipso_v4_cache_init
.subsections_via_symbols
