	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__rtld_is_dlopened              ## -- Begin function _rtld_is_dlopened
	.p2align	4, 0x90
__rtld_is_dlopened:                     ## @_rtld_is_dlopened
	.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
	movq	%rdi, %rbx
	movq	_rtld_bind_lock@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	-20(%rbp), %rsi
	callq	_rlock_acquire
	movq	%rbx, %rdi
	callq	_dlcheck
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_obj_from_addr
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	xorl	%ebx, %ebx
	cmpq	$0, (%rax)
	setne	%bl
LBB0_4:
	movl	(%r14), %edi
	leaq	-20(%rbp), %rsi
	callq	_lock_release
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	__rtld_error
	movl	$-1, %ebx
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_rtld_bind_lock,4,2             ## @rtld_bind_lock
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No shared object contains address"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__rtld_is_dlopened              ; -- Begin function _rtld_is_dlopened
	.p2align	2
__rtld_is_dlopened:                     ; @_rtld_is_dlopened
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _rtld_bind_lock@GOTPAGE
Lloh1:
	ldr	x20, [x20, _rtld_bind_lock@GOTPAGEOFF]
	ldr	w0, [x20]
	add	x1, sp, #12
	bl	_rlock_acquire
	mov	x0, x19
	bl	_dlcheck
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_obj_from_addr
	cbz	x0, LBB0_4
LBB0_2:
	ldr	x8, [x0]
	cmp	x8, #0
	cset	w19, ne
LBB0_3:
	ldr	w0, [x20]
	add	x1, sp, #12
	bl	_lock_release
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	__rtld_error
	mov	w19, #-1
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_rtld_bind_lock,4,2             ; @rtld_bind_lock
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No shared object contains address"

.subsections_via_symbols
