	.file	"extr_debug.c_ubi_debugfs_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ubi"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"UBI error: cannot create \"ubi\" debugfs directory, error %d\n"
	.text
	.p2align 4
	.globl	ubi_debugfs_init
	.type	ubi_debugfs_init, @function
ubi_debugfs_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edi, DWORD PTR CONFIG_DEBUG_FS[rip]
	call	IS_ENABLED@PLT
	test	eax, eax
	jne	.L2
.L4:
	xor	r12d, r12d
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	xor	esi, esi
	lea	rdi, .LC0[rip]
	call	debugfs_create_dir@PLT
	mov	rdi, rax
	mov	QWORD PTR dfs_rootdir[rip], rax
	call	IS_ERR_OR_NULL@PLT
	test	rax, rax
	je	.L4
	mov	r12d, DWORD PTR ENODEV[rip]
	mov	rdi, QWORD PTR dfs_rootdir[rip]
	neg	r12d
	test	rdi, rdi
	jne	.L13
.L6:
	mov	esi, r12d
	lea	rdi, .LC1[rip]
	call	pr_err@PLT
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	call	PTR_ERR@PLT
	mov	r12d, eax
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	ubi_debugfs_init, .-ubi_debugfs_init
	.comm	dfs_rootdir,8,8
	.comm	ENODEV,4,4
	.comm	CONFIG_DEBUG_FS,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_debug.c_ubi_debugfs_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ubi\000"
	.align	2
.LC1:
	.ascii	"UBI error: cannot create \"ubi\" debugfs directory,"
	.ascii	" error %d\012\000"
	.text
	.align	2
	.global	ubi_debugfs_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	ubi_debugfs_init, %function
ubi_debugfs_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L13
	push	{r4, lr}
	ldr	r0, [r3]
	bl	IS_ENABLED
	cmp	r0, #0
	bne	.L2
.L4:
	mov	r4, #0
	mov	r0, r4
	pop	{r4, pc}
.L2:
	mov	r1, #0
	ldr	r0, .L13+4
	bl	debugfs_create_dir
	ldr	r4, .L13+8
	str	r0, [r4]
	bl	IS_ERR_OR_NULL
	cmp	r0, #0
	beq	.L4
	ldr	r0, [r4]
	cmp	r0, #0
	bne	.L12
	ldr	r3, .L13+12
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L6:
	mov	r1, r4
	ldr	r0, .L13+16
	bl	pr_err
	mov	r0, r4
	pop	{r4, pc}
.L12:
	bl	PTR_ERR
	mov	r4, r0
	b	.L6
.L14:
	.align	2
.L13:
	.word	CONFIG_DEBUG_FS
	.word	.LC0
	.word	dfs_rootdir
	.word	ENODEV
	.word	.LC1
	.size	ubi_debugfs_init, .-ubi_debugfs_init
	.comm	dfs_rootdir,4,4
	.comm	ENODEV,4,4
	.comm	CONFIG_DEBUG_FS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
