	.file	"extr_qib_fs.c_qibfs_mknod.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	qibfs_mknod, @function
qibfs_mknod:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, r8
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR 64[rdi]
	call	new_inode@PLT
	test	rax, rax
	je	.L10
	mov	rbp, rax
	xor	eax, eax
	call	get_next_ino@PLT
	mov	DWORD PTR 56[rbp], r12d
	mov	rdi, rbp
	mov	DWORD PTR 60[rbp], eax
	mov	eax, DWORD PTR GLOBAL_ROOT_UID[rip]
	mov	QWORD PTR 40[rbp], 0
	mov	DWORD PTR 52[rbp], eax
	mov	eax, DWORD PTR GLOBAL_ROOT_GID[rip]
	mov	DWORD PTR 48[rbp], eax
	call	current_time@PLT
	mov	QWORD PTR 16[rbp], r15
	mov	edi, r12d
	mov	DWORD PTR 24[rbp], eax
	mov	DWORD PTR 32[rbp], eax
	mov	DWORD PTR 28[rbp], eax
	call	S_ISDIR@PLT
	test	rax, rax
	jne	.L11
.L4:
.L3:
	endbr64
	mov	QWORD PTR 0[rbp], rbx
	mov	rsi, rbp
	mov	rdi, r14
	call	d_instantiate@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	lea	rax, simple_dir_inode_operations[rip]
	mov	rdi, rbp
	mov	QWORD PTR 8[rbp], rax
	call	inc_nlink@PLT
	mov	rdi, r13
	call	inc_nlink@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, DWORD PTR EPERM[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	qibfs_mknod, .-qibfs_mknod
	.comm	simple_dir_inode_operations,4,4
	.comm	GLOBAL_ROOT_UID,4,4
	.comm	GLOBAL_ROOT_GID,4,4
	.comm	EPERM,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_qib_fs.c_qibfs_mknod.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qibfs_mknod, %function
qibfs_mknod:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	ldr	r0, [r0, #44]
	mov	r7, r1
	mov	r5, r2
	mov	r8, r3
	bl	new_inode
	subs	r4, r0, #0
	beq	.L10
	bl	get_next_ino
	mov	r3, #0
	ldr	r1, .L12
	ldr	r2, .L12+4
	ldr	r1, [r1]
	ldr	r2, [r2]
	str	r0, [r4, #40]
	str	r1, [r4, #32]
	str	r2, [r4, #28]
	str	r3, [r4, #24]
	mov	r0, r4
	str	r5, [r4, #36]
	bl	current_time
	ldr	r3, [sp, #24]
	str	r0, [r4, #12]
	str	r0, [r4, #20]
	str	r0, [r4, #16]
	str	r3, [r4, #8]
	mov	r0, r5
	bl	S_ISDIR
	cmp	r0, #0
	bne	.L11
.L4:
.L3:
	mov	r1, r4
	mov	r0, r7
	str	r8, [r4]
	bl	d_instantiate
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	ldr	r3, .L12+8
	mov	r0, r4
	str	r3, [r4, #4]
	bl	inc_nlink
	mov	r0, r6
	bl	inc_nlink
	b	.L4
.L10:
	ldr	r3, .L12+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	.align	2
.L12:
	.word	GLOBAL_ROOT_UID
	.word	GLOBAL_ROOT_GID
	.word	simple_dir_inode_operations
	.word	EPERM
	.size	qibfs_mknod, .-qibfs_mknod
	.comm	simple_dir_inode_operations,4,4
	.comm	GLOBAL_ROOT_UID,4,4
	.comm	GLOBAL_ROOT_GID,4,4
	.comm	EPERM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
