	.file	"extr_mips.c_mips_classify_symbol.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mips_classify_symbol, @function
mips_classify_symbol:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	GET_CODE@PLT
	cmp	rax, QWORD PTR LABEL_REF[rip]
	jne	.L2
	cmp	QWORD PTR TARGET_MIPS16[rip], 0
	jne	.L31
	cmp	QWORD PTR TARGET_ABICALLS[rip], 0
	je	.L10
.L12:
	cmp	QWORD PTR TARGET_ABSOLUTE_ABICALLS[rip], 0
	mov	eax, DWORD PTR SYMBOL_GOT_LOCAL[rip]
	je	.L1
.L10:
	mov	eax, DWORD PTR SYMBOL_GENERAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L31:
	.cfi_restore_state
	mov	eax, DWORD PTR SYMBOL_CONSTANT_POOL[rip]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, ebp
	call	GET_CODE@PLT
	xor	edi, edi
	cmp	QWORD PTR SYMBOL_REF[rip], rax
	sete	dil
	call	gcc_assert@PLT
	mov	edi, ebp
	call	SYMBOL_REF_TLS_MODEL@PLT
	test	rax, rax
	je	.L6
	mov	eax, DWORD PTR SYMBOL_TLS[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edi, ebp
	call	CONSTANT_POOL_ADDRESS_P@PLT
	test	rax, rax
	je	.L7
	cmp	QWORD PTR TARGET_MIPS16[rip], 0
	jne	.L31
	mov	edi, ebp
	call	get_pool_mode@PLT
	mov	edi, eax
	call	GET_MODE_SIZE@PLT
	cmp	rax, QWORD PTR mips_section_threshold[rip]
	jle	.L33
.L7:
	mov	edi, ebp
	call	SYMBOL_REF_SMALL_P@PLT
	test	rax, rax
	jne	.L36
.L9:
	cmp	QWORD PTR TARGET_ABICALLS[rip], 0
	je	.L10
	mov	edi, ebp
	call	SYMBOL_REF_DECL@PLT
	mov	edi, ebp
	test	rax, rax
	jne	.L11
	call	SYMBOL_REF_LOCAL_P@PLT
	test	eax, eax
	jne	.L12
.L14:
	mov	eax, DWORD PTR SYMBOL_GOT_GLOBAL[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L36:
	mov	edi, ebp
	call	SYMBOL_REF_WEAK@PLT
	test	eax, eax
	jne	.L9
.L33:
	mov	eax, DWORD PTR SYMBOL_SMALL_DATA[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	call	SYMBOL_REF_DECL@PLT
	mov	rdi, rax
	call	DECL_P@PLT
	test	rax, rax
	je	.L12
	mov	edi, ebp
	call	SYMBOL_REF_DECL@PLT
	mov	rdi, rax
	call	TREE_PUBLIC@PLT
	test	rax, rax
	je	.L12
	cmp	QWORD PTR TARGET_ABSOLUTE_ABICALLS[rip], 0
	je	.L14
	mov	edi, ebp
	mov	rbx, QWORD PTR targetm[rip]
	call	SYMBOL_REF_DECL@PLT
	mov	rdi, rax
	call	rbx
	test	rax, rax
	jne	.L12
	jmp	.L14
	.cfi_endproc
.LFE0:
	.size	mips_classify_symbol, .-mips_classify_symbol
	.comm	targetm,8,8
	.comm	mips_section_threshold,8,8
	.comm	TARGET_MIPS16,8,8
	.comm	TARGET_ABSOLUTE_ABICALLS,8,8
	.comm	TARGET_ABICALLS,8,8
	.comm	SYMBOL_TLS,4,4
	.comm	SYMBOL_SMALL_DATA,4,4
	.comm	SYMBOL_REF,8,8
	.comm	SYMBOL_GOT_LOCAL,4,4
	.comm	SYMBOL_GOT_GLOBAL,4,4
	.comm	SYMBOL_GENERAL,4,4
	.comm	SYMBOL_CONSTANT_POOL,4,4
	.comm	LABEL_REF,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_mips.c_mips_classify_symbol.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mips_classify_symbol, %function
mips_classify_symbol:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	bl	GET_CODE
	ldr	r3, .L46
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L2
	ldr	r3, .L46+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L40
	ldr	r3, .L46+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L10
	ldr	r3, .L46+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L10
.L41:
	ldr	r3, .L46+16
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L40:
	ldr	r3, .L46+20
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L6:
	mov	r0, r4
	bl	CONSTANT_POOL_ADDRESS_P
	cmp	r0, #0
	beq	.L7
	ldr	r3, .L46+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L40
	mov	r0, r4
	bl	get_pool_mode
	bl	GET_MODE_SIZE
	ldr	r3, .L46+24
	ldr	r3, [r3]
	cmp	r0, r3
	ble	.L42
.L7:
	mov	r0, r4
	bl	SYMBOL_REF_SMALL_P
	cmp	r0, #0
	bne	.L44
.L9:
	ldr	r3, .L46+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L45
.L10:
	ldr	r3, .L46+28
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L2:
	mov	r0, r4
	bl	GET_CODE
	ldr	r3, .L46+32
	ldr	r3, [r3]
	sub	r0, r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	gcc_assert
	mov	r0, r4
	bl	SYMBOL_REF_TLS_MODEL
	cmp	r0, #0
	beq	.L6
	ldr	r3, .L46+36
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L45:
	mov	r0, r4
	bl	SYMBOL_REF_DECL
	cmp	r0, #0
	mov	r0, r4
	bne	.L11
	bl	SYMBOL_REF_LOCAL_P
	cmp	r0, #0
	beq	.L14
.L39:
	ldr	r5, .L46+12
.L12:
	ldr	r3, [r5]
	cmp	r3, #0
	bne	.L10
	b	.L41
.L44:
	mov	r0, r4
	bl	SYMBOL_REF_WEAK
	cmp	r0, #0
	bne	.L9
.L42:
	ldr	r3, .L46+40
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L11:
	bl	SYMBOL_REF_DECL
	bl	DECL_P
	cmp	r0, #0
	beq	.L39
	mov	r0, r4
	bl	SYMBOL_REF_DECL
	bl	TREE_PUBLIC
	cmp	r0, #0
	ldr	r5, .L46+12
	beq	.L12
	ldr	r3, [r5]
	cmp	r3, #0
	beq	.L14
	ldr	r3, .L46+44
	mov	r0, r4
	ldr	r4, [r3]
	bl	SYMBOL_REF_DECL
	blx	r4
	cmp	r0, #0
	bne	.L12
.L14:
	ldr	r3, .L46+48
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L47:
	.align	2
.L46:
	.word	LABEL_REF
	.word	TARGET_MIPS16
	.word	TARGET_ABICALLS
	.word	TARGET_ABSOLUTE_ABICALLS
	.word	SYMBOL_GOT_LOCAL
	.word	SYMBOL_CONSTANT_POOL
	.word	mips_section_threshold
	.word	SYMBOL_GENERAL
	.word	SYMBOL_REF
	.word	SYMBOL_TLS
	.word	SYMBOL_SMALL_DATA
	.word	targetm
	.word	SYMBOL_GOT_GLOBAL
	.size	mips_classify_symbol, .-mips_classify_symbol
	.comm	targetm,4,4
	.comm	mips_section_threshold,4,4
	.comm	TARGET_MIPS16,4,4
	.comm	TARGET_ABSOLUTE_ABICALLS,4,4
	.comm	TARGET_ABICALLS,4,4
	.comm	SYMBOL_TLS,4,4
	.comm	SYMBOL_SMALL_DATA,4,4
	.comm	SYMBOL_REF,4,4
	.comm	SYMBOL_GOT_LOCAL,4,4
	.comm	SYMBOL_GOT_GLOBAL,4,4
	.comm	SYMBOL_GENERAL,4,4
	.comm	SYMBOL_CONSTANT_POOL,4,4
	.comm	LABEL_REF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
