	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_elftc_string_table_insert      ## -- Begin function elftc_string_table_insert
	.p2align	4, 0x90
_elftc_string_table_insert:             ## @elftc_string_table_insert
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	$0, -28(%rbp)
	leaq	-28(%rbp), %rdx
	callq	_elftc_string_table_find_hash_entry
	movq	%rax, %rbx
	movl	-28(%rbp), %eax
	xorl	%edi, %edi
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	cmpl	(%r14), %eax
	setl	%dil
LBB0_2:
	callq	_assert
	testq	%rbx, %rbx
	je	LBB0_3
LBB0_8:
	movq	(%rbx), %rax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	$8, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_elftc_string_table_add_to_pool
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movslq	-28(%rbp), %rdi
	shlq	$2, %rdi
	addq	8(%r14), %rdi
	movq	_ste_next@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_SLIST_INSERT_HEAD
	jmp	LBB0_8
LBB0_4:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_6:
	movq	%rbx, %rdi
	callq	_free
	xorl	%eax, %eax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_ste_next,4,2                   ## @ste_next
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_elftc_string_table_insert      ; -- Begin function elftc_string_table_insert
	.p2align	2
_elftc_string_table_insert:             ; @elftc_string_table_insert
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x1
	mov	x19, x0
	str	wzr, [sp, #12]
	add	x2, sp, #12
	bl	_elftc_string_table_find_hash_entry
	mov	x20, x0
	ldr	w8, [sp, #12]
	tbnz	w8, #31, LBB0_2
; %bb.1:
	ldr	w9, [x19]
	cmp	w8, w9
	cset	w0, lt
	bl	_assert
	cbnz	x20, LBB0_6
	b	LBB0_3
LBB0_2:
	mov	w0, #0
	bl	_assert
	cbnz	x20, LBB0_6
LBB0_3:
	mov	w0, #8
	bl	_malloc
	cbz	x0, LBB0_7
; %bb.4:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x21
	bl	_elftc_string_table_add_to_pool
	str	x0, [x20]
	cbz	x0, LBB0_8
; %bb.5:
	ldr	x8, [x19, #8]
	ldrsw	x9, [sp, #12]
	add	x0, x8, x9, lsl #2
Lloh0:
	adrp	x8, _ste_next@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ste_next@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_SLIST_INSERT_HEAD
LBB0_6:
	ldr	x0, [x20]
LBB0_7:
	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
	add	sp, sp, #64
	ret
LBB0_8:
	mov	x0, x20
	bl	_free
	mov	x0, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ste_next,4,2                   ; @ste_next
.subsections_via_symbols
