	.file	"extr_pe-dll.c_make_head.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"d%06d.o"
.LC1:
	.string	".idata$2"
.LC2:
	.string	".idata$5"
.LC3:
	.string	".idata$4"
.LC4:
	.string	"_head_"
.LC5:
	.string	""
.LC6:
	.string	"_iname"
	.text
	.p2align 4
	.type	make_head, @function
make_head:
.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
	mov	r12, rdi
	mov	edi, 20
	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
	call	xmalloc@PLT
	mov	edx, DWORD PTR tmp_seq[rip]
	lea	rsi, .LC0[rip]
	mov	rbp, rax
	mov	rdi, rax
	call	sprintf@PLT
	mov	rsi, r12
	mov	rdi, rbp
	add	DWORD PTR tmp_seq[rip], 1
	call	bfd_create@PLT
	mov	r12, rax
	mov	rax, QWORD PTR pe_details[rip]
	mov	rsi, r12
	mov	edi, DWORD PTR 4[rax]
	call	bfd_find_target@PLT
	mov	rdi, r12
	call	bfd_make_writable@PLT
	mov	esi, DWORD PTR bfd_object[rip]
	mov	rdi, r12
	call	bfd_set_format@PLT
	mov	rax, QWORD PTR pe_details[rip]
	xor	edx, edx
	mov	rdi, r12
	mov	esi, DWORD PTR [rax]
	call	bfd_set_arch_mach@PLT
	mov	edi, 48
	mov	QWORD PTR symptr[rip], 0
	call	xmalloc@PLT
	mov	edx, DWORD PTR SEC_HAS_CONTENTS[rip]
	mov	rdi, r12
	mov	ecx, 2
	lea	rsi, .LC1[rip]
	mov	QWORD PTR symtab[rip], rax
	call	quick_section@PLT
	mov	edx, DWORD PTR SEC_HAS_CONTENTS[rip]
	mov	rdi, r12
	mov	ecx, 2
	lea	rsi, .LC2[rip]
	mov	rbp, rax
	call	quick_section@PLT
	mov	edx, DWORD PTR SEC_HAS_CONTENTS[rip]
	mov	ecx, 2
	mov	rdi, r12
	lea	rsi, .LC3[rip]
	mov	r15, rax
	call	quick_section@PLT
	lea	rdi, .LC4[rip]
	mov	ebx, DWORD PTR BSF_GLOBAL[rip]
	mov	r13d, DWORD PTR dll_symname[rip]
	mov	r14, rax
	call	U@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	r8, rbp
	mov	edx, r13d
	push	0
	.cfi_def_cfa_offset 96
	mov	esi, eax
	mov	r9d, ebx
	lea	rcx, .LC5[rip]
	mov	rdi, r12
	call	quick_symbol@PLT
	mov	r9d, DWORD PTR BSF_GLOBAL[rip]
	mov	rbx, QWORD PTR UNDSEC[rip]
	lea	rdi, .LC5[rip]
	mov	r13d, DWORD PTR dll_symname[rip]
	mov	DWORD PTR 24[rsp], r9d
	call	U@PLT
	mov	r9d, DWORD PTR 24[rsp]
	mov	r8, rbx
	mov	edx, r13d
	lea	rcx, .LC6[rip]
	mov	rdi, r12
	mov	esi, eax
	mov	DWORD PTR [rsp], 0
	call	quick_symbol@PLT
	mov	rsi, rbp
	mov	edx, 20
	mov	rdi, r12
	call	bfd_set_section_size@PLT
	mov	edi, 20
	call	xmalloc@PLT
	xor	esi, esi
	mov	edx, 20
	mov	QWORD PTR 0[rbp], rax
	mov	r13, rax
	mov	rdi, rax
	call	memset@PLT
	mov	BYTE PTR 0[r13], 4
	xor	esi, esi
	mov	rdi, r12
	mov	BYTE PTR 16[r13], 4
	mov	edx, DWORD PTR BFD_RELOC_RVA[rip]
	mov	ecx, 2
	call	quick_reloc@PLT
	mov	edx, DWORD PTR BFD_RELOC_RVA[rip]
	mov	rdi, r12
	mov	ecx, 4
	mov	esi, 12
	call	quick_reloc@PLT
	mov	edx, DWORD PTR BFD_RELOC_RVA[rip]
	mov	ecx, 1
	mov	rdi, r12
	mov	esi, 16
	call	quick_reloc@PLT
	mov	rdi, rbp
	call	save_relocs@PLT
	mov	edx, DWORD PTR PE_IDATA5_SIZE[rip]
	mov	rsi, r15
	mov	rdi, r12
	call	bfd_set_section_size@PLT
	mov	edi, DWORD PTR PE_IDATA5_SIZE[rip]
	call	xmalloc@PLT
	mov	edx, DWORD PTR PE_IDATA5_SIZE[rip]
	xor	esi, esi
	mov	QWORD PTR [r15], rax
	mov	rdi, rax
	mov	QWORD PTR 24[rsp], rax
	call	memset@PLT
	mov	edx, DWORD PTR PE_IDATA4_SIZE[rip]
	mov	rsi, r14
	mov	rdi, r12
	call	bfd_set_section_size@PLT
	mov	edi, DWORD PTR PE_IDATA4_SIZE[rip]
	call	xmalloc@PLT
	mov	edx, DWORD PTR PE_IDATA4_SIZE[rip]
	xor	esi, esi
	mov	QWORD PTR [r14], rax
	mov	rdi, rax
	mov	rbx, rax
	call	memset@PLT
	mov	rdx, QWORD PTR symptr[rip]
	mov	rsi, QWORD PTR symtab[rip]
	mov	rdi, r12
	call	bfd_set_symtab@PLT
	mov	rdx, r13
	mov	rsi, rbp
	mov	rdi, r12
	mov	r8d, 20
	xor	ecx, ecx
	call	bfd_set_section_contents@PLT
	mov	r9, QWORD PTR 24[rsp]
	mov	rsi, r15
	mov	rdi, r12
	mov	r8d, DWORD PTR PE_IDATA5_SIZE[rip]
	xor	ecx, ecx
	mov	rdx, r9
	call	bfd_set_section_contents@PLT
	mov	rdx, rbx
	mov	rsi, r14
	mov	rdi, r12
	mov	r8d, DWORD PTR PE_IDATA4_SIZE[rip]
	xor	ecx, ecx
	call	bfd_set_section_contents@PLT
	mov	rdi, r12
	call	bfd_make_readable@PLT
	add	rsp, 40
	.cfi_def_cfa_offset 56
	mov	rax, 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
	ret
	.cfi_endproc
