	.file	"extr_create_nls.c_find_subtable_with_offsets.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Could not add new subtable with offsets, storage is full\n"
	.text
	.p2align 4
	.type	find_subtable_with_offsets, @function
find_subtable_with_offsets:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR number_of_subtables_with_offsets[rip]
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	test	eax, eax
	jle	.L5
	xor	ebx, ebx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L13:
	mov	eax, DWORD PTR number_of_subtables_with_offsets[rip]
	lea	r12d, 1[rbx]
	add	rbx, 1
	cmp	eax, ebx
	jle	.L12
.L4:
	mov	rdi, rbx
	mov	edx, 64
	mov	rsi, rbp
	mov	r12d, ebx
	sal	rdi, 6
	add	rdi, QWORD PTR subtables_with_offsets[rip]
	call	memcmp@PLT
	test	rax, rax
	jne	.L13
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	cmp	eax, 4095
	jg	.L14
.L2:
	mov	rdx, QWORD PTR subtables_with_offsets[rip]
	sal	eax, 4
	mov	rsi, rbp
	cdqe
	lea	rdi, [rdx+rax*4]
	mov	edx, 64
	call	memcpy@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	add	DWORD PTR number_of_subtables_with_offsets[rip], 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	xor	r12d, r12d
	lea	rdi, .LC0[rip]
	call	printf@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	xor	r12d, r12d
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	find_subtable_with_offsets, .-find_subtable_with_offsets
	.comm	subtables_with_offsets,8,8
	.comm	number_of_subtables_with_offsets,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_create_nls.c_find_subtable_with_offsets.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Could not add new subtable with offsets, storage is"
	.ascii	" full\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_subtable_with_offsets, %function
find_subtable_with_offsets:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r8, .L16
	mov	r6, r0
	ldr	r7, [r8]
	mov	r4, #0
	cmp	r7, #0
	ldr	r9, .L16+4
	ble	.L2
	ldr	r5, [r9]
	b	.L4
.L14:
	add	r4, r4, #1
	cmp	r7, r4
	add	r5, r5, #64
	beq	.L13
.L4:
	mov	r2, #64
	mov	r1, r6
	mov	r0, r5
	bl	memcmp
	cmp	r0, #0
	bne	.L14
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L13:
	cmp	r4, #4096
	movlt	r4, r7
	bge	.L15
.L2:
	ldr	r0, [r9]
	mov	r1, r6
	mov	r2, #64
	add	r0, r0, r7, lsl #6
	bl	memcpy
	ldr	r3, [r8]
	mov	r0, r4
	add	r3, r3, #1
	str	r3, [r8]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L15:
	mov	r4, #0
	ldr	r0, .L16+8
	bl	printf
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L17:
	.align	2
.L16:
	.word	number_of_subtables_with_offsets
	.word	subtables_with_offsets
	.word	.LC0
	.size	find_subtable_with_offsets, .-find_subtable_with_offsets
	.comm	subtables_with_offsets,4,4
	.comm	number_of_subtables_with_offsets,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
