	.file	"extr_dir-item.c_btrfs_check_dir_item_collision.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	btrfs_check_dir_item_collision
	.type	btrfs_check_dir_item_collision, @function
btrfs_check_dir_item_collision:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, ecx
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	btrfs_alloc_path@PLT
	test	rax, rax
	je	.L11
	mov	rbp, rax
	mov	eax, DWORD PTR BTRFS_DIR_ITEM_KEY[rip]
	mov	esi, ebx
	mov	rdi, r14
	mov	DWORD PTR 20[rsp], r12d
	mov	DWORD PTR 16[rsp], eax
	call	btrfs_name_hash@PLT
	lea	rdx, 12[rsp]
	xor	r9d, r9d
	xor	r8d, r8d
	mov	rcx, rbp
	mov	rsi, r13
	xor	edi, edi
	mov	DWORD PTR 12[rsp], eax
	call	btrfs_search_slot@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L4
	je	.L5
.L7:
	xor	r12d, r12d
.L4:
	mov	rdi, rbp
	call	btrfs_free_path@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	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
.L5:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[r13]
	mov	ecx, ebx
	mov	rdx, r14
	mov	rsi, rbp
	call	btrfs_match_dir_item_name@PLT
	test	rax, rax
	je	.L6
	mov	r12d, DWORD PTR EEXIST[rip]
	neg	r12d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L11:
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdx, QWORD PTR 0[rbp]
	mov	rax, QWORD PTR 8[rbp]
	add	ebx, 4
	movsx	rbx, ebx
	mov	esi, DWORD PTR [rdx]
	mov	rdi, QWORD PTR [rax]
	call	btrfs_item_size_nr@PLT
	mov	edi, DWORD PTR 0[r13]
	mov	r12, rax
	call	BTRFS_LEAF_DATA_SIZE@PLT
	lea	rdx, 4[r12+rbx]
	cmp	rdx, rax
	jbe	.L7
	mov	r12d, DWORD PTR EOVERFLOW[rip]
	neg	r12d
	jmp	.L4
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	btrfs_check_dir_item_collision, .-btrfs_check_dir_item_collision
	.comm	EOVERFLOW,4,4
	.comm	ENOMEM,4,4
	.comm	EEXIST,4,4
	.comm	BTRFS_DIR_ITEM_KEY,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_dir-item.c_btrfs_check_dir_item_collision.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	btrfs_check_dir_item_collision
	.syntax unified
	.arm
	.fpu softvfp
	.type	btrfs_check_dir_item_collision, %function
btrfs_check_dir_item_collision:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r3
	ldr	r3, .L13
	sub	sp, sp, #24
	mov	r6, r0
	mov	r4, r1
	mov	r7, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	btrfs_alloc_path
	subs	r8, r0, #0
	beq	.L11
	ldr	r3, .L13+4
	mov	r1, r5
	ldr	r3, [r3]
	mov	r0, r7
	str	r4, [sp, #16]
	str	r3, [sp, #12]
	bl	btrfs_name_hash
	mov	ip, r0
	mov	r0, #0
	mov	r3, r8
	mov	r1, r6
	str	r0, [sp, #4]
	str	r0, [sp]
	add	r2, sp, #8
	str	ip, [sp, #8]
	bl	btrfs_search_slot
	subs	r4, r0, #0
	blt	.L4
	beq	.L5
.L7:
	mov	r4, #0
.L4:
	mov	r0, r8
	bl	btrfs_free_path
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	mov	r0, r4
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	mov	r2, r7
	mov	r3, r5
	mov	r1, r8
	ldr	r0, [r6]
	bl	btrfs_match_dir_item_name
	cmp	r0, #0
	beq	.L6
	ldr	r3, .L13+8
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L4
.L11:
	ldr	r3, .L13+12
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L6:
	ldm	r8, {r2, r3}
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	btrfs_item_size_nr
	mov	r4, r0
	ldr	r0, [r6]
	bl	BTRFS_LEAF_DATA_SIZE
	add	r5, r4, r5
	add	r5, r5, #8
	cmp	r5, r0
	bls	.L7
	ldr	r3, .L13+16
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L4
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	BTRFS_DIR_ITEM_KEY
	.word	EEXIST
	.word	ENOMEM
	.word	EOVERFLOW
	.size	btrfs_check_dir_item_collision, .-btrfs_check_dir_item_collision
	.comm	EOVERFLOW,4,4
	.comm	ENOMEM,4,4
	.comm	EEXIST,4,4
	.comm	BTRFS_DIR_ITEM_KEY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
