	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TransactionIdSetPageStatus
_TransactionIdSetPageStatus:            ## @TransactionIdSetPageStatus
	.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	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_THRESHOLD_SUBTRANS_CLOG_OPT@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	movq	_PGPROC_MAX_CACHED_SUBXIDS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	setle	%dil
	leaq	L_.str(%rip), %rsi
	callq	_StaticAssertStmt
	cmpl	$0, 16(%rbp)
	je	LBB0_7
## %bb.1:
	movq	_MyPgXact@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_7
## %bb.2:
	cmpl	%ebx, (%r15)
	jl	LBB0_7
## %bb.3:
	cmpl	%ebx, 8(%rax)
	jne	LBB0_7
## %bb.4:
	movq	_MyProc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	leal	(,%rbx,8), %edx
	movq	%r13, %rdi
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_5
LBB0_7:
	movq	_CLogControlLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
LBB0_8:
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r13, %rdx
	movl	%r12d, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	callq	_TransactionIdSetPageStatusInternal
	movq	_CLogControlLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_LWLockRelease                  ## TAILCALL
LBB0_5:
	movl	(%r15), %eax
	xorl	%edi, %edi
	movq	_PGPROC_MAX_CACHED_SUBXIDS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	setle	%dil
	callq	_Assert
	movq	_CLogControlLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockConditionalAcquire
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	callq	_TransactionGroupUpdateXidStatus
	testq	%rax, %rax
	je	LBB0_7
## %bb.9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_THRESHOLD_SUBTRANS_CLOG_OPT,4,2 ## @THRESHOLD_SUBTRANS_CLOG_OPT
	.comm	_PGPROC_MAX_CACHED_SUBXIDS,4,2  ## @PGPROC_MAX_CACHED_SUBXIDS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"group clog threshold less than PGPROC cached subxids"

	.comm	_MyPgXact,8,3                   ## @MyPgXact
	.comm	_MyProc,8,3                     ## @MyProc
	.comm	_CLogControlLock,4,2            ## @CLogControlLock
	.comm	_LW_EXCLUSIVE,4,2               ## @LW_EXCLUSIVE
	.no_dead_strip	_TransactionIdSetPageStatus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TransactionIdSetPageStatus
_TransactionIdSetPageStatus:            ; @TransactionIdSetPageStatus
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x25, x6
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
Lloh0:
	adrp	x28, _THRESHOLD_SUBTRANS_CLOG_OPT@GOTPAGE
Lloh1:
	ldr	x28, [x28, _THRESHOLD_SUBTRANS_CLOG_OPT@GOTPAGEOFF]
	ldr	w8, [x28]
Lloh2:
	adrp	x27, _PGPROC_MAX_CACHED_SUBXIDS@GOTPAGE
Lloh3:
	ldr	x27, [x27, _PGPROC_MAX_CACHED_SUBXIDS@GOTPAGEOFF]
	ldr	w9, [x27]
	cmp	w8, w9
	cset	w0, le
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_StaticAssertStmt
Lloh6:
	adrp	x26, _CLogControlLock@GOTPAGE
Lloh7:
	ldr	x26, [x26, _CLogControlLock@GOTPAGEOFF]
Lloh8:
	adrp	x11, _LW_EXCLUSIVE@GOTPAGE
Lloh9:
	ldr	x11, [x11, _LW_EXCLUSIVE@GOTPAGEOFF]
	cbz	w25, LBB0_4
; %bb.1:
Lloh10:
	adrp	x8, _MyPgXact@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MyPgXact@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ldr	x9, [x8]
	ldr	w10, [x28]
	cmp	x9, x24
	ccmp	w10, w23, #8, eq
	b.lt	LBB0_4
; %bb.2:
	ldr	w8, [x8, #8]
	cmp	w8, w23
	b.ne	LBB0_4
; %bb.3:
Lloh13:
	adrp	x8, _MyProc@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MyProc@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	ldr	w1, [x8]
	lsl	w2, w23, #3
	mov	x0, x22
	mov	x25, x11
	bl	_memcmp
	mov	x11, x25
	cbz	x0, LBB0_6
LBB0_4:
	ldr	w0, [x26]
	ldr	w1, [x11]
	bl	_LWLockAcquire
LBB0_5:
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	_TransactionIdSetPageStatusInternal
	ldr	w0, [x26]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_LWLockRelease
LBB0_6:
	ldr	w8, [x28]
	ldr	w9, [x27]
	cmp	w8, w9
	cset	w0, le
	mov	x25, x11
	bl	_Assert
	ldr	w0, [x26]
	ldr	w1, [x25]
	bl	_LWLockConditionalAcquire
	cbnz	x0, LBB0_5
; %bb.7:
	mov	x0, x24
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_TransactionGroupUpdateXidStatus
	mov	x11, x25
	cbz	x0, LBB0_4
; %bb.8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_THRESHOLD_SUBTRANS_CLOG_OPT,4,2 ; @THRESHOLD_SUBTRANS_CLOG_OPT
	.comm	_PGPROC_MAX_CACHED_SUBXIDS,4,2  ; @PGPROC_MAX_CACHED_SUBXIDS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"group clog threshold less than PGPROC cached subxids"

	.comm	_MyPgXact,8,3                   ; @MyPgXact
	.comm	_MyProc,8,3                     ; @MyProc
	.comm	_CLogControlLock,4,2            ; @CLogControlLock
	.comm	_LW_EXCLUSIVE,4,2               ; @LW_EXCLUSIVE
	.no_dead_strip	_TransactionIdSetPageStatus
.subsections_via_symbols
