	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function invalidate_lock
_invalidate_lock:                       ## @invalidate_lock
	.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, %r12
	movq	24(%rdi), %r14
	movq	%r14, %rdi
	callq	_alloc_prison_cell
	movq	%rax, %r15
	movl	16(%r12), %ebx
	movl	%ebx, %edi
	callq	_oblock_succ
	leaq	-48(%rbp), %rdx
	movl	%ebx, %edi
	movl	%eax, %esi
	movq	%rdx, %rbx
	callq	_build_key
	movl	4(%r14), %edi
	movq	_READ_WRITE_LOCK_LEVEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	8(%r12), %r13
	movq	%rbx, %rsi
	movq	%r15, %rcx
	movq	%r13, %r8
	callq	_dm_cell_lock_v2
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	cmpq	%r15, (%r13)
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_free_prison_cell
LBB0_4:
	movq	_invalidate_remove@GOTPCREL(%rip), %rax
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.5:
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_quiesce
	jmp	LBB0_7
LBB0_1:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_free_prison_cell
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_invalidate_complete
	jmp	LBB0_8
LBB0_6:
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_init_continuation
	movl	(%r14), %edi
	movq	%r12, %rsi
	callq	_queue_work
LBB0_7:
	xorl	%ebx, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_READ_WRITE_LOCK_LEVEL,4,2      ## @READ_WRITE_LOCK_LEVEL
	.comm	_invalidate_remove,4,2          ## @invalidate_remove
	.no_dead_strip	_invalidate_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function invalidate_lock
_invalidate_lock:                       ; @invalidate_lock
	.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, x0
	ldr	x20, [x0, #24]
	mov	x0, x20
	bl	_alloc_prison_cell
	mov	x21, x0
	ldr	w22, [x19, #16]
	mov	x0, x22
	bl	_oblock_succ
	mov	x1, x0
	add	x2, sp, #8
	mov	x0, x22
	bl	_build_key
	ldr	w0, [x20, #4]
Lloh0:
	adrp	x8, _READ_WRITE_LOCK_LEVEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _READ_WRITE_LOCK_LEVEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x23, x19, #8
	add	x1, sp, #8
	mov	x3, x21
	mov	x4, x23
	bl	_dm_cell_lock_v2
	mov	x22, x0
	tbnz	w0, #31, LBB0_5
; %bb.1:
	ldr	x8, [x23]
	cmp	x8, x21
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x21
	bl	_free_prison_cell
LBB0_3:
Lloh3:
	adrp	x8, _invalidate_remove@GOTPAGE
Lloh4:
	ldr	x8, [x8, _invalidate_remove@GOTPAGEOFF]
	cbz	w22, LBB0_6
; %bb.4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_quiesce
	mov	w22, #0
	b	LBB0_7
LBB0_5:
	mov	x0, x20
	mov	x1, x21
	bl	_free_prison_cell
	mov	x0, x19
	mov	w1, #0
	bl	_invalidate_complete
	b	LBB0_7
LBB0_6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_init_continuation
	ldr	w0, [x20]
	mov	x1, x19
	bl	_queue_work
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_READ_WRITE_LOCK_LEVEL,4,2      ; @READ_WRITE_LOCK_LEVEL
	.comm	_invalidate_remove,4,2          ; @invalidate_remove
	.no_dead_strip	_invalidate_lock
.subsections_via_symbols
