	.file	"extr_stree.c_get_lkey.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"PAP-5010: invalid offset in the path"
	.align 8
.LC1:
	.string	"PAP-5020: parent is not uptodate"
	.text
	.p2align 4
	.type	get_lkey, @function
get_lkey:
.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
	mov	r12, rdi
	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	ebx, DWORD PTR [rdi]
	xor	edi, edi
	cmp	DWORD PTR FIRST_PATH_ELEMENT_OFFSET[rip], ebx
	mov	QWORD PTR 8[rsp], rsi
	setg	dil
	lea	rsi, .LC0[rip]
	call	RFALSE@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L6:
	mov	esi, ebx
	mov	rdi, r12
	call	PATH_OFFSET_PBUFFER@PLT
	mov	rdi, rax
	call	buffer_uptodate@PLT
	xor	edi, edi
	lea	rsi, .LC1[rip]
	test	eax, eax
	sete	dil
	call	RFALSE@PLT
	mov	rdi, r12
	mov	esi, ebx
	call	PATH_OFFSET_PBUFFER@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	B_IS_IN_TREE@PLT
	test	eax, eax
	je	.L5
	mov	rdi, r12
	mov	esi, ebx
	call	PATH_OFFSET_POSITION@PLT
	mov	rdi, rbp
	mov	r15d, eax
	call	B_NR_ITEMS@PLT
	cmp	eax, r15d
	jl	.L5
	mov	esi, r15d
	mov	rdi, rbp
	call	B_N_CHILD_NUM@PLT
	mov	esi, r13d
	mov	rdi, r12
	mov	r14, rax
	call	PATH_OFFSET_PBUFFER@PLT
	cmp	r14, QWORD PTR [rax]
	jne	.L5
	test	r15d, r15d
	jne	.L11
.L2:
	mov	esi, DWORD PTR FIRST_PATH_ELEMENT_OFFSET[rip]
	mov	r13d, ebx
	sub	ebx, 1
	cmp	esi, r13d
	jl	.L6
	mov	rdi, r12
	call	PATH_OFFSET_PBUFFER@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	rbx, QWORD PTR [rax]
	call	SB_ROOT_BLOCK@PLT
	cmp	rbx, rax
	je	.L12
.L5:
	lea	rax, MAX_KEY[rip]
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L11:
	.cfi_restore_state
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	lea	esi, -1[r15]
	mov	rdi, rbp
	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
	jmp	B_N_PDELIM_KEY@PLT
.L12:
	.cfi_restore_state
	lea	rax, MIN_KEY[rip]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	get_lkey, .-get_lkey
	.comm	MIN_KEY,4,4
	.comm	MAX_KEY,4,4
	.comm	FIRST_PATH_ELEMENT_OFFSET,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_stree.c_get_lkey.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"PAP-5010: invalid offset in the path\000"
	.align	2
.LC1:
	.ascii	"PAP-5020: parent is not uptodate\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_lkey, %function
get_lkey:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r9, .L13
	ldr	r4, [r0]
	mov	r7, r0
	ldr	r0, [r9]
	mov	fp, r1
	cmp	r0, r4
	movle	r0, #0
	movgt	r0, #1
	ldr	r1, .L13+4
	bl	RFALSE
	ldr	r10, .L13+8
	b	.L2
.L6:
	mov	r1, r4
	mov	r0, r7
	bl	PATH_OFFSET_PBUFFER
	bl	buffer_uptodate
	clz	r0, r0
	mov	r1, r10
	lsr	r0, r0, #5
	bl	RFALSE
	mov	r1, r4
	mov	r0, r7
	bl	PATH_OFFSET_PBUFFER
	mov	r6, r0
	bl	B_IS_IN_TREE
	cmp	r0, #0
	beq	.L5
	mov	r1, r4
	mov	r0, r7
	bl	PATH_OFFSET_POSITION
	mov	r5, r0
	mov	r0, r6
	bl	B_NR_ITEMS
	cmp	r0, r5
	blt	.L5
	mov	r1, r5
	mov	r0, r6
	bl	B_N_CHILD_NUM
	mov	r3, r0
	mov	r1, r8
	mov	r0, r7
	mov	r8, r3
	bl	PATH_OFFSET_PBUFFER
	ldr	r3, [r0]
	cmp	r8, r3
	bne	.L5
	cmp	r5, #0
	bne	.L11
.L2:
	mov	r8, r4
	ldr	r1, [r9]
	sub	r4, r4, #1
	cmp	r1, r8
	blt	.L6
	mov	r0, r7
	bl	PATH_OFFSET_PBUFFER
	mov	r3, r0
	mov	r0, fp
	ldr	r4, [r3]
	bl	SB_ROOT_BLOCK
	cmp	r4, r0
	beq	.L12
.L5:
	ldr	r0, .L13+12
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	mov	r0, r6
	sub	r1, r5, #1
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	B_N_PDELIM_KEY
.L12:
	ldr	r0, .L13+16
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L14:
	.align	2
.L13:
	.word	FIRST_PATH_ELEMENT_OFFSET
	.word	.LC0
	.word	.LC1
	.word	MAX_KEY
	.word	MIN_KEY
	.size	get_lkey, .-get_lkey
	.comm	MIN_KEY,4,4
	.comm	MAX_KEY,4,4
	.comm	FIRST_PATH_ELEMENT_OFFSET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
