	.file	"extr_xcofflink.c_bfd_xcoff_size_dynamic_sections.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"__rtinit"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"error: undefined symbol __rtinit"
	.section	.rodata.str1.1
.LC2:
	.string	".debug"
	.text
	.p2align 4
	.globl	bfd_xcoff_size_dynamic_sections
	.type	bfd_xcoff_size_dynamic_sections, @function
bfd_xcoff_size_dynamic_sections:
.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
	mov	r14, r9
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 184
	.cfi_def_cfa_offset 240
	mov	rax, QWORD PTR 248[rsp]
	mov	QWORD PTR 32[rsp], rdx
	mov	QWORD PTR 8[rsp], r8
	mov	r15, QWORD PTR 272[rsp]
	mov	QWORD PTR [rsp], rax
	mov	rax, QWORD PTR 264[rsp]
	mov	rbx, QWORD PTR 280[rsp]
	mov	QWORD PTR 16[rsp], rax
	mov	rax, QWORD PTR 288[rsp]
	mov	QWORD PTR 24[rsp], rax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 168[rsp], rax
	xor	eax, eax
	mov	QWORD PTR 56[rsp], 0
	call	bfd_get_flavour@PLT
	cmp	rax, QWORD PTR bfd_target_xcoff_flavour[rip]
	je	.L2
	mov	eax, DWORD PTR XCOFF_NUMBER_OF_SPECIAL_SECTIONS[rip]
	test	eax, eax
	jle	.L44
	sub	eax, 1
	lea	rax, 8[rbx+rax*8]
	.p2align 4,,10
	.p2align 3
.L5:
	mov	QWORD PTR [rbx], 0
	add	rbx, 8
	cmp	rbx, rax
	jne	.L5
.L44:
	mov	rax, QWORD PTR TRUE[rip]
