	.file	"extr_module.c_rdbSaveModulesAux.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	rdbSaveModulesAux
	.type	rdbSaveModulesAux, @function
rdbSaveModulesAux:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR modules[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	rbx, 4[rsp]
	call	dictGetIterator@PLT
	mov	r14, rax
.L2:
	mov	rdi, r14
	call	dictNext@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L15
.L8:
	call	dictGetVal@PLT
	mov	rsi, rbx
	mov	edi, DWORD PTR [rax]
	call	listRewind@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, rbx
	call	listNext@PLT
	test	rax, rax
	je	.L2
.L7:
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR 4[rdx]
	test	eax, eax
	je	.L3
	test	DWORD PTR [rdx], ebp
	je	.L3
	mov	esi, ebp
	mov	rdi, r13
	call	rdbSaveSingleModuleAux@PLT
	movsx	r15, eax
	cmp	r15d, -1
	je	.L16
	mov	rdi, rbx
	add	r12, r15
	call	listNext@PLT
	test	rax, rax
	jne	.L7
	mov	rdi, r14
	call	dictNext@PLT
	mov	rdi, rax
	test	rax, rax
	jne	.L8
.L15:
	mov	rdi, r14
	mov	r15d, r12d
	call	dictReleaseIterator@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rdi, r14
	call	dictReleaseIterator@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L17
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r15d
	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
.L17:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	rdbSaveModulesAux, .-rdbSaveModulesAux
	.comm	modules,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_module.c_rdbSaveModulesAux.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	rdbSaveModulesAux
	.syntax unified
	.arm
	.fpu softvfp
	.type	rdbSaveModulesAux, %function
rdbSaveModulesAux:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L21
	mov	r6, r0
	ldr	r0, [r3]
	ldr	r3, .L21+4
	sub	sp, sp, #8
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	dictGetIterator
	mov	r5, #0
	mov	r7, r0
.L2:
	mov	r0, r7
	bl	dictNext
	cmp	r0, #0
	beq	.L18
.L8:
	bl	dictGetVal
	mov	r1, sp
	ldr	r0, [r0]
	bl	listRewind
.L3:
	mov	r0, sp
	bl	listNext
	cmp	r0, #0
	beq	.L2
.L7:
	ldr	r2, [r0]
	ldr	r3, [r2, #4]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [r2]
	tst	r4, r3
	beq	.L3
	mov	r1, r4
	mov	r0, r6
	bl	rdbSaveSingleModuleAux
	cmn	r0, #1
	mov	r8, r0
	beq	.L19
	add	r5, r5, r0
	mov	r0, sp
	bl	listNext
	cmp	r0, #0
	bne	.L7
	mov	r0, r7
	bl	dictNext
	cmp	r0, #0
	bne	.L8
.L18:
	mov	r0, r7
	bl	dictReleaseIterator
	mov	r8, r5
	b	.L1
.L19:
	mov	r0, r7
	bl	dictReleaseIterator
.L1:
	ldr	r3, .L21+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	mov	r0, r8
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L20:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	modules
	.word	.LC0
	.size	rdbSaveModulesAux, .-rdbSaveModulesAux
	.comm	modules,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
