	.file	"extr_inode.c_fs_create_by_name.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Ah! can not find a parent!"
	.text
	.p2align 4
	.type	fs_create_by_name, @function
fs_create_by_name:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	rdx, rdx
	je	.L17
.L2:
	mov	QWORD PTR 0[rbp], 0
	mov	rdi, QWORD PTR [rbx]
	call	mutex_lock@PLT
	mov	rdi, r12
	call	strlen@PLT
	mov	rdi, r12
	mov	rsi, rbx
	mov	edx, eax
	call	lookup_one_len@PLT
	mov	QWORD PTR 0[rbp], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	eax, eax
	jne	.L5
	mov	eax, DWORD PTR S_IFMT[rip]
	mov	rdi, QWORD PTR [rbx]
	mov	edx, r13d
	mov	rsi, QWORD PTR 0[rbp]
	and	eax, r13d
	cmp	eax, DWORD PTR S_IFDIR[rip]
	je	.L18
	call	usbfs_create@PLT
	mov	r12d, eax
.L7:
	mov	rdi, QWORD PTR [rbx]
	call	mutex_unlock@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.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
.L17:
	.cfi_restore_state
	mov	rax, QWORD PTR usbfs_mount[rip]
	test	rax, rax
	je	.L3
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L3
	mov	rbx, QWORD PTR [rax]
	test	rbx, rbx
	jne	.L2
.L3:
	lea	rdi, .LC0[rip]
	call	dbg@PLT
	mov	r12d, DWORD PTR EFAULT[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdi, QWORD PTR 0[rbp]
	call	PTR_ERR@PLT
	mov	r12d, eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L18:
	call	usbfs_mkdir@PLT
	mov	r12d, eax
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	fs_create_by_name, .-fs_create_by_name
	.comm	usbfs_mount,8,8
	.comm	S_IFMT,4,4
	.comm	S_IFDIR,4,4
	.comm	EFAULT,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_inode.c_fs_create_by_name.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Ah! can not find a parent!\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fs_create_by_name, %function
fs_create_by_name:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r4, r2, #0
	mov	r6, r0
	mov	r7, r1
	mov	r5, r3
	beq	.L16
.L2:
	mov	r3, #0
	ldr	r0, [r4]
	str	r3, [r5]
	bl	mutex_lock
	mov	r0, r6
	bl	strlen
	mov	r1, r4
	mov	r2, r0
	mov	r0, r6
	bl	lookup_one_len
	str	r0, [r5]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L5
	ldr	r3, .L18
	ldr	r2, .L18+4
	ldr	r3, [r3]
	ldr	r2, [r2]
	and	r3, r3, r7
	cmp	r3, r2
	ldr	r1, [r5]
	mov	r2, r7
	ldr	r0, [r4]
	beq	.L17
	bl	usbfs_create
	mov	r5, r0
.L7:
	ldr	r0, [r4]
	bl	mutex_unlock
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	ldr	r3, .L18+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L3
	ldr	r4, [r3]
	cmp	r4, #0
	bne	.L2
.L3:
	ldr	r0, .L18+12
	bl	dbg
	ldr	r3, .L18+16
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	ldr	r0, [r5]
	bl	PTR_ERR
	mov	r5, r0
	b	.L7
.L17:
	bl	usbfs_mkdir
	mov	r5, r0
	b	.L7
.L19:
	.align	2
.L18:
	.word	S_IFMT
	.word	S_IFDIR
	.word	usbfs_mount
	.word	.LC0
	.word	EFAULT
	.size	fs_create_by_name, .-fs_create_by_name
	.comm	usbfs_mount,4,4
	.comm	S_IFMT,4,4
	.comm	S_IFDIR,4,4
	.comm	EFAULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
