	.file	"extr_backref.c___resolve_indirect_ref.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"search slot in root %llu (level %d, ref count %d) returned %d for key (%llu %u %llu)\n"
	.text
	.p2align 4
	.type	__resolve_indirect_ref, @function
__resolve_indirect_ref:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	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
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	r12d, DWORD PTR [rcx]
	mov	QWORD PTR 8[rsp], rdx
	mov	QWORD PTR 16[rsp], r8
	mov	QWORD PTR 24[rsp], r9
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	call	btrfs_alloc_path@PLT
	mov	r14d, DWORD PTR ENOMEM[rip]
	neg	r14d
	test	rax, rax
	je	.L1
	mov	r13, rax
	xor	eax, eax
	test	ebp, ebp
	mov	rdi, r15
	setne	al
	lea	rsi, 32[rsp]
	mov	DWORD PTR 0[r13], eax
	mov	rax, QWORD PTR 40[rbx]
	mov	QWORD PTR 32[rsp], -1
	mov	QWORD PTR 48[rsp], rax
	mov	eax, DWORD PTR BTRFS_ROOT_ITEM_KEY[rip]
	mov	DWORD PTR 40[rsp], eax
	call	btrfs_read_fs_root_no_name@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L20
	xor	eax, eax
	xor	r14d, r14d
	call	rcu_read_lock@PLT
	mov	edi, DWORD PTR 0[rbp]
	call	btrfs_header_level@PLT
	mov	r15d, eax
	xor	eax, eax
	call	rcu_read_unlock@PLT
	add	r15d, 1
	cmp	r15d, r12d
	je	.L5
	mov	DWORD PTR 4[r13], r12d
	mov	rcx, QWORD PTR 8[rsp]
	lea	r15, 8[rbx]
	mov	rdx, r13
	mov	rsi, r15
	mov	rdi, rbp
	call	btrfs_search_old_slot@PLT
	push	QWORD PTR 8[rbx]
	.cfi_def_cfa_offset 136
	mov	ecx, DWORD PTR 32[rbx]
	mov	edx, r12d
	mov	r14d, eax
	mov	eax, DWORD PTR 16[rbx]
	lea	rdi, .LC0[rip]
	mov	rsi, QWORD PTR 40[rbx]
	mov	r9, QWORD PTR 24[rbx]
	mov	r8d, r14d
	push	rax
	.cfi_def_cfa_offset 144
	call	pr_debug@PLT
	pop	rcx
	.cfi_def_cfa_offset 136
	pop	rsi
	.cfi_def_cfa_offset 128
	test	r14d, r14d
	js	.L5
	mov	rcx, QWORD PTR 8[r13]
	movsx	rdx, r12d
	cmp	QWORD PTR [rcx+rdx*8], 0
	jne	.L6
	test	r12d, r12d
	je	.L7
	sub	r12d, 1
	sub	rdx, 2
	movsx	rax, r12d
	mov	r12d, r12d
	sub	rdx, r12
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L10:
	sub	rax, 1
	cmp	rax, rdx
	je	.L7
.L9:
	cmp	QWORD PTR [rcx+rax*8], 0
	mov	r12d, eax
	je	.L10
.L6:
	mov	eax, DWORD PTR 4[rbx]
	push	QWORD PTR 24[rsp]
	.cfi_def_cfa_offset 136
	mov	rdi, rbp
	mov	r8, r15
	mov	ecx, r12d
	mov	rsi, r13
	push	rax
	.cfi_def_cfa_offset 144
	mov	r9, QWORD PTR 24[rsp]
	mov	rdx, QWORD PTR 32[rsp]
	call	add_all_parents@PLT
	mov	rdi, r13
	mov	r14d, eax
	pop	rax
	.cfi_def_cfa_offset 136
	pop	rdx
	.cfi_def_cfa_offset 128
	call	btrfs_free_path@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L21
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	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
.L20:
	.cfi_restore_state
	mov	rdi, rbp
	call	PTR_ERR@PLT
	mov	r14d, eax