.LFE0:
	.size	make_head, .-make_head
	.comm	tmp_seq,4,4
	.comm	symtab,8,8
	.comm	symptr,8,8
	.comm	pe_details,8,8
	.comm	dll_symname,4,4
	.comm	bfd_object,4,4
	.comm	UNDSEC,8,8
	.comm	SEC_HAS_CONTENTS,4,4
	.comm	PE_IDATA5_SIZE,4,4
	.comm	PE_IDATA4_SIZE,4,4
	.comm	BSF_GLOBAL,4,4
	.comm	BFD_RELOC_RVA,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_pe-dll.c_make_head.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"d%06d.o\000"
	.align	2
.LC1:
	.ascii	".idata$2\000"
	.align	2
.LC2:
	.ascii	".idata$5\000"
	.align	2
.LC3:
	.ascii	".idata$4\000"
	.align	2
.LC4:
	.ascii	"_head_\000"
	.align	2
.LC5:
	.ascii	"\000"
	.align	2
.LC6:
	.ascii	"_iname\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	make_head, %function
make_head:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r0
	sub	sp, sp, #28
	mov	r0, #20
	bl	xmalloc
	mov	r5, r0
	ldr	r4, .L4
	ldr	r1, .L4+4
	ldr	r2, [r4]
	bl	sprintf
	ldr	r3, [r4]
	mov	r1, r6
	add	r3, r3, #1
	mov	r0, r5
	str	r3, [r4]
	bl	bfd_create
	mov	r4, r0
	mov	r5, #0
	ldr	r6, .L4+8
	mov	r1, r0
	ldr	r3, [r6]
	ldr	r7, .L4+12
	ldr	r0, [r3, #4]
	bl	bfd_find_target
	mov	r0, r4
	bl	bfd_make_writable
	ldr	r3, .L4+16
	mov	r0, r4
	ldr	r1, [r3]
	bl	bfd_set_format
	ldr	r3, [r6]
	mov	r2, r5
	ldr	r1, [r3]
	mov	r0, r4
	bl	bfd_set_arch_mach
	ldr	r3, .L4+20
	mov	r0, #24
	str	r5, [r3]
	bl	xmalloc
	mov	ip, r0
	ldr	lr, .L4+24
	ldr	r2, [r7]
	mov	r0, r4
	mov	r3, #2
	ldr	r1, .L4+28
	str	ip, [lr]
	bl	quick_section
	ldr	r2, [r7]
	mov	r6, r0
	mov	r3, #2
	mov	r0, r4
	ldr	r1, .L4+32
	bl	quick_section
	ldr	r2, [r7]
	mov	r8, r0
	ldr	r1, .L4+36
	mov	r0, r4
	mov	r3, #2
	bl	quick_section
	mov	r3, r0
	ldr	r0, .L4+40
	str	r3, [sp, #16]
	bl	U
	ldr	r9, .L4+44
	ldr	r10, .L4+48
	ldr	r3, [r9]
	ldr	r7, .L4+52
	str	r3, [sp, #4]
	str	r6, [sp]
	str	r5, [sp, #8]
	mov	r1, r0
	mov	r3, r10
	ldr	r2, [r7]
	mov	r0, r4
	bl	quick_symbol
	mov	r0, r10
	bl	U
	ldr	r2, [r9]
	ldr	r3, .L4+56
	mov	r1, r0
	ldr	r3, [r3]
	stmib	sp, {r2, r5}
	mov	r0, r4
	ldr	r2, [r7]
	str	r3, [sp]
	ldr	r3, .L4+60
	bl	quick_symbol
	mov	r1, r6
	mov	r2, #20
	mov	r0, r4
	bl	bfd_set_section_size
	mov	r0, #20
	bl	xmalloc
	mov	r10, #4
	mov	r7, r0
	ldr	r9, .L4+64
	mov	r1, r5
	mov	r2, #20
	str	r0, [r6]
	bl	memset
	strb	r10, [r7]
	mov	r1, r5
	ldr	r2, [r9]
	strb	r10, [r7, #16]
	mov	r0, r4
	mov	r3, #2
	bl	quick_reloc
	mov	r3, r10
	ldr	r2, [r9]
	mov	r0, r4
	mov	r1, #12
	bl	quick_reloc
	ldr	fp, .L4+68
	mov	r3, #1
	ldr	r2, [r9]
	mov	r1, #16
	mov	r0, r4
	bl	quick_reloc
	mov	r0, r6
	bl	save_relocs
	mov	r1, r8
	ldr	r2, [fp]
	mov	r0, r4
	bl	bfd_set_section_size
	ldr	r0, [fp]
	bl	xmalloc
	ldr	r10, .L4+72
	mov	r1, r5
	ldr	r2, [fp]
	str	r0, [r8]
	str	r0, [sp, #20]
	bl	memset
	ldr	r1, [sp, #16]
	ldr	r2, [r10]
	mov	r0, r4
	bl	bfd_set_section_size
	ldr	r0, [r10]
	bl	xmalloc
	ldr	r3, [sp, #16]
	ldr	r2, [r10]
	mov	r1, r5
	str	r0, [r3]
	mov	r9, r0
	bl	memset
	ldr	lr, .L4+24
	ldr	r0, .L4+20
	ldr	r1, [lr]
	ldr	r2, [r0]
	mov	r0, r4
	bl	bfd_set_symtab
	mov	r0, #20
	mov	r2, r7
	mov	r1, r6
	mov	r3, r5
	str	r0, [sp]
	mov	r0, r4
	bl	bfd_set_section_contents
	ldr	r3, [fp]
	mov	r1, r8
	ldr	r2, [sp, #20]
	str	r3, [sp]
	mov	r0, r4
	mov	r3, r5
	bl	bfd_set_section_contents
	ldr	r3, [r10]
	mov	r2, r9
	ldr	r1, [sp, #16]
	str	r3, [sp]
	mov	r0, r4
	mov	r3, r5
	bl	bfd_set_section_contents
	mov	r0, r4
	bl	bfd_make_readable
	mov	r0, r4
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	.align	2
.L4:
	.word	tmp_seq
	.word	.LC0
	.word	pe_details
	.word	SEC_HAS_CONTENTS
	.word	bfd_object
	.word	symptr
	.word	symtab
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	BSF_GLOBAL
	.word	.LC5
	.word	dll_symname
	.word	UNDSEC
	.word	.LC6
	.word	BFD_RELOC_RVA
	.word	PE_IDATA5_SIZE
	.word	PE_IDATA4_SIZE
	.size	make_head, .-make_head
	.comm	tmp_seq,4,4
	.comm	symtab,4,4
	.comm	symptr,4,4
	.comm	pe_details,4,4
	.comm	dll_symname,4,4
	.comm	bfd_object,4,4
	.comm	UNDSEC,4,4
	.comm	SEC_HAS_CONTENTS,4,4
	.comm	PE_IDATA5_SIZE,4,4
	.comm	PE_IDATA4_SIZE,4,4
	.comm	BSF_GLOBAL,4,4
	.comm	BFD_RELOC_RVA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
