	.file	"extr_smp.c_smp_handle_ext_call.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	smp_handle_ext_call, @function
smp_handle_ext_call:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	rbp, QWORD PTR pcpu_devices[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	smp_processor_id@PLT
	xor	esi, esi
	lea	rdi, 0[rbp+rax*4]
	mov	rbp, rsp
	call	xchg@PLT
	mov	edi, DWORD PTR ec_stop_cpu[rip]
	mov	rsi, rbp
	mov	QWORD PTR [rsp], rax
	call	test_bit@PLT
	test	rax, rax
	jne	.L17
.L2:
	mov	edi, DWORD PTR ec_schedule[rip]
	mov	rsi, rbp
	call	test_bit@PLT
	test	rax, rax
	jne	.L18
.L3:
	mov	edi, DWORD PTR ec_call_function_single[rip]
	mov	rsi, rbp
	call	test_bit@PLT
	test	rax, rax
	jne	.L19
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L20
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	xor	eax, eax
	call	smp_stop_cpu@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L19:
	xor	eax, eax
	call	generic_smp_call_function_single_interrupt@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	xor	eax, eax
	call	scheduler_ipi@PLT
	jmp	.L3
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	smp_handle_ext_call, .-smp_handle_ext_call
	.comm	pcpu_devices,8,8
	.comm	ec_stop_cpu,4,4
	.comm	ec_schedule,4,4
	.comm	ec_call_function_single,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_smp_handle_ext_call.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	smp_handle_ext_call, %function
smp_handle_ext_call:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L21
	ldr	r2, .L21+4
	sub	sp, sp, #8
	ldr	r4, [r3]
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	bl	smp_processor_id
	mov	r1, #0
	add	r0, r4, r0, lsl #2
	bl	xchg
	mov	r3, r0
	ldr	r2, .L21+8
	mov	r1, sp
	ldr	r0, [r2]
	str	r3, [sp]
	bl	test_bit
	cmp	r0, #0
	bne	.L17
.L2:
	ldr	r3, .L21+12
	mov	r1, sp
	ldr	r0, [r3]
	bl	test_bit
	cmp	r0, #0
	bne	.L18
.L3:
	ldr	r3, .L21+16
	mov	r1, sp
	ldr	r0, [r3]
	bl	test_bit
	cmp	r0, #0
	bne	.L19
.L1:
	ldr	r3, .L21+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L17:
	bl	smp_stop_cpu
	b	.L2
.L19:
	bl	generic_smp_call_function_single_interrupt
	b	.L1
.L18:
	bl	scheduler_ipi
	b	.L3
.L20:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	pcpu_devices
	.word	.LC0
	.word	ec_stop_cpu
	.word	ec_schedule
	.word	ec_call_function_single
	.size	smp_handle_ext_call, .-smp_handle_ext_call
	.comm	pcpu_devices,4,4
	.comm	ec_stop_cpu,4,4
	.comm	ec_schedule,4,4
	.comm	ec_call_function_single,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