.L1:
	mov	rcx, QWORD PTR 168[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L149
	add	rsp, 184
	.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
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR FALSE[rip]
	mov	rdi, r12
	mov	QWORD PTR 128[rsp], r12
	mov	QWORD PTR 152[rsp], rbp
	mov	QWORD PTR 120[rsp], rax
	mov	QWORD PTR 144[rsp], r15
	mov	DWORD PTR 96[rsp], 0
	mov	QWORD PTR 104[rsp], 0
	mov	QWORD PTR 112[rsp], 0
	mov	QWORD PTR 136[rsp], 0
	call	xcoff_data@PLT
	mov	rdi, r12
	mov	QWORD PTR [rax], r14
	call	xcoff_data@PLT
	mov	rdx, QWORD PTR 240[rsp]
	mov	rdi, r12
	mov	QWORD PTR 8[rax], rdx
	call	xcoff_data@PLT
	mov	edx, DWORD PTR 256[rsp]
	mov	rdi, rbp
	mov	DWORD PTR 16[rax], edx
	call	xcoff_hash_table@PLT
	mov	rcx, QWORD PTR 8[rsp]
	mov	rdi, rbp
	mov	QWORD PTR [rax], rcx
	call	xcoff_hash_table@PLT
	mov	rcx, QWORD PTR 16[rsp]
	mov	QWORD PTR 160[rax], rcx
	test	r13, r13
	je	.L7
	mov	r14, QWORD PTR FALSE[rip]
	mov	r15, QWORD PTR TRUE[rip]
	mov	rdi, rbp
	call	xcoff_hash_table@PLT
	mov	rsi, r13
	mov	rdi, rax
	mov	r8, r15
	mov	rcx, r14
	mov	rdx, r14
	call	xcoff_link_hash_lookup@PLT
	mov	r13, rax
	test	rax, rax
	je	.L7
	mov	eax, DWORD PTR XCOFF_ENTRY[rip]
	or	DWORD PTR 0[r13], eax
.L7:
	cmp	QWORD PTR 56[rbp], 0
	jne	.L8
	mov	rax, QWORD PTR 24[rsp]
	or	rax, QWORD PTR 48[rbp]
	je	.L9
.L8:
	mov	r14, QWORD PTR FALSE[rip]
	mov	r15, QWORD PTR TRUE[rip]
	mov	rdi, rbp
	call	xcoff_hash_table@PLT
	lea	rsi, .LC0[rip]
	mov	rcx, r14
	mov	rdx, r14
	mov	rdi, rax
	mov	r8, r15
	call	xcoff_link_hash_lookup@PLT
	mov	r14, rax
	test	rax, rax
	je	.L150
	mov	rsi, rax
	mov	rdi, rbp
	call	xcoff_mark_symbol@PLT
	mov	eax, DWORD PTR XCOFF_DEF_REGULAR[rip]
	mov	edi, 40
	or	eax, DWORD PTR XCOFF_RTINIT[rip]
	or	DWORD PTR [r14], eax
	call	bfd_malloc@PLT
	xor	edi, edi
	mov	r15, rax
	mov	QWORD PTR 32[rax], 0
	mov	eax, DWORD PTR XTY_SD[rip]
	mov	QWORD PTR 8[r15], 0
	mov	DWORD PTR 24[r15], eax
	movabs	rax, 21474836482
	mov	QWORD PTR [r15], rax
	mov	r8d, DWORD PTR 96[rsp]
	mov	QWORD PTR 16[r15], 0
	test	r8d, r8d
	sete	dil
	call	BFD_ASSERT@PLT
	mov	QWORD PTR 40[r14], r15
	mov	ecx, DWORD PTR 32[r14]
	mov	rdx, r15
	mov	DWORD PTR 4[r14], 3
	mov	rdi, QWORD PTR 128[rsp]
	lea	rsi, 96[rsp]
	mov	DWORD PTR 96[rsp], 1
	call	bfd_xcoff_put_ldsymbol_name@PLT
	test	eax, eax
	je	.L61
	mov	eax, DWORD PTR XCOFF_DEF_REGULAR[rip]
	or	eax, DWORD PTR XCOFF_MARK[rip]
	mov	QWORD PTR 24[r14], 0
	or	DWORD PTR [r14], eax
	mov	rax, QWORD PTR bfd_link_hash_defined[rip]
	mov	QWORD PTR 8[r14], rax
.L9:
	cmp	QWORD PTR 40[rbp], 0
	jne	.L12
	cmp	QWORD PTR [rsp], 0
	je	.L12
	test	r13, r13
	je	.L12
	mov	rax, QWORD PTR 8[r13]
	cmp	rax, QWORD PTR bfd_link_hash_defined[rip]
	je	.L13
	cmp	rax, QWORD PTR bfd_link_hash_defweak[rip]
	je	.L13
.L12:
	mov	rax, QWORD PTR FALSE[rip]
	mov	rdi, rbp
	mov	QWORD PTR [rsp], rax
	call	xcoff_hash_table@PLT
	mov	rdx, QWORD PTR FALSE[rip]
	mov	r13, QWORD PTR 32[rbp]
	mov	QWORD PTR 152[rax], rdx
	test	r13, r13
	je	.L14
.L16:
	mov	r14, QWORD PTR 16[r13]
	test	r14, r14
	jne	.L15
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L21:
	mov	r14, QWORD PTR 24[r14]
	test	r14, r14
	je	.L19
.L15:
	mov	eax, DWORD PTR [r14]
	test	DWORD PTR SEC_MARK[rip], eax
	jne	.L21
	mov	rsi, r14
	mov	rdi, rbp
	call	xcoff_mark@PLT
	test	eax, eax
	jne	.L21
.L58:
	mov	rdi, QWORD PTR 112[rsp]
	test	rdi, rdi
	je	.L60
	call	free@PLT
.L60:
	mov	rdi, QWORD PTR 56[rsp]
	test	rdi, rdi
	je	.L61
	call	free@PLT
.L61:
	mov	rax, QWORD PTR FALSE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L19:
	mov	r13, QWORD PTR 8[r13]
	test	r13, r13
	jne	.L16
.L17:
	mov	esi, DWORD PTR XCOFF_NUMBER_OF_SPECIAL_SECTIONS[rip]
	test	esi, esi
	jle	.L22
.L62:
	cmp	QWORD PTR [rsp], 0
	setne	r13b
	xor	r15d, r15d
	xor	r14d, r14d
	.p2align 4,,10
	.p2align 3
.L24:
	mov	rdi, rbp
	call	xcoff_hash_table@PLT
	mov	rax, QWORD PTR 144[rax]
	mov	rax, QWORD PTR [rax+r15*8]
	test	rax, rax
	je	.L23
	test	r13b, r13b
	je	.L23
	mov	edx, DWORD PTR [rax]
	test	DWORD PTR SEC_MARK[rip], edx
	cmove	rax, r14
.L23:
	mov	QWORD PTR [rbx+r15*8], rax
	add	r15, 1
	cmp	DWORD PTR XCOFF_NUMBER_OF_SPECIAL_SECTIONS[rip], r15d
	jg	.L24
.L22:
	cmp	QWORD PTR 32[rbp], 0
	je	.L44
	mov	r13d, DWORD PTR xcoff_build_ldsyms[rip]
	mov	rdi, rbp
	call	xcoff_hash_table@PLT
	lea	rdx, 96[rsp]
	mov	rdi, rax
	mov	esi, r13d
	call	xcoff_link_hash_traverse@PLT
	cmp	QWORD PTR 120[rsp], 0
	jne	.L58
	mov	rdi, QWORD PTR 32[rsp]
	mov	r13d, 1
	call	strlen@PLT
	mov	rdi, rbp
	lea	rbx, 3[rax]
	mov	QWORD PTR 8[rsp], rbx
	call	xcoff_hash_table@PLT
	mov	r14, QWORD PTR 56[rax]
	test	r14, r14
	je	.L26
	mov	QWORD PTR 16[rsp], rbp
	.p2align 4,,10
	.p2align 3
.L27:
	mov	rdi, QWORD PTR [r14]
	add	r13, 1
	call	strlen@PLT
	mov	rdi, QWORD PTR 8[r14]
	mov	rbp, rax
	call	strlen@PLT
	mov	rdi, QWORD PTR 16[r14]
	mov	r15, rax
	call	strlen@PLT
	mov	r14, QWORD PTR 24[r14]
	mov	r8, rax
	lea	rax, 3[rbp+r15]
	add	rax, r8
	add	rbx, rax
	test	r14, r14
	jne	.L27
	mov	QWORD PTR 8[rsp], rbx
	mov	rbp, QWORD PTR 16[rsp]
.L26:
	mov	rdi, rbp
	call	xcoff_hash_table@PLT
	mov	rdi, r12
	mov	r14, rax
	call	bfd_xcoff_ldhdr_version@PLT
	mov	rdi, rbp
	mov	DWORD PTR 136[r14], eax
	mov	eax, DWORD PTR 96[rsp]
	mov	DWORD PTR 72[r14], eax
	call	xcoff_hash_table@PLT
	mov	rdi, r12
	mov	eax, DWORD PTR 8[rax]
	mov	QWORD PTR 88[r14], r13
	mov	DWORD PTR 76[r14], eax
	mov	rax, QWORD PTR 8[rsp]
	mov	QWORD PTR 80[r14], rax
	call	bfd_xcoff_ldhdrsz@PLT
	mov	rdi, r12
	mov	r15d, DWORD PTR 72[r14]
	mov	r13, rax
	call	bfd_xcoff_ldsymsz@PLT
	mov	esi, DWORD PTR 76[r14]
	mov	rdi, r12
	mov	ebx, eax
	mov	DWORD PTR 16[rsp], esi
	imul	r15d, ebx
	call	bfd_xcoff_ldrelsz@PLT
	mov	rdi, r12
	mov	edx, eax
	imul	edx, DWORD PTR 16[rsp]
	movsx	rax, r15d
	movsx	rdx, edx
	add	rax, rdx
	add	r13, rax
	mov	rax, QWORD PTR 104[rsp]
	mov	QWORD PTR 96[r14], r13
	add	r13, QWORD PTR 8[rsp]
	test	rax, rax
	mov	QWORD PTR 104[r14], rax
	cmovne	rax, r13
	mov	QWORD PTR 128[r14], rax
	call	bfd_xcoff_ldhdrsz@PLT
	mov	rdi, r12
	mov	QWORD PTR 120[r14], rax
	call	bfd_xcoff_ldhdrsz@PLT
	mov	ebx, DWORD PTR 72[r14]
	mov	rdi, r12
	mov	r15, rax
	call	bfd_xcoff_ldsymsz@PLT
	mov	rdi, rbp
	imul	eax, ebx
	cdqe
	add	rax, r15
	mov	QWORD PTR 112[r14], rax
	call	xcoff_hash_table@PLT
	mov	rsi, QWORD PTR 104[r14]
	mov	rdi, r12
	mov	rbx, QWORD PTR 64[rax]
	add	rsi, r13
	mov	QWORD PTR 8[rbx], rsi
	call	bfd_zalloc@PLT
	mov	QWORD PTR 16[rbx], rax
	mov	rdx, rax
	test	rax, rax
	je	.L58
	lea	rsi, 72[r14]
	mov	rdi, r12
	call	bfd_xcoff_swap_ldhdr_out@PLT
	mov	r15, QWORD PTR 32[rsp]
	mov	r14, QWORD PTR 96[r14]
	add	r14, QWORD PTR 16[rbx]
	mov	rsi, r15
	mov	rdi, r14
	call	strcpy@PLT
	mov	rdi, r15
	call	strlen@PLT
	xor	ecx, ecx
	mov	rdi, rbp
	lea	rax, 1[r14+rax]
	mov	WORD PTR [rax], cx
	lea	r14, 2[rax]
	call	xcoff_hash_table@PLT
	mov	rcx, QWORD PTR 56[rax]
	test	rcx, rcx
	je	.L29
.L33:
	mov	rax, QWORD PTR [rcx]
	.p2align 4,,10
	.p2align 3
.L30:
	movzx	edx, BYTE PTR [rax]
	add	rax, 1
	add	r14, 1
	mov	BYTE PTR -1[r14], dl
	test	dl, dl
	jne	.L30
	mov	rax, QWORD PTR 8[rcx]
	.p2align 4,,10
	.p2align 3
.L31:
	movzx	edx, BYTE PTR [rax]
	add	rax, 1
	add	r14, 1
	mov	BYTE PTR -1[r14], dl
	test	dl, dl
	jne	.L31
	mov	rax, QWORD PTR 16[rcx]
	.p2align 4,,10
	.p2align 3
.L32:
	movzx	edx, BYTE PTR [rax]
	add	rax, 1
	add	r14, 1
	mov	BYTE PTR -1[r14], dl
	test	dl, dl
	jne	.L32
	mov	rcx, QWORD PTR 24[rcx]
	test	rcx, rcx
	jne	.L33
.L29:
	mov	rax, r14
	sub	rax, QWORD PTR 16[rbx]
	xor	edi, edi
	sar	rax, 2
	cmp	rax, r13
	sete	dil
	call	BFD_ASSERT@PLT
	mov	rdx, QWORD PTR 104[rsp]
	test	rdx, rdx
	jle	.L34
	mov	rsi, QWORD PTR 112[rsp]
	mov	rdi, r14
	call	memcpy@PLT
	mov	rdi, QWORD PTR 112[rsp]
	call	free@PLT
	mov	QWORD PTR 112[rsp], 0
.L34:
	mov	rdi, rbp
	call	xcoff_hash_table@PLT
	mov	rbx, QWORD PTR 48[rax]
	mov	rsi, QWORD PTR 8[rbx]
	test	rsi, rsi
	jle	.L38
	mov	rdi, r12
	call	bfd_zalloc@PLT
	mov	QWORD PTR 16[rbx], rax
	test	rax, rax
	je	.L58
.L38:
	mov	rdi, rbp
	call	xcoff_hash_table@PLT
	mov	rbx, QWORD PTR 40[rax]
	mov	rsi, QWORD PTR 8[rbx]
	test	rsi, rsi
	jle	.L37
	mov	rdi, r12
	call	bfd_zalloc@PLT
	mov	QWORD PTR 16[rbx], rax
	test	rax, rax
	je	.L58
.L37:
	mov	rdi, rbp
	call	xcoff_hash_table@PLT
	mov	rbx, QWORD PTR 32[rax]
	mov	rsi, QWORD PTR 8[rbx]
	test	rsi, rsi
	jle	.L40
	mov	rdi, r12
	call	bfd_zalloc@PLT
	mov	QWORD PTR 16[rbx], rax
	test	rax, rax
	je	.L58
.L40:
	mov	rdi, rbp
	call	xcoff_hash_table@PLT
	mov	r15, QWORD PTR 32[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR 24[rsp], rax
	test	r15, r15
	je	.L42
	lea	rax, 56[rsp]
	mov	QWORD PTR 32[rsp], rax
	jmp	.L41
	.p2align 4,,10
	.p2align 3
.L46:
	mov	r15, QWORD PTR 8[r15]
	test	r15, r15
	je	.L42
.L41:
	mov	rax, QWORD PTR 24[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR [r15], rax
	jne	.L46
	lea	rsi, .LC2[rip]
	mov	rdi, r15
	call	bfd_get_section_by_name@PLT
	mov	QWORD PTR 16[rsp], rax
	test	rax, rax
	je	.L46
	cmp	QWORD PTR 8[rax], 0
	je	.L46
	mov	rax, QWORD PTR 0[rbp]
	cmp	rax, QWORD PTR strip_all[rip]
	je	.L48
	cmp	rax, QWORD PTR strip_debugger[rip]
	je	.L48
	mov	rax, QWORD PTR discard_all[rip]
	cmp	QWORD PTR 8[rbp], rax
	je	.L48
	mov	rdi, r15
	call	_bfd_coff_get_external_symbols@PLT
	test	eax, eax
	je	.L58
	mov	rdi, r15
	call	obj_raw_syment_count@PLT
	mov	rdi, r15
	lea	rsi, 0[0+rax*8]
	mov	r14, rax
	call	bfd_zalloc@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L58
	mov	rdi, r15
	call	xcoff_data@PLT
	mov	rdx, QWORD PTR 32[rsp]
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, r15
	mov	QWORD PTR 24[rax], rbx
	call	bfd_malloc_and_get_section@PLT
	test	eax, eax
	je	.L58
	mov	rdi, r15
	call	xcoff_data@PLT
	mov	r13, QWORD PTR 32[rax]
	test	r13, r13
	jne	.L50
.L52:
	mov	rdi, QWORD PTR 56[rsp]
	call	free@PLT
	mov	rax, QWORD PTR 16[rsp]
	mov	edx, DWORD PTR 16[rbp]
	mov	QWORD PTR 56[rsp], 0
	mov	QWORD PTR 8[rax], 0
	test	edx, edx
	jne	.L46
	mov	rdi, r15
	call	_bfd_coff_free_symbols@PLT
	test	eax, eax
	jne	.L46
	jmp	.L58
	.p2align 4,,10
	.p2align 3
.L150:
	lea	rdi, .LC1[rip]
	call	_@PLT
	mov	edi, eax
	call	_bfd_error_handler@PLT
	mov	rax, QWORD PTR FALSE[rip]
	jmp	.L1
.L13:
	mov	rsi, QWORD PTR 16[r13]
	mov	rdi, rbp
	call	xcoff_mark@PLT
	test	eax, eax
	je	.L58
	mov	rdi, rbp
	call	xcoff_sweep@PLT
	mov	rdi, rbp
	call	xcoff_hash_table@PLT
	mov	rdx, QWORD PTR TRUE[rip]
	mov	QWORD PTR 152[rax], rdx
	jmp	.L17
.L48:
	mov	rax, QWORD PTR 16[rsp]
	mov	QWORD PTR 8[rax], 0
	jmp	.L46
.L14:
	mov	eax, DWORD PTR XCOFF_NUMBER_OF_SPECIAL_SECTIONS[rip]
	test	eax, eax
	jg	.L62
	jmp	.L44
.L50:
	mov	rdi, r15
	call	bfd_coff_symesz@PLT
	mov	rdi, r15
	mov	QWORD PTR 8[rsp], rax
	call	obj_coff_external_syms@PLT
	imul	r14, QWORD PTR 8[rsp]
	mov	r12, rax
	lea	rax, [rax+r14*4]
	cmp	r12, rax
	jnb	.L52
	mov	QWORD PTR 40[rsp], rbp
	lea	r14, 64[rsp]
	mov	rbp, rax
	jmp	.L59
.L152:
	cmp	rax, QWORD PTR bfd_abs_section_ptr[rip]
	je	.L56
	.p2align 4,,10
	.p2align 3
.L54:
	movsx	rdx, DWORD PTR 64[rsp]
	lea	eax, 1[rdx]
	cdqe
	imul	rax, QWORD PTR 8[rsp]
	lea	r12, [r12+rax*4]
	lea	rax, 8[0+rdx*8]
	add	r13, rax
	add	rbx, rax
	cmp	rbp, r12
	jbe	.L151
.L59:
	mov	rdx, r14
	mov	rsi, r12
	mov	rdi, r15
	call	bfd_coff_swap_sym_in@PLT
	mov	QWORD PTR [rbx], -1
	cmp	QWORD PTR 72[rsp], 0
	jne	.L54
	mov	rax, QWORD PTR 0[r13]
	test	rax, rax
	je	.L54
	cmp	QWORD PTR [rsp], 0
	je	.L56
	mov	edx, DWORD PTR [rax]
	test	DWORD PTR SEC_MARK[rip], edx
	je	.L152
.L56:
	mov	rsi, r14
	mov	rdi, r15
	call	bfd_coff_symname_in_debug@PLT
	test	rax, rax
	je	.L54
	mov	rdx, QWORD PTR TRUE[rip]
	mov	rdi, QWORD PTR 24[rsp]
	movsx	rsi, DWORD PTR 80[rsp]
	add	rsi, QWORD PTR 56[rsp]
	mov	rcx, rdx
	call	_bfd_stringtab_add@PLT
	cmp	rax, -1
	je	.L58
	mov	QWORD PTR [rbx], rax
	jmp	.L54
.L151:
	mov	rbp, QWORD PTR 40[rsp]
	jmp	.L52
.L42:
	mov	rax, QWORD PTR strip_all[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L44
	mov	rdi, rbp
	call	xcoff_hash_table@PLT
	mov	rdi, QWORD PTR 24[rsp]
	mov	rbx, QWORD PTR 16[rax]
	call	_bfd_stringtab_size@PLT
	mov	DWORD PTR [rbx], eax
	jmp	.L44
.L149:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	bfd_xcoff_size_dynamic_sections, .-bfd_xcoff_size_dynamic_sections
	.comm	xcoff_build_ldsyms,4,4
	.comm	strip_debugger,8,8
	.comm	strip_all,8,8
	.comm	discard_all,8,8
	.comm	bfd_target_xcoff_flavour,8,8
	.comm	bfd_link_hash_defweak,8,8
	.comm	bfd_link_hash_defined,8,8
	.comm	bfd_abs_section_ptr,8,8
	.comm	XTY_SD,4,4
	.comm	XCOFF_RTINIT,4,4
	.comm	XCOFF_NUMBER_OF_SPECIAL_SECTIONS,4,4
	.comm	XCOFF_MARK,4,4
	.comm	XCOFF_ENTRY,4,4
	.comm	XCOFF_DEF_REGULAR,4,4
	.comm	TRUE,8,8
	.comm	SEC_MARK,4,4
	.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_xcofflink.c_bfd_xcoff_size_dynamic_sections.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"__rtinit\000"
	.align	2
.LC1:
	.ascii	"error: undefined symbol __rtinit\000"
	.align	2
.LC2:
	.ascii	".debug\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	bfd_xcoff_size_dynamic_sections
	.syntax unified
	.arm
	.fpu softvfp
	.type	bfd_xcoff_size_dynamic_sections, %function
bfd_xcoff_size_dynamic_sections:
	@ args = 36, pretend = 0, frame = 72
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	fp, #0
	sub	sp, sp, #84
	mov	r6, r3
	ldr	r3, .L153
	str	r2, [sp, #16]
	ldr	r3, [r3]
	str	r3, [sp, #76]
	mov	r3,#0
	ldr	r3, [sp, #132]
	mov	r5, r1
	str	r3, [sp, #8]
	ldr	r3, [sp, #152]
	mov	r7, r0
	str	r3, [sp, #12]
	ldr	r8, [sp, #140]
	ldr	r10, [sp, #144]
	ldr	r4, [sp, #148]
	str	fp, [sp, #28]
	bl	bfd_get_flavour
	ldr	r3, .L153+4
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L2
	ldr	r3, .L153+8
	ldr	r3, [r3]
	cmp	r3, fp
	addgt	r3, r4, r3, lsl #2
	movgt	r2, fp
	subgt	r3, r3, #4
	subgt	r4, r4, #4
	ble	.L44
.L5:
	str	r2, [r4, #4]!
	cmp	r4, r3
	bne	.L5
.L44:
	ldr	r3, .L153+12
	ldr	r0, [r3]
.L1:
	ldr	r3, .L153
	ldr	r2, [r3]
	ldr	r3, [sp, #76]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L149
	add	sp, sp, #84
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r9, .L153+16
	mov	r0, r7
	ldr	r3, [r9]
	str	r7, [sp, #60]
	str	r3, [sp, #56]
	str	r5, [sp, #72]
	str	r10, [sp, #68]
	str	fp, [sp, #44]
	str	fp, [sp, #48]
	str	fp, [sp, #52]
	str	fp, [sp, #64]
	bl	xcoff_data
	ldr	r3, [sp, #124]
	str	r3, [r0]
	mov	r0, r7
	bl	xcoff_data
	ldr	r3, [sp, #128]
	str	r3, [r0, #4]
	mov	r0, r7
	bl	xcoff_data
	ldr	r3, [sp, #136]
	str	r3, [r0, #8]
	mov	r0, r5
	bl	xcoff_hash_table
	ldr	r3, [sp, #120]
	str	r3, [r0]
	mov	r0, r5
	bl	xcoff_hash_table
	cmp	r6, #0
	str	r8, [r0, #84]
	beq	.L7
	mov	r0, r5
	bl	xcoff_hash_table
	ldr	r2, .L153+12
	ldr	r3, [r9]
	ldr	r2, [r2]
	mov	r1, r6
	str	r2, [sp]
	mov	r2, r3
	bl	xcoff_link_hash_lookup
	subs	r6, r0, #0
	ldrne	r2, .L153+20
	ldrne	r3, [r6]
	ldrne	r2, [r2]
	orrne	r3, r3, r2
	strne	r3, [r6]
.L7:
	ldr	r3, [r5, #28]
	cmp	r3, #0
	bne	.L8
	ldr	r3, [r5, #24]
	ldr	r2, [sp, #12]
	orrs	r3, r2, r3
	beq	.L9
.L8:
	mov	r0, r5
	bl	xcoff_hash_table
	ldr	r2, .L153+12
	ldr	r3, [r9]
	ldr	r2, [r2]
	ldr	r1, .L153+24
	str	r2, [sp]
	mov	r2, r3
	bl	xcoff_link_hash_lookup
	subs	r8, r0, #0
	beq	.L150
	mov	r1, r8
	mov	r0, r5
	bl	xcoff_mark_symbol
	ldr	fp, .L153+28
	ldr	r3, .L153+32
	ldr	r2, [fp]
	ldr	r1, [r3]
	ldr	r3, [r8]
	orr	r2, r2, r1
	orr	r3, r3, r2
	str	r3, [r8]
	mov	r0, #24
	bl	bfd_malloc
	ldr	r3, [sp, #44]
	mov	r2, r0
	mov	r1, #5
	mov	r10, #0
	mov	ip, #2
	clz	r0, r3
	ldr	r3, .L153+36
	str	ip, [r2]
	ldr	r3, [r3]
	str	r1, [r2, #4]
	str	r3, [r2, #16]
	str	r10, [r2, #20]
	str	r10, [r2, #12]
	str	r10, [r2, #8]
	lsr	r0, r0, r1
	str	r2, [sp, #12]
	bl	BFD_ASSERT
	mov	r3, #3
	mov	ip, #1
	ldr	r2, [sp, #12]
	str	r3, [r8, #4]
	ldr	r0, [sp, #60]
	ldr	r3, [r8, #20]
	str	r2, [r8, #24]
	add	r1, sp, #44
	str	ip, [sp, #44]
	bl	bfd_xcoff_put_ldsymbol_name
	cmp	r0, r10
	beq	.L61
	ldr	r2, .L153+40
	ldr	r3, [fp]
	ldr	r2, [r2]
	ldr	r1, .L153+44
	orr	r2, r3, r2
	ldr	r3, [r8]
	ldr	r1, [r1]
	orr	r3, r3, r2
	str	r10, [r8, #16]
	str	r3, [r8]
	str	r1, [r8, #8]
.L9:
	ldr	r3, [r5, #20]
	cmp	r3, #0
	bne	.L12
	ldr	r3, [sp, #8]
	cmp	r6, #0
	cmpne	r3, #0
	beq	.L12
	ldr	r2, .L153+44
	ldr	r3, [r6, #8]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L13
	ldr	r2, .L153+48
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L13
.L12:
	ldr	r3, [r9]
	mov	r0, r5
	str	r3, [sp, #8]
	bl	xcoff_hash_table
	ldr	r8, [r5, #16]
	ldr	r3, [r9]
	cmp	r8, #0
	str	r3, [r0, #80]
	beq	.L14
	ldr	r10, .L153+52
.L16:
	ldr	r6, [r8, #8]
	cmp	r6, #0
	bne	.L15
	b	.L19
.L21:
	ldr	r6, [r6, #12]
	cmp	r6, #0
	beq	.L19
.L15:
	ldr	r2, [r6]
	ldr	r3, [r10]
	tst	r2, r3
	bne	.L21
	mov	r1, r6
	mov	r0, r5
	bl	xcoff_mark
	cmp	r0, #0
	bne	.L21
.L58:
	ldr	r0, [sp, #52]
	cmp	r0, #0
	beq	.L60
	bl	free
.L60:
	ldr	r0, [sp, #28]
	cmp	r0, #0
	beq	.L61
	bl	free
.L61:
	ldr	r0, [r9]
	b	.L1
.L19:
	ldr	r8, [r8, #4]
	cmp	r8, #0
	bne	.L16
.L17:
	ldr	fp, .L153+8
	ldr	r3, [fp]
	cmp	r3, #0
	ble	.L22
.L62:
	ldr	r3, [sp, #8]
	mov	r10, #0
	subs	r6, r3, #0
	movne	r6, #1
	ldr	r8, .L153+52
	sub	r4, r4, #4
.L24:
	mov	r0, r5
	bl	xcoff_hash_table
	ldr	r3, [r0, #76]
	ldr	r3, [r3, r10, lsl #2]
	cmp	r3, #0
	movne	r2, r6
	moveq	r2, #0
	cmp	r2, #0
	beq	.L23
	ldr	r1, [r3]
	ldr	r2, [r8]
	tst	r1, r2
	moveq	r3, #0
.L23:
	ldr	r2, [fp]
	add	r10, r10, #1
	cmp	r2, r10
	str	r3, [r4, #4]!
	bgt	.L24
.L22:
	ldr	r3, [r5, #16]
	cmp	r3, #0
	beq	.L44
	mov	r0, r5
	bl	xcoff_hash_table
	ldr	r3, .L153+56
	add	r2, sp, #44
	ldr	r1, [r3]
	bl	xcoff_link_hash_traverse
	ldr	r3, [sp, #56]
	cmp	r3, #0
	bne	.L58
	ldr	r0, [sp, #16]
	bl	strlen
	mov	r6, r0
	mov	r0, r5
	bl	xcoff_hash_table
	ldr	r10, [r0, #28]
	mov	r8, #1
	cmp	r10, #0
	add	r6, r6, #3
	beq	.L26
.L27:
	ldr	r0, [r10]
	bl	strlen
	mov	r4, r0
	ldr	r0, [r10, #4]
	bl	strlen
	mov	fp, r0
	ldr	r0, [r10, #8]
	bl	strlen
	ldr	r10, [r10, #12]
	add	r3, r4, fp
	add	r3, r3, #3
	add	r3, r3, r0
	cmp	r10, #0
	add	r8, r8, #1
	add	r6, r6, r3
	bne	.L27
.L26:
	mov	r0, r5
	bl	xcoff_hash_table
	mov	r4, r0
	mov	r0, r7
	bl	bfd_xcoff_ldhdr_version
	ldr	r3, [sp, #44]
	str	r0, [r4, #72]
	str	r3, [r4, #36]
	mov	r0, r5
	bl	xcoff_hash_table
	ldr	r3, [r0, #4]
	str	r6, [r4, #44]
	str	r3, [r4, #40]
	str	r8, [r4, #48]
	mov	r0, r7
	bl	bfd_xcoff_ldhdrsz
	mov	r8, r0
	mov	r0, r7
	ldr	r10, [r4, #36]
	bl	bfd_xcoff_ldsymsz
	mov	r3, r0
	mov	r0, r7
	ldr	fp, [r4, #40]
	str	r3, [sp, #12]
	bl	bfd_xcoff_ldrelsz
	mul	fp, r0, fp
	ldr	r3, [sp, #12]
	ldr	r2, [sp, #48]
	mla	r3, r10, r3, fp
	cmp	r2, #0
	add	r3, r8, r3
	str	r2, [r4, #56]
	addne	r2, r3, r6
	str	r2, [r4, #68]
	str	r3, [r4, #52]
	mov	r0, r7
	add	r6, r3, r6
	bl	bfd_xcoff_ldhdrsz
	mov	r3, r0
	mov	r0, r7
	str	r3, [r4, #64]
	bl	bfd_xcoff_ldhdrsz
	mov	r10, r0
	mov	r0, r7
	ldr	r8, [r4, #36]
	bl	bfd_xcoff_ldsymsz
	mla	r8, r0, r8, r10
	mov	r0, r5
	str	r8, [r4, #60]
	bl	xcoff_hash_table
	ldr	r1, [r4, #56]
	ldr	r8, [r0, #32]
	add	r1, r6, r1
	mov	r0, r7
	str	r1, [r8, #4]
	bl	bfd_zalloc
	cmp	r0, #0
	mov	r2, r0
	str	r0, [r8, #8]
	beq	.L58
	add	r1, r4, #36
	mov	r0, r7
	bl	bfd_xcoff_swap_ldhdr_out
	ldr	r3, [r4, #52]
	ldr	r10, [r8, #8]
	ldr	r4, [sp, #16]
	add	r10, r10, r3
	mov	r1, r4
	mov	r0, r10
	bl	strcpy
	mov	r0, r4
	bl	strlen
	mov	r2, #0
	add	r3, r0, #1
	add	r4, r10, r3
	strb	r2, [r10, r3]
	mov	r0, r5
	strb	r2, [r4, #1]
	bl	xcoff_hash_table
	ldr	r1, [r0, #28]
	add	r4, r4, #2
	cmp	r1, #0
	beq	.L29
.L33:
	ldr	r2, [r1]
	sub	r2, r2, #1
.L30:
	ldrb	r3, [r2, #1]!	@ zero_extendqisi2
	cmp	r3, #0
	strb	r3, [r4], #1
	bne	.L30
	ldr	r2, [r1, #4]
	sub	r2, r2, #1
.L31:
	ldrb	r3, [r2, #1]!	@ zero_extendqisi2
	cmp	r3, #0
	strb	r3, [r4], #1
	bne	.L31
	ldr	r2, [r1, #8]
	sub	r2, r2, #1
.L32:
	ldrb	r3, [r2, #1]!	@ zero_extendqisi2
	cmp	r3, #0
	strb	r3, [r4], #1
	bne	.L32
	ldr	r1, [r1, #12]
	cmp	r1, #0
	bne	.L33
.L29:
	ldr	r3, [r8, #8]
	sub	r3, r4, r3
	cmp	r6, r3, asr #2
	moveq	r0, #1
	movne	r0, #0
	bl	BFD_ASSERT
	ldr	r2, [sp, #48]
	cmp	r2, #0
	ble	.L34
	ldr	r1, [sp, #52]
	mov	r0, r4
	bl	memcpy
	ldr	r0, [sp, #52]
	bl	free
	mov	r3, #0
	str	r3, [sp, #52]
.L34:
	mov	r0, r5
	bl	xcoff_hash_table
	ldr	r4, [r0, #24]
	ldr	r1, [r4, #4]
	cmp	r1, #0
	ble	.L38
	mov	r0, r7
	bl	bfd_zalloc
	cmp	r0, #0
	str	r0, [r4, #8]
	beq	.L58
.L38:
	mov	r0, r5
	bl	xcoff_hash_table
	ldr	r4, [r0, #20]
	ldr	r1, [r4, #4]
	cmp	r1, #0
	ble	.L37
	mov	r0, r7
	bl	bfd_zalloc
	cmp	r0, #0
	str	r0, [r4, #8]
	beq	.L58
.L37:
	mov	r0, r5
	bl	xcoff_hash_table
	ldr	r4, [r0, #16]
	ldr	r1, [r4, #4]
	cmp	r1, #0
	ble	.L40
	mov	r0, r7
	bl	bfd_zalloc
	cmp	r0, #0
	str	r0, [r4, #8]
	beq	.L58
.L40:
	mov	r0, r5
	bl	xcoff_hash_table
	ldr	r3, [r0, #12]
	ldr	fp, [r5, #16]
	str	r3, [sp, #16]
	ldr	r3, .L153+60
	cmp	fp, #0
	str	r3, [sp, #12]
	bne	.L41
	b	.L42
.L46:
	ldr	fp, [fp, #4]
	cmp	fp, #0
	beq	.L42
.L41:
	ldr	r3, [r5, #12]
	ldr	r2, [fp]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L46
	mov	r0, fp
	ldr	r1, .L153+64
	bl	bfd_get_section_by_name
	subs	r7, r0, #0
	beq	.L46
	ldr	r3, [r7, #4]
	cmp	r3, #0
	beq	.L46
	ldr	r2, [sp, #12]
	ldr	r3, [r5]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L48
	ldr	r2, .L153+68
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L48
	ldr	r3, .L153+72
	ldr	r2, [r5, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L48
	mov	r0, fp
	bl	_bfd_coff_get_external_symbols
	cmp	r0, #0
	beq	.L58
	mov	r0, fp
	bl	obj_raw_syment_count
	mov	r10, r0
	mov	r0, fp
	lsl	r1, r10, #2
	bl	bfd_zalloc
	subs	r6, r0, #0
	beq	.L58
	mov	r0, fp
	bl	xcoff_data
	mov	r1, r7
	str	r6, [r0, #12]
	add	r2, sp, #28
	mov	r0, fp
	bl	bfd_malloc_and_get_section
	cmp	r0, #0
	beq	.L58
	mov	r0, fp
	bl	xcoff_data
	ldr	r8, [r0, #16]
	cmp	r8, #0
	bne	.L50
.L52:
	ldr	r0, [sp, #28]
	bl	free
	mov	r3, #0
	ldr	r2, [r5, #8]
	str	r3, [sp, #28]
	cmp	r2, r3
	str	r3, [r7, #4]
	bne	.L46
	mov	r0, fp
	bl	_bfd_coff_free_symbols
	cmp	r0, #0
	bne	.L46
	b	.L58
.L150:
	ldr	r0, .L153+76
	bl	_
	bl	_bfd_error_handler
	ldr	r0, [r9]
	b	.L1
.L13:
	mov	r0, r5
	ldr	r1, [r6, #12]
	bl	xcoff_mark
	cmp	r0, #0
	beq	.L58
	mov	r0, r5
	bl	xcoff_sweep
	mov	r0, r5
	bl	xcoff_hash_table
	ldr	r3, .L153+12
	ldr	r3, [r3]
	str	r3, [r0, #80]
	b	.L17
.L48:
	mov	r3, #0
	str	r3, [r7, #4]
	b	.L46
.L14:
	ldr	fp, .L153+8
	ldr	r3, [fp]
	cmp	r3, #0
	bgt	.L62
	b	.L44
.L50:
	mov	r0, fp
	bl	bfd_coff_symesz
	mov	r3, r0
	mov	r0, fp
	str	r3, [sp, #20]
	bl	obj_coff_external_syms
	ldr	r3, [sp, #20]
	mov	r4, r0
	mov	r2, r3
	mul	r2, r10, r2
	add	r10, r0, r2, lsl #2
	cmp	r0, r10
	bcs	.L52
	str	r7, [sp, #20]
	mov	r7, r3
	b	.L59
.L152:
	ldr	r2, .L153+80
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L56
.L54:
	ldr	r3, [sp, #32]
	add	r3, r3, #1
	mul	r2, r7, r3
	add	r4, r4, r2, lsl #2
	cmp	r10, r4
	add	r8, r8, r3, lsl #2
	add	r6, r6, r3, lsl #2
	bls	.L151
.L59:
	mov	r1, r4
	mov	r0, fp
	add	r2, sp, #32
	bl	bfd_coff_swap_sym_in
	mvn	r3, #0
	str	r3, [r6]
	ldr	r3, [sp, #36]
	cmp	r3, #0
	bne	.L54
	ldr	r3, [r8]
	cmp	r3, #0
	beq	.L54
	ldr	r2, [sp, #8]
	cmp	r2, #0
	beq	.L56
	ldr	r2, .L153+52
	ldr	r1, [r3]
	ldr	r2, [r2]
	tst	r1, r2
	beq	.L152
.L56:
	mov	r0, fp
	add	r1, sp, #32
	bl	bfd_coff_symname_in_debug
	cmp	r0, #0
	beq	.L54
	ldr	r3, .L153+12
	ldr	r0, [sp, #28]
	ldr	r3, [r3]
	ldr	r1, [sp, #40]
	mov	r2, r3
	add	r1, r0, r1
	ldr	r0, [sp, #16]
	bl	_bfd_stringtab_add
	cmn	r0, #1
	beq	.L58
	str	r0, [r6]
	b	.L54
.L151:
	ldr	r7, [sp, #20]
	b	.L52
.L42:
	ldr	r3, [sp, #12]
	ldr	r2, [r5]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L44
	mov	r0, r5
	bl	xcoff_hash_table
	mov	r3, r0
	ldr	r0, [sp, #16]
	ldr	r4, [r3, #8]
	bl	_bfd_stringtab_size
	str	r0, [r4]
	b	.L44
.L149:
	bl	__stack_chk_fail
.L154:
	.align	2
.L153:
	.word	.LC3
	.word	bfd_target_xcoff_flavour
	.word	XCOFF_NUMBER_OF_SPECIAL_SECTIONS
	.word	TRUE
	.word	FALSE
	.word	XCOFF_ENTRY
	.word	.LC0
	.word	XCOFF_DEF_REGULAR
	.word	XCOFF_RTINIT
	.word	XTY_SD
	.word	XCOFF_MARK
	.word	bfd_link_hash_defined
	.word	bfd_link_hash_defweak
	.word	SEC_MARK
	.word	xcoff_build_ldsyms
	.word	strip_all
	.word	.LC2
	.word	strip_debugger
	.word	discard_all
	.word	.LC1
	.word	bfd_abs_section_ptr
	.size	bfd_xcoff_size_dynamic_sections, .-bfd_xcoff_size_dynamic_sections
	.comm	xcoff_build_ldsyms,4,4
	.comm	strip_debugger,4,4
	.comm	strip_all,4,4
	.comm	discard_all,4,4
	.comm	bfd_target_xcoff_flavour,4,4
	.comm	bfd_link_hash_defweak,4,4
	.comm	bfd_link_hash_defined,4,4
	.comm	bfd_abs_section_ptr,4,4
	.comm	XTY_SD,4,4
	.comm	XCOFF_RTINIT,4,4
	.comm	XCOFF_NUMBER_OF_SPECIAL_SECTIONS,4,4
	.comm	XCOFF_MARK,4,4
	.comm	XCOFF_ENTRY,4,4
	.comm	XCOFF_DEF_REGULAR,4,4
	.comm	TRUE,4,4
	.comm	SEC_MARK,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
