	.file	"extr_dlltool.c_scan_drectve_symbols.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Sucking in info from %s section in %s"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"-export:"
.LC2:
	.string	"data"
	.text
	.p2align 4
	.type	scan_drectve_symbols, @function
scan_drectve_symbols:
.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
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	esi, DWORD PTR DRECTVE_SECTION_NAME[rip]
	call	bfd_get_section_by_name@PLT
	test	rax, rax
	je	.L1
	mov	rdi, rax
	mov	r14, rax
	call	bfd_get_section_size@PLT
	movsx	rbp, eax
	mov	edi, ebp
	call	xmalloc@PLT
	mov	r8d, ebp
	mov	rsi, r14
	xor	ecx, ecx
	mov	rdx, rax
	mov	rdi, r13
	mov	r12, rax
	call	bfd_get_section_contents@PLT
	mov	rdi, r13
	add	rbp, r12
	mov	rbx, r12
	call	bfd_get_filename@PLT
	mov	r14d, DWORD PTR DRECTVE_SECTION_NAME[rip]
	lea	rdi, .LC0[rip]
	mov	r13d, eax
	call	_@PLT
	mov	edx, r13d
	mov	esi, r14d
	mov	edi, eax
	call	inform@PLT
	cmp	r12, rbp
	jb	.L3
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L4:
	add	rbx, 1
.L20:
	cmp	rbx, rbp
	jnb	.L11
.L3:
	cmp	BYTE PTR [rbx], 45
	jne	.L4
	lea	rsi, .LC1[rip]
	mov	rdi, rbx
	call	CONST_STRNEQ@PLT
	test	rax, rax
	je	.L4
	lea	rsi, 8[rbx]
	mov	r13d, DWORD PTR BSF_FUNCTION[rip]
	xor	edx, edx
	xor	r15d, r15d
	mov	rbx, rsi
	mov	edi, 1
	cmp	rbp, rsi
	ja	.L5
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L45:
	cmp	al, 32
	je	.L25
	add	rbx, 1
	cmp	rbp, rbx
	je	.L44
.L5:
	movzx	eax, BYTE PTR [rbx]
	lea	edx, -44[rax]
	cmp	dl, 1
	ja	.L45
.L25:
	mov	r15, rbx
	mov	QWORD PTR [rsp], rsi
	sub	r15, rsi
	lea	edi, 1[r15]
	call	xmalloc@PLT
	mov	rsi, QWORD PTR [rsp]
	mov	edx, r15d
	mov	r14, rax
	mov	rdi, rax
	call	memcpy@PLT
	mov	BYTE PTR [r14+r15], 0
	cmp	rbp, rbx
	jbe	.L46
	cmp	BYTE PTR [rbx], 44
	je	.L12
	xor	r9d, r9d
	test	DWORD PTR BSF_FUNCTION[rip], r13d
	mov	rdi, r14
	mov	edx, -1
	sete	r9b
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	xor	r8d, r8d
	xor	ecx, ecx
	push	0
	.cfi_def_cfa_offset 96
	xor	esi, esi
	call	def_exports@PLT
	cmp	QWORD PTR add_stdcall_alias[rip], 0
	pop	rdi
	.cfi_def_cfa_offset 88
	pop	r8
	.cfi_def_cfa_offset 80
	je	.L3
.L10:
	mov	esi, 64
	mov	rdi, r14
	call	strchr@PLT
	test	rax, rax
	je	.L20
	xor	edi, edi
	cmp	BYTE PTR [r14], 64
	sete	dil
	add	rdi, r14
	call	xstrdup@PLT
	mov	esi, 64
	mov	rdi, rax
	mov	r13, rax
	call	strchr@PLT
	mov	rdi, r14
	mov	BYTE PTR [rax], 0
	call	xstrdup@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	edx, -1
	xor	ecx, ecx
	push	0
	.cfi_def_cfa_offset 96
	mov	rsi, rax
	xor	r9d, r9d
	xor	r8d, r8d
	mov	rdi, r13
	call	def_exports@PLT
	pop	rax
	.cfi_def_cfa_offset 88
	pop	rdx
	.cfi_def_cfa_offset 80
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L46:
	xor	r9d, r9d
	test	DWORD PTR BSF_FUNCTION[rip], r13d
	mov	edx, -1
	mov	rdi, r14
	sete	r9b
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	xor	r8d, r8d
	xor	ecx, ecx
	push	0
	.cfi_def_cfa_offset 96
	xor	esi, esi
	call	def_exports@PLT
	cmp	QWORD PTR add_stdcall_alias[rip], 0
	pop	r9
	.cfi_def_cfa_offset 88
	pop	r10
	.cfi_def_cfa_offset 80
	jne	.L10
