	.file	"extr_ffs_vnops.c_ffs_getextattr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ffs_getextattr, @function
ffs_getextattr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rdi, QWORD PTR 16[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	VTOI@PLT
	mov	rdi, QWORD PTR 16[rbx]
	mov	rbp, rax
	mov	rax, QWORD PTR [rdi]
	cmp	rax, QWORD PTR VCHR[rip]
	je	.L2
	cmp	rax, QWORD PTR VBLK[rip]
	je	.L2
	mov	ecx, DWORD PTR 8[rbx]
	mov	edx, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR 36[rbx]
	mov	r8d, DWORD PTR VREAD[rip]
	call	extattr_check_cred@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L14
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	edx, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR 12[rbx]
	mov	rdi, QWORD PTR 16[rbx]
	call	ffs_open_ea@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	ecx, DWORD PTR 32[rbx]
	mov	edx, DWORD PTR 36[rbx]
	xor	r8d, r8d
	mov	r9, rsp
	mov	rdi, QWORD PTR 8[rbp]
	mov	esi, DWORD PTR 0[rbp]
	call	ffs_findextattr@PLT
	test	eax, eax
	js	.L5
	mov	rdx, QWORD PTR [rbx]
	test	rdx, rdx
	je	.L6
	mov	DWORD PTR [rdx], eax
.L7:
	mov	ecx, DWORD PTR 8[rbx]
	mov	edx, DWORD PTR 12[rbx]
	xor	esi, esi
	mov	rdi, QWORD PTR 16[rbx]
	call	ffs_close_ea@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	r12d, DWORD PTR EOPNOTSUPP[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	r12d, DWORD PTR ENOATTR[rip]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdx, QWORD PTR 24[rbx]
	test	rdx, rdx
	je	.L7
	mov	rdi, QWORD PTR [rsp]
	mov	esi, eax
	call	uiomove@PLT
	mov	r12d, eax
	jmp	.L7
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ffs_getextattr, .-ffs_getextattr
	.comm	VREAD,4,4
	.comm	VCHR,8,8
	.comm	VBLK,8,8
	.comm	EOPNOTSUPP,4,4
	.comm	ENOATTR,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_ffs_vnops.c_ffs_getextattr.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ffs_getextattr, %function
ffs_getextattr:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r3, .L17
	sub	sp, sp, #16
	ldr	r0, [r0, #12]
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	VTOI
	ldr	r2, [r4, #12]
	ldr	r1, .L17+4
	ldr	r3, [r2]
	ldr	r1, [r1]
	cmp	r3, r1
	beq	.L2
	ldr	r1, .L17+8
	ldr	r1, [r1]
	cmp	r3, r1
	beq	.L2
	ldr	r3, .L17+12
	mov	r6, r0
	mov	r0, r2
	ldr	r2, [r3]
	ldr	r3, [r4, #4]
	str	r2, [sp]
	ldr	r2, [r4, #8]
	ldr	r1, [r4, #24]
	bl	extattr_check_cred
	subs	r5, r0, #0
	beq	.L14
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	mov	r0, r5
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L14:
	ldr	r2, [r4, #4]
	ldr	r1, [r4, #8]
	ldr	r0, [r4, #12]
	bl	ffs_open_ea
	subs	r5, r0, #0
	bne	.L1
	add	r3, sp, #8
	ldr	r1, [r6]
	ldr	r0, [r6, #4]
	str	r5, [sp]
	str	r3, [sp, #4]
	ldr	r3, [r4, #20]
	ldr	r2, [r4, #24]
	bl	ffs_findextattr
	subs	r1, r0, #0
	blt	.L5
	ldr	r3, [r4]
	cmp	r3, #0
	strne	r1, [r3]
	beq	.L16
.L7:
	mov	r1, #0
	ldr	r3, [r4, #4]
	ldr	r2, [r4, #8]
	ldr	r0, [r4, #12]
	bl	ffs_close_ea
	b	.L1
.L2:
	ldr	r3, .L17+16
	ldr	r5, [r3]
	b	.L1
.L5:
	ldr	r3, .L17+20
	ldr	r5, [r3]
	b	.L7
.L16:
	ldr	r2, [r4, #16]
	cmp	r2, #0
	beq	.L7
	ldr	r0, [sp, #8]
	bl	uiomove
	mov	r5, r0
	b	.L7
.L15:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC0
	.word	VCHR
	.word	VBLK
	.word	VREAD
	.word	EOPNOTSUPP
	.word	ENOATTR
	.size	ffs_getextattr, .-ffs_getextattr
	.comm	VREAD,4,4
	.comm	VCHR,4,4
	.comm	VBLK,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	ENOATTR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
