	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BackendIdGetProc               ## -- Begin function BackendIdGetProc
	.p2align	4, 0x90
_BackendIdGetProc:                      ## @BackendIdGetProc
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	_shmInvalBuffer@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_SInvalWriteLock@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_LW_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	testl	%ebx, %ebx
	jle	LBB0_3
## %bb.1:
	cmpl	%ebx, (%r15)
	jge	LBB0_4
LBB0_3:
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_4:
	movq	8(%r15), %rax
	decl	%ebx
	movq	(%rax,%rbx,8), %rbx
LBB0_5:
	movl	(%r14), %edi
	callq	_LWLockRelease
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_shmInvalBuffer,8,3             ## @shmInvalBuffer
	.comm	_SInvalWriteLock,4,2            ## @SInvalWriteLock
	.comm	_LW_SHARED,4,2                  ## @LW_SHARED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BackendIdGetProc               ; -- Begin function BackendIdGetProc
	.p2align	2
_BackendIdGetProc:                      ; @BackendIdGetProc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, _shmInvalBuffer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _shmInvalBuffer@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
Lloh3:
	adrp	x20, _SInvalWriteLock@GOTPAGE
Lloh4:
	ldr	x20, [x20, _SInvalWriteLock@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh5:
	adrp	x8, _LW_SHARED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LW_SHARED@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_LWLockAcquire
	subs	w8, w19, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	w9, [x21]
	cmp	w9, w19
	b.ge	LBB0_3
LBB0_2:
	mov	x19, #0
	b	LBB0_4
LBB0_3:
	ldr	x9, [x21, #8]
	ldr	x19, [x9, w8, uxtw #3]
LBB0_4:
	ldr	w0, [x20]
	bl	_LWLockRelease
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_shmInvalBuffer,8,3             ; @shmInvalBuffer
	.comm	_SInvalWriteLock,4,2            ; @SInvalWriteLock
	.comm	_LW_SHARED,4,2                  ; @LW_SHARED
.subsections_via_symbols