.L11:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, r12
	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
	jmp	free@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
	.p2align 4,,10
	.p2align 3
.L44:
	.cfi_restore_state
	mov	r15, rbp
	mov	rbx, rbp
	sub	r15, rsi
	lea	edi, 1[r15]
	mov	edx, r15d
.L6:
	mov	DWORD PTR 12[rsp], edx
	mov	QWORD PTR [rsp], rsi
	call	xmalloc@PLT
	mov	edx, DWORD PTR 12[rsp]
	mov	rsi, QWORD PTR [rsp]
	mov	r14, rax
	mov	rdi, rax
	call	memcpy@PLT
	mov	BYTE PTR [r14+r15], 0
	mov	eax, DWORD PTR BSF_FUNCTION[rip]
.L19:
	xor	r9d, r9d
	test	r13d, eax
	mov	edx, -1
	mov	rdi, r14
	sete	r9b
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	xor	ecx, ecx
	xor	esi, esi
	push	0
	.cfi_def_cfa_offset 96
	xor	r8d, r8d
	call	def_exports@PLT
	cmp	QWORD PTR add_stdcall_alias[rip], 0
	pop	rcx
	.cfi_def_cfa_offset 88
	pop	rsi
	.cfi_def_cfa_offset 80
	je	.L20
	jmp	.L10
.L12:
	lea	rdi, 1[rbx]
	mov	rbx, rdi
	cmp	rbp, rdi
	ja	.L14
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L47:
	cmp	al, 32
	je	.L15
	add	rbx, 1
	cmp	rbp, rbx
	je	.L24
.L14:
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 45
	jne	.L47
.L15:
	lea	rsi, .LC2[rip]
	call	CONST_STRNEQ@PLT
	test	rax, rax
	mov	eax, DWORD PTR BSF_FUNCTION[rip]
	je	.L19
	mov	edx, eax
	not	edx
	and	r13d, edx
	jmp	.L19
.L24:
	mov	rbx, rbp
	jmp	.L15
	.cfi_endproc
.LFE0:
	.size	scan_drectve_symbols, .-scan_drectve_symbols
	.comm	add_stdcall_alias,8,8
	.comm	DRECTVE_SECTION_NAME,4,4
	.comm	BSF_FUNCTION,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_dlltool.c_scan_drectve_symbols.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Sucking in info from %s section in %s\000"
	.align	2
.LC1:
	.ascii	"-export:\000"
	.align	2
.LC2:
	.ascii	"data\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	scan_drectve_symbols, %function
scan_drectve_symbols:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r8, .L39
	sub	sp, sp, #36
	ldr	r1, [r8]
	mov	r6, r0
	bl	bfd_get_section_by_name
	subs	r4, r0, #0
	beq	.L1
	bl	bfd_get_section_size
	mov	r5, r0
	bl	xmalloc
	mov	r1, r4
	mov	r2, r0
	mov	r3, #0
	mov	r7, r0
	str	r5, [sp]
	mov	r0, r6
	bl	bfd_get_section_contents
	ldr	r0, .L39+4
	bl	_
	mov	r4, r0
	mov	r0, r6
	ldr	r8, [r8]
	bl	bfd_get_filename
	add	r5, r7, r5
	mov	r2, r0
	mov	r1, r8
	mov	r0, r4
	bl	inform
	cmp	r7, r5
	bcs	.L11
	mov	r4, r7
	ldr	r9, .L39+8
	ldr	r10, .L39+12
	ldr	fp, .L39+16
	b	.L3
.L4:
	add	r4, r4, #1
.L19:
	cmp	r4, r5
	bcs	.L11
