	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CleanUpLock
_CleanUpLock:                           ## @CleanUpLock
	.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
	movl	%r8d, %r12d
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rdi, %r13
	cmpq	$0, (%rsi)
	jne	LBB0_3
## %bb.1:
	movq	%rsi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_PROCLOCK_PRINT
	leaq	16(%rbx), %rdi
	callq	_SHMQueueDelete
	leaq	12(%rbx), %rdi
	callq	_SHMQueueDelete
	addq	$8, %rbx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_ProcLockHashCode
	movq	_LockMethodProcLockHash@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_HASH_REMOVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rbx, %rsi
	movl	%eax, %edx
	xorl	%r8d, %r8d
	callq	_hash_search_with_hash_value
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	cmpq	$0, (%r13)
	je	LBB0_4
LBB0_6:
	testl	%r12d, %r12d
	je	LBB0_7
## %bb.8:
	movl	%r15d, %edi
	movq	%r13, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ProcLockWakeup                 ## TAILCALL
LBB0_2:
	movq	_PANIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_elog
	cmpq	$0, (%r13)
	jne	LBB0_6
LBB0_4:
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_LOCK_PRINT
	leaq	12(%r13), %rdi
	callq	_SHMQueueEmpty
	movl	%eax, %edi
	callq	_Assert
	movq	_LockMethodLockHash@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %r13
	movq	_HASH_REMOVE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rsi
	movl	%r14d, %edx
	xorl	%r8d, %r8d
	callq	_hash_search_with_hash_value
	testl	%eax, %eax
	je	LBB0_5
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_PANIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_elog                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CleanUpLock: deleting"

	.comm	_LockMethodProcLockHash,4,2     ## @LockMethodProcLockHash
	.comm	_HASH_REMOVE,4,2                ## @HASH_REMOVE
	.comm	_PANIC,4,2                      ## @PANIC
L_.str.1:                               ## @.str.1
	.asciz	"proclock table corrupted"

	.comm	_LockMethodLockHash,4,2         ## @LockMethodLockHash
L_.str.2:                               ## @.str.2
	.asciz	"lock table corrupted"

	.no_dead_strip	_CleanUpLock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CleanUpLock
_CleanUpLock:                           ; @CleanUpLock
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x22, x4
	mov	x19, x3
	mov	x21, x2
	mov	x20, x0
	ldr	x8, [x1]
	cbnz	x8, LBB0_2
; %bb.1:
	mov	x23, x1
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_PROCLOCK_PRINT
	add	x0, x23, #16
	bl	_SHMQueueDelete
	add	x0, x23, #12
	bl	_SHMQueueDelete
	add	x23, x23, #8
	mov	x0, x23
	mov	x1, x19
	bl	_ProcLockHashCode
	mov	x2, x0
Lloh2:
	adrp	x8, _LockMethodProcLockHash@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LockMethodProcLockHash@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _HASH_REMOVE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HASH_REMOVE@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x1, x23
	mov	x4, #0
	bl	_hash_search_with_hash_value
	cbz	w0, LBB0_5
LBB0_2:
	ldr	x8, [x20]
	cbz	x8, LBB0_6
LBB0_3:
	cbz	w22, LBB0_7
; %bb.4:
	mov	x0, x21
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ProcLockWakeup
LBB0_5:
Lloh8:
	adrp	x8, _PANIC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PANIC@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
	ldr	x8, [x20]
	cbnz	x8, LBB0_3
LBB0_6:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	w2, #0
	bl	_LOCK_PRINT
	add	x0, x20, #12
	bl	_SHMQueueEmpty
	bl	_Assert
Lloh15:
	adrp	x8, _LockMethodLockHash@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LockMethodLockHash@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	add	x1, x20, #8
Lloh18:
	adrp	x8, _HASH_REMOVE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HASH_REMOVE@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
	mov	x2, x19
	mov	x4, #0
	bl	_hash_search_with_hash_value
	cbz	w0, LBB0_8
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh21:
	adrp	x8, _PANIC@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PANIC@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_elog
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CleanUpLock: deleting"

	.comm	_LockMethodProcLockHash,4,2     ; @LockMethodProcLockHash
	.comm	_HASH_REMOVE,4,2                ; @HASH_REMOVE
	.comm	_PANIC,4,2                      ; @PANIC
l_.str.1:                               ; @.str.1
	.asciz	"proclock table corrupted"

	.comm	_LockMethodLockHash,4,2         ; @LockMethodLockHash
l_.str.2:                               ; @.str.2
	.asciz	"lock table corrupted"

	.no_dead_strip	_CleanUpLock
.subsections_via_symbols
