	.file	"extr_ModuleLoader.c_register_module_func.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	register_module_func
	.type	register_module_func, @function
register_module_func:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	rax, QWORD PTR g_moddef_num[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, edx
	mov	rdx, QWORD PTR g_moddef[rip]
	lea	r13, 0[0+rbx*8]
	mov	rdi, QWORD PTR [rdx+rbx*8]
	mov	rdx, QWORD PTR g_moddef_capacity[rip]
	add	rax, r13
	mov	rsi, QWORD PTR [rax]
	cmp	rsi, QWORD PTR [rdx+rbx*8]
	je	.L8
.L2:
	lea	rdx, 1[rsi]
	sal	rsi, 4
	add	rsi, rdi
	mov	QWORD PTR [rax], rdx
	mov	QWORD PTR [rsi], r12
	mov	QWORD PTR 8[rsi], rbp
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L8:
	.cfi_restore_state
	test	rsi, rsi
	jne	.L9
	mov	esi, 256
	mov	r14d, 16
.L3:
	call	realloc@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L10
.L4:
	mov	rax, QWORD PTR g_moddef[rip]
	mov	QWORD PTR [rax+rbx*8], rdi
	mov	rax, QWORD PTR g_moddef_capacity[rip]
	mov	QWORD PTR [rax+rbx*8], r14
	mov	rax, QWORD PTR g_moddef_num[rip]
	add	rax, r13
	mov	rsi, QWORD PTR [rax]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L9:
	lea	r14, [rsi+rsi]
	sal	rsi, 5
	jmp	.L3
.L10:
	mov	eax, 3735928495
	mov	BYTE PTR [rax], 0
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	register_module_func, .-register_module_func
	.comm	g_moddef_num,8,8
	.comm	g_moddef_capacity,8,8
	.comm	g_moddef,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_ModuleLoader.c_register_module_func.c"
	.text
	.align	2
	.global	register_module_func
	.syntax unified
	.arm
	.fpu softvfp
	.type	register_module_func, %function
register_module_func:
	@ 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	r4, r2
	ldr	r7, .L8
	ldr	r8, .L8+4
	ldr	r2, [r7]
	ldr	ip, [r8]
	ldr	r9, .L8+8
	ldr	r3, [r2, r4, lsl #2]
	ldr	lr, [ip, r4, lsl #2]
	ldr	ip, [r9]
	cmp	r3, lr
	mov	r6, r0
	mov	r5, r1
	ldr	r0, [ip, r4, lsl #2]
	add	r2, r2, r4, lsl #2
	bne	.L2
	cmp	r3, #0
	lslne	r1, r3, #4
	moveq	r1, #128
	lslne	fp, r3, #1
	moveq	fp, #16
	bl	realloc
	cmp	r0, #0
	ldreq	r3, .L8+12
	lsl	r10, r4, #2
	strbeq	r0, [r3, #-80]
	ldr	r3, [r8]
	ldr	r1, [r9]
	ldr	r2, [r7]
	str	r0, [r1, r4, lsl #2]
	str	fp, [r3, r4, lsl #2]
	ldr	r3, [r2, r4, lsl #2]
	add	r2, r2, r10
.L2:
	add	ip, r3, #1
	add	r1, r0, r3, lsl #3
	str	ip, [r2]
	str	r6, [r0, r3, lsl #3]
	str	r5, [r1, #4]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L9:
	.align	2
.L8:
	.word	g_moddef_num
	.word	g_moddef_capacity
	.word	g_moddef
	.word	-559038721
	.size	register_module_func, .-register_module_func
	.comm	g_moddef_num,4,4
	.comm	g_moddef_capacity,4,4
	.comm	g_moddef,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
