	.file	"extr_ext_attr.c_ext2fs_xattrs_open.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ext2fs_xattrs_open
	.type	ext2fs_xattrs_open, @function
ext2fs_xattrs_open:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	ext2fs_has_feature_xattr@PLT
	test	eax, eax
	jne	.L2
	mov	edi, DWORD PTR [rbx]
	call	ext2fs_has_feature_inline_data@PLT
	mov	r12, QWORD PTR EXT2_ET_MISSING_EA_FEATURE[rip]
	test	eax, eax
	je	.L1
.L2:
	mov	r14, rsp
	mov	edi, 40
	mov	rsi, r14
	call	ext2fs_get_memzero@PLT
	mov	r12, rax
	test	rax, rax
	je	.L8
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 40
	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
.L8:
	.cfi_restore_state
	mov	rdx, QWORD PTR [rsp]
	mov	eax, DWORD PTR EXT2_ET_MAGIC_EA_HANDLE[rip]
	mov	esi, 4
	mov	edi, 4
	mov	DWORD PTR 36[rdx], eax
	add	rdx, 32
	mov	DWORD PTR -32[rdx], 4
	call	ext2fs_get_arrayzero@PLT
	mov	r12, rax
	test	rax, rax
	jne	.L10
	mov	rax, QWORD PTR [rsp]
	mov	QWORD PTR 24[rax], 0
	mov	DWORD PTR 16[rax], r13d
	mov	QWORD PTR 8[rax], rbx
	mov	QWORD PTR 0[rbp], rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, r14
	call	ext2fs_free_mem@PLT
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ext2fs_xattrs_open, .-ext2fs_xattrs_open
	.comm	EXT2_ET_MISSING_EA_FEATURE,8,8
	.comm	EXT2_ET_MAGIC_EA_HANDLE,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_ext_attr.c_ext2fs_xattrs_open.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ext2fs_xattrs_open
	.syntax unified
	.arm
	.fpu softvfp
	.type	ext2fs_xattrs_open, %function
ext2fs_xattrs_open:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L12
	sub	sp, sp, #12
	mov	r5, r0
	ldr	r0, [r0]
	mov	r7, r1
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	ext2fs_has_feature_xattr
	cmp	r0, #0
	bne	.L2
	ldr	r0, [r5]
	bl	ext2fs_has_feature_inline_data
	cmp	r0, #0
	beq	.L8
.L2:
	mov	r1, sp
	mov	r0, #24
	bl	ext2fs_get_memzero
	subs	r4, r0, #0
	beq	.L9
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L9:
	ldr	r3, [sp]
	mov	r1, #4
	mov	r2, r3
	ldr	r0, .L12+4
	ldr	r0, [r0]
	str	r0, [r3, #20]
	mov	r0, r1
	str	r1, [r2], #16
	bl	ext2fs_get_arrayzero
	subs	r4, r0, #0
	bne	.L11
	ldr	r3, [sp]
	stmib	r3, {r5, r7}
	str	r4, [r3, #12]
	str	r3, [r6]
	b	.L1
.L8:
	ldr	r3, .L12+8
	ldr	r4, [r3]
	b	.L1
.L11:
	mov	r0, sp
	bl	ext2fs_free_mem
	b	.L1
.L10:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	EXT2_ET_MAGIC_EA_HANDLE
	.word	EXT2_ET_MISSING_EA_FEATURE
	.size	ext2fs_xattrs_open, .-ext2fs_xattrs_open
	.comm	EXT2_ET_MISSING_EA_FEATURE,4,4
	.comm	EXT2_ET_MAGIC_EA_HANDLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
