	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FastPathTransferRelationLocks
_FastPathTransferRelationLocks:         ## @FastPathTransferRelationLocks
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdx, %rdi
	callq	_LockHashPartitionLock
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_ProcGlobal@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$1, %eax
	cmpq	$0, (%rcx)
	je	LBB0_17
## %bb.1:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_LWLockRelease
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_LWLockRelease
	incq	%r14
	movq	_ProcGlobal@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	cmpq	(%rcx), %r14
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jae	LBB0_16
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
	movq	8(%rcx), %r15
	leaq	(%r14,%r14,2), %r12
	leaq	(%r15,%r12,8), %rdi
	addq	$16, %rdi
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_LWLockAcquire
	movq	(%r15,%r12,8), %rax
	cmpq	8(%rbx), %rax
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_15
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_FP_LOCK_SLOTS_PER_BACKEND@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r15,%r12,8), %r13
	xorl	%r12d, %r12d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=2
	movq	_FP_LOCK_SLOTS_PER_BACKEND@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=2
	incq	%r12
	cmpq	%rax, %r12
	jae	LBB0_15
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r13), %rcx
	cmpq	(%rcx,%r12,8), %rbx
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_FAST_PATH_GET_BITS
	testq	%rax, %rax
	je	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_LWLockAcquire
	movq	_FAST_PATH_LOCKNUMBER_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_FAST_PATH_BITS_PER_SLOT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	%r15, %rax
	cmpq	%rax, %r15
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jb	LBB0_10
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=2
	incq	%r15
	movq	_FAST_PATH_BITS_PER_SLOT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_FAST_PATH_LOCKNUMBER_OFFSET@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	cmpq	%rax, %r15
	jae	LBB0_14
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_FAST_PATH_CHECK_LOCKMODE
	testl	%eax, %eax
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	%r13, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%rbx, %rcx
	movq	%r15, %r8
	callq	_SetupLockInTable
	testq	%rax, %rax
	je	LBB0_18
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=2
	movl	(%rax), %edi
	movq	%rax, %rsi
	movq	%r15, %rdx
	callq	_GrantLock
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_FAST_PATH_CLEAR_LOCKMODE
	jmp	LBB0_13
LBB0_16:
	movl	$1, %eax
	jmp	LBB0_17
LBB0_18:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_LWLockRelease
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_LWLockRelease
	xorl	%eax, %eax
LBB0_17:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ProcGlobal,8,3                 ## @ProcGlobal
	.comm	_LW_EXCLUSIVE,4,2               ## @LW_EXCLUSIVE
	.comm	_FP_LOCK_SLOTS_PER_BACKEND,8,3  ## @FP_LOCK_SLOTS_PER_BACKEND
	.comm	_FAST_PATH_LOCKNUMBER_OFFSET,8,3 ## @FAST_PATH_LOCKNUMBER_OFFSET
	.comm	_FAST_PATH_BITS_PER_SLOT,8,3    ## @FAST_PATH_BITS_PER_SLOT
	.no_dead_strip	_FastPathTransferRelationLocks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function FastPathTransferRelationLocks
_FastPathTransferRelationLocks:         ; @FastPathTransferRelationLocks
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x2
	bl	_LockHashPartitionLock
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
Lloh0:
	adrp	x8, _ProcGlobal@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ProcGlobal@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x8]
	cbz	x9, LBB0_17
; %bb.1:
	mov	x28, #0
	ldr	x22, [x20]
Lloh3:
	adrp	x27, _FP_LOCK_SLOTS_PER_BACKEND@GOTPAGE
Lloh4:
	ldr	x27, [x27, _FP_LOCK_SLOTS_PER_BACKEND@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_LWLockRelease
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_LWLockRelease
	add	x28, x28, #1
Lloh5:
	adrp	x8, _ProcGlobal@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ProcGlobal@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x8]
	cmp	x28, x9
	b.hs	LBB0_17
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_13 Depth 2
	ldr	x26, [x8, #8]
	mov	w8, #24
	madd	x24, x28, x8, x26
	add	x23, x24, #16
Lloh8:
	adrp	x8, _LW_EXCLUSIVE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LW_EXCLUSIVE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_LWLockAcquire
	ldr	x8, [x24]
	ldr	x9, [x20, #8]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x27]
	cbz	x8, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, #0
	mov	w9, #24
	madd	x9, x28, x9, x26
	add	x26, x9, #8
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x25, x25, #1
	cmp	x25, x8
	b.hs	LBB0_3
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x26]
	ldr	x9, [x9, x25, lsl #3]
	cmp	x22, x9
	b.ne	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x24
	mov	x1, x25
	bl	_FAST_PATH_GET_BITS
	cbnz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	x8, [x27]
	b	LBB0_7
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh11:
	adrp	x8, _LW_EXCLUSIVE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LW_EXCLUSIVE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_LWLockAcquire
Lloh14:
	adrp	x8, _FAST_PATH_LOCKNUMBER_OFFSET@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FAST_PATH_LOCKNUMBER_OFFSET@GOTPAGEOFF]
Lloh16:
	ldr	x26, [x8]
Lloh17:
	adrp	x8, _FAST_PATH_BITS_PER_SLOT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FAST_PATH_BITS_PER_SLOT@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	add	x8, x8, x26
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
	add	x26, x26, #1
Lloh20:
	adrp	x8, _FAST_PATH_LOCKNUMBER_OFFSET@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FAST_PATH_LOCKNUMBER_OFFSET@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
Lloh23:
	adrp	x9, _FAST_PATH_BITS_PER_SLOT@GOTPAGE
Lloh24:
	ldr	x9, [x9, _FAST_PATH_BITS_PER_SLOT@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	add	x8, x9, x8
LBB0_13:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x26, x8
	b.hs	LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	mov	x0, x24
	mov	x1, x25
	mov	x2, x26
	bl	_FAST_PATH_CHECK_LOCKMODE
	cbz	w0, LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=2
	mov	x0, x21
	mov	x1, x24
	mov	x2, x20
	mov	x3, x19
	mov	x4, x26
	bl	_SetupLockInTable
	cbz	x0, LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=2
	mov	x1, x0
	ldr	w0, [x0]
	mov	x2, x26
	bl	_GrantLock
	mov	x0, x24
	mov	x1, x25
	mov	x2, x26
	bl	_FAST_PATH_CLEAR_LOCKMODE
	b	LBB0_12
LBB0_17:
	mov	w0, #1
	b	LBB0_19
LBB0_18:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_LWLockRelease
	mov	x0, x23
	bl	_LWLockRelease
	mov	w0, #0
LBB0_19:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_ProcGlobal,8,3                 ; @ProcGlobal
	.comm	_LW_EXCLUSIVE,4,2               ; @LW_EXCLUSIVE
	.comm	_FP_LOCK_SLOTS_PER_BACKEND,8,3  ; @FP_LOCK_SLOTS_PER_BACKEND
	.comm	_FAST_PATH_LOCKNUMBER_OFFSET,8,3 ; @FAST_PATH_LOCKNUMBER_OFFSET
	.comm	_FAST_PATH_BITS_PER_SLOT,8,3    ; @FAST_PATH_BITS_PER_SLOT
	.no_dead_strip	_FastPathTransferRelationLocks
.subsections_via_symbols
