	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CreateSharedInvalidationState  ## -- Begin function CreateSharedInvalidationState
	.p2align	4, 0x90
_CreateSharedInvalidationState:         ## @CreateSharedInvalidationState
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%eax, %eax
	callq	_SInvalShmemSize
	leaq	L_.str(%rip), %rdi
	leaq	-20(%rbp), %rdx
	movl	%eax, %esi
	callq	_ShmemInitStruct
	movq	_shmInvalBuffer@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	cmpl	$0, -20(%rbp)
	jne	LBB0_4
## %bb.1:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rax)
	movq	_CLEANUP_MIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%rax)
	movq	$0, 24(%rax)
	movq	_MaxBackends@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	addq	$16, %rax
	movq	%rax, %rdi
	callq	_SpinLockInit
	xorps	%xmm0, %xmm0
	movq	(%r14), %rax
	cmpl	$0, (%rax)
	jle	LBB0_4
## %bb.2:
	movq	8(%rax), %rcx
	xorl	%eax, %eax
	movq	_InvalidLocalTransactionId@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movups	%xmm0, 24(%rcx,%rax)
	movq	(%r14), %rdi
	movq	8(%rdi), %rcx
	movq	$0, 16(%rcx,%rax)
	movq	$0, (%rcx,%rax)
	movl	$0, 8(%rcx,%rax)
	movl	(%rdx), %ebx
	movl	%ebx, 12(%rcx,%rax)
	incq	%rsi
	movslq	(%rdi), %rdi
	addq	$40, %rax
	cmpq	%rdi, %rsi
	jl	LBB0_3
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"shmInvalBuffer"

	.comm	_shmInvalBuffer,8,3             ## @shmInvalBuffer
	.comm	_CLEANUP_MIN,4,2                ## @CLEANUP_MIN
	.comm	_MaxBackends,4,2                ## @MaxBackends
	.comm	_InvalidLocalTransactionId,4,2  ## @InvalidLocalTransactionId
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CreateSharedInvalidationState  ; -- Begin function CreateSharedInvalidationState
	.p2align	2
_CreateSharedInvalidationState:         ; @CreateSharedInvalidationState
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_SInvalShmemSize
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	add	x2, sp, #12
	bl	_ShmemInitStruct
Lloh2:
	adrp	x19, _shmInvalBuffer@GOTPAGE
Lloh3:
	ldr	x19, [x19, _shmInvalBuffer@GOTPAGEOFF]
	str	x0, [x19]
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_4
; %bb.1:
	stp	xzr, xzr, [x0, #40]
Lloh4:
	adrp	x8, _CLEANUP_MIN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CLEANUP_MIN@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x0, #32]
	str	xzr, [x0, #24]
Lloh7:
	adrp	x8, _MaxBackends@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MaxBackends@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x0], #16
	bl	_SpinLockInit
	ldr	x10, [x19]
	ldr	w8, [x10]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x8, #0
	mov	x9, #0
	ldr	x11, [x10, #8]
Lloh10:
	adrp	x10, _InvalidLocalTransactionId@GOTPAGE
Lloh11:
	ldr	x10, [x10, _InvalidLocalTransactionId@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x11, x11, x8
	stp	xzr, xzr, [x11, #24]
	ldr	x12, [x19]
	ldr	x11, [x12, #8]
	add	x13, x11, x8
	str	xzr, [x13, #16]
	str	xzr, [x13]
	str	wzr, [x13, #8]
	ldr	w14, [x10]
	str	w14, [x13, #12]
	add	x9, x9, #1
	ldrsw	x12, [x12]
	add	x8, x8, #40
	cmp	x9, x12
	b.lt	LBB0_3
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"shmInvalBuffer"

	.comm	_shmInvalBuffer,8,3             ; @shmInvalBuffer
	.comm	_CLEANUP_MIN,4,2                ; @CLEANUP_MIN
	.comm	_MaxBackends,4,2                ; @MaxBackends
	.comm	_InvalidLocalTransactionId,4,2  ; @InvalidLocalTransactionId
.subsections_via_symbols
