	.file	"extr_solib-sunos.c_sunos_relocate_main_executable.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	".interp"
	.text
	.p2align 4
	.type	sunos_relocate_main_executable, @function
sunos_relocate_main_executable:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	eax, eax
	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, 8
	.cfi_def_cfa_offset 64
	call	read_pc@PLT
	mov	edi, DWORD PTR exec_bfd[rip]
	lea	rsi, .LC0[rip]
	mov	rbx, rax
	call	bfd_get_section_by_name@PLT
	test	rax, rax
	je	.L19
.L1:
	add	rsp, 8
	.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
.L19:
	.cfi_restore_state
	mov	edi, DWORD PTR exec_bfd[rip]
	call	bfd_get_file_flags@PLT
	test	DWORD PTR DYNAMIC[rip], eax
	je	.L1
	mov	edi, DWORD PTR exec_bfd[rip]
	call	bfd_get_start_address@PLT
	cmp	rax, rbx
	je	.L1
	mov	edi, DWORD PTR exec_bfd[rip]
	call	bfd_get_start_address@PLT
	mov	esi, 8
	sub	rbx, rax
	mov	rax, QWORD PTR symfile_objfile[rip]
	mov	edi, DWORD PTR [rax]
	call	xcalloc@PLT
	mov	edi, DWORD PTR xfree[rip]
	mov	rsi, rax
	mov	r15, rax
	call	make_cleanup@PLT
	mov	rdi, QWORD PTR symfile_objfile[rip]
	mov	r14, rax
	mov	eax, DWORD PTR [rdi]
	test	eax, eax
	jle	.L9
	xor	ebp, ebp
	xor	r12d, r12d
	mov	r13d, 1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edi, DWORD PTR 4[rdi]
	mov	esi, ebp
	call	ANOFFSET@PLT
	mov	rdi, QWORD PTR symfile_objfile[rip]
	cmp	rax, rbx
	mov	rax, QWORD PTR [r15]
	cmovne	r12d, r13d
	mov	QWORD PTR [rax+rbp*8], rbx
	add	rbp, 1
	cmp	DWORD PTR [rdi], ebp
	jg	.L7
	test	r12d, r12d
	je	.L9
	mov	rsi, r15
	call	objfile_relocate@PLT
.L9:
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	rdi, r14
	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	do_cleanups@PLT
	.cfi_endproc
.LFE0:
	.size	sunos_relocate_main_executable, .-sunos_relocate_main_executable
	.comm	xfree,4,4
	.comm	symfile_objfile,8,8
	.comm	exec_bfd,4,4
	.comm	DYNAMIC,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_solib-sunos.c_sunos_relocate_main_executable.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	".interp\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sunos_relocate_main_executable, %function
sunos_relocate_main_executable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	bl	read_pc
	ldr	r6, .L19
	mov	r5, r0
	ldr	r1, .L19+4
	ldr	r0, [r6]
	bl	bfd_get_section_by_name
	subs	r4, r0, #0
	popne	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r0, [r6]
	bl	bfd_get_file_flags
	ldr	r3, .L19+8
	ldr	r3, [r3]
	tst	r0, r3
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r0, [r6]
	bl	bfd_get_start_address
	cmp	r0, r5
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r0, [r6]
	bl	bfd_get_start_address
	ldr	r7, .L19+12
	mov	r1, #4
	ldr	r3, [r7]
	sub	r5, r5, r0
	ldr	r0, [r3]
	bl	xcalloc
	ldr	r3, .L19+16
	mov	r1, r0
	mov	r9, r0
	ldr	r0, [r3]
	bl	make_cleanup
	ldr	r3, [r7]
	mov	r8, r0
	ldr	r2, [r3]
	cmp	r2, #0
	ble	.L9
	mov	r6, r4
.L7:
	mov	r1, r6
	ldr	r0, [r3, #4]
	bl	ANOFFSET
	ldr	r3, [r7]
	ldr	r1, [r9]
	ldr	r2, [r3]
	cmp	r0, r5
	str	r5, [r1, r6, lsl #2]
	add	r6, r6, #1
	movne	r4, #1
	cmp	r2, r6
	bgt	.L7
	cmp	r4, #0
	beq	.L9
	mov	r1, r9
	mov	r0, r3
	bl	objfile_relocate
.L9:
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	do_cleanups
.L20:
	.align	2
.L19:
	.word	exec_bfd
	.word	.LC0
	.word	DYNAMIC
	.word	symfile_objfile
	.word	xfree
	.size	sunos_relocate_main_executable, .-sunos_relocate_main_executable
	.comm	xfree,4,4
	.comm	symfile_objfile,4,4
	.comm	exec_bfd,4,4
	.comm	DYNAMIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
