	.file	"extr_symbol.c_sym_intern.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sym_intern, @function
sym_intern:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	mov	rsi, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	call	sym_validate_len@PLT
	mov	rsi, rbp
	mov	rdi, r12
	call	symhash@PLT
	mov	rdx, rbp
	mov	rsi, r12
	mov	rdi, r14
	mov	rcx, rax
	mov	r15, rax
	call	find_symbol@PLT
	test	rax, rax
	jne	.L1
	mov	rax, QWORD PTR [r14]
	mov	rsi, QWORD PTR 24[r14]
	lea	rbx, 1[rax]
	mov	rax, QWORD PTR 8[r14]
	mov	QWORD PTR [r14], rbx
	cmp	rbx, rax
	jbe	.L3
	test	rax, rax
	je	.L11
	movabs	rcx, -3689348814741910323
	lea	rdx, [rax+rax*2]
	add	rdx, rdx
	mov	rax, rdx
	mul	rcx
	shr	rdx, 2
	lea	r8d, 3[rdx+rdx*2]
	sal	r8d, 3
.L4:
	mov	QWORD PTR 8[r14], rdx
	mov	rdi, r14
	mov	edx, r8d
	call	mrb_realloc@PLT
	mov	QWORD PTR 24[r14], rax
	mov	rsi, rax
.L3:
	lea	rax, [rbx+rbx*2]
	lea	rcx, [rsi+rax*8]
	mov	QWORD PTR 16[rcx], rbp
	test	r13, r13
	je	.L5
.L7:
	mov	eax, DWORD PTR TRUE[rip]
	mov	QWORD PTR [rcx], r12
	mov	DWORD PTR 12[rcx], eax
.L6:
	mov	rax, QWORD PTR 16[r14]
	lea	rdx, [rax+r15*4]
	movsx	rax, DWORD PTR [rdx]
	test	eax, eax
	jne	.L14
	mov	DWORD PTR 8[rcx], 0
.L10:
	mov	DWORD PTR [rdx], ebx
	lea	rax, [rbx+rbx]
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	rdi, rbx
	mov	esi, 255
	sub	rdi, rax
	mov	rax, rdi
	cmp	rdi, 256
	cmovnb	eax, esi
	mov	DWORD PTR 8[rcx], eax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, r12
	mov	QWORD PTR 8[rsp], rcx
	call	mrb_ro_data_p@PLT
	mov	rcx, QWORD PTR 8[rsp]
	test	rax, rax
	jne	.L7
	lea	rsi, 1[rbp]
	mov	rdi, r14
	call	mrb_malloc@PLT
	mov	rdx, rbp
	mov	rsi, r12
	mov	r13, rax
	mov	rdi, rax
	call	memcpy@PLT
	mov	BYTE PTR 0[r13+rbp], 0
	mov	rcx, QWORD PTR 8[rsp]
	mov	eax, DWORD PTR FALSE[rip]
	mov	QWORD PTR [rcx], r13
	mov	DWORD PTR 12[rcx], eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L11:
	mov	r8d, 2424
	mov	edx, 100
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	sym_intern, .-sym_intern
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_symbol.c_sym_intern.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sym_intern, %function
sym_intern:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r2
	mov	r8, r1
	mov	r1, r2
	mov	r9, r3
	mov	r5, r0
	bl	sym_validate_len
	mov	r1, r6
	mov	r0, r8
	bl	symhash
	mov	r2, r6
	mov	r3, r0
	mov	r10, r0
	mov	r1, r8
	mov	r0, r5
	bl	find_symbol
	cmp	r0, #0
	popne	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	ldr	r4, [r5]
	ldr	r3, [r5, #4]
	add	r4, r4, #1
	cmp	r4, r3
	ldr	r1, [r5, #12]
	str	r4, [r5]
	bls	.L3
	cmp	r3, #0
	moveq	r3, #100
	addne	r3, r3, r3, lsl #1
	ldrne	r2, .L15
	lslne	r3, r3, #1
	umullne	r0, r3, r2, r3
	lsrne	r3, r3, #2
	addne	r2, r3, #1
	moveq	r2, #1616
	mov	r0, r5
	lslne	r2, r2, #4
	str	r3, [r5, #4]
	bl	mrb_realloc
	mov	r1, r0
	str	r0, [r5, #12]
.L3:
	add	r7, r1, r4, lsl #4
	cmp	r9, #0
	str	r6, [r7, #12]
	beq	.L5
.L7:
	ldr	r3, .L15+4
	str	r8, [r7]
	ldr	r3, [r3]
	str	r3, [r7, #8]
.L6:
	ldr	r2, [r5, #8]
	ldr	r3, [r2, r10, lsl #2]
	cmp	r3, #0
	bne	.L14
.L8:
	str	r3, [r7, #4]
.L10:
	str	r4, [r2, r10, lsl #2]
	lsl	r0, r4, #1
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L14:
	sub	r3, r4, r3
	cmp	r3, #255
	movhi	r3, #255
	strhi	r3, [r7, #4]
	bhi	.L10
	b	.L8
.L5:
	mov	r0, r8
	bl	mrb_ro_data_p
	cmp	r0, #0
	bne	.L7
	add	r1, r6, #1
	mov	r0, r5
	bl	mrb_malloc
	mov	fp, r0
	mov	r1, r8
	mov	r2, r6
	bl	memcpy
	ldr	r3, .L15+8
	strb	r9, [fp, r6]
	ldr	r3, [r3]
	str	fp, [r7]
	str	r3, [r7, #8]
	b	.L6
.L16:
	.align	2
.L15:
	.word	-858993459
	.word	TRUE
	.word	FALSE
	.size	sym_intern, .-sym_intern
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
