	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sym_intern
_sym_intern:                            ## @sym_intern
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	%rdx, %rsi
	callq	_sym_validate_len
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_symhash
	movq	%rax, %r14
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movq	%rax, %rcx
	callq	_find_symbol
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_12
## %bb.1:
	movq	(%r15), %rbx
	movq	8(%r15), %rax
	incq	%rbx
	movq	%rbx, (%r15)
	cmpq	%rbx, %rax
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	jae	LBB0_2
## %bb.3:
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	addq	%rax, %rax
	leaq	(%rax,%rax,2), %rax
	movabsq	$-3689348814741910323, %rcx     ## imm = 0xCCCCCCCCCCCCCCCD
	mulq	%rcx
	shrq	$2, %rdx
	jmp	LBB0_6
LBB0_2:
	movq	24(%r15), %rax
	jmp	LBB0_7
LBB0_4:
	movl	$100, %edx
LBB0_6:
	movq	%rdx, 8(%r15)
	movq	24(%r15), %rsi
	leal	(%rdx,%rdx,2), %eax
	leal	24(,%rax,8), %edx
	movq	%r15, %rdi
	callq	_mrb_realloc
	movq	%rax, 24(%r15)
LBB0_7:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rbx,%rbx,2), %r14
	movq	%r13, 16(%rax,%r14,8)
	movq	_TRUE@GOTPCREL(%rip), %rdx
	testq	%rcx, %rcx
	jne	LBB0_11
## %bb.8:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_mrb_ro_data_p
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	_TRUE@GOTPCREL(%rip), %rdx
	jmp	LBB0_11
LBB0_10:
	leaq	1(%r13), %rsi
	movq	%r15, %rdi
	callq	_mrb_malloc
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_memcpy
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movb	$0, (%r12,%r13)
	movq	_FALSE@GOTPCREL(%rip), %rdx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_11:
	movq	%r12, (%rax,%r14,8)
	movl	(%rdx), %ecx
	movl	%ecx, 12(%rax,%r14,8)
	movq	16(%r15), %r8
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movslq	(%r8,%rdi,4), %rcx
	movq	%rbx, %rdx
	subq	%rcx, %rdx
	cmpq	$255, %rdx
	movl	$255, %esi
	cmovbq	%rdx, %rsi
	xorl	%edx, %edx
	testq	%rcx, %rcx
	cmovel	%edx, %esi
	movl	%esi, 8(%rax,%r14,8)
	movl	%ebx, (%r8,%rdi,4)
	addq	%rbx, %rbx
LBB0_12:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_sym_intern
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sym_intern
_sym_intern:                            ; @sym_intern
	.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
	mov	x23, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	mov	x1, x2
	bl	_sym_validate_len
	mov	x0, x21
	mov	x1, x22
	bl	_symhash
	mov	x20, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x20
	bl	_find_symbol
	cbnz	x0, LBB0_11
; %bb.1:
	ldp	x9, x8, [x19]
	add	x25, x9, #1
	str	x25, [x19]
	cmp	x8, x25
	b.hs	LBB0_4
; %bb.2:
	cbz	x8, LBB0_5
; %bb.3:
	add	x8, x8, x8, lsl #1
	lsl	x8, x8, #1
	mov	x9, #-3689348814741910324
	movk	x9, #52429
	umulh	x8, x8, x9
	lsr	x8, x8, #2
	b	LBB0_6
LBB0_4:
	ldr	x24, [x19, #24]
	b	LBB0_7
LBB0_5:
	mov	w8, #100
LBB0_6:
	str	x8, [x19, #8]
	ldr	x1, [x19, #24]
	mov	w9, #24
	orr	w10, wzr, #0x18
	madd	w2, w8, w9, w10
	mov	x0, x19
	bl	_mrb_realloc
	mov	x24, x0
	str	x0, [x19, #24]
LBB0_7:
	mov	w8, #24
	madd	x8, x25, x8, x24
	str	x22, [x8, #16]
	cbnz	x23, LBB0_9
; %bb.8:
	mov	x0, x21
	bl	_mrb_ro_data_p
	cbz	x0, LBB0_12
LBB0_9:
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_10:
	mov	w9, #24
	madd	x9, x25, x9, x24
	str	x21, [x9]
	ldr	w8, [x8]
	str	w8, [x9, #12]
	ldr	x8, [x19, #16]
	lsl	x10, x20, #2
	ldrsw	x11, [x8, x10]
	sub	x12, x25, x11
	mov	w13, #255
	cmp	x12, #255
	csel	x12, x12, x13, lo
	cmp	w11, #0
	csel	w11, wzr, w12, eq
	str	w11, [x9, #8]
	str	w25, [x8, x10]
	lsl	x0, x25, #1
LBB0_11:
	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
LBB0_12:
	add	x1, x22, #1
	mov	x0, x19
	bl	_mrb_malloc
	mov	x23, x0
	mov	x1, x21
	mov	x2, x22
	bl	_memcpy
	strb	wzr, [x23, x22]
Lloh2:
	adrp	x8, _FALSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	mov	x21, x23
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_sym_intern
.subsections_via_symbols
