	.file	"extr_f_fs.c_ffs_alloc.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Function FS Gadget"
	.text
	.p2align 4
	.type	ffs_alloc, @function
ffs_alloc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	eax, eax
	call	ENTER@PLT
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 48
	call	kzalloc@PLT
	xor	edi, edi
	test	rax, rax
	mov	r12, rax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L5
	lea	rax, .LC0[rip]
	mov	QWORD PTR [r12], rax
	mov	eax, DWORD PTR ffs_func_bind[rip]
	mov	DWORD PTR 40[r12], eax
	mov	eax, DWORD PTR ffs_func_unbind[rip]
	mov	DWORD PTR 36[r12], eax
	mov	eax, DWORD PTR ffs_func_set_alt[rip]
	mov	DWORD PTR 32[r12], eax
	mov	eax, DWORD PTR ffs_func_disable[rip]
	mov	DWORD PTR 28[r12], eax
	mov	eax, DWORD PTR ffs_func_setup[rip]
	mov	DWORD PTR 24[r12], eax
	mov	eax, DWORD PTR ffs_func_req_match[rip]
	mov	DWORD PTR 20[r12], eax
	mov	eax, DWORD PTR ffs_func_suspend[rip]
	mov	DWORD PTR 16[r12], eax
	mov	eax, DWORD PTR ffs_func_resume[rip]
	mov	DWORD PTR 12[r12], eax
	mov	eax, DWORD PTR ffs_free[rip]
	mov	DWORD PTR 8[r12], eax
	mov	rax, r12
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edi, DWORD PTR ENOMEM[rip]
	pop	r12
	.cfi_def_cfa_offset 8
	neg	edi
	jmp	ERR_PTR@PLT
	.cfi_endproc
.LFE0:
	.size	ffs_alloc, .-ffs_alloc
	.comm	ffs_func_unbind,4,4
	.comm	ffs_func_suspend,4,4
	.comm	ffs_func_setup,4,4
	.comm	ffs_func_set_alt,4,4
	.comm	ffs_func_resume,4,4
	.comm	ffs_func_req_match,4,4
	.comm	ffs_func_disable,4,4
	.comm	ffs_func_bind,4,4
	.comm	ffs_free,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
	.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_f_fs.c_ffs_alloc.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Function FS Gadget\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ffs_alloc, %function
ffs_alloc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	bl	ENTER
	ldr	r3, .L6
	mov	r0, #40
	ldr	r1, [r3]
	bl	kzalloc
	mov	r4, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	bne	.L5
	ldr	lr, .L6+4
	ldr	ip, .L6+8
	ldr	r2, .L6+12
	ldr	r0, .L6+16
	ldr	r5, [lr]
	ldr	r0, [r0]
	ldr	lr, [ip]
	ldr	r1, .L6+20
	ldr	ip, [r2]
	ldr	r2, .L6+24
	ldr	r1, [r1]
	str	r0, [r4, #36]
	ldr	r3, .L6+28
	ldr	r0, [r2]
	ldr	r2, .L6+32
	ldr	r3, [r3]
	str	r1, [r4, #32]
	ldr	r1, [r2]
	ldr	r2, .L6+36
	str	r3, [r4, #20]
	ldr	r2, [r2]
	ldr	r3, .L6+40
	str	r0, [r4, #12]
	str	r5, [r4, #28]
	mov	r0, r4
	str	lr, [r4, #24]
	str	ip, [r4, #16]
	str	r1, [r4, #8]
	str	r2, [r4, #4]
	str	r3, [r4]
	pop	{r4, r5, r6, pc}
.L5:
	ldr	r3, .L6+44
	pop	{r4, r5, r6, lr}
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	ERR_PTR
.L7:
	.align	2
.L6:
	.word	GFP_KERNEL
	.word	ffs_func_set_alt
	.word	ffs_func_disable
	.word	ffs_func_req_match
	.word	ffs_func_bind
	.word	ffs_func_unbind
	.word	ffs_func_suspend
	.word	ffs_func_setup
	.word	ffs_func_resume
	.word	ffs_free
	.word	.LC0
	.word	ENOMEM
	.size	ffs_alloc, .-ffs_alloc
	.comm	ffs_func_unbind,4,4
	.comm	ffs_func_suspend,4,4
	.comm	ffs_func_setup,4,4
	.comm	ffs_func_set_alt,4,4
	.comm	ffs_func_resume,4,4
	.comm	ffs_func_req_match,4,4
	.comm	ffs_func_disable,4,4
	.comm	ffs_func_bind,4,4
	.comm	ffs_free,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
