	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pa64_solib_add                 ## -- Begin function pa64_solib_add
	.p2align	4, 0x90
_pa64_solib_add:                        ## @pa64_solib_add
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	testq	%rdi, %rdi
	leaq	L_.str(%rip), %rax
	cmoveq	%rax, %rdi
	callq	_re_comp
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_error
LBB0_2:
	movq	_symfile_objfile@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.3:
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_bfd_get_section_by_name
	testq	%rax, %rax
	je	LBB0_14
## %bb.4:
	movq	(%rbx), %rcx
	movl	(%rcx), %edi
	movq	%rax, %rsi
	callq	_bfd_section_size
	testq	%rax, %rax
	je	LBB0_14
## %bb.5:
	movq	_dld_cache@GOTPCREL(%rip), %r14
	cmpl	$0, 8(%r14)
	jne	LBB0_7
## %bb.6:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_read_dld_descriptor
	testl	%eax, %eax
	je	LBB0_14
LBB0_7:
	movq	_DT_HP_DEBUG_PRIVATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	jne	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rdi
	callq	_warning
LBB0_9:
	movq	_pa64_target_read_memory@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movl	4(%r14), %r9d
	leaq	-48(%rbp), %rsi
	movl	$1, %edi
	movl	$4, %edx
	xorl	%r8d, %r8d
	callq	_dlgetmodinfo
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:
	movl	$2, %ebx
	leaq	-48(%rbp), %r13
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	%r15, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r13, %rcx
	xorl	%r8d, %r8d
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	callq	_add_to_solist
	movl	(%r12), %ecx
	movl	4(%r14), %r9d
	movl	%ebx, %edi
	movq	%r13, %rsi
	movl	$4, %edx
	xorl	%r8d, %r8d
	callq	_dlgetmodinfo
	incl	%ebx
	testq	%rax, %rax
	je	LBB0_14
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edx
	movl	4(%r14), %r8d
	movq	%r13, %rdi
	movl	$4, %esi
	xorl	%ecx, %ecx
	callq	_dlgetname
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
	jmp	LBB0_13
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"."

L_.str.1:                               ## @.str.1
	.asciz	"Invalid regexp: %s"

	.comm	_symfile_objfile,8,3            ## @symfile_objfile
L_.str.2:                               ## @.str.2
	.asciz	".dynamic"

	.comm	_dld_cache,12,2                 ## @dld_cache
	.comm	_DT_HP_DEBUG_PRIVATE,4,2        ## @DT_HP_DEBUG_PRIVATE
L_.str.3:                               ## @.str.3
	.asciz	"The shared libraries were not privately mapped; setting a\nbreakpoint in a shared library will not work until you rerun the program.\n"

	.comm	_pa64_target_read_memory,4,2    ## @pa64_target_read_memory
L_.str.4:                               ## @.str.4
	.asciz	"pa64_solib_add, unable to read shared library path."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pa64_solib_add                 ; -- Begin function pa64_solib_add
	.p2align	2
_pa64_solib_add:                        ; @pa64_solib_add
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	cmp	x0, #0
	csel	x0, x8, x0, eq
	bl	_re_comp
	cbz	x0, LBB0_2
; %bb.1:
	str	x0, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error
LBB0_2:
Lloh4:
	adrp	x22, _symfile_objfile@GOTPAGE
Lloh5:
	ldr	x22, [x22, _symfile_objfile@GOTPAGEOFF]
	ldr	x8, [x22]
	cbz	x8, LBB0_14
; %bb.3:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_bfd_get_section_by_name
	cbz	x0, LBB0_14
; %bb.4:
	mov	x1, x0
	ldr	x8, [x22]
	ldr	w0, [x8]
	bl	_bfd_section_size
	cbz	x0, LBB0_14
; %bb.5:
Lloh8:
	adrp	x25, _dld_cache@GOTPAGE
Lloh9:
	ldr	x25, [x25, _dld_cache@GOTPAGEOFF]
	ldr	w8, [x25, #8]
	cbnz	w8, LBB0_7
; %bb.6:
	mov	x0, x20
	mov	x1, x19
	bl	_read_dld_descriptor
	cbz	w0, LBB0_14
LBB0_7:
	ldr	w8, [x25]
Lloh10:
	adrp	x9, _DT_HP_DEBUG_PRIVATE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _DT_HP_DEBUG_PRIVATE@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_9
; %bb.8:
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_warning
LBB0_9:
Lloh15:
	adrp	x26, _pa64_target_read_memory@GOTPAGE
Lloh16:
	ldr	x26, [x26, _pa64_target_read_memory@GOTPAGEOFF]
	ldr	w3, [x26]
	ldr	w5, [x25, #4]
	add	x1, sp, #8
	mov	w0, #1
	mov	w2, #4
	mov	w4, #0
	bl	_dlgetmodinfo
	cbz	x0, LBB0_14
; %bb.10:
	mov	w22, #2
Lloh17:
	adrp	x23, l_.str.4@PAGE
Lloh18:
	add	x23, x23, l_.str.4@PAGEOFF
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x24
	mov	x2, x19
	mov	w4, #0
	mov	x5, x20
	bl	_add_to_solist
	ldr	w3, [x26]
	ldr	w5, [x25, #4]
	add	x1, sp, #8
	mov	x0, x22
	mov	w2, #4
	mov	w4, #0
	bl	_dlgetmodinfo
	add	w22, w22, #1
	cbz	x0, LBB0_14
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x26]
	ldr	w4, [x25, #4]
	add	x0, sp, #8
	mov	w1, #4
	mov	w3, #0
	bl	_dlgetname
	mov	x24, x0
	cbnz	x0, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x23
	bl	_error
	b	LBB0_11
LBB0_14:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"."

l_.str.1:                               ; @.str.1
	.asciz	"Invalid regexp: %s"

	.comm	_symfile_objfile,8,3            ; @symfile_objfile
l_.str.2:                               ; @.str.2
	.asciz	".dynamic"

	.comm	_dld_cache,12,2                 ; @dld_cache
	.comm	_DT_HP_DEBUG_PRIVATE,4,2        ; @DT_HP_DEBUG_PRIVATE
l_.str.3:                               ; @.str.3
	.asciz	"The shared libraries were not privately mapped; setting a\nbreakpoint in a shared library will not work until you rerun the program.\n"

	.comm	_pa64_target_read_memory,4,2    ; @pa64_target_read_memory
l_.str.4:                               ; @.str.4
	.asciz	"pa64_solib_add, unable to read shared library path."

.subsections_via_symbols
