	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetPredicateLockStatusData     ## -- Begin function GetPredicateLockStatusData
	.p2align	4, 0x90
_GetPredicateLockStatusData:            ## @GetPredicateLockStatusData
	.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
	movl	$24, %edi
	callq	_palloc
	movq	%rax, %r12
	movq	_NUM_PREDICATELOCK_PARTITIONS@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	_LW_SHARED@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_PredicateLockHashPartitionLockByIndex
	movl	(%r14), %esi
	movl	%eax, %edi
	callq	_LWLockAcquire
	incl	%ebx
	cmpl	(%r13), %ebx
	jl	LBB0_2
LBB0_3:
	movq	_SerializableXactHashLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LW_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movq	_PredicateLockHash@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_hash_get_num_entries
	movl	%eax, %r14d
	movl	%eax, (%r12)
	leal	(,%r14,4), %ebx
	movl	%ebx, %edi
	callq	_palloc
	movq	%rax, 16(%r12)
	movl	%ebx, %edi
	callq	_palloc
	movq	%rax, 8(%r12)
	movl	(%r15), %esi
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_hash_seq_init
	movq	%rbx, %rdi
	callq	_hash_seq_search
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	leaq	-44(%rbp), %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %rcx
	movl	(%rcx), %ecx
	movq	16(%r12), %rdx
	movl	%ecx, (%rdx,%rbx,4)
	movq	(%rax), %rax
	movl	(%rax), %eax
	movq	8(%r12), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movq	%r15, %rdi
	callq	_hash_seq_search
	testq	%rax, %rax
	jne	LBB0_5
LBB0_6:
	xorl	%edi, %edi
	cmpl	%r14d, %ebx
	sete	%dil
	callq	_Assert
	movq	_SerializableXactHashLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LWLockRelease
	movl	(%r13), %ebx
	testl	%ebx, %ebx
	jle	LBB0_9
## %bb.7:
	incl	%ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leal	-2(%rbx), %edi
	callq	_PredicateLockHashPartitionLockByIndex
	movl	%eax, %edi
	callq	_LWLockRelease
	decl	%ebx
	cmpl	$1, %ebx
	ja	LBB0_8
LBB0_9:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_PREDICATELOCK_PARTITIONS,4,2 ## @NUM_PREDICATELOCK_PARTITIONS
	.comm	_LW_SHARED,4,2                  ## @LW_SHARED
	.comm	_SerializableXactHashLock,4,2   ## @SerializableXactHashLock
	.comm	_PredicateLockHash,4,2          ## @PredicateLockHash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetPredicateLockStatusData     ; -- Begin function GetPredicateLockStatusData
	.p2align	2
_GetPredicateLockStatusData:            ; @GetPredicateLockStatusData
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	w0, #24
	bl	_palloc
	mov	x19, x0
Lloh0:
	adrp	x22, _NUM_PREDICATELOCK_PARTITIONS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _NUM_PREDICATELOCK_PARTITIONS@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh2:
	adrp	x21, _LW_SHARED@GOTPAGE
Lloh3:
	ldr	x21, [x21, _LW_SHARED@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w20, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_PredicateLockHashPartitionLockByIndex
	ldr	w1, [x21]
	bl	_LWLockAcquire
	add	w20, w20, #1
	ldr	w8, [x22]
	cmp	w20, w8
	b.lt	LBB0_2
LBB0_3:
Lloh4:
	adrp	x23, _SerializableXactHashLock@GOTPAGE
Lloh5:
	ldr	x23, [x23, _SerializableXactHashLock@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	w1, [x21]
	bl	_LWLockAcquire
Lloh6:
	adrp	x24, _PredicateLockHash@GOTPAGE
Lloh7:
	ldr	x24, [x24, _PredicateLockHash@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_hash_get_num_entries
	mov	x20, x0
	str	w0, [x19]
	lsl	w21, w0, #2
	mov	x0, x21
	bl	_palloc
	str	x0, [x19, #16]
	mov	x0, x21
	bl	_palloc
	str	x0, [x19, #8]
	ldr	w1, [x24]
	add	x0, sp, #12
	bl	_hash_seq_init
	add	x0, sp, #12
	bl	_hash_seq_search
	cbz	x0, LBB0_6
; %bb.4:
	mov	x21, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [x0]
	ldr	w8, [x8]
	lsl	x10, x21, #2
	ldp	x12, x11, [x19, #8]
	str	w8, [x11, x10]
	ldr	w8, [x9]
	str	w8, [x12, x10]
	add	x21, x21, #1
	add	x0, sp, #12
	bl	_hash_seq_search
	cbnz	x0, LBB0_5
	b	LBB0_7
LBB0_6:
	mov	w21, #0
LBB0_7:
	cmp	w21, w20
	cset	w0, eq
	bl	_Assert
	ldr	w0, [x23]
	bl	_LWLockRelease
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.8:
	add	w20, w8, #1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	sub	w0, w20, #2
	bl	_PredicateLockHashPartitionLockByIndex
	bl	_LWLockRelease
	sub	w20, w20, #1
	cmp	w20, #1
	b.hi	LBB0_9
LBB0_10:
	mov	x0, x19
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_PREDICATELOCK_PARTITIONS,4,2 ; @NUM_PREDICATELOCK_PARTITIONS
	.comm	_LW_SHARED,4,2                  ; @LW_SHARED
	.comm	_SerializableXactHashLock,4,2   ; @SerializableXactHashLock
	.comm	_PredicateLockHash,4,2          ; @PredicateLockHash
.subsections_via_symbols
