	.file	"extr_lock.c_receive_lookup.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"lookup dir_nodeid %d from %d"
	.text
	.p2align 4
	.type	receive_lookup, @function
receive_lookup:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	r14d, DWORD PTR 8[rsi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	dlm_our_nodeid@PLT
	mov	rdi, rbp
	mov	ebx, eax
	call	receive_extralen@PLT
	mov	esi, DWORD PTR 4[rbp]
	mov	rdi, r12
	mov	r13d, eax
	call	dlm_hash2nodeid@PLT
	cmp	ebx, eax
	je	.L2
	mov	edx, eax
	mov	ecx, r14d
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	call	log_error@PLT
	mov	ecx, DWORD PTR EINVAL[rip]
	mov	edx, -1
	mov	DWORD PTR 4[rsp], -1
	neg	ecx
.L3:
	mov	rsi, rbp
	mov	rdi, r12
	call	send_lookup_reply@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	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
.L2:
	.cfi_restore_state
	mov	edx, DWORD PTR 0[rbp]
	mov	ecx, r13d
	lea	r8, 4[rsp]
	mov	esi, r14d
	mov	rdi, r12
	call	dlm_dir_lookup@PLT
	mov	edx, DWORD PTR 4[rsp]
	mov	ecx, eax
	test	eax, eax
	jne	.L3
	cmp	edx, ebx
	jne	.L3
	mov	rsi, rbp
	mov	rdi, r12
	call	receive_request@PLT
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	receive_lookup, .-receive_lookup
	.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_lock.c_receive_lookup.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"lookup dir_nodeid %d from %d\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	receive_lookup, %function
receive_lookup:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L10
	sub	sp, sp, #16
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	ldr	r8, [r1, #8]
	mov	r5, r0
	bl	dlm_our_nodeid
	mov	r6, r0
	mov	r0, r4
	bl	receive_extralen
	ldr	r1, [r4, #4]
	mov	r7, r0
	mov	r0, r5
	bl	dlm_hash2nodeid
	cmp	r6, r0
	beq	.L2
	mov	r2, r0
	mov	r3, r8
	mov	r0, r5
	ldr	r1, .L10+4
	bl	log_error
	mvn	r2, #0
	ldr	r3, .L10+8
	str	r2, [sp, #8]
	ldr	r3, [r3]
	rsb	r3, r3, #0
.L3:
	mov	r1, r4
	mov	r0, r5
	bl	send_lookup_reply
.L1:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	add	r2, sp, #8
	str	r2, [sp]
	mov	r3, r7
	ldr	r2, [r4]
	mov	r1, r8
	mov	r0, r5
	bl	dlm_dir_lookup
	subs	r3, r0, #0
	ldr	r2, [sp, #8]
	bne	.L3
	cmp	r2, r6
	bne	.L3
	mov	r1, r4
	mov	r0, r5
	bl	receive_request
	b	.L1
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC1
	.word	.LC0
	.word	EINVAL
	.size	receive_lookup, .-receive_lookup
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
