	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dt_strtab_insert               ## -- Begin function dt_strtab_insert
	.p2align	4, 0x90
_dt_strtab_insert:                      ## @dt_strtab_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	%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
	movq	%rsi, %r14
	movq	%rdi, %r12
	callq	_dt_strtab_index
	movl	%eax, %ebx
	cmpl	$-1, %eax
	je	LBB0_1
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_dt_strtab_hash
	movq	(%r12), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_2
## %bb.3:
	xorl	%edx, %edx
	divq	%rcx
	movq	%rdx, %r15
	jmp	LBB0_4
LBB0_2:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
	movl	%edx, %r15d
LBB0_4:
	movl	$40, %edi
	callq	_malloc
	movl	$-1, %ebx
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%rax, %r13
	movl	40(%r12), %eax
	movl	%eax, 32(%r13)
	movq	32(%r12), %rax
	decq	%rax
	movq	%rax, 24(%r13)
	movq	8(%r12), %rax
	movq	%rax, (%r13)
	movq	-48(%rbp), %rdx
	movq	%rdx, 8(%r13)
	movq	16(%r12), %rax
	movq	(%rax,%r15,8), %rax
	movq	%rax, 16(%r13)
	incq	%rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_dt_strtab_copyin
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.7:
	incl	24(%r12)
	movq	-48(%rbp), %rax
	movq	8(%r12), %rcx
	movq	16(%r12), %rdx
	addq	%rcx, %rax
	incq	%rax
	movq	%rax, 8(%r12)
	movq	%r13, (%rdx,%r15,8)
	movl	(%r13), %ebx
	jmp	LBB0_8
LBB0_6:
	movq	%r13, %rdi
	callq	_free
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dt_strtab_insert               ; -- Begin function dt_strtab_insert
	.p2align	2
_dt_strtab_insert:                      ; @dt_strtab_insert
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_dt_strtab_index
	cmn	w0, #1
	b.eq	LBB0_2
LBB0_1:
	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
	add	sp, sp, #80
	ret
LBB0_2:
	add	x1, sp, #8
	mov	x0, x20
	bl	_dt_strtab_hash
	mov	x22, x0
	ldr	x23, [x19]
	mov	w0, #40
	bl	_malloc
	cbz	x0, LBB0_5
; %bb.3:
	mov	x21, x0
	udiv	x8, x22, x23
	msub	x22, x8, x23, x22
	ldr	w8, [x19, #40]
	str	w8, [x0, #32]
	ldr	x8, [x19, #32]
	sub	x8, x8, #1
	str	x8, [x0, #24]
	ldp	x8, x9, [x19, #8]
	str	x8, [x0]
	ldr	x8, [sp, #8]
	ldr	x9, [x9, x22, lsl #3]
	stp	x8, x9, [x0, #8]
	add	x2, x8, #1
	mov	x0, x19
	mov	x1, x20
	bl	_dt_strtab_copyin
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.4:
	ldr	w8, [x19, #24]
	add	w8, w8, #1
	str	w8, [x19, #24]
	ldr	x8, [sp, #8]
	ldp	x9, x10, [x19, #8]
	add	x8, x8, x9
	add	x8, x8, #1
	str	x8, [x19, #8]
	str	x21, [x10, x22, lsl #3]
	ldr	w0, [x21]
	b	LBB0_1
LBB0_5:
	mov	w0, #-1
	b	LBB0_1
LBB0_6:
	mov	x0, x21
	bl	_free
	mov	w0, #-1
	b	LBB0_1
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
