	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VirtualXactLockTableCleanup    ## -- Begin function VirtualXactLockTableCleanup
	.p2align	4, 0x90
_VirtualXactLockTableCleanup:           ## @VirtualXactLockTableCleanup
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MyProc@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	_InvalidBackendId@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_Assert
	movq	(%r14), %rdi
	addq	$12, %rdi
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movq	(%r14), %rdi
	movl	16(%rdi), %r15d
	movl	8(%rdi), %ebx
	movl	$0, 8(%rdi)
	movq	_InvalidLocalTransactionId@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rdi)
	addq	$12, %rdi
	callq	_LWLockRelease
	testl	%ebx, %ebx
	jne	LBB0_3
## %bb.1:
	movl	%r15d, %edi
	callq	_LocalTransactionIdIsValid
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_MyBackendId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shlq	$32, %rsi
	orq	%r15, %rsi
	callq	_SET_LOCKTAG_VIRTUALTRANSACTION
	movq	_LockMethods@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_DEFAULT_LOCKMETHOD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	(%r14), %rsi
	movq	_ExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-28(%rbp), %rdx
	xorl	%r8d, %r8d
	callq	_LockRefindAndRelease
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MyProc,8,3                     ## @MyProc
	.comm	_InvalidBackendId,8,3           ## @InvalidBackendId
	.comm	_LW_EXCLUSIVE,4,2               ## @LW_EXCLUSIVE
	.comm	_InvalidLocalTransactionId,4,2  ## @InvalidLocalTransactionId
	.comm	_MyBackendId,4,2                ## @MyBackendId
	.comm	_LockMethods,8,3                ## @LockMethods
	.comm	_DEFAULT_LOCKMETHOD,8,3         ## @DEFAULT_LOCKMETHOD
	.comm	_ExclusiveLock,4,2              ## @ExclusiveLock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VirtualXactLockTableCleanup    ; -- Begin function VirtualXactLockTableCleanup
	.p2align	2
_VirtualXactLockTableCleanup:           ; @VirtualXactLockTableCleanup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
Lloh0:
	adrp	x20, _MyProc@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MyProc@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x8, [x8]
Lloh2:
	adrp	x9, _InvalidBackendId@GOTPAGE
Lloh3:
	ldr	x9, [x9, _InvalidBackendId@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_Assert
	ldr	x8, [x20]
	add	x0, x8, #12
Lloh5:
	adrp	x8, _LW_EXCLUSIVE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LW_EXCLUSIVE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_LWLockAcquire
	ldr	x8, [x20]
	ldr	w21, [x8, #8]
	ldr	w19, [x8, #16]
	str	wzr, [x8, #8]
Lloh8:
	adrp	x9, _InvalidLocalTransactionId@GOTPAGE
Lloh9:
	ldr	x9, [x9, _InvalidLocalTransactionId@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	str	w9, [x8, #16]
	add	x0, x8, #12
	bl	_LWLockRelease
	cbnz	w21, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_LocalTransactionIdIsValid
	cbz	x0, LBB0_3
; %bb.2:
Lloh11:
	adrp	x8, _MyBackendId@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MyBackendId@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	bfi	x19, x8, #32, #32
	mov	x1, x19
	bl	_SET_LOCKTAG_VIRTUALTRANSACTION
Lloh14:
	adrp	x8, _LockMethods@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LockMethods@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
Lloh17:
	adrp	x9, _DEFAULT_LOCKMETHOD@GOTPAGE
Lloh18:
	ldr	x9, [x9, _DEFAULT_LOCKMETHOD@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	ldr	x1, [x20]
Lloh20:
	adrp	x8, _ExclusiveLock@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ExclusiveLock@GOTPAGEOFF]
Lloh22:
	ldr	w3, [x8]
	add	x2, sp, #12
	mov	w4, #0
	bl	_LockRefindAndRelease
LBB0_3:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MyProc,8,3                     ; @MyProc
	.comm	_InvalidBackendId,8,3           ; @InvalidBackendId
	.comm	_LW_EXCLUSIVE,4,2               ; @LW_EXCLUSIVE
	.comm	_InvalidLocalTransactionId,4,2  ; @InvalidLocalTransactionId
	.comm	_MyBackendId,4,2                ; @MyBackendId
	.comm	_LockMethods,8,3                ; @LockMethods
	.comm	_DEFAULT_LOCKMETHOD,8,3         ; @DEFAULT_LOCKMETHOD
	.comm	_ExclusiveLock,4,2              ; @ExclusiveLock
.subsections_via_symbols
