	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_load_string                    ## -- Begin function load_string
	.p2align	4, 0x90
_load_string:                           ## @load_string
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_preload_string
	movq	_idx_rptr@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movslq	%eax, %rdx
	addq	%rdi, %rdx
	incq	%rdx
	movq	%rdx, (%rcx)
	movl	%eax, %esi
	popq	%rbp
	jmp	_exact_strdup                   ## TAILCALL
LBB0_1:
	incq	%rdi
	movq	%rdi, (%rcx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_idx_rptr,8,3                   ## @idx_rptr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_load_string                    ; -- Begin function load_string
	.p2align	2
_load_string:                           ; @load_string
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_preload_string
	mov	x1, x0
Lloh0:
	adrp	x8, _idx_rptr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _idx_rptr@GOTPAGEOFF]
	ldr	x0, [x8]
	cbz	w1, LBB0_2
; %bb.1:
	add	w9, w1, #1
	add	x9, x0, w9, sxtw
	str	x9, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_exact_strdup
LBB0_2:
	add	x9, x0, #1
	str	x9, [x8]
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_idx_rptr,8,3                   ; @idx_rptr
.subsections_via_symbols
