	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_elf_get_str_section        ## -- Begin function bfd_elf_get_str_section
	.p2align	4, 0x90
_bfd_elf_get_str_section:               ## @bfd_elf_get_str_section
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r13
	callq	_elf_elfsections
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_elf_numsections
	cmpl	%ebx, %eax
	jbe	LBB0_6
## %bb.2:
	movl	%ebx, %ebx
	movq	(%r14,%rbx,8), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	(%rax), %r15
	testq	%r15, %r15
	jne	LBB0_19
## %bb.4:
	movslq	8(%rax), %r12
	movl	%r12d, %esi
	incl	%esi
	je	LBB0_17
## %bb.9:
	movl	12(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	callq	_bfd_alloc
	testq	%rax, %rax
	je	LBB0_17
## %bb.10:
	movq	%rax, %r15
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_bfd_seek
	testq	%rax, %rax
	je	LBB0_13
LBB0_17:
	xorl	%r15d, %r15d
LBB0_18:
	movq	(%r14,%rbx,8), %rax
	movq	%r15, (%rax)
	jmp	LBB0_19
LBB0_6:
	xorl	%r15d, %r15d
LBB0_19:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	%r15, %rdi
	movl	%r12d, %esi
	movq	%r13, %rdx
	callq	_bfd_bread
	cmpl	%r12d, %eax
	jne	LBB0_15
## %bb.14:
	movb	$0, (%r15,%r12)
	jmp	LBB0_18
LBB0_15:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_bfd_get_error
	movq	_bfd_error_system_call@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_18
## %bb.16:
	movq	_bfd_error_file_truncated@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bfd_set_error
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_bfd_error_system_call,8,3      ## @bfd_error_system_call
	.comm	_bfd_error_file_truncated,4,2   ## @bfd_error_file_truncated
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_elf_get_str_section        ; -- Begin function bfd_elf_get_str_section
	.p2align	2
_bfd_elf_get_str_section:               ; @bfd_elf_get_str_section
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x22, x1
	mov	x20, x0
	bl	_elf_elfsections
	cbz	x0, LBB0_9
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	bl	_elf_numsections
	cmp	w0, w22
	b.ls	LBB0_9
; %bb.2:
	ldr	x8, [x19, w22, uxtw #3]
	cbz	x8, LBB0_9
; %bb.3:
	ldr	x21, [x8]
	cbnz	x21, LBB0_10
; %bb.4:
	mov	w24, w22
	ldrsw	x22, [x8, #8]
	adds	w1, w22, #1
	b.hs	LBB0_7
; %bb.5:
	ldr	w23, [x8, #12]
	mov	x0, x20
	bl	_bfd_alloc
	mov	x21, x0
	cbz	x0, LBB0_8
; %bb.6:
Lloh0:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x23
	bl	_bfd_seek
	cbz	x0, LBB0_11
LBB0_7:
	mov	x21, #0
LBB0_8:
	ldr	x8, [x19, x24, lsl #3]
	str	x21, [x8]
	b	LBB0_10
LBB0_9:
	mov	x21, #0
LBB0_10:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	bl	_bfd_bread
	cmp	w0, w22
	b.ne	LBB0_13
; %bb.12:
	strb	wzr, [x21, x22]
	b	LBB0_8
LBB0_13:
	bl	_bfd_get_error
Lloh3:
	adrp	x8, _bfd_error_system_call@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bfd_error_system_call@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.14:
Lloh6:
	adrp	x8, _bfd_error_file_truncated@GOTPAGE
Lloh7:
	ldr	x8, [x8, _bfd_error_file_truncated@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_bfd_set_error
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_bfd_error_system_call,8,3      ; @bfd_error_system_call
	.comm	_bfd_error_file_truncated,4,2   ; @bfd_error_file_truncated
.subsections_via_symbols
