	.file	"extr_smp.c___cpu_die.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	__cpu_die
	.type	__cpu_die, @function
__cpu_die:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edx, edi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	r12, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR pcpu_devices[rip]
	lea	rbp, [rax+rdx*4]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	xor	eax, eax
	call	cpu_relax@PLT
.L2:
	mov	rdi, rbp
	call	pcpu_stopped@PLT
	test	eax, eax
	je	.L3
	mov	rdi, rbp
	call	pcpu_free_lowcore@PLT
	lea	rdi, init_mm[rip]
	call	mm_cpumask@PLT
	mov	edi, r12d
	mov	rsi, rax
	call	cpumask_clear_cpu@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	edi, r12d
	lea	rsi, init_mm[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	cpumask_clear_cpu@PLT
	.cfi_endproc
.LFE0:
	.size	__cpu_die, .-__cpu_die
	.comm	pcpu_devices,8,8
	.comm	init_mm,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___cpu_die.c"
	.text
	.align	2
	.global	__cpu_die
	.syntax unified
	.arm
	.fpu softvfp
	.type	__cpu_die, %function
__cpu_die:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L6
	push	{r4, r5, r6, lr}
	ldr	r4, [r3]
	mov	r5, r0
	add	r4, r4, r0, lsl #2
	b	.L2
.L3:
	bl	cpu_relax
.L2:
	mov	r0, r4
	bl	pcpu_stopped
	cmp	r0, #0
	beq	.L3
	mov	r0, r4
	bl	pcpu_free_lowcore
	ldr	r0, .L6+4
	bl	mm_cpumask
	mov	r1, r0
	mov	r0, r5
	bl	cpumask_clear_cpu
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	ldr	r1, .L6+4
	b	cpumask_clear_cpu
.L7:
	.align	2
.L6:
	.word	pcpu_devices
	.word	init_mm
	.size	__cpu_die, .-__cpu_die
	.comm	pcpu_devices,4,4
	.comm	init_mm,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
