	.file	"extr_kern_malloc.c_contigmalloc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	contigmalloc
	.type	contigmalloc, @function
contigmalloc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	eax, DWORD PTR VM_MEMATTR_DEFAULT[rip]
	mov	r13, rsi
	mov	esi, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	edx, ecx
	mov	ecx, r8d
	mov	r8, r9
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	push	rax
	.cfi_def_cfa_offset 48
	mov	r9d, DWORD PTR 48[rsp]
	call	kmem_alloc_contig@PLT
	pop	rdx
	.cfi_def_cfa_offset 40
	pop	rcx
	.cfi_def_cfa_offset 32
	mov	r12, rax
	test	rax, rax
	jne	.L8
	mov	rax, r12
	pop	rbp
	.cfi_remember_state
	.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
.L8:
	.cfi_restore_state
	mov	rdi, rbp
	call	round_page@PLT
	mov	rdi, r13
	mov	esi, eax
	call	malloc_type_allocated@PLT
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	contigmalloc, .-contigmalloc
	.comm	VM_MEMATTR_DEFAULT,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_kern_malloc.c_contigmalloc.c"
	.text
	.align	2
	.global	contigmalloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	contigmalloc, %function
contigmalloc:
	@ args = 12, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r2
	mov	ip, r1
	ldr	r2, .L9
	sub	sp, sp, #16
	ldr	r4, [r2]
	ldr	lr, [sp, #36]
	mov	r2, r3
	ldr	r3, [sp, #40]
	mov	r1, r5
	str	r4, [sp, #8]
	str	r3, [sp, #4]
	str	lr, [sp]
	ldr	r3, [sp, #32]
	mov	r5, ip
	mov	r6, r0
	bl	kmem_alloc_contig
	subs	r4, r0, #0
	bne	.L8
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L8:
	mov	r0, r6
	bl	round_page
	mov	r1, r0
	mov	r0, r5
	bl	malloc_type_allocated
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L10:
	.align	2
.L9:
	.word	VM_MEMATTR_DEFAULT
	.size	contigmalloc, .-contigmalloc
	.comm	VM_MEMATTR_DEFAULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
