	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_bio_prison_create           ## -- Begin function dm_bio_prison_create
	.p2align	4, 0x90
_dm_bio_prison_create:                  ## @dm_bio_prison_create
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	callq	_calc_nr_buckets
	movl	%eax, %r14d
	cltq
	leaq	24(,%rax,4), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %r12
	leaq	20(%rax), %rdi
	callq	_spin_lock_init
	movq	__cell_cache@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_mempool_create_slab_pool
	movl	%eax, 16(%r12)
	testl	%eax, %eax
	je	LBB0_7
## %bb.2:
	movl	%r14d, (%r12)
	movq	%r12, %rdi
	addq	$24, %rdi
	movl	%r14d, %eax
	subl	$1, %eax
	movl	%eax, 4(%r12)
	movq	%rdi, 8(%r12)
	jb	LBB0_9
## %bb.3:
	callq	_INIT_HLIST_HEAD
	cmpl	$1, %r14d
	je	LBB0_9
## %bb.4:
	movl	%r14d, %r14d
	decq	%r14
	movl	$4, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rdi
	addq	%rbx, %rdi
	callq	_INIT_HLIST_HEAD
	addq	$4, %rbx
	decq	%r14
	jne	LBB0_5
	jmp	LBB0_9
LBB0_7:
	movq	%r12, %rdi
	callq	_kfree
LBB0_8:
	xorl	%r12d, %r12d
LBB0_9:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	__cell_cache,4,2                ## @_cell_cache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_bio_prison_create           ; -- Begin function dm_bio_prison_create
	.p2align	2
_dm_bio_prison_create:                  ; @dm_bio_prison_create
	.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	x21, x0
	bl	_calc_nr_buckets
	mov	x20, x0
	sbfiz	x8, x20, #2, #32
	add	x0, x8, #24
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_kmalloc
	mov	x19, x0
	cbz	x0, LBB0_7
; %bb.1:
	add	x0, x19, #20
	bl	_spin_lock_init
Lloh3:
	adrp	x8, __cell_cache@GOTPAGE
Lloh4:
	ldr	x8, [x8, __cell_cache@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_mempool_create_slab_pool
	str	w0, [x19, #16]
	cbz	w0, LBB0_6
; %bb.2:
	sub	w8, w20, #1
	stp	w20, w8, [x19]
	add	x0, x19, #24
	str	x0, [x19, #8]
	cbz	w20, LBB0_7
; %bb.3:
	bl	_INIT_HLIST_HEAD
	cmp	w20, #1
	b.eq	LBB0_7
; %bb.4:
	mov	w8, w20
	sub	x20, x8, #1
	mov	w21, #4
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x21
	bl	_INIT_HLIST_HEAD
	add	x21, x21, #4
	subs	x20, x20, #1
	b.ne	LBB0_5
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_kfree
	mov	x19, #0
LBB0_7:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	__cell_cache,4,2                ; @_cell_cache
.subsections_via_symbols
