	.file	"extr_solib-sunos.c_solib_add_common_symbols.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	solib_add_common_symbols, @function
solib_add_common_symbols:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 56
	.cfi_def_cfa_offset 96
	mov	rdi, QWORD PTR rt_common_objfile[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	je	.L2
	cmp	QWORD PTR 8[rdi], 0
	jne	.L17
.L2:
	xor	eax, eax
	lea	r12, 8[rsp]
	lea	rbx, 16[rsp]
	call	init_minimal_symbol_collection@PLT
	xor	eax, eax
	call	make_cleanup_discard_minimal_symbols@PLT
	test	rbp, rbp
	jne	.L3
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edi, DWORD PTR 8[rsp]
	call	SOLIB_EXTRACT_ADDRESS@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L6
.L3:
	mov	edx, 8
	mov	rsi, r12
	mov	rdi, rbp
	call	read_memory@PLT
	mov	edi, DWORD PTR 12[rsp]
	call	SOLIB_EXTRACT_ADDRESS@PLT
	mov	edx, 24
	mov	rsi, rbx
	mov	rdi, rax
	call	read_memory@PLT
	mov	rax, QWORD PTR N_COMM[rip]
	cmp	QWORD PTR 16[rsp], rax
	jne	.L4
	mov	r13d, DWORD PTR 24[rsp]
	sub	r13d, DWORD PTR 28[rsp]
	mov	edi, r13d
	call	xmalloc@PLT
	mov	edi, DWORD PTR 32[rsp]
	mov	rbp, rax
	call	SOLIB_EXTRACT_ADDRESS@PLT
	mov	edx, r13d
	mov	rsi, rbp
	mov	rdi, rax
	call	read_memory@PLT
	mov	rcx, QWORD PTR rt_common_objfile[rip]
	test	rcx, rcx
	je	.L18
.L5:
	mov	edx, DWORD PTR mst_bss[rip]
	mov	esi, DWORD PTR 24[rsp]
	mov	rdi, rbp
	call	prim_record_minimal_symbol@PLT
	mov	rdi, rbp
	call	xfree@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, QWORD PTR rt_common_objfile[rip]
	call	install_minimal_symbols@PLT
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	add	rdi, 16
	xor	esi, esi
	call	obstack_free@PLT
	mov	rax, QWORD PTR rt_common_objfile[rip]
	lea	rdi, 16[rax]
	call	obstack_init@PLT
	mov	rdi, QWORD PTR rt_common_objfile[rip]
	mov	QWORD PTR 8[rdi], 0
	mov	QWORD PTR [rdi], 0
	call	terminate_minimal_symbol_table@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L18:
	xor	eax, eax
	call	allocate_rt_common_objfile@PLT
	mov	rcx, QWORD PTR rt_common_objfile[rip]
	jmp	.L5
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	solib_add_common_symbols, .-solib_add_common_symbols
	.comm	rt_common_objfile,8,8
	.comm	mst_bss,4,4
	.comm	N_COMM,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_solib-sunos.c_solib_add_common_symbols.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	solib_add_common_symbols, %function
solib_add_common_symbols:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, .L22
	mov	r4, r0
	ldr	r0, [r6]
	ldr	r3, .L22+4
	sub	sp, sp, #32
	cmp	r0, #0
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	beq	.L2
	ldr	r3, [r0, #4]
	cmp	r3, #0
	bne	.L19
.L2:
	bl	init_minimal_symbol_collection
	bl	make_cleanup_discard_minimal_symbols
	cmp	r4, #0
	beq	.L6
	ldr	r5, .L22+8
	ldr	r7, .L22+12
	b	.L3
.L4:
	ldr	r0, [sp, #4]
	bl	SOLIB_EXTRACT_ADDRESS
	subs	r4, r0, #0
	beq	.L6
.L3:
	mov	r2, #8
	add	r1, sp, #4
	mov	r0, r4
	bl	read_memory
	ldr	r0, [sp, #8]
	bl	SOLIB_EXTRACT_ADDRESS
	mov	r2, #16
	add	r1, sp, #12
	bl	read_memory
	ldr	r2, [sp, #12]
	ldr	r3, [r5]
	cmp	r2, r3
	bne	.L4
	ldr	r2, [sp, #20]
	ldr	r8, [sp, #16]
	sub	r8, r8, r2
	mov	r0, r8
	bl	xmalloc
	mov	r4, r0
	ldr	r0, [sp, #24]
	bl	SOLIB_EXTRACT_ADDRESS
	mov	r2, r8
	mov	r1, r4
	bl	read_memory
	ldr	r3, [r6]
	cmp	r3, #0
	beq	.L20
.L5:
	ldr	r2, [r7]
	ldr	r1, [sp, #16]
	mov	r0, r4
	bl	prim_record_minimal_symbol
	mov	r0, r4
	bl	xfree
	ldr	r0, [sp, #4]
	bl	SOLIB_EXTRACT_ADDRESS
	subs	r4, r0, #0
	bne	.L3
.L6:
	ldr	r0, [r6]
	bl	install_minimal_symbols
	ldr	r3, .L22+4
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L21
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L19:
	mov	r1, #0
	add	r0, r0, #8
	bl	obstack_free
	ldr	r0, [r6]
	add	r0, r0, #8
	bl	obstack_init
	mov	r3, #0
	ldr	r0, [r6]
	str	r3, [r0, #4]
	str	r3, [r0]
	bl	terminate_minimal_symbol_table
	b	.L2
.L20:
	bl	allocate_rt_common_objfile
	ldr	r3, [r6]
	b	.L5
.L21:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	rt_common_objfile
	.word	.LC0
	.word	N_COMM
	.word	mst_bss
	.size	solib_add_common_symbols, .-solib_add_common_symbols
	.comm	rt_common_objfile,4,4
	.comm	mst_bss,4,4
	.comm	N_COMM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
