	.file	"extr_memcontrol.c_mem_cgroup_charge_statistics.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mem_cgroup_charge_statistics, @function
mem_cgroup_charge_statistics:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rcx, QWORD PTR PAGE_SHIFT[rip]
	xor	eax, eax
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdx
	sar	rbx, cl
	call	get_cpu@PLT
	mov	rdx, QWORD PTR 0[rbp]
	mov	rdi, r12
	cdqe
	lea	rbp, [rdx+rax*4]
	call	PageCgroupCache@PLT
	mov	edx, ebx
	test	rax, rax
	je	.L2
	mov	esi, DWORD PTR MEM_CGROUP_STAT_CACHE[rip]
	mov	rdi, rbp
	call	__mem_cgroup_stat_add_safe@PLT
	mov	edx, 1
	test	rbx, rbx
	jle	.L4
.L8:
	mov	esi, DWORD PTR MEM_CGROUP_STAT_PGPGIN_COUNT[rip]
	mov	rdi, rbp
	call	__mem_cgroup_stat_add_safe@PLT
.L5:
	mov	esi, DWORD PTR MEM_CGROUP_STAT_EVENTS[rip]
	mov	rdi, rbp
	mov	edx, 1
	call	__mem_cgroup_stat_add_safe@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	put_cpu@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR MEM_CGROUP_STAT_RSS[rip]
	mov	rdi, rbp
	call	__mem_cgroup_stat_add_safe@PLT
	mov	edx, 1
	test	rbx, rbx
	jg	.L8
.L4:
	mov	esi, DWORD PTR MEM_CGROUP_STAT_PGPGOUT_COUNT[rip]
	mov	rdi, rbp
	call	__mem_cgroup_stat_add_safe@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	mem_cgroup_charge_statistics, .-mem_cgroup_charge_statistics
	.comm	PAGE_SHIFT,8,8
	.comm	MEM_CGROUP_STAT_RSS,4,4
	.comm	MEM_CGROUP_STAT_PGPGOUT_COUNT,4,4
	.comm	MEM_CGROUP_STAT_PGPGIN_COUNT,4,4
	.comm	MEM_CGROUP_STAT_EVENTS,4,4
	.comm	MEM_CGROUP_STAT_CACHE,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_memcontrol.c_mem_cgroup_charge_statistics.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mem_cgroup_charge_statistics, %function
mem_cgroup_charge_statistics:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L8
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, [r3]
	mov	r6, r1
	asr	r5, r2, r5
	mov	r7, r0
	bl	get_cpu
	mov	r3, r0
	ldr	r4, [r7]
	mov	r0, r6
	add	r4, r4, r3, lsl #2
	bl	PageCgroupCache
	cmp	r0, #0
	ldrne	r3, .L8+4
	ldreq	r3, .L8+8
	mov	r2, r5
	ldr	r1, [r3]
	mov	r0, r4
	bl	__mem_cgroup_stat_add_safe
	cmp	r5, #0
	ldrgt	r3, .L8+12
	ldrle	r3, .L8+16
	mov	r2, #1
	ldr	r1, [r3]
	mov	r0, r4
	bl	__mem_cgroup_stat_add_safe
	ldr	r3, .L8+20
	mov	r0, r4
	mov	r2, #1
	ldr	r1, [r3]
	bl	__mem_cgroup_stat_add_safe
	pop	{r4, r5, r6, r7, r8, lr}
	b	put_cpu
.L9:
	.align	2
.L8:
	.word	PAGE_SHIFT
	.word	MEM_CGROUP_STAT_CACHE
	.word	MEM_CGROUP_STAT_RSS
	.word	MEM_CGROUP_STAT_PGPGIN_COUNT
	.word	MEM_CGROUP_STAT_PGPGOUT_COUNT
	.word	MEM_CGROUP_STAT_EVENTS
	.size	mem_cgroup_charge_statistics, .-mem_cgroup_charge_statistics
	.comm	PAGE_SHIFT,4,4
	.comm	MEM_CGROUP_STAT_RSS,4,4
	.comm	MEM_CGROUP_STAT_PGPGOUT_COUNT,4,4
	.comm	MEM_CGROUP_STAT_PGPGIN_COUNT,4,4
	.comm	MEM_CGROUP_STAT_EVENTS,4,4
	.comm	MEM_CGROUP_STAT_CACHE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
