	.file	"extr_cmm.c_cmm_oom_notify.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"OOM processing started\n"
.LC1:
	.string	"OOM processing complete\n"
	.text
	.p2align 4
	.type	cmm_oom_notify, @function
cmm_oom_notify:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edi, DWORD PTR oom_kb[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	KB2PAGES@PLT
	lea	rdi, .LC0[rip]
	mov	r12, rax
	call	cmm_dbg@PLT
	mov	rdi, r12
	call	cmm_free_pages@PLT
	mov	edi, DWORD PTR oom_kb[rip]
	mov	rbx, rax
	mov	eax, DWORD PTR loaned_pages[rip]
	mov	DWORD PTR loaned_pages_target[rip], eax
	call	KB2PAGES@PLT
	mov	edi, DWORD PTR oom_kb[rip]
	sub	rax, rbx
	add	QWORD PTR 0[rbp], rax
	call	KB2PAGES@PLT
	lea	rdi, .LC1[rip]
	sub	rax, rbx
	add	DWORD PTR oom_freed_pages[rip], eax
	call	cmm_dbg@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR NOTIFY_OK[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	cmm_oom_notify, .-cmm_oom_notify
	.comm	oom_kb,4,4
	.comm	oom_freed_pages,4,4
	.comm	loaned_pages_target,4,4
	.comm	loaned_pages,4,4
	.comm	NOTIFY_OK,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_cmm.c_cmm_oom_notify.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"OOM processing started\012\000"
	.align	2
.LC1:
	.ascii	"OOM processing complete\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmm_oom_notify, %function
cmm_oom_notify:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, .L4
	mov	r5, r2
	ldr	r0, [r6]
	bl	KB2PAGES
	mov	r4, r0
	ldr	r0, .L4+4
	bl	cmm_dbg
	mov	r0, r4
	bl	cmm_free_pages
	ldr	r2, .L4+8
	ldr	r3, .L4+12
	ldr	r2, [r2]
	mov	r4, r0
	ldr	r0, [r6]
	str	r2, [r3]
	bl	KB2PAGES
	ldr	r3, [r5]
	sub	r0, r0, r4
	add	r3, r3, r0
	ldr	r0, [r6]
	str	r3, [r5]
	bl	KB2PAGES
	ldr	r2, .L4+16
	sub	r3, r0, r4
	ldr	r4, [r2]
	ldr	r0, .L4+20
	add	r4, r4, r3
	str	r4, [r2]
	bl	cmm_dbg
	ldr	r3, .L4+24
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	oom_kb
	.word	.LC0
	.word	loaned_pages
	.word	loaned_pages_target
	.word	oom_freed_pages
	.word	.LC1
	.word	NOTIFY_OK
	.size	cmm_oom_notify, .-cmm_oom_notify
	.comm	oom_kb,4,4
	.comm	oom_freed_pages,4,4
	.comm	loaned_pages_target,4,4
	.comm	loaned_pages,4,4
	.comm	NOTIFY_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
