	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LWLockShmemSize                ## -- Begin function LWLockShmemSize
	.p2align	4, 0x90
_LWLockShmemSize:                       ## @LWLockShmemSize
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_NUM_FIXED_LWLOCKS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_NumLWLocksByNamedTranches
	addl	%eax, %ebx
	movl	%ebx, %edi
	movl	$4, %esi
	callq	_mul_size
	movq	_LWLOCK_PADDED_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	$4, %rsi
	movq	%rax, %rdi
	callq	_add_size
	movq	%rax, %rbx
	movq	_NamedLWLockTrancheRequests@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	$4, %esi
	callq	_mul_size
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_add_size
	movq	%rax, %r15
	cmpl	$0, (%r14)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	_NamedLWLockTrancheRequestArray@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_strlen
	leaq	1(%rax), %rsi
	movq	%r15, %rdi
	callq	_add_size
	movq	%rax, %r15
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	_lock_named_request_allowed@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_FIXED_LWLOCKS,4,2          ## @NUM_FIXED_LWLOCKS
	.comm	_LWLOCK_PADDED_SIZE,8,3         ## @LWLOCK_PADDED_SIZE
	.comm	_NamedLWLockTrancheRequests,4,2 ## @NamedLWLockTrancheRequests
	.comm	_NamedLWLockTrancheRequestArray,8,3 ## @NamedLWLockTrancheRequestArray
	.comm	_lock_named_request_allowed,4,2 ## @lock_named_request_allowed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LWLockShmemSize                ; -- Begin function LWLockShmemSize
	.p2align	2
_LWLockShmemSize:                       ; @LWLockShmemSize
	.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
Lloh0:
	adrp	x8, _NUM_FIXED_LWLOCKS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_FIXED_LWLOCKS@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	bl	_NumLWLocksByNamedTranches
	add	w0, w19, w0
	mov	w1, #4
	bl	_mul_size
Lloh3:
	adrp	x8, _LWLOCK_PADDED_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LWLOCK_PADDED_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x1, x8, #4
	bl	_add_size
	mov	x19, x0
Lloh6:
	adrp	x20, _NamedLWLockTrancheRequests@GOTPAGE
Lloh7:
	ldr	x20, [x20, _NamedLWLockTrancheRequests@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	w1, #4
	bl	_mul_size
	mov	x1, x0
	mov	x0, x19
	bl	_add_size
	mov	x19, x0
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
Lloh8:
	adrp	x22, _NamedLWLockTrancheRequestArray@GOTPAGE
Lloh9:
	ldr	x22, [x22, _NamedLWLockTrancheRequestArray@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	w0, [x8, x21, lsl #2]
	bl	_strlen
	add	x1, x0, #1
	mov	x0, x19
	bl	_add_size
	mov	x19, x0
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_3:
Lloh10:
	adrp	x8, _lock_named_request_allowed@GOTPAGE
Lloh11:
	ldr	x8, [x8, _lock_named_request_allowed@GOTPAGEOFF]
Lloh12:
	str	wzr, [x8]
	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 AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_FIXED_LWLOCKS,4,2          ; @NUM_FIXED_LWLOCKS
	.comm	_LWLOCK_PADDED_SIZE,8,3         ; @LWLOCK_PADDED_SIZE
	.comm	_NamedLWLockTrancheRequests,4,2 ; @NamedLWLockTrancheRequests
	.comm	_NamedLWLockTrancheRequestArray,8,3 ; @NamedLWLockTrancheRequestArray
	.comm	_lock_named_request_allowed,4,2 ; @lock_named_request_allowed
.subsections_via_symbols
