	.file	"extr_elf64-mips.c_mips_elf64_assign_gp.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"_gp"
	.text
	.p2align 4
	.type	mips_elf64_assign_gp, @function
mips_elf64_assign_gp:
.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, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	_bfd_get_gp_value@PLT
	mov	DWORD PTR [r12], eax
	test	eax, eax
	je	.L2
.L15:
	mov	eax, DWORD PTR TRUE[rip]
	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
.L2:
	.cfi_restore_state
	mov	rdi, rbp
	call	bfd_get_symcount@PLT
	mov	rdi, rbp
	mov	ebx, eax
	call	bfd_get_outsymbols@PLT
	mov	r14, rax
	test	rax, rax
	je	.L4
	test	ebx, ebx
	je	.L4
	xor	r15d, r15d
	lea	r13, .LC0[rip]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	add	r15d, 1
	add	r14, 8
	cmp	ebx, r15d
	je	.L4
.L7:
	mov	rdi, QWORD PTR [r14]
	call	bfd_asymbol_name@PLT
	cmp	BYTE PTR [rax], 95
	jne	.L5
	mov	rsi, r13
	mov	rdi, rax
	call	strcmp@PLT
	test	rax, rax
	jne	.L5
	mov	rdi, QWORD PTR [r14]
	call	bfd_asymbol_value@PLT
	mov	rdi, rbp
	mov	DWORD PTR [r12], eax
	mov	esi, eax
	call	_bfd_set_gp_value@PLT
	cmp	r15d, ebx
	jb	.L15
.L4:
	mov	DWORD PTR [r12], 4
	mov	rdi, rbp
	mov	esi, 4
	call	_bfd_set_gp_value@PLT
	mov	eax, DWORD PTR FALSE[rip]
	add	rsp, 8
	.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
	.cfi_endproc
.LFE0:
	.size	mips_elf64_assign_gp, .-mips_elf64_assign_gp
	.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
	.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_elf64-mips.c_mips_elf64_assign_gp.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"_gp\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mips_elf64_assign_gp, %function
mips_elf64_assign_gp:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r1
	mov	r7, r0
	bl	_bfd_get_gp_value
	cmp	r0, #0
	str	r0, [r6]
	beq	.L2
.L15:
	ldr	r3, .L18
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	mov	r4, r0
	mov	r0, r7
	bl	bfd_get_symcount
	mov	r8, r0
	mov	r0, r7
	bl	bfd_get_outsymbols
	subs	r10, r0, #0
	beq	.L4
	cmp	r8, #0
	beq	.L4
	ldr	r9, .L18+4
	b	.L7
.L5:
	add	r4, r4, #1
	cmp	r8, r4
	beq	.L4
.L7:
	ldr	r0, [r10]
	bl	bfd_asymbol_name
	ldrb	r3, [r0]	@ zero_extendqisi2
	mov	r5, r10
	cmp	r3, #95
	add	r10, r10, #4
	bne	.L5
	mov	r1, r9
	bl	strcmp
	cmp	r0, #0
	bne	.L5
	ldr	r0, [r5]
	bl	bfd_asymbol_value
	mov	r1, r0
	mov	r0, r7
	str	r1, [r6]
	bl	_bfd_set_gp_value
	cmp	r4, r8
	bcc	.L15
.L4:
	mov	r1, #4
	mov	r0, r7
	str	r1, [r6]
	bl	_bfd_set_gp_value
	ldr	r3, .L18+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L19:
	.align	2
.L18:
	.word	TRUE
	.word	.LC0
	.word	FALSE
	.size	mips_elf64_assign_gp, .-mips_elf64_assign_gp
	.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
