	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bt_parallel_advance_array_keys ## -- Begin function _bt_parallel_advance_array_keys
	.p2align	4, 0x90
__bt_parallel_advance_array_keys:       ## @_bt_parallel_advance_array_keys
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movslq	8(%rdi), %r14
	movq	(%rdi), %rdi
	movl	(%rdi), %esi
	callq	_OffsetToPointer
	movq	%rax, %rbx
	incl	(%r14)
	leaq	8(%rax), %r14
	movq	%r14, %rdi
	callq	_SpinLockAcquire
	movq	(%rbx), %rax
	movq	_BTPARALLEL_DONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_InvalidBlockNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_BTPARALLEL_NOT_INITIALIZED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	incl	12(%rbx)
LBB0_2:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_SpinLockRelease                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BTPARALLEL_DONE,8,3            ## @BTPARALLEL_DONE
	.comm	_InvalidBlockNumber,4,2         ## @InvalidBlockNumber
	.comm	_BTPARALLEL_NOT_INITIALIZED,8,3 ## @BTPARALLEL_NOT_INITIALIZED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bt_parallel_advance_array_keys ; -- Begin function _bt_parallel_advance_array_keys
	.p2align	2
__bt_parallel_advance_array_keys:       ; @_bt_parallel_advance_array_keys
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldrsw	x20, [x0, #8]
	ldr	x0, [x0]
	ldr	w1, [x0]
	bl	_OffsetToPointer
	mov	x19, x0
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	add	x20, x0, #8
	mov	x0, x20
	bl	_SpinLockAcquire
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _BTPARALLEL_DONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BTPARALLEL_DONE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _InvalidBlockNumber@GOTPAGE
Lloh4:
	ldr	x8, [x8, _InvalidBlockNumber@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _BTPARALLEL_NOT_INITIALIZED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BTPARALLEL_NOT_INITIALIZED@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	str	x9, [x19]
	ldr	w9, [x19, #12]
	add	w9, w9, #1
	stp	w9, w8, [x19, #12]
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_SpinLockRelease
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BTPARALLEL_DONE,8,3            ; @BTPARALLEL_DONE
	.comm	_InvalidBlockNumber,4,2         ; @InvalidBlockNumber
	.comm	_BTPARALLEL_NOT_INITIALIZED,8,3 ; @BTPARALLEL_NOT_INITIALIZED
.subsections_via_symbols
