	.file	"extr_zfs_vnops.c_zfs_rename_check.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"checkpath: .. not a directory\n"
	.text
	.p2align 4
	.type	zfs_rename_check, @function
zfs_rename_check:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	QWORD PTR [rsp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	cmp	rdx, rdi
	je	.L14
	mov	r12, rdx
	cmp	rdx, QWORD PTR [rsp]
	je	.L10
	mov	rbx, QWORD PTR 16[rdx]
	xor	r8d, r8d
	mov	rax, QWORD PTR [rbx]
	cmp	QWORD PTR [rdx], rax
	je	.L1
	mov	r13, rdi
	lea	r14, 32[rsp]
	lea	r15, 24[rsp]
	mov	rbp, rdx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rsi, QWORD PTR 32[rsp]
	cmp	QWORD PTR 0[r13], rsi
	je	.L15
	cmp	rsi, QWORD PTR [rbx]
	je	.L4
	mov	rax, QWORD PTR [rsp]
	cmp	rsi, QWORD PTR [rax]
	je	.L4
	mov	rdx, r15
	mov	rdi, rbx
	call	zfs_zget@PLT
	mov	r8d, eax
	test	eax, eax
	jne	.L4
	cmp	rbp, r12
	je	.L6
	mov	edi, DWORD PTR 8[rbx]
	call	dmu_objset_pool@PLT
	mov	edi, eax
	call	dsl_pool_vnrele_taskq@PLT
	mov	rdi, rbp
	mov	DWORD PTR 12[rsp], eax
	call	ZTOV@PLT
	mov	esi, DWORD PTR 12[rsp]
	mov	edi, eax
	call	VN_RELE_ASYNC@PLT
.L6:
	mov	rbp, QWORD PTR 24[rsp]
.L7:
	mov	eax, DWORD PTR 12[rbp]
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	ASSERT@PLT
	mov	rdi, rbx
	call	SA_ZPL_PARENT@PLT
	mov	edi, DWORD PTR 8[rbp]
	mov	ecx, 8
	mov	rdx, r14
	mov	esi, eax
	call	sa_lookup@PLT
	mov	r8d, eax
	test	eax, eax
	je	.L16
.L4:
	cmp	DWORD PTR ENOTDIR[rip], r8d
	je	.L17
.L8:
	cmp	rbp, r12
	je	.L1
.L19:
	mov	edi, DWORD PTR 8[rbx]
	mov	DWORD PTR [rsp], r8d
	call	dmu_objset_pool@PLT
	mov	edi, eax
	call	dsl_pool_vnrele_taskq@PLT
	mov	rdi, rbp
	mov	r12d, eax
	call	ZTOV@PLT
	mov	esi, r12d
	mov	edi, eax
	call	VN_RELE_ASYNC@PLT
	mov	r8d, DWORD PTR [rsp]
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L18
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r8d
	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
.L17:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	mov	DWORD PTR [rsp], r8d
	call	panic@PLT
	mov	r8d, DWORD PTR [rsp]
	cmp	rbp, r12
	jne	.L19
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	xor	r8d, r8d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	edi, DWORD PTR EINVAL[rip]
	call	SET_ERROR@PLT
	mov	r8d, eax
	cmp	DWORD PTR ENOTDIR[rip], r8d
	jne	.L8
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L14:
	mov	edi, DWORD PTR EINVAL[rip]
	call	SET_ERROR@PLT
	mov	r8d, eax
	jmp	.L1
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	zfs_rename_check, .-zfs_rename_check
	.comm	ENOTDIR,4,4
	.comm	EINVAL,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_zfs_vnops.c_zfs_rename_check.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"checkpath: .. not a directory\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	zfs_rename_check, %function
zfs_rename_check:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L20
	sub	sp, sp, #20
	cmp	r2, r0
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	beq	.L14
	cmp	r2, r1
	mov	r6, r2
	mov	r8, r1
	beq	.L11
	ldr	r5, [r2, #12]
	ldr	r2, [r2]
	ldr	r3, [r5]
	cmp	r2, r3
	beq	.L11
	mov	r7, r0
	mov	r4, r6
	b	.L7
.L16:
	ldr	r1, [sp, #8]
	ldr	r3, [r7]
	cmp	r3, r1
	beq	.L15
	ldr	r3, [r5]
	cmp	r1, r3
	beq	.L4
	ldr	r3, [r8]
	cmp	r1, r3
	beq	.L4
	mov	r0, r5
	add	r2, sp, #4
	bl	zfs_zget
	subs	r9, r0, #0
	bne	.L4
	cmp	r4, r6
	beq	.L6
	mov	r0, r4
	bl	ZTOV
	mov	r4, r0
	ldr	r0, [r5, #4]
	bl	dmu_objset_pool
	bl	dsl_pool_vnrele_taskq
	mov	r1, r0
	mov	r0, r4
	bl	VN_RELE_ASYNC
.L6:
	ldr	r4, [sp, #4]
.L7:
	ldr	r0, [r4, #8]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ASSERT
	mov	r0, r5
	ldr	r9, [r4, #4]
	bl	SA_ZPL_PARENT
	mov	r3, #4
	mov	r1, r0
	add	r2, sp, #8
	mov	r0, r9
	bl	sa_lookup
	subs	r9, r0, #0
	beq	.L16
.L4:
	ldr	r3, .L20+4
	ldr	r3, [r3]
	cmp	r3, r9
	beq	.L17
.L8:
	cmp	r4, r6
	beq	.L1
.L19:
	mov	r0, r4
	bl	ZTOV
	mov	r4, r0
	ldr	r0, [r5, #4]
	bl	dmu_objset_pool
	bl	dsl_pool_vnrele_taskq
	mov	r1, r0
	mov	r0, r4
	bl	VN_RELE_ASYNC
.L1:
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	mov	r0, r9
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L11:
	mov	r9, #0
	b	.L1
.L17:
	ldr	r0, .L20+8
	bl	panic
	cmp	r4, r6
	bne	.L19
	b	.L1
.L15:
	ldr	r3, .L20+12
	ldr	r0, [r3]
	bl	SET_ERROR
	mov	r9, r0
	ldr	r3, .L20+4
	ldr	r3, [r3]
	cmp	r3, r9
	bne	.L8
	b	.L17
.L14:
	ldr	r3, .L20+12
	ldr	r0, [r3]
	bl	SET_ERROR
	mov	r9, r0
	b	.L1
.L18:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	.LC1
	.word	ENOTDIR
	.word	.LC0
	.word	EINVAL
	.size	zfs_rename_check, .-zfs_rename_check
	.comm	ENOTDIR,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
