	.file	"extr_tccpp.c_tok_alloc_new.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"memory full"
	.text
	.p2align 4
	.type	tok_alloc_new, @function
tok_alloc_new:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, QWORD PTR tok_ident[rip]
	cmp	rbx, QWORD PTR SYM_FIRST_ANOM[rip]
	jge	.L6
.L2:
	sub	ebx, DWORD PTR TOK_IDENT[rip]
	mov	esi, DWORD PTR TOK_ALLOC_INCR[rip]
	mov	eax, ebx
	cdq
	idiv	esi
	test	edx, edx
	je	.L7
.L3:
	lea	edi, 64[r14]
	movsx	rbx, ebx
	call	malloc@PLT
	mov	rsi, r13
	mov	r12, rax
	mov	rax, QWORD PTR table_ident[rip]
	mov	rdi, QWORD PTR 8[r12]
	mov	QWORD PTR [rax+rbx*8], r12
	mov	rax, QWORD PTR tok_ident[rip]
	mov	QWORD PTR 48[r12], 0
	lea	rdx, 1[rax]
	mov	QWORD PTR 56[r12], rax
	mov	QWORD PTR tok_ident[rip], rdx
	mov	edx, r14d
	mov	DWORD PTR [r12], r14d
	mov	QWORD PTR 40[r12], 0
	mov	QWORD PTR 32[r12], 0
	mov	QWORD PTR 24[r12], 0
	mov	QWORD PTR 16[r12], 0
	call	memcpy@PLT
	mov	rax, QWORD PTR 8[r12]
	movsx	rdx, r14d
	mov	BYTE PTR [rax+rdx], 0
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	QWORD PTR 0[rbp], r12
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	tcc_error@PLT
	mov	rbx, QWORD PTR tok_ident[rip]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, QWORD PTR table_ident[rip]
	add	esi, ebx
	sal	esi, 3
	call	realloc@PLT
	mov	QWORD PTR table_ident[rip], rax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	tok_alloc_new, .-tok_alloc_new
	.comm	tok_ident,8,8
	.comm	table_ident,8,8
	.comm	TOK_IDENT,8,8
	.comm	TOK_ALLOC_INCR,4,4
	.comm	SYM_FIRST_ANOM,8,8
	.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_tccpp.c_tok_alloc_new.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"memory full\000"
	.global	__aeabi_idivmod
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tok_alloc_new, %function
tok_alloc_new:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L8
	ldr	fp, .L8+4
	ldr	r3, [r3]
	ldr	r7, [fp]
	mov	r9, r0
	cmp	r7, r3
	mov	r10, r1
	mov	r5, r2
	sub	sp, sp, #12
	bge	.L6
.L2:
	ldr	r2, .L8+8
	ldr	r3, .L8+12
	ldr	r8, [r2]
	ldr	r4, [r3]
	sub	r8, r7, r8
	mov	r0, r8
	mov	r1, r4
	bl	__aeabi_idivmod
	ldr	r6, .L8+16
	cmp	r1, #0
	ldr	r3, [r6]
	beq	.L7
.L3:
	add	r0, r5, #32
	str	r3, [sp, #4]
	bl	malloc
	mov	r6, #0
	mov	r4, r0
	ldr	r3, [sp, #4]
	mov	r1, r10
	str	r0, [r3, r8, lsl #2]
	mov	r2, r5
	ldr	r0, [r0, #4]
	add	r3, r7, #1
	str	r7, [r4, #28]
	str	r5, [r4]
	str	r6, [r4, #24]
	str	r6, [r4, #20]
	str	r6, [r4, #16]
	str	r6, [r4, #12]
	str	r6, [r4, #8]
	str	r3, [fp]
	bl	memcpy
	mov	r0, r4
	ldr	r3, [r4, #4]
	strb	r6, [r3, r5]
	str	r4, [r9]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
	ldr	r0, .L8+20
	bl	tcc_error
	ldr	r7, [fp]
	b	.L2
.L7:
	add	r1, r4, r8
	mov	r0, r3
	lsl	r1, r1, #2
	bl	realloc
	ldr	r7, [fp]
	mov	r3, r0
	str	r0, [r6]
	b	.L3
.L9:
	.align	2
.L8:
	.word	SYM_FIRST_ANOM
	.word	tok_ident
	.word	TOK_IDENT
	.word	TOK_ALLOC_INCR
	.word	table_ident
	.word	.LC0
	.size	tok_alloc_new, .-tok_alloc_new
	.comm	tok_ident,4,4
	.comm	table_ident,4,4
	.comm	TOK_IDENT,4,4
	.comm	TOK_ALLOC_INCR,4,4
	.comm	SYM_FIRST_ANOM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
