	.file	"extr_cpu_errata.c_install_thunderx_bcast_tlbi_workaround.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	install_thunderx_bcast_tlbi_workaround, @function
install_thunderx_bcast_tlbi_workaround:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xor	eax, eax
	call	get_midr@PLT
	mov	edi, eax
	mov	ebp, eax
	call	CPU_PART@PLT
	cmp	rax, QWORD PTR CPU_PART_THUNDERX_81XX[rip]
	je	.L8
	mov	edi, ebp
	call	CPU_PART@PLT
	cmp	rax, QWORD PTR CPU_PART_THUNDERX[rip]
	je	.L10
.L1:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edi, ebp
	call	CPU_VAR@PLT
	test	eax, eax
	je	.L8
	mov	edi, ebp
	call	CPU_VAR@PLT
	cmp	eax, 1
	jne	.L1
	mov	edi, ebp
	call	CPU_REV@PLT
	cmp	eax, 1
	jg	.L1
.L8:
	mov	edi, DWORD PTR bcast_tlbi_workaround[rip]
	mov	esi, 1
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	PCPU_SET@PLT
	.cfi_endproc
.LFE0:
	.size	install_thunderx_bcast_tlbi_workaround, .-install_thunderx_bcast_tlbi_workaround
	.comm	bcast_tlbi_workaround,4,4
	.comm	CPU_PART_THUNDERX_81XX,8,8
	.comm	CPU_PART_THUNDERX,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_cpu_errata.c_install_thunderx_bcast_tlbi_workaround.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	install_thunderx_bcast_tlbi_workaround, %function
install_thunderx_bcast_tlbi_workaround:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	bl	get_midr
	mov	r4, r0
	bl	CPU_PART
	ldr	r3, .L11
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L9
	mov	r0, r4
	bl	CPU_PART
	ldr	r3, .L11+4
	ldr	r3, [r3]
	cmp	r0, r3
	popne	{r4, r5, r6, pc}
	mov	r0, r4
	bl	CPU_VAR
	cmp	r0, #0
	beq	.L9
	mov	r0, r4
	bl	CPU_VAR
	cmp	r0, #1
	mov	r5, r0
	popne	{r4, r5, r6, pc}
	mov	r0, r4
	bl	CPU_REV
	cmp	r0, #1
	popgt	{r4, r5, r6, pc}
.L9:
	ldr	r3, .L11+8
	mov	r1, #1
	pop	{r4, r5, r6, lr}
	ldr	r0, [r3]
	b	PCPU_SET
.L12:
	.align	2
.L11:
	.word	CPU_PART_THUNDERX_81XX
	.word	CPU_PART_THUNDERX
	.word	bcast_tlbi_workaround
	.size	install_thunderx_bcast_tlbi_workaround, .-install_thunderx_bcast_tlbi_workaround
	.comm	bcast_tlbi_workaround,4,4
	.comm	CPU_PART_THUNDERX_81XX,4,4
	.comm	CPU_PART_THUNDERX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
