	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fetch_sec_names
_fetch_sec_names:                       ## @fetch_sec_names
	.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, %rbx
	cmpl	$0, (%rdi)
	jle	LBB0_6
## %bb.1:
	movl	$8, %r12d
	xorl	%r13d, %r13d
	leaq	-44(%rbp), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14,%r12), %esi
	leaq	L_.str(%rip), %rdi
	callq	_warning
	leaq	L_.str.1(%rip), %rdi
	callq	_xstrdup
	movq	%rax, -56(%rbp)
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, -8(%r14,%r12)
	incq	%r13
	movslq	(%rbx), %rax
	addq	$16, %r12
	cmpq	%rax, %r13
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %r14
	movl	(%r14,%r12), %edi
	movq	_PATH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-56(%rbp), %rsi
	movq	%r15, %rcx
	callq	_target_read_string
	cmpl	$0, -44(%rbp)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax
	jmp	LBB0_5
LBB0_6:
	movq	%rbx, %rdi
	callq	_lm_secs_sort
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX,4,2                   ## @PATH_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to read shared sec name at 0x%lx"

L_.str.1:                               ## @.str.1
	.space	1

	.no_dead_strip	_fetch_sec_names
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fetch_sec_names
_fetch_sec_names:                       ; @fetch_sec_names
	.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, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x22, #0
	mov	x23, #0
Lloh0:
	adrp	x24, _PATH_MAX@GOTPAGE
Lloh1:
	ldr	x24, [x24, _PATH_MAX@GOTPAGEOFF]
Lloh2:
	adrp	x20, l_.str@PAGE
Lloh3:
	add	x20, x20, l_.str@PAGEOFF
Lloh4:
	adrp	x21, l_.str.1@PAGE
Lloh5:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x26, #8]
	mov	x0, x20
	bl	_warning
	mov	x0, x21
	bl	_xstrdup
	str	x0, [sp]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x0, [x25, x22]
	add	x23, x23, #1
	ldrsw	x8, [x19]
	add	x22, x22, #16
	cmp	x23, x8
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x25, [x19, #8]
	add	x26, x25, x22
	ldr	w0, [x26, #8]
	ldr	w2, [x24]
	mov	x1, sp
	add	x3, sp, #12
	bl	_target_read_string
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp]
	b	LBB0_3
LBB0_6:
	mov	x0, x19
	bl	_lm_secs_sort
	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	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX,4,2                   ; @PATH_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to read shared sec name at 0x%lx"

l_.str.1:                               ; @.str.1
	.space	1

	.no_dead_strip	_fetch_sec_names
.subsections_via_symbols
