	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_shared
_get_shared:                            ## @get_shared
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_PATH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r15, %rcx
	movq	%r14, %r8
	callq	_snprintf
	movq	_ci_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_WLOCK
	movq	%r12, %rdi
	callq	_hash_func
	movq	_ci_hash_entry@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_match_func@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_shared_pool@GOTPCREL(%rip), %rdi
	movq	%r12, %r8
	movl	%eax, %r9d
	callq	__CITRUS_HASH_SEARCH
	movq	_ci_tailq_entry@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_shared_unused@GOTPCREL(%rip), %rdi
	callq	_TAILQ_REMOVE
	movq	_shared_num_unused@GOTPCREL(%rip), %rax
	decl	(%rax)
	movq	%r14, %rdi
	callq	_UNLOCK
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX,4,2                   ## @PATH_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/%s"

	.comm	_ci_lock,4,2                    ## @ci_lock
	.comm	_shared_pool,4,2                ## @shared_pool
	.comm	_ci_hash_entry,4,2              ## @ci_hash_entry
	.comm	_match_func,4,2                 ## @match_func
	.comm	_shared_unused,4,2              ## @shared_unused
	.comm	_ci_tailq_entry,4,2             ## @ci_tailq_entry
	.comm	_shared_num_unused,4,2          ## @shared_num_unused
	.no_dead_strip	_get_shared
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_shared
_get_shared:                            ; @get_shared
	.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
	sub	sp, sp, #16
	mov	x4, x2
	mov	x3, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _PATH_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PATH_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x9, x1
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x1, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_snprintf
Lloh10:
	adrp	x20, _ci_lock@GOTPAGE
Lloh11:
	ldr	x20, [x20, _ci_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_WLOCK
	mov	x0, x19
	bl	_hash_func
	mov	x5, x0
Lloh12:
	adrp	x8, _ci_hash_entry@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ci_hash_entry@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _match_func@GOTPAGE
Lloh16:
	ldr	x8, [x8, _match_func@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
Lloh18:
	adrp	x0, _shared_pool@GOTPAGE
Lloh19:
	ldr	x0, [x0, _shared_pool@GOTPAGEOFF]
	mov	x4, x19
	bl	__CITRUS_HASH_SEARCH
Lloh20:
	adrp	x8, _ci_tailq_entry@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ci_tailq_entry@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
Lloh23:
	adrp	x0, _shared_unused@GOTPAGE
Lloh24:
	ldr	x0, [x0, _shared_unused@GOTPAGEOFF]
	bl	_TAILQ_REMOVE
Lloh25:
	adrp	x8, _shared_num_unused@GOTPAGE
Lloh26:
	ldr	x8, [x8, _shared_num_unused@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
	mov	x0, x20
	bl	_UNLOCK
	ldur	x8, [x29, #-24]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	sub	sp, x29, #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX,4,2                   ; @PATH_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/%s"

	.comm	_ci_lock,4,2                    ; @ci_lock
	.comm	_shared_pool,4,2                ; @shared_pool
	.comm	_ci_hash_entry,4,2              ; @ci_hash_entry
	.comm	_match_func,4,2                 ; @match_func
	.comm	_shared_unused,4,2              ; @shared_unused
	.comm	_ci_tailq_entry,4,2             ; @ci_tailq_entry
	.comm	_shared_num_unused,4,2          ; @shared_num_unused
	.no_dead_strip	_get_shared
.subsections_via_symbols
