	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bt_parallel_seize             ## -- Begin function _bt_parallel_seize
	.p2align	4, 0x90
__bt_parallel_seize:                    ## @_bt_parallel_seize
	.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	%rsi, %r13
	movslq	8(%rdi), %r14
	movq	(%rdi), %rdi
	movq	_P_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsi)
	movl	(%rdi), %esi
	callq	_OffsetToPointer
	movq	%rax, %rbx
	leaq	20(%rax), %r12
	movq	%r12, %rdi
	callq	_SpinLockAcquire
	movq	(%r14), %rax
	xorl	%r15d, %r15d
	cmpq	8(%rbx), %rax
	jl	LBB0_9
## %bb.1:
	movq	(%rbx), %rax
	movq	_BTPARALLEL_DONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.2:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r13
	addq	$16, %r13
	movq	_BTPARALLEL_ADVANCING@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_SpinLockRelease
	movq	_WAIT_EVENT_BTREE_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ConditionVariableSleep
	movq	%r12, %rdi
	callq	_SpinLockAcquire
	movq	(%r14), %rax
	cmpq	8(%rbx), %rax
	jl	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rax
	movq	_BTPARALLEL_DONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
LBB0_8:
	xorl	%r15d, %r15d
	jmp	LBB0_9
LBB0_7:
	movq	%rcx, (%rbx)
	movl	24(%rbx), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movl	$1, %r15d
LBB0_9:
	movq	%r12, %rdi
	callq	_SpinLockRelease
	xorl	%eax, %eax
	callq	_ConditionVariableCancelSleep
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P_NONE,4,2                     ## @P_NONE
	.comm	_BTPARALLEL_DONE,8,3            ## @BTPARALLEL_DONE
	.comm	_BTPARALLEL_ADVANCING,8,3       ## @BTPARALLEL_ADVANCING
	.comm	_WAIT_EVENT_BTREE_PAGE,4,2      ## @WAIT_EVENT_BTREE_PAGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bt_parallel_seize             ; -- Begin function _bt_parallel_seize
	.p2align	2
__bt_parallel_seize:                    ; @_bt_parallel_seize
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	ldrsw	x23, [x0, #8]
	ldr	x0, [x0]
Lloh0:
	adrp	x8, _P_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _P_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x1]
	ldr	w1, [x0]
	bl	_OffsetToPointer
	mov	x21, x0
	add	x19, x0, #20
	mov	x0, x19
	bl	_SpinLockAcquire
	ldr	x9, [x23]
	ldp	x8, x10, [x21]
Lloh3:
	adrp	x24, _BTPARALLEL_DONE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _BTPARALLEL_DONE@GOTPAGEOFF]
	ldr	x11, [x24]
	cmp	x9, x10
	ccmp	x8, x11, #4, ge
	b.eq	LBB0_4
; %bb.1:
	add	x22, x21, #16
Lloh5:
	adrp	x25, _BTPARALLEL_ADVANCING@GOTPAGE
Lloh6:
	ldr	x25, [x25, _BTPARALLEL_ADVANCING@GOTPAGEOFF]
Lloh7:
	adrp	x26, _WAIT_EVENT_BTREE_PAGE@GOTPAGE
Lloh8:
	ldr	x26, [x26, _WAIT_EVENT_BTREE_PAGE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_SpinLockRelease
	ldr	w1, [x26]
	mov	x0, x22
	bl	_ConditionVariableSleep
	mov	x0, x19
	bl	_SpinLockAcquire
	ldr	x9, [x23]
	ldp	x8, x10, [x21]
	ldr	x11, [x24]
	cmp	x9, x10
	ccmp	x8, x11, #4, ge
	b.ne	LBB0_2
LBB0_4:
	mov	w20, #0
	b	LBB0_6
LBB0_5:
	str	x9, [x21]
	ldr	w8, [x21, #24]
	str	w8, [x20]
	mov	w20, #1
LBB0_6:
	mov	x0, x19
	bl	_SpinLockRelease
	bl	_ConditionVariableCancelSleep
	mov	x0, x20
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_P_NONE,4,2                     ; @P_NONE
	.comm	_BTPARALLEL_DONE,8,3            ; @BTPARALLEL_DONE
	.comm	_BTPARALLEL_ADVANCING,8,3       ; @BTPARALLEL_ADVANCING
	.comm	_WAIT_EVENT_BTREE_PAGE,4,2      ; @WAIT_EVENT_BTREE_PAGE
.subsections_via_symbols
