	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_elf_string_from_elf_section ## -- Begin function bfd_elf_string_from_elf_section
	.p2align	4, 0x90
_bfd_elf_string_from_elf_section:       ## @bfd_elf_string_from_elf_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
	leaq	L_.str(%rip), %r14
	testl	%edx, %edx
	je	LBB0_15
## %bb.1:
	movl	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	callq	_elf_elfsections
	testq	%rax, %rax
	je	LBB0_14
## %bb.2:
	movq	%rbx, %rdi
	callq	_elf_numsections
	cmpl	%r12d, %eax
	jbe	LBB0_14
## %bb.3:
	movq	%rbx, %rdi
	callq	_elf_elfsections
	movl	%r12d, %ecx
	movq	(%rax,%rcx,8), %r13
	cmpq	$0, 8(%r13)
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_bfd_elf_get_str_section
	testq	%rax, %rax
	je	LBB0_14
LBB0_5:
	cmpl	%r15d, (%r13)
	jbe	LBB0_9
## %bb.6:
	movl	%r15d, %r14d
	addq	8(%r13), %r14
	jmp	LBB0_15
LBB0_14:
	xorl	%r14d, %r14d
LBB0_15:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%rbx, %rdi
	callq	_elf_elfheader
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	(%r13), %ecx
	movl	4(%r13), %edx
	cmpl	%r12d, %esi
	jne	LBB0_12
## %bb.10:
	cmpl	%r15d, %edx
	jne	LBB0_12
## %bb.11:
	leaq	L_.str.2(%rip), %r8
	jmp	LBB0_13
LBB0_12:
	movq	%rbx, %rdi
	movq	%rcx, %r12
	movl	%eax, %r13d
	callq	_bfd_elf_string_from_elf_section
	movq	%r12, %rcx
	movq	%rax, %r8
	movl	%r13d, %eax
LBB0_13:
	movl	%eax, %edi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	__bfd_error_handler
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

L_.str.1:                               ## @.str.1
	.asciz	"%B: invalid string offset %u >= %lu for section `%s'"

L_.str.2:                               ## @.str.2
	.asciz	".shstrtab"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_elf_string_from_elf_section ; -- Begin function bfd_elf_string_from_elf_section
	.p2align	2
_bfd_elf_string_from_elf_section:       ; @bfd_elf_string_from_elf_section
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	w2, LBB0_13
; %bb.1:
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	bl	_elf_elfsections
	cbz	x0, LBB0_14
; %bb.2:
	mov	x0, x20
	bl	_elf_numsections
	cmp	w0, w21
	b.ls	LBB0_7
; %bb.3:
	mov	x0, x20
	bl	_elf_elfsections
	ldr	x25, [x0, w21, uxtw #3]
	ldr	x8, [x25, #8]
	cbnz	x8, LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, x21
	bl	_bfd_elf_get_str_section
	cbz	x0, LBB0_14
LBB0_5:
	ldr	w8, [x25]
	cmp	w8, w19
	b.ls	LBB0_8
; %bb.6:
	ldr	x8, [x25, #8]
	add	x0, x8, w19, uxtw
	b	LBB0_14
LBB0_7:
	mov	x0, #0
	b	LBB0_14
LBB0_8:
	mov	x0, x20
	bl	_elf_elfheader
	ldr	w24, [x0]
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x23, x0
	ldp	w22, w2, [x25]
	cmp	w24, w21
	b.ne	LBB0_11
; %bb.9:
	cmp	w2, w19
	b.ne	LBB0_11
; %bb.10:
Lloh2:
	adrp	x4, l_.str.2@PAGE
Lloh3:
	add	x4, x4, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_11:
	mov	x0, x20
	mov	x1, x24
	bl	_bfd_elf_string_from_elf_section
	mov	x4, x0
LBB0_12:
	mov	x0, x23
	mov	x1, x20
	mov	x2, x19
	mov	x3, x22
	bl	__bfd_error_handler
LBB0_13:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
LBB0_14:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

l_.str.1:                               ; @.str.1
	.asciz	"%B: invalid string offset %u >= %lu for section `%s'"

l_.str.2:                               ; @.str.2
	.asciz	".shstrtab"

.subsections_via_symbols
