	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pa64_solib_add_solib_objfile
_pa64_solib_add_solib_objfile:          ## @pa64_solib_add_solib_objfile
	.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, %r13d
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	_gnutarget@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_bfd_openr
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %rbx
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	movq	_bfd_object@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_bfd_check_format
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_bfd_close
	xorl	%eax, %eax
	callq	_bfd_get_error
	movl	%eax, %edi
	callq	_bfd_errmsg
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_error
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_bfd_get_section_by_name
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_bfd_section_vma
	movq	%rax, %r14
	addl	%r13d, %r14d
	movq	$0, -48(%rbp)
	movq	_find_lowest_section@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_bfd_map_over_sections
	movq	-48(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_bfd_section_vma
	subl	%eax, %r14d
	movq	-48(%rbp), %rax
	addl	(%rax), %r14d
LBB0_5:
	movq	%rbx, %rdi
	callq	_bfd_count_sections
	movl	%eax, %edi
	callq	_alloc_section_addr_info
	movq	%rax, %r13
	movq	_xfree@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_make_cleanup
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_bfd_close
	movq	(%r13), %rax
	movl	%r14d, 8(%rax)
	leaq	L_.str.1(%rip), %rcx
	movq	%rcx, (%rax)
	movq	_OBJF_SHARED@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r8d
	movq	%r12, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	callq	_symbol_file_add
	movq	%rax, 8(%r15)
	movl	16(%rax), %ecx
	movl	%ecx, 16(%r15)
	movl	(%rbx), %ecx
	orl	%ecx, 12(%rax)
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	jne	LBB0_7
## %bb.6:
	addq	$8, %rax
	movq	%rax, %rdi
	movl	$24, %esi
	callq	_obstack_alloc
	movq	%rax, %rcx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rax)
	movq	8(%r15), %rax
	movq	%rcx, (%rax)
LBB0_7:
	movq	%r15, 8(%rcx)
	movl	(%r15), %eax
	movl	%eax, (%rcx)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_do_cleanups
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r12, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_perror_with_name               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_gnutarget,4,2                  ## @gnutarget
	.comm	_bfd_object,4,2                 ## @bfd_object
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\"%s\" is not an object file: %s"

L_.str.1:                               ## @.str.1
	.asciz	".text"

	.comm	_find_lowest_section,4,2        ## @find_lowest_section
	.comm	_xfree,4,2                      ## @xfree
	.comm	_OBJF_SHARED,4,2                ## @OBJF_SHARED
	.no_dead_strip	_pa64_solib_add_solib_objfile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pa64_solib_add_solib_objfile
_pa64_solib_add_solib_objfile:          ; @pa64_solib_add_solib_objfile
	.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	x24, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _gnutarget@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gnutarget@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_bfd_openr
	cbz	x0, LBB0_8
; %bb.1:
	mov	x22, x0
Lloh3:
	adrp	x8, _bfd_object@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bfd_object@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_bfd_check_format
	cbnz	w0, LBB0_3
; %bb.2:
	mov	x0, x22
	bl	_bfd_close
	bl	_bfd_get_error
	bl	_bfd_errmsg
	mov	x2, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_error
LBB0_3:
Lloh8:
	adrp	x23, l_.str.1@PAGE
Lloh9:
	add	x23, x23, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x1, x23
	bl	_bfd_get_section_by_name
	mov	x1, x0
	mov	x0, x22
	bl	_bfd_section_vma
	add	w26, w0, w24
	str	xzr, [sp, #8]
Lloh10:
	adrp	x8, _find_lowest_section@GOTPAGE
Lloh11:
	ldr	x8, [x8, _find_lowest_section@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x22
	bl	_bfd_map_over_sections
	ldr	x1, [sp, #8]
	cbz	x1, LBB0_5
; %bb.4:
	mov	x0, x22
	bl	_bfd_section_vma
	ldr	x8, [sp, #8]
	ldr	w8, [x8]
	sub	w9, w26, w0
	add	w26, w9, w8
LBB0_5:
	mov	x0, x22
	bl	_bfd_count_sections
	bl	_alloc_section_addr_info
	mov	x25, x0
Lloh13:
	adrp	x8, _xfree@GOTPAGE
Lloh14:
	ldr	x8, [x8, _xfree@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	mov	x1, x25
	bl	_make_cleanup
	mov	x24, x0
	mov	x0, x22
	bl	_bfd_close
	ldr	x8, [x25]
	str	w26, [x8, #8]
	str	x23, [x8]
Lloh16:
	adrp	x22, _OBJF_SHARED@GOTPAGE
Lloh17:
	ldr	x22, [x22, _OBJF_SHARED@GOTPAGEOFF]
	ldr	w4, [x22]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x25
	mov	w3, #0
	bl	_symbol_file_add
	mov	x8, x0
	str	x0, [x19, #8]
	ldp	w10, w9, [x0, #12]
	str	w9, [x19, #16]
	ldr	w9, [x22]
	orr	w9, w10, w9
	str	w9, [x0, #12]
	ldr	x0, [x0]
	cbnz	x0, LBB0_7
; %bb.6:
	add	x0, x8, #8
	mov	w1, #24
	bl	_obstack_alloc
	stp	xzr, xzr, [x0, #8]
	ldr	x8, [x19, #8]
	str	x0, [x8]
LBB0_7:
	str	x19, [x0, #8]
	ldr	w8, [x19]
	str	w8, [x0]
	mov	x0, x24
	bl	_do_cleanups
	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
LBB0_8:
	mov	x0, x21
	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
	b	_perror_with_name
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_gnutarget,4,2                  ; @gnutarget
	.comm	_bfd_object,4,2                 ; @bfd_object
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\"%s\" is not an object file: %s"

l_.str.1:                               ; @.str.1
	.asciz	".text"

	.comm	_find_lowest_section,4,2        ; @find_lowest_section
	.comm	_xfree,4,2                      ; @xfree
	.comm	_OBJF_SHARED,4,2                ; @OBJF_SHARED
	.no_dead_strip	_pa64_solib_add_solib_objfile
.subsections_via_symbols
