	.file	"extr_smp.c_stop_this_cpu.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	stop_this_cpu, @function
stop_this_cpu:
.LFB0:
	.cfi_startproc
	endbr64
	push	rax
	.cfi_def_cfa_offset 16
	pop	rax
	.cfi_def_cfa_offset 8
	xor	eax, eax
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	call	smp_processor_id@PLT
	xor	esi, esi
	mov	edi, eax
	call	set_cpu_online@PLT
	xor	eax, eax
	call	local_irq_disable@PLT
	mov	edi, DWORD PTR SPR_UPR[rip]
	call	mfspr@PLT
	test	DWORD PTR SPR_UPR_PMP[rip], eax
	jne	.L8
.L5:
	jmp	.L5
.L8:
	mov	edi, DWORD PTR SPR_PMR[rip]
	call	mfspr@PLT
	mov	edi, DWORD PTR SPR_PMR[rip]
	or	eax, DWORD PTR SPR_PMR_DME[rip]
	mov	esi, eax
	call	mtspr@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	stop_this_cpu, .-stop_this_cpu
	.comm	SPR_UPR_PMP,4,4
	.comm	SPR_UPR,4,4
	.comm	SPR_PMR_DME,4,4
	.comm	SPR_PMR,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_smp.c_stop_this_cpu.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	stop_this_cpu, %function
stop_this_cpu:
	@ Volatile: function does not return.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	bl	smp_processor_id
	mov	r1, #0
	bl	set_cpu_online
	bl	local_irq_disable
	ldr	r3, .L9
	ldr	r0, [r3]
	bl	mfspr
	ldr	r3, .L9+4
	ldr	r3, [r3]
	tst	r0, r3
	bne	.L8
.L5:
	b	.L5
.L8:
	ldr	r3, .L9+8
	ldr	r4, [r3]
	mov	r0, r4
	bl	mfspr
	mov	r1, r0
	ldr	r3, .L9+12
	mov	r0, r4
	ldr	r3, [r3]
	orr	r1, r1, r3
	bl	mtspr
	b	.L5
.L10:
	.align	2
.L9:
	.word	SPR_UPR
	.word	SPR_UPR_PMP
	.word	SPR_PMR
	.word	SPR_PMR_DME
	.size	stop_this_cpu, .-stop_this_cpu
	.comm	SPR_UPR_PMP,4,4
	.comm	SPR_UPR,4,4
	.comm	SPR_PMR_DME,4,4
	.comm	SPR_PMR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
