	.file	"extr_pe-dll.c_pep_process_import_defs.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"__imp_"
.LC2:
	.string	"%s%s"
.LC3:
	.string	""
.LC4:
	.string	"%s%s%s"
	.text
	.p2align 4
	.globl	pe_process_import_defs
	.type	pe_process_import_defs, @function
pe_process_import_defs:
.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
	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, 120
	.cfi_def_cfa_offset 176
	mov	QWORD PTR 32[rsp], rdi
	mov	QWORD PTR 8[rsp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 104[rsp], rax
	xor	eax, eax
	call	bfd_get_target@PLT
	mov	edi, eax
	call	pe_dll_id_target@PLT
	mov	rax, QWORD PTR pe_def_file[rip]
	test	rax, rax
	je	.L1
	mov	rbx, QWORD PTR 16[rax]
	test	rbx, rbx
	je	.L1
	lea	rax, 48[rsp]
	mov	QWORD PTR 40[rsp], rax
	.p2align 4,,10
	.p2align 3
.L18:
	mov	edi, DWORD PTR [rbx]
	mov	DWORD PTR dll_filename[rip], edi
	call	xstrdup@PLT
	mov	QWORD PTR dll_symname[rip], rax
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L3
	xor	ebp, ebp
	.p2align 4,,10
	.p2align 3
.L5:
	movsx	edi, al
	call	ISALNUM@PLT
	test	eax, eax
	jne	.L4
	mov	rax, QWORD PTR dll_symname[rip]
	mov	BYTE PTR [rax+rbp], 95
.L4:
	mov	rax, QWORD PTR dll_symname[rip]
	add	rbp, 1
	movzx	eax, BYTE PTR [rax+rbp]
	test	al, al
	jne	.L5
.L3:
	mov	rax, QWORD PTR pe_def_file[rip]
	mov	ecx, DWORD PTR [rax]
	test	ecx, ecx
	jle	.L17
	mov	DWORD PTR 20[rsp], 0
	xor	r15d, r15d
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L7:
	add	r15, 1
	cmp	DWORD PTR [rax], r15d
	jle	.L42
.L15:
	mov	rdx, QWORD PTR 8[rax]
	lea	r14, [r15+r15*4]
	lea	r12, 0[0+r14*8]
	add	rdx, r12
	cmp	QWORD PTR 32[rdx], rbx
	jne	.L7
	mov	rdi, QWORD PTR [rdx]
	movzx	r13d, BYTE PTR [rdi]
	call	strlen@PLT
	lea	rdi, 8[rax]
	call	xmalloc@PLT
	mov	rbp, rax
	mov	rax, QWORD PTR FALSE[rip]
	mov	QWORD PTR 24[rsp], rax
	mov	rax, QWORD PTR pe_def_file[rip]
	mov	rax, QWORD PTR 8[rax]
	cmp	r13b, 64
	je	.L43
	mov	r13, QWORD PTR [rax+r14*8]
	lea	rdi, .LC3[rip]
	call	U@PLT
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	mov	rdx, rax
	mov	rcx, r13
	xor	eax, eax
	call	sprintf@PLT
	mov	rax, QWORD PTR 8[rsp]
	mov	rdx, QWORD PTR FALSE[rip]
	mov	rsi, rbp
	mov	edi, DWORD PTR [rax]
	mov	r8, rdx
	mov	rcx, rdx
	call	bfd_link_hash_lookup@PLT
	mov	r13, rax
	test	rax, rax
	je	.L19
	mov	rax, QWORD PTR bfd_link_hash_undefined[rip]
	cmp	QWORD PTR 0[r13], rax
	je	.L20
.L19:
	mov	rax, QWORD PTR pe_def_file[rip]
	lea	rdi, .LC3[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	r13, QWORD PTR [rax+r14*8]
	call	U@PLT
	lea	rdx, .LC1[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	mov	rcx, rax
	mov	r8, r13
	xor	eax, eax
	call	sprintf@PLT
.L10:
	mov	rax, QWORD PTR 8[rsp]
	mov	rdx, QWORD PTR FALSE[rip]
	mov	rsi, rbp
	mov	edi, DWORD PTR [rax]
	mov	r8, rdx
	mov	rcx, rdx
	call	bfd_link_hash_lookup@PLT
	mov	rdi, rbp
	mov	r13, rax
	call	free@PLT
	test	r13, r13
	je	.L40
.L12:
	mov	rax, QWORD PTR pe_def_file[rip]
	mov	rsi, QWORD PTR bfd_link_hash_undefined[rip]
	cmp	QWORD PTR 0[r13], rsi
	jne	.L7
	mov	edx, DWORD PTR 20[rsp]
	test	edx, edx
	je	.L44
.L14:
	mov	ecx, 0
	mov	rsi, QWORD PTR 32[rsp]
	mov	rdi, QWORD PTR 40[rsp]
	mov	rax, QWORD PTR pe_def_file[rip]
	mov	r10, QWORD PTR 8[rax]
	add	r10, r12
	mov	rax, QWORD PTR [r10]
	mov	rdx, QWORD PTR 24[r10]
	mov	QWORD PTR 48[rsp], rax
	mov	rax, QWORD PTR 8[r10]
	mov	QWORD PTR 80[rsp], rdx
	test	rax, rax
	mov	QWORD PTR 56[rsp], rax
	mov	QWORD PTR 96[rsp], 0
	cmovs	rax, rcx
	test	rdx, rdx
	mov	QWORD PTR 88[rsp], 0
	sete	dl
	cmp	QWORD PTR 24[rsp], 0
	mov	QWORD PTR 64[rsp], rax
	mov	eax, DWORD PTR 16[r10]
	movzx	edx, dl
	setne	cl
	mov	DWORD PTR 72[rsp], edx
	xor	edx, edx
	test	eax, eax
	mov	DWORD PTR 76[rsp], eax
	sete	dl
	and	edx, ecx
	call	make_one@PLT
	mov	rdx, QWORD PTR 8[rsp]
	mov	esi, DWORD PTR [rax]
	mov	rdi, rax
	call	add_bfd_to_link@PLT
	mov	DWORD PTR 20[rsp], 1
.L40:
	mov	rax, QWORD PTR pe_def_file[rip]
	add	r15, 1
	cmp	DWORD PTR [rax], r15d
	jg	.L15
	.p2align 4,,10
	.p2align 3
.L42:
	mov	eax, DWORD PTR 20[rsp]
	test	eax, eax
	jne	.L45
.L17:
	mov	rdi, QWORD PTR dll_symname[rip]
	call	free@PLT
	mov	rbx, QWORD PTR 8[rbx]
	test	rbx, rbx
	jne	.L18
.L1:
	mov	rax, QWORD PTR 104[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L46
	add	rsp, 120
	.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
.L45:
	.cfi_restore_state
	mov	rdi, QWORD PTR 32[rsp]
	call	make_tail@PLT
	mov	rdx, QWORD PTR 8[rsp]
	mov	esi, DWORD PTR [rax]
	mov	rdi, rax
	call	add_bfd_to_link@PLT
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L43:
	mov	rdx, QWORD PTR [rax+r14*8]
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	sprintf@PLT
	mov	rax, QWORD PTR 8[rsp]
	mov	rdx, QWORD PTR FALSE[rip]
	mov	rsi, rbp
	mov	edi, DWORD PTR [rax]
	mov	r8, rdx
	mov	rcx, rdx
	call	bfd_link_hash_lookup@PLT
	mov	r13, rax
	test	rax, rax
	je	.L21
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR bfd_link_hash_undefined[rip], rax
	je	.L20
.L21:
	mov	rax, QWORD PTR pe_def_file[rip]
	lea	rdx, .LC1[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	mov	rax, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR [rax+r14*8]
	xor	eax, eax
	call	sprintf@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L20:
	mov	rax, QWORD PTR TRUE[rip]
	mov	rdi, rbp
	mov	QWORD PTR 24[rsp], rax
	call	free@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L44:
	mov	rdi, QWORD PTR 32[rsp]
	call	make_head@PLT
	mov	rdx, QWORD PTR 8[rsp]
	mov	esi, DWORD PTR [rax]
	mov	rdi, rax
	call	add_bfd_to_link@PLT
	jmp	.L14
.L46:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pe_process_import_defs, .-pe_process_import_defs
	.comm	pe_def_file,8,8
	.comm	dll_symname,8,8
	.comm	dll_filename,4,4
	.comm	bfd_link_hash_undefined,8,8
	.comm	TRUE,8,8
	.comm	FALSE,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_pe-dll.c_pep_process_import_defs.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s\000"
	.align	2
.LC1:
	.ascii	"__imp_\000"
	.align	2
.LC2:
	.ascii	"%s%s\000"
	.align	2
.LC3:
	.ascii	"\000"
	.align	2
.LC4:
	.ascii	"%s%s%s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	pe_process_import_defs
	.syntax unified
	.arm
	.fpu softvfp
	.type	pe_process_import_defs, %function
pe_process_import_defs:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L45
	sub	sp, sp, #76
	str	r1, [sp, #12]
	ldr	fp, .L45+4
	ldr	r3, [r3]
	str	r3, [sp, #68]
	mov	r3,#0
	str	r0, [sp, #28]
	bl	bfd_get_target
	bl	pe_dll_id_target
	ldr	r3, [fp]
	cmp	r3, #0
	beq	.L1
	ldr	r8, [r3, #8]
	cmp	r8, #0
	beq	.L1
	ldr	r9, .L45+8
	ldr	r10, .L45+12
.L18:
	ldr	r0, [r8]
	ldr	r3, .L45+16
	str	r0, [r3]
	bl	xstrdup
	str	r0, [r9]
	ldrb	r0, [r0]	@ zero_extendqisi2
	cmp	r0, #0
	beq	.L3
	mov	r4, #0
	mov	r5, #95
.L5:
	bl	ISALNUM
	cmp	r0, #0
	ldreq	r3, [r9]
	strbeq	r5, [r3, r4]
	ldr	r3, [r9]
	add	r4, r4, #1
	ldrb	r0, [r3, r4]	@ zero_extendqisi2
	cmp	r0, #0
	bne	.L5
.L3:
	ldr	r3, [fp]
	ldr	r2, [r3]
	cmp	r2, #0
	ble	.L17
	mov	r2, #0
	mov	r4, r2
	str	r2, [sp, #16]
	b	.L15
.L7:
	ldr	r3, [fp]
	add	r4, r4, #1
	ldr	r2, [r3]
	cmp	r2, r4
	ble	.L41
.L15:
	ldr	r3, [r3, #4]
	add	r5, r4, r4, lsl #2
	add	r2, r3, r5, lsl #2
	ldr	r2, [r2, #16]
	lsl	r7, r5, #2
	cmp	r2, r8
	bne	.L7
	ldr	r0, [r3, r5, lsl #2]
	ldrb	r6, [r0]	@ zero_extendqisi2
	bl	strlen
	add	r0, r0, #8
	bl	xmalloc
	ldr	r3, [r10]
	cmp	r6, #64
	str	r3, [sp, #24]
	mov	r6, r0
	beq	.L42
	ldr	r0, .L45+20
	bl	U
	ldr	r3, [fp]
	mov	r2, r0
	ldr	r3, [r3, #4]
	ldr	r1, .L45+24
	ldr	r3, [r3, r5, lsl #2]
	mov	r0, r6
	bl	sprintf
	ldr	r3, [r10]
	ldr	r0, [sp, #12]
	str	r3, [sp]
	mov	r2, r3
	mov	r1, r6
	ldr	r0, [r0]
	bl	bfd_link_hash_lookup
	subs	r3, r0, #0
	beq	.L19
	ldr	r2, .L45+28
	ldr	r1, [r2]
	ldr	r2, [r3]
	cmp	r1, r2
	beq	.L20
.L19:
	ldr	r0, .L45+20
	bl	U
	ldr	r2, [fp]
	mov	r3, r0
	ldr	r1, [r2, #4]
	ldr	r2, .L45+32
	ldr	r0, [r1, r5, lsl #2]
	ldr	r1, .L45+36
	str	r0, [sp]
	mov	r0, r6
	bl	sprintf
.L10:
	ldr	r3, [r10]
	ldr	r0, [sp, #12]
	str	r3, [sp]
	mov	r2, r3
	mov	r1, r6
	ldr	r0, [r0]
	bl	bfd_link_hash_lookup
	str	r0, [sp, #20]
	mov	r0, r6
	bl	free
	ldr	r3, [sp, #20]
	cmp	r3, #0
	beq	.L7
.L12:
	ldr	r2, [r3]
	ldr	r3, .L45+28
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L7
	ldr	r3, [sp, #16]
	cmp	r3, #0
	beq	.L43
.L14:
	ldr	r3, [fp]
	mov	ip, #0
	ldr	r6, [r3, #4]
	add	r7, r6, r7
	ldr	lr, [r7, #8]
	ldr	r1, [r7, #12]
	clz	r2, lr
	clz	r3, r1
	ldr	r5, [r6, r5, lsl #2]
	ldr	r6, [sp, #24]
	ldr	r0, [r7, #4]
	cmp	r6, ip
	lsr	r3, r3, #5
	lsr	r2, r2, #5
	str	lr, [sp, #52]
	moveq	r2, ip
	bic	lr, r0, r0, asr #31
	str	r1, [sp, #56]
	str	r0, [sp, #40]
	ldr	r1, [sp, #28]
	add	r0, sp, #36
	str	r3, [sp, #48]
	str	lr, [sp, #44]
	str	ip, [sp, #64]
	str	ip, [sp, #60]
	str	r5, [sp, #36]
	bl	make_one
	ldr	r2, [sp, #12]
	ldr	r1, [r0]
	bl	add_bfd_to_link
	mov	r3, #1
	str	r3, [sp, #16]
	b	.L7
.L41:
	ldr	r3, [sp, #16]
	cmp	r3, #0
	beq	.L17
	ldr	r0, [sp, #28]
	bl	make_tail
	ldr	r2, [sp, #12]
	ldr	r1, [r0]
	bl	add_bfd_to_link
.L17:
	ldr	r0, [r9]
	bl	free
	ldr	r8, [r8, #4]
	cmp	r8, #0
	bne	.L18
.L1:
	ldr	r3, .L45
	ldr	r2, [r3]
	ldr	r3, [sp, #68]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L44
	add	sp, sp, #76
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L42:
	ldr	r3, [fp]
	ldr	r1, .L45+40
	ldr	r3, [r3, #4]
	ldr	r2, [r3, r5, lsl #2]
	bl	sprintf
	ldr	r3, [r10]
	ldr	r0, [sp, #12]
	str	r3, [sp]
	mov	r2, r3
	mov	r1, r6
	ldr	r0, [r0]
	bl	bfd_link_hash_lookup
	subs	r3, r0, #0
	beq	.L21
	ldr	r2, .L45+28
	ldr	r1, [r2]
	ldr	r2, [r3]
	cmp	r1, r2
	beq	.L20
.L21:
	ldr	r3, [fp]
	mov	r0, r6
	ldr	r3, [r3, #4]
	ldr	r2, .L45+32
	ldr	r1, .L45+24
	ldr	r3, [r3, r5, lsl #2]
	bl	sprintf
	b	.L10
.L20:
	str	r3, [sp, #20]
	ldr	r3, .L45+44
	mov	r0, r6
	ldr	r3, [r3]
	str	r3, [sp, #24]
	bl	free
	ldr	r3, [sp, #20]
	b	.L12
.L43:
	ldr	r0, [sp, #28]
	bl	make_head
	ldr	r2, [sp, #12]
	ldr	r1, [r0]
	bl	add_bfd_to_link
	b	.L14
.L44:
	bl	__stack_chk_fail
.L46:
	.align	2
.L45:
	.word	.LC5
	.word	pe_def_file
	.word	dll_symname
	.word	FALSE
	.word	dll_filename
	.word	.LC3
	.word	.LC2
	.word	bfd_link_hash_undefined
	.word	.LC1
	.word	.LC4
	.word	.LC0
	.word	TRUE
	.size	pe_process_import_defs, .-pe_process_import_defs
	.comm	pe_def_file,4,4
	.comm	dll_symname,4,4
	.comm	dll_filename,4,4
	.comm	bfd_link_hash_undefined,4,4
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
