	.file	"extr_nfs4state.c_lookup_or_create_lock_state.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	lookup_or_create_lock_state, @function
lookup_or_create_lock_state:
.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, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	edi, DWORD PTR [rsi]
	mov	r15, QWORD PTR 8[rsi]
	mov	QWORD PTR 16[rsp], r8
	mov	QWORD PTR 24[rsp], rcx
	call	openowner@PLT
	mov	edi, DWORD PTR 4[rbx]
	mov	r14, QWORD PTR [rax]
	call	d_inode@PLT
	lea	r10, 8[r12]
	mov	rsi, r10
	mov	rdi, r14
	mov	QWORD PTR 8[rsp], r10
	mov	r13, rax
	call	find_lockowner_str@PLT
	mov	r10, QWORD PTR 8[rsp]
	mov	r8, QWORD PTR 16[rsp]
	test	rax, rax
	je	.L9
	mov	rdi, rax
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	je	.L10
.L3:
	mov	rcx, rbp
	mov	rdx, r13
	mov	rsi, r15
	mov	QWORD PTR 8[rsp], rdi
	call	find_or_create_lock_stateid@PLT
	mov	r12d, DWORD PTR nfserr_jukebox[rip]
	mov	rdi, QWORD PTR 8[rsp]
	test	rax, rax
	je	.L5
	mov	rbx, QWORD PTR 24[rsp]
	mov	r12d, DWORD PTR nfs_ok[rip]
	mov	QWORD PTR [rbx], rax
.L5:
	call	nfs4_put_stateowner@PLT
.L1:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L10:
	.cfi_restore_state
	mov	rax, QWORD PTR [rdi]
	cmp	QWORD PTR [r12], rax
	je	.L3
	mov	r12d, DWORD PTR nfserr_bad_seqid[rip]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, r10
	mov	QWORD PTR 8[rsp], r8
	call	ownerstr_hashval@PLT
	mov	rcx, r12
	mov	rdx, rbp
	mov	rsi, r14
	mov	edi, eax
	call	alloc_init_lock_stateowner@PLT
	mov	r12d, DWORD PTR nfserr_jukebox[rip]
	mov	r8, QWORD PTR 8[rsp]
	test	rax, rax
	mov	rdi, rax
	jne	.L3
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	lookup_or_create_lock_state, .-lookup_or_create_lock_state
	.comm	nfserr_jukebox,4,4
	.comm	nfserr_bad_seqid,4,4
	.comm	nfs_ok,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_nfs4state.c_lookup_or_create_lock_state.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lookup_or_create_lock_state, %function
lookup_or_create_lock_state:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r0
	sub	sp, sp, #20
	ldr	r0, [r1]
	mov	r7, r2
	mov	r5, r1
	ldr	fp, [r1, #4]
	str	r3, [sp, #12]
	bl	openowner
	mov	r3, r0
	ldr	r0, [r6, #4]
	ldr	r10, [r3]
	bl	d_inode
	add	r9, r7, #4
	mov	r8, r0
	mov	r1, r9
	mov	r0, r10
	bl	find_lockowner_str
	subs	r4, r0, #0
	beq	.L9
	ldr	r3, [r6]
	cmp	r3, #0
	beq	.L10
.L3:
	ldr	r3, [sp, #56]
	mov	r2, r8
	str	r3, [sp]
	mov	r1, fp
	mov	r3, r5
	mov	r0, r4
	bl	find_or_create_lock_stateid
	cmp	r0, #0
	ldrne	r3, .L11
	ldreq	r3, .L11+4
	ldrne	r5, [r3]
	ldrne	r3, [sp, #12]
	ldreq	r5, [r3]
	strne	r0, [r3]
.L5:
	mov	r0, r4
	bl	nfs4_put_stateowner
.L1:
	mov	r0, r5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	ldr	r2, [r7]
	ldr	r3, [r4]
	cmp	r2, r3
	beq	.L3
	ldr	r3, .L11+8
	ldr	r5, [r3]
	b	.L5
.L9:
	mov	r0, r9
	bl	ownerstr_hashval
	mov	r3, r7
	mov	r2, r5
	mov	r1, r10
	bl	alloc_init_lock_stateowner
	subs	r4, r0, #0
	bne	.L3
	ldr	r3, .L11+4
	ldr	r5, [r3]
	b	.L1
.L12:
	.align	2
.L11:
	.word	nfs_ok
	.word	nfserr_jukebox
	.word	nfserr_bad_seqid
	.size	lookup_or_create_lock_state, .-lookup_or_create_lock_state
	.comm	nfserr_jukebox,4,4
	.comm	nfserr_bad_seqid,4,4
	.comm	nfs_ok,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
