	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bio_detain_shared
_bio_detain_shared:                     ## @bio_detain_shared
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	%esi, %edi
	callq	_from_oblock
	leaq	1(%rax), %rdi
	callq	_to_oblock
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_alloc_prison_cell
	movq	%rax, %r12
	leaq	-56(%rbp), %rdx
	movl	%ebx, %edi
	movl	%r13d, %esi
	movq	%rdx, %r13
	callq	_build_key
	movl	(%r15), %ebx
	movq	%r14, %rdi
	callq	_lock_level
	leaq	-48(%rbp), %r9
	movl	%ebx, %edi
	movq	%r13, %rsi
	movl	%eax, %edx
	movq	%r14, %rcx
	movq	%r12, %r8
	callq	_dm_cell_get_v2
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	cmpq	%r12, -48(%rbp)
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_free_prison_cell
LBB0_4:
	movq	%r14, %rdi
	callq	_get_per_bio_data
	movq	-48(%rbp), %rcx
	movq	%rcx, (%rax)
	jmp	LBB0_5
LBB0_1:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_free_prison_cell
LBB0_5:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bio_detain_shared
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bio_detain_shared
_bio_detain_shared:                     ; @bio_detain_shared
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x2
	mov	x22, x1
	mov	x20, x0
	mov	x0, x1
	bl	_from_oblock
	add	x0, x0, #1
	bl	_to_oblock
	mov	x23, x0
	mov	x0, x20
	bl	_alloc_prison_cell
	mov	x21, x0
	add	x2, sp, #8
	mov	x0, x22
	mov	x1, x23
	bl	_build_key
	ldr	w22, [x20]
	mov	x0, x19
	bl	_lock_level
	mov	x2, x0
	add	x1, sp, #8
	mov	x5, sp
	mov	x0, x22
	mov	x3, x19
	mov	x4, x21
	bl	_dm_cell_get_v2
	mov	x22, x0
	cbz	w0, LBB0_4
; %bb.1:
	ldr	x8, [sp]
	cmp	x8, x21
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x21
	bl	_free_prison_cell
LBB0_3:
	mov	x0, x19
	bl	_get_per_bio_data
	ldr	x8, [sp]
	str	x8, [x0]
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	mov	x1, x21
	bl	_free_prison_cell
LBB0_5:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bio_detain_shared
.subsections_via_symbols
