	.file	"extr_hugetlb.c_alloc_fresh_huge_page_node.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	alloc_fresh_huge_page_node, @function
alloc_fresh_huge_page_node:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	rax, QWORD PTR MAX_ORDER[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	cmp	QWORD PTR [rdi], rax
	jge	.L10
	mov	r12d, esi
	mov	rbp, rdi
	call	huge_page_order@PLT
	mov	esi, DWORD PTR htlb_alloc_mask[rip]
	mov	edi, r12d
	or	esi, DWORD PTR __GFP_COMP[rip]
	mov	edx, eax
	or	esi, DWORD PTR __GFP_THISNODE[rip]
	or	esi, DWORD PTR __GFP_REPEAT[rip]
	or	esi, DWORD PTR __GFP_NOWARN[rip]
	call	alloc_pages_exact_node@PLT
	mov	r13, rax
	test	rax, rax
	je	.L10
	mov	rdi, rax
	call	arch_prepare_hugepage@PLT
	test	rax, rax
	jne	.L12
	mov	edx, r12d
	mov	rsi, r13
	mov	rdi, rbp
	call	prep_new_huge_page@PLT
	mov	rax, r13
	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
.L12:
	.cfi_restore_state
	mov	rdi, rbp
	call	huge_page_order@PLT
	mov	rdi, r13
	mov	esi, eax
	call	__free_pages@PLT
.L10:
	xor	r13d, r13d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	mov	rax, r13
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	alloc_fresh_huge_page_node, .-alloc_fresh_huge_page_node
	.comm	htlb_alloc_mask,4,4
	.comm	__GFP_THISNODE,4,4
	.comm	__GFP_REPEAT,4,4
	.comm	__GFP_NOWARN,4,4
	.comm	__GFP_COMP,4,4
	.comm	MAX_ORDER,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_hugetlb.c_alloc_fresh_huge_page_node.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	alloc_fresh_huge_page_node, %function
alloc_fresh_huge_page_node:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L13
	ldr	r2, [r0]
	ldr	r3, [r3]
	push	{r4, r5, r6, lr}
	cmp	r2, r3
	bge	.L10
	mov	r5, r1
	ldr	r3, .L13+4
	ldr	r1, .L13+8
	ldr	r3, [r3]
	ldr	r4, [r1]
	ldr	r2, .L13+12
	orr	r4, r4, r3
	ldr	r3, .L13+16
	ldr	r1, [r2]
	ldr	r2, .L13+20
	ldr	r3, [r3]
	orr	r4, r4, r1
	ldr	r1, [r2]
	orr	r4, r4, r3
	orr	r4, r4, r1
	mov	r6, r0
	bl	huge_page_order
	mov	r1, r4
	mov	r2, r0
	mov	r0, r5
	bl	alloc_pages_exact_node
	subs	r4, r0, #0
	beq	.L10
	bl	arch_prepare_hugepage
	cmp	r0, #0
	bne	.L12
	mov	r2, r5
	mov	r0, r6
	mov	r1, r4
	bl	prep_new_huge_page
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L12:
	mov	r0, r6
	bl	huge_page_order
	mov	r1, r0
	mov	r0, r4
	bl	__free_pages
.L10:
	mov	r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L14:
	.align	2
.L13:
	.word	MAX_ORDER
	.word	__GFP_COMP
	.word	htlb_alloc_mask
	.word	__GFP_THISNODE
	.word	__GFP_REPEAT
	.word	__GFP_NOWARN
	.size	alloc_fresh_huge_page_node, .-alloc_fresh_huge_page_node
	.comm	htlb_alloc_mask,4,4
	.comm	__GFP_THISNODE,4,4
	.comm	__GFP_REPEAT,4,4
	.comm	__GFP_NOWARN,4,4
	.comm	__GFP_COMP,4,4
	.comm	MAX_ORDER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