.L5:
	mov	rdi, r13
	call	btrfs_free_path@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edi, 1
	mov	r14d, 1
	call	WARN_ON@PLT
	jmp	.L5
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	__resolve_indirect_ref, .-__resolve_indirect_ref
	.comm	ENOMEM,4,4
	.comm	BTRFS_ROOT_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_backref.c___resolve_indirect_ref.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"search slot in root %llu (level %d, ref count %d) r"
	.ascii	"eturned %d for key (%llu %u %llu)\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__resolve_indirect_ref, %function
__resolve_indirect_ref:
	@ args = 8, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r3
	ldr	r3, .L23
	sub	sp, sp, #68
	mov	r9, r0
	mov	r5, r1
	mov	r8, r2
	ldr	r3, [r3]
	str	r3, [sp, #60]
	mov	r3,#0
	ldr	r4, [r6]
	ldr	r10, [sp, #104]
	ldr	fp, [sp, #108]
	bl	btrfs_alloc_path
	subs	r7, r0, #0
	beq	.L20
	subs	r5, r5, #0
	movne	r5, #1
	mvn	r2, #0
	ldr	r3, .L23+4
	str	r5, [r7]
	ldr	r3, [r3]
	mov	r0, r9
	str	r3, [sp, #52]
	ldr	r3, [r6, #24]
	add	r1, sp, #48
	str	r2, [sp, #48]
	str	r3, [sp, #56]
	bl	btrfs_read_fs_root_no_name
	mov	r9, r0
	bl	IS_ERR
	subs	r5, r0, #0
	bne	.L21
	bl	rcu_read_lock
	ldr	r0, [r9]
	bl	btrfs_header_level
	str	r0, [sp, #44]
	bl	rcu_read_unlock
	ldr	r3, [sp, #44]
	add	r3, r3, #1
	cmp	r3, r4
	beq	.L5
	add	r1, r6, #8
	mov	r3, r8
	mov	r2, r7
	mov	r0, r9
	str	r4, [r7, #4]
	str	r1, [sp, #44]
	bl	btrfs_search_old_slot
	ldr	ip, [r6, #16]
	mov	r5, r0
	mov	r0, ip
	ldr	r2, [r6, #8]
	asr	r1, ip, #31
	asr	r3, r2, #31
	str	r2, [sp, #32]
	str	r3, [sp, #36]
	str	r5, [sp, #8]
	str	r4, [sp]
	ldr	r2, [r6, #24]
	ldr	lr, [r6, #12]
	str	r0, [sp, #16]
	str	r1, [sp, #20]
	ldr	ip, [r6, #20]
	ldr	r0, .L23+8
	asr	r3, r2, #31
	str	lr, [sp, #24]
	str	ip, [sp, #4]
	bl	pr_debug
	cmp	r5, #0
	blt	.L5
	ldr	r3, [r7, #8]
	ldr	r1, [sp, #44]
	ldr	r2, [r3, r4, lsl #2]
	add	r3, r3, r4, lsl #2
	cmp	r2, #0
	beq	.L10
	b	.L6
.L9:
	ldr	r2, [r3, #-4]!
	sub	r4, r4, #1
	cmp	r2, #0
	bne	.L6
.L10:
	cmp	r4, #0
	bne	.L9
	mov	r0, #1
	bl	WARN_ON
	mov	r5, #1
	b	.L5
.L21:
	mov	r0, r9
	bl	PTR_ERR
	mov	r5, r0
.L5:
	mov	r0, r7
	bl	btrfs_free_path
.L1:
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [sp, #60]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L22
	mov	r0, r5
	add	sp, sp, #68
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L20:
	ldr	r3, .L23+12
	ldr	r0, [r3]
	rsb	r5, r0, #0
	b	.L1
.L6:
	ldr	r3, [r6, #4]
	mov	r2, r10
	stm	sp, {r1, r8}
	str	r3, [sp, #8]
	mov	r0, r9
	mov	r3, r4
	mov	r1, r7
	str	fp, [sp, #12]
	bl	add_all_parents
	mov	r5, r0
	b	.L5
.L22:
	bl	__stack_chk_fail
.L24:
	.align	2
.L23:
	.word	.LC1
	.word	BTRFS_ROOT_ITEM_KEY
	.word	.LC0
	.word	ENOMEM
	.size	__resolve_indirect_ref, .-__resolve_indirect_ref
	.comm	ENOMEM,4,4
	.comm	BTRFS_ROOT_ITEM_KEY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
