	.file	"extr_xattr_security.c_reiserfs_security_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	reiserfs_security_init
	.type	reiserfs_security_init, @function
reiserfs_security_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rcx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	QWORD PTR 16[rcx], 0
	call	IS_PRIVATE@PLT
	test	rax, rax
	je	.L2
.L6:
	xor	r12d, r12d
.L1:
	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
.L2:
	.cfi_restore_state
	mov	rdx, r12
	lea	rcx, 16[rbx]
	mov	r9, rbx
	mov	rsi, rbp
	lea	r8, 8[rbx]
	mov	rdi, r13
	call	security_old_inode_init_security@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L12
	cmp	QWORD PTR [rbx], 0
	je	.L6
	mov	edi, DWORD PTR 0[r13]
	call	reiserfs_xattrs_initialized@PLT
	test	rax, rax
	je	.L6
	mov	rdi, r13
	call	reiserfs_xattr_jcreate_nblocks@PLT
	mov	rsi, QWORD PTR [rbx]
	mov	rdi, r13
	mov	r12d, eax
	call	reiserfs_xattr_nblocks@PLT
	mov	rdi, r13
	add	r12d, eax
	call	REISERFS_I@PLT
	mov	edx, DWORD PTR i_has_xattr_dir[rip]
	or	DWORD PTR [rax], edx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	add	eax, DWORD PTR EOPNOTSUPP[rip]
	mov	eax, 0
	mov	QWORD PTR 16[rbx], 0
	cmove	r12d, eax
	mov	QWORD PTR 8[rbx], 0
	mov	QWORD PTR [rbx], 0
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	reiserfs_security_init, .-reiserfs_security_init
	.comm	i_has_xattr_dir,4,4
	.comm	EOPNOTSUPP,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_xattr_security.c_reiserfs_security_init.c"
	.text
	.align	2
	.global	reiserfs_security_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	reiserfs_security_init, %function
reiserfs_security_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	push	{r4, r5, r6, r7, r8, lr}
	str	ip, [r3, #8]
	sub	sp, sp, #8
	mov	r4, r3
	mov	r7, r1
	mov	r6, r2
	mov	r5, r0
	bl	IS_PRIVATE
	subs	r8, r0, #0
	beq	.L2
.L6:
	mov	r5, #0
.L1:
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	add	r3, r4, #4
	mov	r1, r5
	str	r3, [sp]
	mov	r2, r6
	mov	r0, r7
	str	r4, [sp, #4]
	add	r3, r4, #8
	bl	security_old_inode_init_security
	subs	r5, r0, #0
	bne	.L15
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L6
	ldr	r0, [r7]
	bl	reiserfs_xattrs_initialized
	cmp	r0, #0
	beq	.L6
	mov	r0, r7
	bl	reiserfs_xattr_jcreate_nblocks
	ldr	r1, [r4]
	mov	r5, r0
	mov	r0, r7
	bl	reiserfs_xattr_nblocks
	mov	r3, r0
	mov	r0, r7
	add	r5, r5, r3
	bl	REISERFS_I
	ldr	r2, .L16
	ldr	r3, [r0]
	ldr	r2, [r2]
	orr	r3, r3, r2
	str	r3, [r0]
	b	.L1
.L15:
	ldr	r3, .L16+4
	str	r8, [r4, #8]
	ldr	r3, [r3]
	str	r8, [r4, #4]
	cmn	r5, r3
	moveq	r5, #0
	mov	r0, r5
	str	r8, [r4]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	.align	2
.L16:
	.word	i_has_xattr_dir
	.word	EOPNOTSUPP
	.size	reiserfs_security_init, .-reiserfs_security_init
	.comm	i_has_xattr_dir,4,4
	.comm	EOPNOTSUPP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
