	.file	"extr_inode.c_hypfs_create_file.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	hypfs_create_file, @function
hypfs_create_file:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, r8d
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rdi, QWORD PTR [rsi]
	mov	rbx, rsi
	call	mutex_lock@PLT
	mov	rdi, r12
	call	strlen@PLT
	mov	rdi, r12
	mov	rsi, rbx
	mov	rdx, rax
	call	lookup_one_len@PLT
	mov	rdi, rax
	mov	r12, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L10
	mov	rdi, rbp
	mov	esi, r13d
	call	hypfs_make_inode@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L12
	test	DWORD PTR S_IFREG[rip], r13d
	je	.L5
	lea	rax, hypfs_file_ops[rip]
	mov	QWORD PTR 8[rbp], rax
	test	r14, r14
	je	.L6
	mov	rdi, r14
	call	strlen@PLT
	mov	QWORD PTR 24[rbp], rax
.L7:
	mov	QWORD PTR 0[rbp], r14
	mov	rdi, r12
	mov	rsi, rbp
	call	d_instantiate@PLT
	mov	rdi, r12
	call	dget@PLT
.L3:
	mov	rdi, QWORD PTR [rbx]
	call	mutex_unlock@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	test	DWORD PTR S_IFDIR[rip], r13d
	je	.L8
	lea	rax, simple_dir_inode_operations[rip]
	mov	QWORD PTR 16[rbp], rax
	lea	rax, simple_dir_operations[rip]
	mov	QWORD PTR 8[rbp], rax
	mov	rax, QWORD PTR [rbx]
	add	DWORD PTR 4[rax], 1
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, r12
	call	dput@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edi, DWORD PTR ENOMEM[rip]
	neg	edi
	call	ERR_PTR@PLT
	mov	r12, rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L8:
	xor	eax, eax
	call	BUG@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	mov	QWORD PTR 24[rbp], 0
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	hypfs_create_file, .-hypfs_create_file
	.comm	simple_dir_operations,4,4
	.comm	simple_dir_inode_operations,4,4
	.comm	hypfs_file_ops,4,4
	.comm	S_IFREG,4,4
	.comm	S_IFDIR,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_inode.c_hypfs_create_file.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hypfs_create_file, %function
hypfs_create_file:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r2
	mov	r5, r0
	ldr	r0, [r1]
	mov	r7, r3
	mov	r6, r1
	ldr	r8, [sp, #24]
	bl	mutex_lock
	mov	r0, r4
	bl	strlen
	mov	r1, r6
	mov	r2, r0
	mov	r0, r4
	bl	lookup_one_len
	mov	r4, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L10
	mov	r0, r5
	mov	r1, r8
	bl	hypfs_make_inode
	subs	r5, r0, #0
	beq	.L12
	ldr	r3, .L13
	ldr	r3, [r3]
	tst	r8, r3
	beq	.L5
	ldr	r3, .L13+4
	cmp	r7, #0
	str	r3, [r5, #4]
	streq	r7, [r5, #12]
	beq	.L7
	mov	r0, r7
	bl	strlen
	str	r0, [r5, #12]
.L7:
	mov	r1, r5
	mov	r0, r4
	str	r7, [r5]
	bl	d_instantiate
	mov	r0, r4
	bl	dget
.L3:
	ldr	r0, [r6]
	bl	mutex_unlock
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	ldr	r3, .L13+8
	ldr	r3, [r3]
	tst	r8, r3
	beq	.L8
	ldr	r2, [r6]
	ldr	r0, .L13+12
	ldr	r3, [r2, #4]
	ldr	r1, .L13+16
	add	r3, r3, #1
	str	r0, [r5, #8]
	str	r1, [r5, #4]
	str	r3, [r2, #4]
	b	.L7
.L12:
	mov	r0, r4
	bl	dput
.L10:
	ldr	r3, .L13+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bl	ERR_PTR
	mov	r4, r0
	b	.L3
.L8:
	bl	BUG
	b	.L7
.L14:
	.align	2
.L13:
	.word	S_IFREG
	.word	hypfs_file_ops
	.word	S_IFDIR
	.word	simple_dir_inode_operations
	.word	simple_dir_operations
	.word	ENOMEM
	.size	hypfs_create_file, .-hypfs_create_file
	.comm	simple_dir_operations,4,4
	.comm	simple_dir_inode_operations,4,4
	.comm	hypfs_file_ops,4,4
	.comm	S_IFREG,4,4
	.comm	S_IFDIR,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
