	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetLWLockIdentifier            ## -- Begin function GetLWLockIdentifier
	.p2align	4, 0x90
_GetLWLockIdentifier:                   ## @GetLWLockIdentifier
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	_PG_WAIT_LWLOCK@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	%rdi, (%rcx)
	sete	%al
	movl	%eax, %edi
	callq	_Assert
	movq	_LWLockTranchesAllocated@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jbe	LBB0_1
## %bb.2:
	movq	_LWLockTrancheArray@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rcx
	testq	%rcx, %rcx
	leaq	L_.str(%rip), %rax
	cmovneq	%rcx, %rax
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PG_WAIT_LWLOCK,8,3             ## @PG_WAIT_LWLOCK
	.comm	_LWLockTranchesAllocated,8,3    ## @LWLockTranchesAllocated
	.comm	_LWLockTrancheArray,8,3         ## @LWLockTrancheArray
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"extension"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetLWLockIdentifier            ; -- Begin function GetLWLockIdentifier
	.p2align	2
_GetLWLockIdentifier:                   ; @GetLWLockIdentifier
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, _PG_WAIT_LWLOCK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PG_WAIT_LWLOCK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	cset	w0, eq
	bl	_Assert
Lloh3:
	adrp	x8, _LWLockTranchesAllocated@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LWLockTranchesAllocated@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	cmp	x8, x19
	b.ls	LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _LWLockTrancheArray@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LWLockTrancheArray@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x8, [x8, x19, lsl #3]
	cmp	x8, #0
	csel	x0, x0, x8, eq
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PG_WAIT_LWLOCK,8,3             ; @PG_WAIT_LWLOCK
	.comm	_LWLockTranchesAllocated,8,3    ; @LWLockTranchesAllocated
	.comm	_LWLockTrancheArray,8,3         ; @LWLockTrancheArray
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"extension"

.subsections_via_symbols
