	.file	"extr_dummy.c_alloc_fake_buffer.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	alloc_fake_buffer, @function
alloc_fake_buffer:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR fake_buffer[rip]
	test	eax, eax
	je	.L14
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	edi, DWORD PTR GFP_KERNEL[rip]
	call	get_zeroed_page@PLT
	mov	rdx, QWORD PTR dummy_page[rip]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR dummy_page[rip]
	cmp	QWORD PTR [rax], 0
	je	.L5
	mov	edi, DWORD PTR GFP_KERNEL[rip]
	call	get_zeroed_page@PLT
	mov	rdx, QWORD PTR dummy_page[rip]
	mov	QWORD PTR 8[rdx], rax
	test	rax, rax
	je	.L5
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_def_cfa_offset 16
	xor	eax, eax
	call	free_fake_buffer@PLT
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	alloc_fake_buffer, .-alloc_fake_buffer
	.comm	fake_buffer,4,4
	.comm	dummy_page,8,8
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,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_dummy.c_alloc_fake_buffer.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	alloc_fake_buffer, %function
alloc_fake_buffer:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L15
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L14
	push	{r4, r5, r6, lr}
	ldr	r5, .L15+4
	ldr	r4, .L15+8
	ldr	r0, [r5]
	bl	get_zeroed_page
	ldr	r3, [r4]
	str	r0, [r3]
	ldr	r3, [r4]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L5
	ldr	r0, [r5]
	bl	get_zeroed_page
	ldr	r3, [r4]
	cmp	r0, #0
	str	r0, [r3, #4]
	beq	.L5
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L14:
	mov	r0, #0
	bx	lr
.L5:
	bl	free_fake_buffer
	ldr	r3, .L15+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L16:
	.align	2
.L15:
	.word	fake_buffer
	.word	GFP_KERNEL
	.word	dummy_page
	.word	ENOMEM
	.size	alloc_fake_buffer, .-alloc_fake_buffer
	.comm	fake_buffer,4,4
	.comm	dummy_page,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
