	.file	"extr_compaction.c_compact_node.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	compact_node, @function
compact_node:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	test	edi, edi
	js	.L4
	cmp	DWORD PTR nr_node_ids[rip], edi
	mov	ebp, edi
	jg	.L16
.L4:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	mov	rdx, QWORD PTR 56[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L17
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	call	node_online@PLT
	test	eax, eax
	je	.L4
	mov	edi, ebp
	call	NODE_DATA@PLT
	mov	r12, rax
	xor	eax, eax
	call	lru_add_drain_all@PLT
	mov	eax, DWORD PTR MAX_NR_ZONES[rip]
	test	eax, eax
	jle	.L5
	movabs	r13, 8589934591
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rax, QWORD PTR [r12]
	pxor	xmm0, xmm0
	mov	QWORD PTR 16[rsp], r13
	mov	QWORD PTR 40[rsp], 0
	lea	rbp, [rax+rbx*4]
	movups	XMMWORD PTR 24[rsp], xmm0
	mov	rdi, rbp
	call	populated_zone@PLT
	test	eax, eax
	je	.L7
	lea	r15, 28[rsp]
	lea	rsi, 16[rsp]
	mov	QWORD PTR 32[rsp], rbp
	mov	rdi, r15
	lea	r14, 24[rsp]
	mov	QWORD PTR 8[rsp], rsi
	call	INIT_LIST_HEAD@PLT
	mov	rdi, r14
	call	INIT_LIST_HEAD@PLT
	mov	rdi, rbp
	call	__reset_isolation_suitable@PLT
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, rbp
	call	compact_zone@PLT
	mov	rdi, r15
	call	list_empty@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	VM_BUG_ON@PLT
	mov	rdi, r14
	call	list_empty@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	VM_BUG_ON@PLT
.L7:
	add	rbx, 1
	cmp	DWORD PTR MAX_NR_ZONES[rip], ebx
	jg	.L8
.L5:
	xor	eax, eax
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	compact_node, .-compact_node
	.comm	nr_node_ids,4,4
	.comm	MAX_NR_ZONES,4,4
	.comm	EINVAL,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_compaction.c_compact_node.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	compact_node, %function
compact_node:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, .L18
	sub	sp, sp, #32
	subs	r4, r0, #0
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	blt	.L4
	ldr	r3, .L18+4
	ldr	r3, [r3]
	cmp	r3, r4
	bgt	.L16
.L4:
	ldr	r3, .L18+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L16:
	bl	node_online
	cmp	r0, #0
	beq	.L4
	mov	r0, r4
	bl	NODE_DATA
	ldr	r8, .L18+12
	mov	r7, r0
	bl	lru_add_drain_all
	ldr	r3, [r8]
	cmp	r3, #0
	ble	.L5
	mov	r6, #0
	mvn	r10, #0
	mov	r5, r6
	mov	r9, #1
.L8:
	ldr	r4, [r7]
	str	r5, [sp, #8]
	add	r4, r4, r6, lsl #2
	mov	r0, r4
	str	r5, [sp, #12]
	str	r5, [sp, #16]
	str	r5, [sp, #20]
	str	r5, [sp, #24]
	str	r10, [sp]
	str	r9, [sp, #4]
	bl	populated_zone
	cmp	r0, #0
	beq	.L7
	add	r0, sp, #12
	str	r4, [sp, #16]
	bl	INIT_LIST_HEAD
	add	r0, sp, #8
	bl	INIT_LIST_HEAD
	mov	r0, r4
	bl	__reset_isolation_suitable
	mov	r1, sp
	mov	r0, r4
	bl	compact_zone
	add	r0, sp, #12
	bl	list_empty
	clz	r0, r0
	lsr	r0, r0, #5
	bl	VM_BUG_ON
	add	r0, sp, #8
	bl	list_empty
	clz	r0, r0
	lsr	r0, r0, #5
	bl	VM_BUG_ON
.L7:
	ldr	r3, [r8]
	add	r6, r6, #1
	cmp	r3, r6
	bgt	.L8
.L5:
	mov	r0, #0
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC0
	.word	nr_node_ids
	.word	EINVAL
	.word	MAX_NR_ZONES
	.size	compact_node, .-compact_node
	.comm	nr_node_ids,4,4
	.comm	MAX_NR_ZONES,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
