	.file	"extr_lstring.c_internshrstr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	internshrstr, @function
internshrstr:
.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, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	QWORD PTR 8[rsp], rdi
	call	G@PLT
	mov	rsi, r14
	mov	rdi, r13
	mov	edx, DWORD PTR 16[rax]
	mov	rbp, rax
	call	luaS_hash@PLT
	mov	esi, DWORD PTR 0[rbp]
	mov	rbx, QWORD PTR 8[rbp]
	mov	edi, eax
	mov	r15d, eax
	call	lmod@PLT
	xor	edi, edi
	test	r13, r13
	lea	rbx, [rbx+rax*8]
	setne	dil
	call	lua_assert@PLT
	mov	r12, QWORD PTR [rbx]
	test	r12, r12
	jne	.L5
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	r12, QWORD PTR 8[r12]
	test	r12, r12
	je	.L2
.L5:
	cmp	QWORD PTR [r12], r14
	jne	.L3
	mov	rdi, r12
	call	getstr@PLT
	mov	rdx, r14
	mov	rdi, r13
	mov	esi, eax
	call	memcmp@PLT
	test	rax, rax
	jne	.L3
	mov	rsi, r12
	mov	rdi, rbp
	call	isdead@PLT
	test	rax, rax
	je	.L1
	mov	rdi, r12
	call	changewhite@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR 0[rbp]
	cmp	DWORD PTR 4[rbp], eax
	jge	.L16
.L6:
	mov	edx, DWORD PTR LUA_TSHRSTR[rip]
	mov	rdi, QWORD PTR 8[rsp]
	mov	ecx, r15d
	mov	rsi, r14
	call	createstrobj@PLT
	mov	rdi, rax
	mov	r12, rax
	call	getstr@PLT
	mov	rdx, r14
	mov	rsi, r13
	mov	edi, eax
	call	memcpy@PLT
	mov	rdi, r14
	call	cast_byte@PLT
	mov	QWORD PTR [r12], rax
	mov	rax, QWORD PTR [rbx]
	mov	QWORD PTR 8[r12], rax
	mov	QWORD PTR [rbx], r12
	add	DWORD PTR 4[rbp], 1
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	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
.L16:
	.cfi_restore_state
	mov	ecx, DWORD PTR MAX_INT[rip]
	mov	edx, ecx
	shr	edx, 31
	add	edx, ecx
	sar	edx
	cmp	eax, edx
	jg	.L6
	mov	rdi, QWORD PTR 8[rsp]
	lea	esi, [rax+rax]
	call	luaS_resize@PLT
	mov	esi, DWORD PTR 0[rbp]
	mov	rbx, QWORD PTR 8[rbp]
	mov	edi, r15d
	call	lmod@PLT
	lea	rbx, [rbx+rax*8]
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	internshrstr, .-internshrstr
	.comm	MAX_INT,4,4
	.comm	LUA_TSHRSTR,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_lstring.c_internshrstr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	internshrstr, %function
internshrstr:
	@ 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	r7, r1
	mov	r5, r2
	mov	r9, r0
	bl	G
	mov	r1, r5
	ldr	r2, [r0, #12]
	mov	r6, r0
	mov	r0, r7
	bl	luaS_hash
	ldr	r1, [r6]
	ldr	fp, [r6, #8]
	mov	r10, r0
	bl	lmod
	mov	r8, r0
	subs	r0, r7, #0
	movne	r0, #1
	bl	lua_assert
	ldr	r4, [fp, r8, lsl #2]
	add	r8, fp, r8, lsl #2
	cmp	r4, #0
	bne	.L5
	b	.L2
.L3:
	ldr	r4, [r4, #4]
	cmp	r4, #0
	beq	.L2
.L5:
	ldr	r3, [r4]
	cmp	r3, r5
	bne	.L3
	mov	r0, r4
	bl	getstr
	mov	r2, r5
	mov	r1, r0
	mov	r0, r7
	bl	memcmp
	cmp	r0, #0
	bne	.L3
	mov	r0, r6
	mov	r1, r4
	bl	isdead
	cmp	r0, #0
	beq	.L1
	mov	r0, r4
	bl	changewhite
	b	.L1
.L2:
	ldm	r6, {r1, r3}
	cmp	r3, r1
	bge	.L16
.L6:
	ldr	r2, .L17
	mov	r3, r10
	mov	r1, r5
	ldr	r2, [r2]
	mov	r0, r9
	bl	createstrobj
	mov	r4, r0
	bl	getstr
	mov	r2, r5
	mov	r1, r7
	bl	memcpy
	mov	r0, r5
	bl	cast_byte
	ldr	r3, [r6, #4]
	ldr	r2, [r8]
	add	r3, r3, #1
	stm	r4, {r0, r2}
	str	r4, [r8]
	str	r3, [r6, #4]
.L1:
	mov	r0, r4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
	ldr	r3, .L17+4
	ldr	r3, [r3]
	add	r3, r3, r3, lsr #31
	cmp	r1, r3, asr #1
	bgt	.L6
	lsl	r1, r1, #1
	mov	r0, r9
	bl	luaS_resize
	mov	r0, r10
	ldr	r1, [r6]
	ldr	r8, [r6, #8]
	bl	lmod
	add	r8, r8, r0, lsl #2
	b	.L6
.L18:
	.align	2
.L17:
	.word	LUA_TSHRSTR
	.word	MAX_INT
	.size	internshrstr, .-internshrstr
	.comm	MAX_INT,4,4
	.comm	LUA_TSHRSTR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
