	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function WALInsertLockUpdateInsertingAt
_WALInsertLockUpdateInsertingAt:        ## @WALInsertLockUpdateInsertingAt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %edx
	movq	_holdingAllLocks@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_WALInsertLocks@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jne	LBB0_1
## %bb.2:
	movq	_MyLockNo@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_NUM_XLOGINSERT_LOCKS@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	decq	%rcx
LBB0_3:
	leaq	(%rax,%rcx,8), %rdi
	addq	$4, %rdi
	leaq	(%rax,%rcx,8), %rsi
	popq	%rbp
	jmp	_LWLockUpdateVar                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_holdingAllLocks,8,3            ## @holdingAllLocks
	.comm	_WALInsertLocks,8,3             ## @WALInsertLocks
	.comm	_NUM_XLOGINSERT_LOCKS,4,2       ## @NUM_XLOGINSERT_LOCKS
	.comm	_MyLockNo,8,3                   ## @MyLockNo
	.no_dead_strip	_WALInsertLockUpdateInsertingAt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function WALInsertLockUpdateInsertingAt
_WALInsertLockUpdateInsertingAt:        ; @WALInsertLockUpdateInsertingAt
	.cfi_startproc
; %bb.0:
	mov	x2, x0
Lloh0:
	adrp	x8, _holdingAllLocks@GOTPAGE
Lloh1:
	ldr	x8, [x8, _holdingAllLocks@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _WALInsertLocks@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WALInsertLocks@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _MyLockNo@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MyLockNo@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
Lloh9:
	adrp	x11, _NUM_XLOGINSERT_LOCKS@GOTPAGE
Lloh10:
	ldr	x11, [x11, _NUM_XLOGINSERT_LOCKS@GOTPAGEOFF]
Lloh11:
	ldrsw	x11, [x11]
	sub	x11, x11, #1
	cmp	x8, #0
	csel	x8, x10, x11, eq
	add	x1, x9, x8, lsl #3
	add	x0, x1, #4
	b	_LWLockUpdateVar
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_holdingAllLocks,8,3            ; @holdingAllLocks
	.comm	_WALInsertLocks,8,3             ; @WALInsertLocks
	.comm	_NUM_XLOGINSERT_LOCKS,4,2       ; @NUM_XLOGINSERT_LOCKS
	.comm	_MyLockNo,8,3                   ; @MyLockNo
	.no_dead_strip	_WALInsertLockUpdateInsertingAt
.subsections_via_symbols
