	.file	"extr_ex.c_ex_load.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ex_load, @function
ex_load:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	esi, DWORD PTR SC_EX_GLOBAL[rip]
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	F_CLR@PLT
	mov	rbx, QWORD PTR 8[r14]
	lea	r13, 8[rbx]
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edi, DWORD PTR [rbx]
	mov	esi, DWORD PTR q[rip]
	call	SLIST_REMOVE_HEAD@PLT
	mov	rdi, r12
	call	free@PLT
.L15:
	mov	edi, DWORD PTR [rbx]
	call	SLIST_FIRST@PLT
	mov	esi, DWORD PTR E_NAMEDISCARD[rip]
	mov	rdi, rax
	mov	r12, rax
	call	F_ISSET@PLT
	test	rax, rax
	jne	.L28
	cmp	r13, r12
	je	.L29
.L3:
	cmp	QWORD PTR [r12], 0
	jne	.L26
	mov	edi, DWORD PTR 56[r12]
	mov	esi, DWORD PTR AGV_ALL[rip]
	call	FL_ISSET@PLT
	test	rax, rax
	je	.L7
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rax, QWORD PTR 16[rbp]
	cmp	QWORD PTR 8[rbp], rax
	jle	.L8
	mov	edi, DWORD PTR 60[r12]
	mov	edx, DWORD PTR q[rip]
	mov	rsi, rbp
	call	TAILQ_REMOVE@PLT
	mov	rdi, rbp
	call	free@PLT
.L6:
	mov	edi, DWORD PTR 60[r12]
	call	TAILQ_FIRST@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L9
	mov	edi, DWORD PTR 56[r12]
	mov	esi, DWORD PTR AGV_GLOBAL[rip]
	or	esi, DWORD PTR AGV_V[rip]
	call	FL_ISSET@PLT
	test	rax, rax
	je	.L12
	mov	rsi, QWORD PTR 24[r12]
	cmp	rsi, QWORD PTR OOBLNO[rip]
	je	.L12
	mov	rdi, r14
	call	db_exist@PLT
	test	rax, rax
	je	.L13
	mov	rax, QWORD PTR 24[r12]
	mov	QWORD PTR [r14], rax
.L12:
	mov	rdi, QWORD PTR 40[r12]
	call	free@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L28:
	mov	rdi, QWORD PTR 64[r12]
	call	free@PLT
	cmp	r13, r12
	jne	.L3
.L29:
	mov	QWORD PTR 64[r13], 0
	xor	eax, eax
	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
.L13:
	.cfi_restore_state
	mov	rsi, r14
	mov	rdi, r14
	call	db_last@PLT
	test	rax, rax
	jne	.L19
	cmp	QWORD PTR [r14], 0
	jne	.L12
	mov	QWORD PTR [r14], 1
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdi, QWORD PTR 40[r12]
	mov	rdx, QWORD PTR 48[r12]
	mov	QWORD PTR 32[r12], rdi
	lea	rsi, [rdi+rdx]
	call	MEMCPY@PLT
	mov	rax, QWORD PTR 48[r12]
	mov	edi, DWORD PTR 56[r12]
	mov	esi, DWORD PTR AGV_GLOBAL[rip]
	or	esi, DWORD PTR AGV_V[rip]
	mov	QWORD PTR [r12], rax
	mov	rax, QWORD PTR 8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR 8[rbp], rdx
	mov	QWORD PTR [r14], rax
	mov	QWORD PTR 24[r12], rax
	call	FL_ISSET@PLT
	test	rax, rax
	je	.L26
	mov	esi, DWORD PTR SC_EX_GLOBAL[rip]
	mov	rdi, r14
	call	F_SET@PLT
.L26:
	xor	eax, eax
.L1:
	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
.L19:
	.cfi_restore_state
	mov	eax, 1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ex_load, .-ex_load
	.comm	q,4,4
	.comm	SC_EX_GLOBAL,4,4
	.comm	OOBLNO,8,8
	.comm	E_NAMEDISCARD,4,4
	.comm	AGV_V,4,4
	.comm	AGV_GLOBAL,4,4
	.comm	AGV_ALL,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_ex.c_ex_load.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ex_load, %function
