	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ProcArrayApplyXidAssignment    ## -- Begin function ProcArrayApplyXidAssignment
	.p2align	4, 0x90
_ProcArrayApplyXidAssignment:           ## @ProcArrayApplyXidAssignment
	.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	%rdx, %r12
	movl	%esi, %r14d
	movl	%edi, %ebx
	movq	_standbyState@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_STANDBY_INITIALIZED@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setge	%dil
	callq	_Assert
	movl	%ebx, %edi
	movl	%r14d, %esi
	movq	%r12, %rdx
	callq	_TransactionIdLatest
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %edi
	callq	_RecordKnownAssignedTransactionIds
	testl	%r14d, %r14d
	jle	LBB0_3
## %bb.1:
	movl	%r14d, %r13d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%r15,4), %edi
	movl	%ebx, %esi
	callq	_SubTransSetParent
	incq	%r15
	cmpq	%r15, %r13
	jne	LBB0_2
LBB0_3:
	movq	_standbyState@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_STANDBY_INITIALIZED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_ProcArrayLock@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	movq	%r12, %rdx
	callq	_KnownAssignedXidsRemoveTree
	movq	_procArray@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	(%rax), %edi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_TransactionIdPrecedes
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	(%r14), %rax
	movl	%ebx, (%rax)
LBB0_6:
	movl	(%r15), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_LWLockRelease                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_standbyState,8,3               ## @standbyState
	.comm	_STANDBY_INITIALIZED,8,3        ## @STANDBY_INITIALIZED
	.comm	_ProcArrayLock,4,2              ## @ProcArrayLock
	.comm	_LW_EXCLUSIVE,4,2               ## @LW_EXCLUSIVE
	.comm	_InvalidTransactionId,4,2       ## @InvalidTransactionId
	.comm	_procArray,8,3                  ## @procArray
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ProcArrayApplyXidAssignment    ; -- Begin function ProcArrayApplyXidAssignment
	.p2align	2
_ProcArrayApplyXidAssignment:           ; @ProcArrayApplyXidAssignment
	.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	x19, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x23, _standbyState@GOTPAGE
Lloh1:
	ldr	x23, [x23, _standbyState@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh2:
	adrp	x24, _STANDBY_INITIALIZED@GOTPAGE
Lloh3:
	ldr	x24, [x24, _STANDBY_INITIALIZED@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	x8, x9
	cset	w0, ge
	bl	_Assert
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	bl	_TransactionIdLatest
	mov	x21, x0
	bl	_RecordKnownAssignedTransactionIds
	cmp	w20, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w25, w20
	mov	x26, x19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x26], #4
	mov	x1, x22
	bl	_SubTransSetParent
	subs	x25, x25, #1
	b.ne	LBB0_2
LBB0_3:
	ldr	x8, [x23]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	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
LBB0_5:
Lloh4:
	adrp	x22, _ProcArrayLock@GOTPAGE
Lloh5:
	ldr	x22, [x22, _ProcArrayLock@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh6:
	adrp	x8, _LW_EXCLUSIVE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LW_EXCLUSIVE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_LWLockAcquire
Lloh9:
	adrp	x8, _InvalidTransactionId@GOTPAGE
Lloh10:
	ldr	x8, [x8, _InvalidTransactionId@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x20
	mov	x2, x19
	bl	_KnownAssignedXidsRemoveTree
Lloh12:
	adrp	x19, _procArray@GOTPAGE
Lloh13:
	ldr	x19, [x19, _procArray@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w0, [x8]
	mov	x1, x21
	bl	_TransactionIdPrecedes
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x8, [x19]
	str	w21, [x8]
LBB0_7:
	ldr	w0, [x22]
	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
	b	_LWLockRelease
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_standbyState,8,3               ; @standbyState
	.comm	_STANDBY_INITIALIZED,8,3        ; @STANDBY_INITIALIZED
	.comm	_ProcArrayLock,4,2              ; @ProcArrayLock
	.comm	_LW_EXCLUSIVE,4,2               ; @LW_EXCLUSIVE
	.comm	_InvalidTransactionId,4,2       ; @InvalidTransactionId
	.comm	_procArray,8,3                  ; @procArray
.subsections_via_symbols
