	.file	"extr_workingset.c_workingset_refault.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	workingset_refault
	.type	workingset_refault, @function
workingset_refault:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	mov	rdi, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	lea	rcx, 16[rsp]
	lea	rdx, 8[rsp]
	mov	r8, rsp
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rsi, 4[rsp]
	call	unpack_shadow@PLT
	xor	eax, eax
	call	rcu_read_lock@PLT
	mov	edi, DWORD PTR 4[rsp]
	call	mem_cgroup_from_id@PLT
	mov	rbp, rax
	xor	eax, eax
	call	mem_cgroup_disabled@PLT
	test	rbp, rbp
	jne	.L2
	test	eax, eax
	je	.L3
.L2:
	mov	rdi, QWORD PTR 8[rsp]
	mov	rsi, rbp
	call	mem_cgroup_lruvec@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	atomic_long_read@PLT
	mov	esi, DWORD PTR LRU_ACTIVE_FILE[rip]
	mov	edx, DWORD PTR MAX_NR_ZONES[rip]
	mov	rdi, rbp
	mov	rbx, rax
	call	lruvec_lru_size@PLT
	mov	esi, DWORD PTR WORKINGSET_REFAULT[rip]
	sub	rbx, QWORD PTR 16[rsp]
	mov	rdi, rbp
	mov	r13, rax
	and	rbx, QWORD PTR EVICTION_MASK[rip]
	call	inc_lruvec_state@PLT
	cmp	r13, rbx
	jnb	.L14
.L3:
	xor	eax, eax
	call	rcu_read_unlock@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	rdi, r12
	call	SetPageActive@PLT
	mov	rdi, rbp
	call	atomic_long_inc@PLT
	mov	esi, DWORD PTR WORKINGSET_ACTIVATE[rip]
	mov	rdi, rbp
	call	inc_lruvec_state@PLT
	mov	eax, DWORD PTR [rsp]
	test	eax, eax
	je	.L3
	mov	rdi, r12
	call	SetPageWorkingset@PLT
	mov	esi, DWORD PTR WORKINGSET_RESTORE[rip]
	mov	rdi, rbp
	call	inc_lruvec_state@PLT
	jmp	.L3
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	workingset_refault, .-workingset_refault
	.comm	WORKINGSET_RESTORE,4,4
	.comm	WORKINGSET_REFAULT,4,4
	.comm	WORKINGSET_ACTIVATE,4,4
	.comm	MAX_NR_ZONES,4,4
	.comm	LRU_ACTIVE_FILE,4,4
	.comm	EVICTION_MASK,8,8
	.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_workingset.c_workingset_refault.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	workingset_refault
	.syntax unified
	.arm
	.fpu softvfp
	.type	workingset_refault, %function
workingset_refault:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	sub	sp, sp, #36
	ldr	ip, .L13
	add	r3, sp, #20
	add	r2, sp, #12
	str	r3, [sp]
	mov	r6, r0
	add	r3, sp, #16
	mov	r0, r1
	add	r1, sp, #24
	ldr	ip, [ip]
	str	ip, [sp, #28]
	mov	ip,#0
	bl	unpack_shadow
	bl	rcu_read_lock
	ldr	r0, [sp, #24]
	bl	mem_cgroup_from_id
	mov	r4, r0
	bl	mem_cgroup_disabled
	orrs	r3, r4, r0
	beq	.L3
	mov	r1, r4
	ldr	r0, [sp, #12]
	bl	mem_cgroup_lruvec
	mov	r5, r0
	bl	atomic_long_read
	ldr	r3, .L13+4
	ldr	r2, .L13+8
	ldr	r1, [r3]
	mov	r4, r0
	ldr	r2, [r2]
	mov	r0, r5
	bl	lruvec_lru_size
	mov	r7, r0
	ldr	r3, .L13+12
	ldr	r1, [sp, #16]
	ldr	r2, [r3]
	ldr	r3, .L13+16
	sub	r4, r4, r1
	and	r4, r4, r2
	mov	r0, r5
	ldr	r1, [r3]
	bl	inc_lruvec_state
	cmp	r7, r4
	bcs	.L11
.L3:
	bl	rcu_read_unlock
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	mov	r0, r6
	bl	SetPageActive
	mov	r0, r5
	bl	atomic_long_inc
	ldr	r3, .L13+20
	mov	r0, r5
	ldr	r1, [r3]
	bl	inc_lruvec_state
	ldr	r3, [sp, #20]
	cmp	r3, #0
	beq	.L3
	mov	r0, r6
	bl	SetPageWorkingset
	ldr	r3, .L13+24
	mov	r0, r5
	ldr	r1, [r3]
	bl	inc_lruvec_state
	b	.L3
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	LRU_ACTIVE_FILE
	.word	MAX_NR_ZONES
	.word	EVICTION_MASK
	.word	WORKINGSET_REFAULT
	.word	WORKINGSET_ACTIVATE
	.word	WORKINGSET_RESTORE
	.size	workingset_refault, .-workingset_refault
	.comm	WORKINGSET_RESTORE,4,4
	.comm	WORKINGSET_REFAULT,4,4
	.comm	WORKINGSET_ACTIVATE,4,4
	.comm	MAX_NR_ZONES,4,4
	.comm	LRU_ACTIVE_FILE,4,4
	.comm	EVICTION_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