ex_load:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	ldr	r3, .L30
	sub	sp, sp, #12
	ldr	r1, [r3]
	str	r0, [sp, #4]
	bl	F_CLR
	ldr	r7, [r4, #4]
	ldr	r9, .L30+4
	ldr	r10, .L30+8
	ldr	r5, .L30+12
	add	r8, r7, #4
	b	.L15
.L7:
	ldr	r1, [r5]
	ldr	r0, [r7]
	bl	SLIST_REMOVE_HEAD
	mov	r0, r4
	bl	free
.L15:
	ldr	r0, [r7]
	bl	SLIST_FIRST
	ldr	r1, [r9]
	mov	r4, r0
	bl	F_ISSET
	cmp	r0, #0
	bne	.L27
	cmp	r8, r4
	beq	.L28
.L3:
	ldr	r6, [r4]
	cmp	r6, #0
	bne	.L17
	ldr	r1, [r10]
	ldr	r0, [r4, #28]
	bl	FL_ISSET
	cmp	r0, #0
	beq	.L7
	ldr	r0, [r4, #32]
	bl	TAILQ_FIRST
	subs	fp, r0, #0
	beq	.L29
.L9:
	ldmib	fp, {r2, r3}
	cmp	r2, r3
	ble	.L8
	mov	r1, fp
	ldr	r2, [r5]
	ldr	r0, [r4, #32]
	bl	TAILQ_REMOVE
	mov	r0, fp
	bl	free
	ldr	r0, [r4, #32]
	bl	TAILQ_FIRST
	subs	fp, r0, #0
	bne	.L9
.L29:
	ldr	r3, .L30+16
	ldr	r0, [r4, #28]
	ldr	r1, [r3]
	ldr	r3, .L30+20
	ldr	r3, [r3]
	orr	r1, r1, r3
	bl	FL_ISSET
	cmp	r0, #0
	beq	.L12
	ldr	r3, .L30+24
	ldr	r1, [r4, #12]
	ldr	r3, [r3]
	cmp	r1, r3
	beq	.L12
	ldr	r6, [sp, #4]
	mov	r0, r6
	bl	db_exist
	cmp	r0, #0
	beq	.L13
	ldr	r3, [r4, #12]
	str	r3, [r6]
.L12:
	ldr	r0, [r4, #20]
	bl	free
	b	.L7
.L27:
	ldr	r0, [r4, #36]
	bl	free
	cmp	r8, r4
	bne	.L3
.L28:
	mov	r6, #0
	mov	r0, r6
	str	r6, [r8, #36]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	ldr	r6, [sp, #4]
	mov	r1, r6
	mov	r0, r6
	bl	db_last
	cmp	r0, #0
	bne	.L19
	ldr	r3, [r6]
	cmp	r3, #0
	moveq	r3, #1
	streq	r3, [r6]
	b	.L12
.L17:
	mov	r6, #0
.L1:
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
	ldr	r0, [r4, #20]
	ldr	r2, [r4, #24]
	str	r0, [r4, #16]
	add	r1, r0, r2
	bl	MEMCPY
	ldr	r0, .L30+16
	ldr	r1, .L30+20
	ldr	r2, [fp, #4]
	ldr	ip, [r0]
	ldr	lr, [r4, #24]
	ldr	r1, [r1]
	ldr	r3, [sp, #4]
	add	r0, r2, #1
	str	lr, [r4]
	orr	r1, ip, r1
	str	r0, [fp, #4]
	ldr	r0, [r4, #28]
	str	r2, [r3]
	str	r2, [r4, #12]
	bl	FL_ISSET
	cmp	r0, #0
	beq	.L17
	ldr	r3, .L30
	ldr	r0, [sp, #4]
	ldr	r1, [r3]
	bl	F_SET
	b	.L1
.L19:
	mov	r6, #1
	b	.L1
.L31:
	.align	2
.L30:
	.word	SC_EX_GLOBAL
	.word	E_NAMEDISCARD
	.word	AGV_ALL
	.word	q
	.word	AGV_GLOBAL
	.word	AGV_V
	.word	OOBLNO
	.size	ex_load, .-ex_load
	.comm	q,4,4
	.comm	SC_EX_GLOBAL,4,4
	.comm	OOBLNO,4,4
	.comm	E_NAMEDISCARD,4,4
	.comm	AGV_V,4,4
	.comm	AGV_GLOBAL,4,4
	.comm	AGV_ALL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
