	.file	"extr_vfs_extattr.c_kern_extattr_set_path.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	kern_extattr_set_path, @function
kern_extattr_set_path:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	.cfi_offset 15, -24
	mov	r15, rsi
	push	r14
	.cfi_offset 14, -32
	mov	r14, r9
	push	r13
	.cfi_offset 13, -40
	mov	r13, rcx
	push	r12
	.cfi_offset 12, -48
	mov	r12d, edx
	push	rbx
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 40
	mov	QWORD PTR -72[rbp], r8
	mov	rcx, rsp
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR EXTATTR_MAXNAMELEN[rip]
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L12:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L12
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L13
.L4:
	mov	edi, r12d
	call	AUDIT_ARG_VALUE@PLT
	mov	edx, DWORD PTR EXTATTR_MAXNAMELEN[rip]
	xor	ecx, ecx
	mov	rsi, rsp
	mov	rdi, r13
	call	copyinstr@PLT
	mov	r8d, eax
	test	eax, eax
	je	.L14
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	lea	rsp, -40[rbp]
	mov	eax, r8d
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	rdi, rsp
	lea	r13, -60[rbp]
	call	AUDIT_ARG_TEXT@PLT
	mov	r8, r15
	mov	edx, DWORD PTR 16[rbp]
	mov	r9, rbx
	mov	ecx, DWORD PTR UIO_USERSPACE[rip]
	mov	esi, DWORD PTR LOOKUP[rip]
	mov	rdi, r13
	or	edx, DWORD PTR AUDITVNODE1[rip]
	call	NDINIT@PLT
	mov	rdi, r13
	call	namei@PLT
	mov	r8d, eax
	test	eax, eax
	jne	.L1
	mov	esi, DWORD PTR NDF_ONLY_PNBUF[rip]
	mov	rdi, r13
	call	NDFREE@PLT
	mov	rcx, QWORD PTR -72[rbp]
	mov	edi, DWORD PTR -60[rbp]
	mov	r8, r14
	mov	r9, rbx
	mov	rdx, rsp
	mov	esi, r12d
	call	extattr_set_vp@PLT
	mov	edi, DWORD PTR -60[rbp]
	mov	DWORD PTR -72[rbp], eax
	call	vrele@PLT
	mov	r8d, DWORD PTR -72[rbp]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	kern_extattr_set_path, .-kern_extattr_set_path
	.comm	UIO_USERSPACE,4,4
	.comm	NDF_ONLY_PNBUF,4,4
	.comm	LOOKUP,4,4
	.comm	EXTATTR_MAXNAMELEN,4,4
	.comm	AUDITVNODE1,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_vfs_extattr.c_kern_extattr_set_path.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	kern_extattr_set_path, %function
kern_extattr_set_path:
	@ args = 12, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #20
	mov	r4, r3
	ldr	r10, .L8
	ldr	r3, .L8+4
	ldr	ip, [r10]
	mov	r6, r0
	add	ip, ip, #7
	bic	ip, ip, #7
	sub	sp, sp, ip
	mov	r0, r2
	add	r7, sp, #8
	mov	r5, r2
	mov	r9, r1
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	ldr	r8, [fp, #4]
	bl	AUDIT_ARG_VALUE
	mov	r0, r4
	mov	r1, r7
	mov	r3, #0
	ldr	r2, [r10]
	bl	copyinstr
	subs	r4, r0, #0
	beq	.L6
.L1:
	ldr	r3, .L8+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	mov	r0, r4
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
	mov	r0, r7
	bl	AUDIT_ARG_TEXT
	ldr	r2, .L8+8
	ldr	r0, [fp, #12]
	ldr	r2, [r2]
	ldr	r3, .L8+12
	ldr	r1, .L8+16
	str	r6, [sp, #4]
	str	r9, [sp]
	orr	r2, r0, r2
	ldr	r3, [r3]
	ldr	r1, [r1]
	sub	r0, fp, #44
	bl	NDINIT
	sub	r0, fp, #44
	bl	namei
	subs	r4, r0, #0
	bne	.L1
	ldr	r3, .L8+20
	sub	r0, fp, #44
	ldr	r1, [r3]
	bl	NDFREE
	ldr	r3, [fp, #8]
	mov	r2, r7
	str	r3, [sp]
	mov	r1, r5
	mov	r3, r8
	ldr	r0, [fp, #-44]
	str	r6, [sp, #4]
	bl	extattr_set_vp
	mov	r4, r0
	ldr	r0, [fp, #-44]
	bl	vrele
	b	.L1
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	EXTATTR_MAXNAMELEN
	.word	.LC0
	.word	AUDITVNODE1
	.word	UIO_USERSPACE
	.word	LOOKUP
	.word	NDF_ONLY_PNBUF
	.size	kern_extattr_set_path, .-kern_extattr_set_path
	.comm	UIO_USERSPACE,4,4
	.comm	NDF_ONLY_PNBUF,4,4
	.comm	LOOKUP,4,4
	.comm	EXTATTR_MAXNAMELEN,4,4
	.comm	AUDITVNODE1,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
