	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function KnownAssignedXidsRemovePreceding
_KnownAssignedXidsRemovePreceding:      ## @KnownAssignedXidsRemovePreceding
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_procArray@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	callq	_TransactionIdIsValid
	movl	%eax, %ebx
	movq	_DEBUG4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_trace_recovery
	testl	%ebx, %ebx
	je	LBB0_14
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_elog
	movl	8(%r15), %r12d
	movl	12(%r15), %eax
	cmpl	%r12d, %eax
	jge	LBB0_11
## %bb.2:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movslq	%eax, %r14
	movq	_KnownAssignedXidsValid@GOTPCREL(%rip), %r13
	movq	%r14, %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	cmpl	%r15d, %r12d
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	cmpl	$0, (%rax,%r15,4)
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_KnownAssignedXids@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r15,4), %ebx
	movl	%ebx, %edi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_TransactionIdFollowsOrEquals
	testq	%rax, %rax
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %edi
	callq	_StandbyTransactionIdIsPrepared
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rax
	movl	$0, (%rax,%r15,4)
	incl	-44(%rbp)                       ## 4-byte Folded Spill
	jmp	LBB0_7
LBB0_14:
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_elog
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r15)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	(%r15), %rdi
	shrq	$63, %rdi
	xorl	$1, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_Assert
	jmp	LBB0_12
LBB0_8:
	movslq	-44(%rbp), %rax                 ## 4-byte Folded Reload
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	(%r15), %rdi
	subq	%rax, %rdi
	movq	%rdi, (%r15)
	shrq	$63, %rdi
	xorl	$1, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_Assert
	shlq	$2, %r14
	addq	(%r13), %r14
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r14)
	jne	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	incl	%eax
	addq	$4, %r14
	cmpl	%eax, %r12d
	jne	LBB0_9
LBB0_12:
	movl	$0, 8(%r15)
	xorl	%eax, %eax
LBB0_13:
	movl	%eax, 12(%r15)
	xorl	%edi, %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_KnownAssignedXidsCompress      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_procArray,8,3                  ## @procArray
	.comm	_DEBUG4,4,2                     ## @DEBUG4
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"removing all KnownAssignedXids"

L_.str.1:                               ## @.str.1
	.asciz	"prune KnownAssignedXids to %u"

	.comm	_KnownAssignedXidsValid,8,3     ## @KnownAssignedXidsValid
	.comm	_KnownAssignedXids,8,3          ## @KnownAssignedXids
	.no_dead_strip	_KnownAssignedXidsRemovePreceding
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function KnownAssignedXidsRemovePreceding
_KnownAssignedXidsRemovePreceding:      ; @KnownAssignedXidsRemovePreceding
	.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, x0
Lloh0:
	adrp	x8, _procArray@GOTPAGE
Lloh1:
	ldr	x8, [x8, _procArray@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	bl	_TransactionIdIsValid
	mov	x20, x0
Lloh3:
	adrp	x8, _DEBUG4@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DEBUG4@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_trace_recovery
	cbz	w20, LBB0_8
; %bb.1:
	str	x19, [sp]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
	ldp	w23, w22, [x21, #8]
	cmp	w22, w23
	b.ge	LBB0_9
; %bb.2:
	mov	w26, #0
	sxtw	x8, w22
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	lsl	x27, x8, #2
Lloh8:
	adrp	x25, _KnownAssignedXidsValid@GOTPAGE
Lloh9:
	ldr	x25, [x25, _KnownAssignedXidsValid@GOTPAGEOFF]
Lloh10:
	adrp	x28, _KnownAssignedXids@GOTPAGE
Lloh11:
	ldr	x28, [x28, _KnownAssignedXids@GOTPAGEOFF]
	mov	x24, x22
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x27, x27, #4
	add	w24, w24, #1
	cmp	w23, w24
	b.eq	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	ldr	w8, [x8, x27]
	cbz	w8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28]
	ldr	w20, [x8, x27]
	mov	x0, x20
	mov	x1, x19
	bl	_TransactionIdFollowsOrEquals
	cbnz	x0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_StandbyTransactionIdIsPrepared
	cbnz	w0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x25]
	str	wzr, [x8, x27]
	add	w26, w26, #1
	b	LBB0_3
LBB0_8:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	stp	xzr, xzr, [x21]
	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
LBB0_9:
	ldr	x8, [x21]
	lsr	x8, x8, #63
	eor	w0, w8, #0x1
	bl	_Assert
	b	LBB0_13
LBB0_10:
	ldr	x8, [x21]
	sub	x8, x8, w26, sxtw
	str	x8, [x21]
	lsr	x8, x8, #63
	eor	w0, w8, #0x1
	bl	_Assert
	ldr	x8, [x25]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	add	x8, x8, x9, lsl #2
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x8]
	cbnz	w9, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	w22, w22, #1
	add	x8, x8, #4
	cmp	w23, w22
	b.ne	LBB0_11
LBB0_13:
	mov	w22, #0
	str	wzr, [x21, #8]
LBB0_14:
	str	w22, [x21, #12]
	mov	w0, #0
	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
	b	_KnownAssignedXidsCompress
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_procArray,8,3                  ; @procArray
	.comm	_DEBUG4,4,2                     ; @DEBUG4
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"removing all KnownAssignedXids"

l_.str.1:                               ; @.str.1
	.asciz	"prune KnownAssignedXids to %u"

	.comm	_KnownAssignedXidsValid,8,3     ; @KnownAssignedXidsValid
	.comm	_KnownAssignedXids,8,3          ; @KnownAssignedXids
	.no_dead_strip	_KnownAssignedXidsRemovePreceding
.subsections_via_symbols
