	.file	"extr_dynroot.c_afs_lookup_atcell.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	afs_lookup_atcell, @function
afs_lookup_atcell:
.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
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	afs_d2net@PLT
	mov	DWORD PTR 4[rsp], 0
	mov	edx, DWORD PTR 4[rax]
	test	edx, edx
	je	.L20
	mov	edi, DWORD PTR ENOMEM[rip]
	mov	rbp, rax
	neg	edi
	call	ERR_PTR@PLT
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	r14, rax
	mov	rax, QWORD PTR AFS_MAXCELLNAME[rip]
	lea	rdi, 1[rax]
	call	kmalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	xor	eax, eax
	lea	r14, 4[rsp]
	call	rcu_read_lock@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rsi, r14
	mov	rdi, rbp
	call	read_seqbegin_or_lock@PLT
	mov	edi, DWORD PTR 4[rbp]
	call	rcu_dereference_raw@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L4
	mov	r13d, DWORD PTR [rax]
	mov	esi, DWORD PTR 4[rax]
	mov	rdi, r12
	lea	edx, 1[r13]
	call	memcpy@PLT
.L4:
	mov	esi, DWORD PTR 4[rsp]
	mov	rdi, rbp
	call	need_seqretry@PLT
	test	rax, rax
	jne	.L5
	mov	esi, DWORD PTR 4[rsp]
	mov	rdi, rbp
	call	done_seqretry@PLT
	xor	eax, eax
	call	rcu_read_unlock@PLT
	mov	edi, DWORD PTR ENOENT[rip]
	neg	edi
	call	ERR_PTR@PLT
	mov	r14, rax
	test	rbx, rbx
	je	.L6
	mov	esi, DWORD PTR [r15]
	mov	edx, r13d
	mov	rdi, r12
	call	lookup_one_len@PLT
	mov	r14, rax
.L6:
	mov	rdi, r12
	call	kfree@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L21
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r14
	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	edi, DWORD PTR ENOENT[rip]
	neg	edi
	call	ERR_PTR@PLT
	mov	r14, rax
	jmp	.L1
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	afs_lookup_atcell, .-afs_lookup_atcell
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENOENT,4,4
	.comm	AFS_MAXCELLNAME,8,8
	.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_dynroot.c_afs_lookup_atcell.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	afs_lookup_atcell, %function
afs_lookup_atcell:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L22
	sub	sp, sp, #8
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r7, r0
	bl	afs_d2net
	mov	r2, #0
	ldr	r3, [r0, #4]
	str	r2, [sp]
	cmp	r3, r2
	beq	.L20
	ldr	r3, .L22+4
	mov	r5, r0
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bl	ERR_PTR
	ldr	r2, .L22+8
	ldr	r3, .L22+12
	mov	r4, r0
	ldr	r0, [r2]
	ldr	r1, [r3]
	add	r0, r0, #1
	bl	kmalloc
	subs	r8, r0, #0
	beq	.L1
	bl	rcu_read_lock
.L5:
	mov	r1, sp
	mov	r0, r5
	bl	read_seqbegin_or_lock
	ldr	r0, [r5, #4]
	bl	rcu_dereference_raw
	subs	r4, r0, #0
	beq	.L4
	ldr	r6, [r4]
	mov	r0, r8
	ldr	r1, [r4, #4]
	add	r2, r6, #1
	bl	memcpy
.L4:
	mov	r0, r5
	ldr	r1, [sp]
	bl	need_seqretry
	cmp	r0, #0
	bne	.L5
	ldr	r1, [sp]
	mov	r0, r5
	bl	done_seqretry
	bl	rcu_read_unlock
	ldr	r3, .L22+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bl	ERR_PTR
	cmp	r4, #0
	mov	r4, r0
	beq	.L6
	mov	r2, r6
	mov	r0, r8
	ldr	r1, [r7]
	bl	lookup_one_len
	mov	r4, r0
.L6:
	mov	r0, r8
	bl	kfree
.L1:
	ldr	r3, .L22
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L21
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L20:
	ldr	r3, .L22+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bl	ERR_PTR
	mov	r4, r0
	b	.L1
.L21:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	.LC0
	.word	ENOMEM
	.word	AFS_MAXCELLNAME
	.word	GFP_KERNEL
	.word	ENOENT
	.size	afs_lookup_atcell, .-afs_lookup_atcell
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENOENT,4,4
	.comm	AFS_MAXCELLNAME,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
