	.file	"extr_security.c_setup_barrier_nospec.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	setup_barrier_nospec
	.type	setup_barrier_nospec, @function
setup_barrier_nospec:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	edi, DWORD PTR SEC_FTR_FAVOUR_SECURITY[rip]
	xor	ebp, ebp
	call	security_ftr_enabled@PLT
	test	rax, rax
	jne	.L11
.L2:
	mov	eax, DWORD PTR no_nospec[rip]
	test	eax, eax
	je	.L12
.L1:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	xor	eax, eax
	call	cpu_mitigations_off@PLT
	test	eax, eax
	jne	.L1
	mov	edi, ebp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	enable_barrier_nospec@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edi, DWORD PTR SEC_FTR_BNDS_CHK_SPEC_BAR[rip]
	xor	ebp, ebp
	call	security_ftr_enabled@PLT
	test	rax, rax
	setne	bpl
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	setup_barrier_nospec, .-setup_barrier_nospec
	.comm	no_nospec,4,4
	.comm	SEC_FTR_FAVOUR_SECURITY,4,4
	.comm	SEC_FTR_BNDS_CHK_SPEC_BAR,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_security.c_setup_barrier_nospec.c"
	.text
	.align	2
	.global	setup_barrier_nospec
	.syntax unified
	.arm
	.fpu softvfp
	.type	setup_barrier_nospec, %function
setup_barrier_nospec:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L12
	push	{r4, lr}
	ldr	r0, [r3]
	bl	security_ftr_enabled
	subs	r4, r0, #0
	bne	.L11
.L2:
	ldr	r3, .L12+4
	ldr	r3, [r3]
	cmp	r3, #0
	popne	{r4, pc}
	bl	cpu_mitigations_off
	cmp	r0, #0
	popne	{r4, pc}
	mov	r0, r4
	pop	{r4, lr}
	b	enable_barrier_nospec
.L11:
	ldr	r3, .L12+8
	ldr	r0, [r3]
	bl	security_ftr_enabled
	subs	r4, r0, #0
	movne	r4, #1
	b	.L2
.L13:
	.align	2
.L12:
	.word	SEC_FTR_FAVOUR_SECURITY
	.word	no_nospec
	.word	SEC_FTR_BNDS_CHK_SPEC_BAR
	.size	setup_barrier_nospec, .-setup_barrier_nospec
	.comm	no_nospec,4,4
	.comm	SEC_FTR_FAVOUR_SECURITY,4,4
	.comm	SEC_FTR_BNDS_CHK_SPEC_BAR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
