	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SIGetDataEntries               ## -- Begin function SIGetDataEntries
	.p2align	4, 0x90
_SIGetDataEntries:                      ## @SIGetDataEntries
	.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
	movq	_shmInvalBuffer@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	24(%r15), %r13
	movq	_MyBackendId@GOTPCREL(%rip), %rax
	movslq	(%rax), %r12
	decq	%r12
	shlq	$4, %r12
	cmpl	$0, (%r13,%r12)
	je	LBB0_1
## %bb.2:
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	leaq	(%r12,%r13), %rbx
	movq	_SInvalReadLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LW_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	$0, (%rbx)
	leaq	16(%r15), %rbx
	movq	%rbx, %rdi
	callq	_SpinLockAcquire
	movl	(%r15), %r14d
	movq	%rbx, %rdi
	callq	_SpinLockRelease
	cmpl	$0, 4(%r13,%r12)
	leaq	8(%r13,%r12), %rsi
	je	LBB0_3
## %bb.5:
	leaq	(%r12,%r13), %rax
	addq	$4, %rax
	movl	%r14d, (%rsi)
	movl	$0, (%rax)
	movl	$0, 12(%r13,%r12)
	movl	$-1, %ebx
	movq	_SInvalReadLock@GOTPCREL(%rip), %rcx
	jmp	LBB0_16
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_17
LBB0_3:
	movq	-64(%rbp), %r10                 ## 8-byte Reload
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	jle	LBB0_4
## %bb.6:
	movl	%eax, %r8d
	movq	_MAXNUMMESSAGES@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movl	(%rsi), %eax
	xorl	%ebx, %ebx
	movq	-56(%rbp), %r11                 ## 8-byte Reload
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rcx, %rax
	xorl	%edx, %edx
	divq	%r9
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	(%rdi,%rdx,4), %eax
	movl	%eax, (%r11,%rbx,4)
	incq	%rbx
	movl	(%rsi), %eax
	incl	%eax
	movl	%eax, (%rsi)
	cmpq	%rbx, %r8
	je	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r14d, %eax
	jge	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%r15), %rdi
	movslq	%eax, %rcx
	movq	%rcx, %rdx
	orq	%r9, %rdx
	shrq	$32, %rdx
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	xorl	%edx, %edx
	divl	%r9d
                                        ## kill: def $edx killed $edx def $rdx
	jmp	LBB0_11
LBB0_4:
	movl	(%rsi), %eax
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_12:
	movl	%r8d, %ebx
LBB0_13:
	movq	_SInvalReadLock@GOTPCREL(%rip), %rcx
	cmpl	%r14d, %eax
	jge	LBB0_14
## %bb.15:
	movl	$1, (%r10)
	jmp	LBB0_16
LBB0_14:
	movl	$0, 12(%r13,%r12)
LBB0_16:
	movl	(%rcx), %edi
	callq	_LWLockRelease
LBB0_17:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_shmInvalBuffer,8,3             ## @shmInvalBuffer
	.comm	_MyBackendId,4,2                ## @MyBackendId
	.comm	_SInvalReadLock,4,2             ## @SInvalReadLock
	.comm	_LW_SHARED,4,2                  ## @LW_SHARED
	.comm	_MAXNUMMESSAGES,8,3             ## @MAXNUMMESSAGES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SIGetDataEntries               ; -- Begin function SIGetDataEntries
	.p2align	2
_SIGetDataEntries:                      ; @SIGetDataEntries
	.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
Lloh0:
	adrp	x8, _shmInvalBuffer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _shmInvalBuffer@GOTPAGEOFF]
Lloh2:
	ldr	x26, [x8]
	ldr	x23, [x26, #24]
Lloh3:
	adrp	x8, _MyBackendId@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MyBackendId@GOTPAGEOFF]
Lloh5:
	ldrsw	x8, [x8]
	sub	x24, x8, #1
	add	x25, x23, x24, lsl #4
	ldr	w8, [x25]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x21, x1
	mov	x19, x0
Lloh6:
	adrp	x22, _SInvalReadLock@GOTPAGE
Lloh7:
	ldr	x22, [x22, _SInvalReadLock@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh8:
	adrp	x8, _LW_SHARED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LW_SHARED@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_LWLockAcquire
	str	wzr, [x25]
	add	x20, x26, #16
	mov	x0, x20
	bl	_SpinLockAcquire
	ldr	w27, [x26]
	mov	x0, x20
	bl	_SpinLockRelease
	mov	x9, x25
	ldr	w10, [x9, #4]!
	add	x8, x9, #4
	cbz	w10, LBB0_4
; %bb.2:
	str	w27, [x8]
	str	wzr, [x9]
	add	x8, x23, x24, lsl #4
	str	wzr, [x8, #12]
	mov	w20, #-1
	b	LBB0_13
LBB0_3:
	mov	w20, #0
	b	LBB0_14
LBB0_4:
	cmp	w21, #0
	b.le	LBB0_11
; %bb.5:
	mov	x20, #0
	mov	w10, w21
Lloh11:
	adrp	x9, _MAXNUMMESSAGES@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MAXNUMMESSAGES@GOTPAGEOFF]
Lloh13:
	ldr	x11, [x9]
	ldr	w9, [x8]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, w27
	b.ge	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x12, [x26, #8]
	sxtw	x9, w9
	udiv	x13, x9, x11
	msub	x9, x13, x11, x9
	ldr	w9, [x12, x9, lsl #2]
	str	w9, [x19, x20, lsl #2]
	add	x12, x20, #1
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	x20, x12
	cmp	x10, x12
	b.ne	LBB0_6
; %bb.8:
	mov	x20, x10
LBB0_9:
	cmp	w9, w27
	b.ge	LBB0_12
LBB0_10:
	mov	w8, #1
	str	w8, [x25]
	b	LBB0_13
LBB0_11:
	mov	w20, #0
	ldr	w9, [x8]
	cmp	w9, w27
	b.lt	LBB0_10
LBB0_12:
	add	x8, x23, x24, lsl #4
	str	wzr, [x8, #12]
LBB0_13:
	ldr	w0, [x22]
	bl	_LWLockRelease
LBB0_14:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_shmInvalBuffer,8,3             ; @shmInvalBuffer
	.comm	_MyBackendId,4,2                ; @MyBackendId
	.comm	_SInvalReadLock,4,2             ; @SInvalReadLock
	.comm	_LW_SHARED,4,2                  ; @LW_SHARED
	.comm	_MAXNUMMESSAGES,8,3             ; @MAXNUMMESSAGES
.subsections_via_symbols