.L3:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L4
	mov	r1, r9
	mov	r0, r4
	bl	CONST_STRNEQ
	cmp	r0, #0
	beq	.L4
	add	r1, r4, #8
	cmp	r5, r1
	movls	r6, #0
	ldr	r3, [r10]
	movls	r4, r1
	movls	r2, r6
	movls	r0, #1
	str	r3, [sp, #16]
	bls	.L6
	mov	r3, r1
	b	.L7
.L8:
	cmp	r5, r3
	mov	r4, r3
	beq	.L37
.L7:
	ldrb	r6, [r3]	@ zero_extendqisi2
	mov	r4, r3
	sub	r3, r6, #44
	cmp	r6, #32
	cmpne	r3, #1
	add	r3, r4, #1
	movhi	r6, #1
	movls	r6, #0
	bhi	.L8
	sub	r2, r4, r1
	add	r0, r2, #1
	str	r3, [sp, #28]
	str	r1, [sp, #24]
	str	r2, [sp, #20]
	bl	xmalloc
	mov	r8, r0
	ldr	r2, [sp, #20]
	ldr	r1, [sp, #24]
	bl	memcpy
	ldr	r2, [sp, #20]
	cmp	r5, r4
	ldr	r3, [sp, #28]
	strb	r6, [r8, r2]
	bls	.L38
	ldrb	r2, [r4]	@ zero_extendqisi2
	cmp	r2, #44
	beq	.L12
	ldr	r3, [r10]
	ldr	r2, [sp, #16]
	mov	r1, r6
	tst	r2, r3
	moveq	r3, #1
	movne	r3, #0
	mvn	r2, #0
	str	r3, [sp, #4]
	mov	r0, r8
	mov	r3, r6
	str	r6, [sp, #8]
	str	r6, [sp]
	bl	def_exports
	ldr	r3, [fp]
	cmp	r3, #0
	beq	.L3
.L10:
	mov	r1, #64
	mov	r0, r8
	bl	strchr
	cmp	r0, #0
	beq	.L19
	ldrb	r0, [r8]	@ zero_extendqisi2
	cmp	r0, #64
	movne	r0, r8
	addeq	r0, r8, #1
	bl	xstrdup
	mov	r1, #64
	mov	r6, r0
	bl	strchr
	mov	r2, #0
	mov	r3, r0
	mov	r0, r8
	strb	r2, [r3]
	bl	xstrdup
	mov	r3, #0
	mov	r1, r0
	mvn	r2, #0
	mov	r0, r6
	str	r3, [sp, #8]
	str	r3, [sp, #4]
	str	r3, [sp]
	bl	def_exports
	b	.L19
.L38:
	ldr	r3, [r10]
	ldr	r2, [sp, #16]
	mov	r1, r6
	tst	r2, r3
	moveq	r3, #1
	movne	r3, #0
	mvn	r2, #0
	str	r3, [sp, #4]
	mov	r0, r8
	mov	r3, r6
	str	r6, [sp, #8]
	str	r6, [sp]
	bl	def_exports
	ldr	r3, [fp]
	cmp	r3, #0
	bne	.L10
.L11:
	mov	r0, r7
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	free
.L1:
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L37:
	sub	r2, r5, r1
	mov	r6, r2
	add	r0, r2, #1
.L6:
	str	r2, [sp, #24]
	str	r1, [sp, #20]
	bl	xmalloc
	ldr	r2, [sp, #24]
	ldr	r1, [sp, #20]
	mov	r8, r0
	bl	memcpy
	mov	r3, #0
	strb	r3, [r8, r6]
	ldr	r3, [r10]
.L18:
	ldr	r2, [sp, #16]
	mov	r0, r8
	tst	r2, r3
	mov	r3, #0
	moveq	r2, #1
	movne	r2, #0
	mov	r1, r3
	str	r3, [sp, #8]
	stm	sp, {r1, r2}
	mvn	r2, #0
	bl	def_exports
	ldr	r3, [fp]
	cmp	r3, #0
	beq	.L19
	b	.L10
.L12:
	cmp	r5, r3
	bls	.L21
	mov	r2, r3
	b	.L15
.L16:
	cmp	r5, r2
	mov	r4, r2
	beq	.L14
.L15:
	mov	r4, r2
	ldrb	r1, [r2], #1	@ zero_extendqisi2
	cmp	r1, #32
	cmpne	r1, #45
	bne	.L16
.L14:
	mov	r0, r3
	ldr	r1, .L39+20
	bl	CONST_STRNEQ
	cmp	r0, #0
	ldrne	r2, [sp, #16]
	ldr	r3, [r10]
	bicne	r2, r2, r3
	strne	r2, [sp, #16]
	b	.L18
.L21:
	mov	r4, r3
	b	.L14
.L40:
	.align	2
.L39:
	.word	DRECTVE_SECTION_NAME
	.word	.LC0
	.word	.LC1
	.word	BSF_FUNCTION
	.word	add_stdcall_alias
	.word	.LC2
	.size	scan_drectve_symbols, .-scan_drectve_symbols
	.comm	add_stdcall_alias,4,4
	.comm	DRECTVE_SECTION_NAME,4,4
	.comm	BSF_FUNCTION,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
