	.file	"extr_memcontrol.c_mem_cgroup_update_tree.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mem_cgroup_update_tree, @function
mem_cgroup_update_tree:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	mov	rdi, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	soft_limit_tree_from_page@PLT
	test	rax, rax
	je	.L1
	mov	rbx, rax
	test	rbp, rbp
	jne	.L6
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rsi, rbx
	mov	rdi, r12
	mov	rdx, r13
	call	__mem_cgroup_insert_exceeded@PLT
	xor	esi, esi
	mov	rdi, rbx
	call	spin_unlock_irqrestore@PLT
.L4:
	mov	rdi, rbp
	call	parent_mem_cgroup@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L1
.L6:
	mov	rsi, r14
	mov	rdi, rbp
	call	mem_cgroup_page_nodeinfo@PLT
	mov	rdi, rbp
	mov	r12, rax
	call	soft_limit_excess@PLT
	mov	r13, rax
	test	rax, rax
	jne	.L3
	cmp	QWORD PTR [r12], 0
	je	.L4
.L3:
	xor	esi, esi
	mov	rdi, rbx
	call	spin_lock_irqsave@PLT
	cmp	QWORD PTR [r12], 0
	je	.L5
	mov	rsi, rbx
	mov	rdi, r12
	call	__mem_cgroup_remove_exceeded@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L1:
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mem_cgroup_update_tree, .-mem_cgroup_update_tree
	.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_update_tree.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mem_cgroup_update_tree, %function
mem_cgroup_update_tree:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r0, r1
	mov	r8, r1
	bl	soft_limit_tree_from_page
	subs	r7, r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	cmp	r4, #0
	bne	.L6
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	mov	r1, r7
	mov	r2, r6
	mov	r0, r5
	bl	__mem_cgroup_insert_exceeded
	mov	r1, #0
	mov	r0, r7
	bl	spin_unlock_irqrestore
.L4:
	mov	r0, r4
	bl	parent_mem_cgroup
	subs	r4, r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
.L6:
	mov	r1, r8
	mov	r0, r4
	bl	mem_cgroup_page_nodeinfo
	mov	r5, r0
	mov	r0, r4
	bl	soft_limit_excess
	subs	r6, r0, #0
	bne	.L3
	ldr	r3, [r5]
	cmp	r3, #0
	beq	.L4
.L3:
	mov	r1, #0
	mov	r0, r7
	bl	spin_lock_irqsave
	ldr	r3, [r5]
	cmp	r3, #0
	beq	.L5
	mov	r1, r7
	mov	r0, r5
	bl	__mem_cgroup_remove_exceeded
	b	.L5
	.size	mem_cgroup_update_tree, .-mem_cgroup_update_tree
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
