	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function solib_map_sections
_solib_map_sections:                    ## @solib_map_sections
	.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
	movq	%rdi, %r12
	movl	24(%rdi), %edi
	callq	_tilde_expand
	movq	%rax, %rbx
	movq	_xfree@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_make_cleanup
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_solib_open
	movl	%eax, %r14d
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_perror_with_name
LBB0_2:
	movq	-48(%rbp), %rdi
	movq	_gnutarget@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edx
	callq	_bfd_fdopenr
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	%r14d, %edi
	callq	_close
	movq	-48(%rbp), %rbx
	xorl	%eax, %eax
	callq	_bfd_get_error
	movl	%eax, %edi
	callq	_bfd_errmsg
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_error
LBB0_4:
	movq	%r15, 32(%r12)
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_bfd_set_cacheable
	movq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	_SO_NAME_MAX_PATH_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
	movq	-48(%rbp), %rbx
LBB0_6:
	movl	24(%r12), %edi
	movq	%rbx, %rsi
	callq	_strcpy
	movq	_bfd_object@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_bfd_check_format
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	-48(%rbp), %rbx
	xorl	%eax, %eax
	callq	_bfd_get_error
	movl	%eax, %edi
	callq	_bfd_errmsg
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_error
LBB0_8:
	leaq	16(%r12), %r13
	leaq	8(%r12), %r14
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_build_section_table
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%r15, %rdi
	callq	_bfd_get_filename
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_bfd_get_error
	movl	%eax, %edi
	callq	_bfd_errmsg
	leaq	L_.str.3(%rip), %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_error
LBB0_10:
	movq	(%r13), %rbx
	cmpq	(%r14), %rbx
	jae	LBB0_15
## %bb.11:
	leaq	L_.str.4(%rip), %r15
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	addq	$8, %rbx
	cmpq	(%r14), %rbx
	jae	LBB0_15
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_TARGET_SO_RELOCATE_SECTION_ADDRESSES
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, (%r12)
	jmp	LBB0_14
LBB0_15:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_do_cleanups
	movl	$1, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_xfree,4,2                      ## @xfree
	.comm	_gnutarget,4,2                  ## @gnutarget
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not open `%s' as an executable file: %s"

	.comm	_SO_NAME_MAX_PATH_SIZE,8,3      ## @SO_NAME_MAX_PATH_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"Full path name length of shared library exceeds SO_NAME_MAX_PATH_SIZE in so_list structure."

	.comm	_bfd_object,4,2                 ## @bfd_object
L_.str.2:                               ## @.str.2
	.asciz	"\"%s\": not in executable format: %s."

L_.str.3:                               ## @.str.3
	.asciz	"Can't find the file sections in `%s': %s"

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

	.no_dead_strip	_solib_map_sections
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function solib_map_sections
_solib_map_sections:                    ; @solib_map_sections
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
	ldr	w0, [x0, #24]
	bl	_tilde_expand
	mov	x21, x0
Lloh0:
	adrp	x8, _xfree@GOTPAGE
Lloh1:
	ldr	x8, [x8, _xfree@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_make_cleanup
	mov	x20, x0
	add	x1, sp, #24
	mov	x0, x21
	bl	_solib_open
	mov	x22, x0
	tbz	w0, #31, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_perror_with_name
LBB0_2:
	ldr	x0, [sp, #24]
Lloh3:
	adrp	x8, _gnutarget@GOTPAGE
Lloh4:
	ldr	x8, [x8, _gnutarget@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, x22
	bl	_bfd_fdopenr
	mov	x21, x0
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x22
	bl	_close
	ldr	x22, [sp, #24]
	bl	_bfd_get_error
	bl	_bfd_errmsg
	stp	x22, x0, [sp]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_4:
	str	x21, [x19, #32]
	mov	x0, x21
	mov	w1, #1
	bl	_bfd_set_cacheable
	ldr	x22, [sp, #24]
	mov	x0, x22
	bl	_strlen
Lloh8:
	adrp	x8, _SO_NAME_MAX_PATH_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SO_NAME_MAX_PATH_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_6
; %bb.5:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error
	ldr	x22, [sp, #24]
LBB0_6:
	ldr	w0, [x19, #24]
	mov	x1, x22
	bl	_strcpy
Lloh13:
	adrp	x8, _bfd_object@GOTPAGE
Lloh14:
	ldr	x8, [x8, _bfd_object@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_bfd_check_format
	cbnz	w0, LBB0_8
; %bb.7:
	ldr	x22, [sp, #24]
	bl	_bfd_get_error
	bl	_bfd_errmsg
	stp	x22, x0, [sp]
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_error
LBB0_8:
	add	x23, x19, #16
	add	x22, x19, #8
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	bl	_build_section_table
	cbz	x0, LBB0_10
; %bb.9:
	mov	x0, x21
	bl	_bfd_get_filename
	mov	x21, x0
	bl	_bfd_get_error
	bl	_bfd_errmsg
	stp	x21, x0, [sp]
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_error
LBB0_10:
	ldr	x21, [x23]
	ldr	x8, [x22]
	cmp	x21, x8
	b.hs	LBB0_15
; %bb.11:
Lloh20:
	adrp	x23, l_.str.4@PAGE
Lloh21:
	add	x23, x23, l_.str.4@PAGEOFF
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x21, x21, #8
	ldr	x8, [x22]
	cmp	x21, x8
	b.hs	LBB0_15
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_TARGET_SO_RELOCATE_SECTION_ADDRESSES
	ldr	x8, [x21]
	ldr	w0, [x8]
	mov	x1, x23
	bl	_strcmp
	cbnz	x0, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	str	x21, [x19]
	b	LBB0_12
LBB0_15:
	mov	x0, x20
	bl	_do_cleanups
	mov	w0, #1
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_xfree,4,2                      ; @xfree
	.comm	_gnutarget,4,2                  ; @gnutarget
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not open `%s' as an executable file: %s"

	.comm	_SO_NAME_MAX_PATH_SIZE,8,3      ; @SO_NAME_MAX_PATH_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"Full path name length of shared library exceeds SO_NAME_MAX_PATH_SIZE in so_list structure."

	.comm	_bfd_object,4,2                 ; @bfd_object
l_.str.2:                               ; @.str.2
	.asciz	"\"%s\": not in executable format: %s."

l_.str.3:                               ; @.str.3
	.asciz	"Can't find the file sections in `%s': %s"

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

	.no_dead_strip	_solib_map_sections
.subsections_via_symbols
