	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_elftc_string_table_to_string   ## -- Begin function elftc_string_table_to_string
	.p2align	4, 0x90
_elftc_string_table_to_string:          ## @elftc_string_table_to_string
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.1:
	movq	%rsi, %r14
	movq	(%rdi), %rbx
	addq	%rsi, %rbx
	callq	_ELFTC_STRING_TABLE_LENGTH
	cmpq	%r14, %rax
	jbe	LBB0_4
## %bb.2:
	cmpb	$0, (%rbx)
	je	LBB0_4
## %bb.3:
	cmpb	$0, -1(%rbx)
	je	LBB0_5
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%ebx, %ebx
LBB0_5:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_elftc_string_table_to_string   ; -- Begin function elftc_string_table_to_string
	.p2align	2
_elftc_string_table_to_string:          ; @elftc_string_table_to_string
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x1, LBB0_4
; %bb.1:
	mov	x19, x1
	ldr	x20, [x0]
	bl	_ELFTC_STRING_TABLE_LENGTH
	cmp	x0, x19
	b.ls	LBB0_4
; %bb.2:
	add	x0, x20, x19
	ldrb	w8, [x0]
	cbz	w8, LBB0_4
; %bb.3:
	ldurb	w8, [x0, #-1]
	cbz	w8, LBB0_5
LBB0_4:
	mov	x0, #0
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _errno@GOTPAGE
Lloh4:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh5:
	str	w8, [x9]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
