	.file	"extr_waitq.c_autofs4_getpath.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	autofs4_getpath, @function
autofs4_getpath:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rax, QWORD PTR [rdi]
	lea	rdi, dcache_lock[rip]
	mov	rbx, QWORD PTR [rdx]
	mov	r13, QWORD PTR [rax]
	call	spin_lock@PLT
	cmp	r13, r14
	je	.L2
	mov	rax, r14
	xor	edx, edx
	.p2align 4,,10
	.p2align 3
.L3:
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	lea	edx, 1[rdx+rcx]
	cmp	r13, rax
	jne	.L3
	test	edx, edx
	je	.L2
	lea	r12d, -1[rdx]
	cmp	DWORD PTR NAME_MAX[rip], r12d
	jge	.L4
.L2:
	xor	r12d, r12d
	lea	rdi, dcache_lock[rip]
	call	spin_unlock@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L4:
	.cfi_restore_state
	movsx	rbp, r12d
	mov	BYTE PTR [rbx+rbp], 0
	movsx	rax, DWORD PTR [r14]
	mov	esi, DWORD PTR 4[r14]
	sub	rbp, rax
	mov	rdx, rax
	add	rbp, rbx
	mov	rdi, rbp
	call	strncpy@PLT
	mov	rbx, QWORD PTR 8[r14]
	cmp	r13, rbx
	je	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	mov	BYTE PTR -1[rbp], 47
	movsx	rax, DWORD PTR [rbx]
	mov	esi, DWORD PTR 4[rbx]
	mov	rdx, rax
	not	rax
	add	rbp, rax
	mov	rdi, rbp
	call	strncpy@PLT
	mov	rbx, QWORD PTR 8[rbx]
	cmp	r13, rbx
	jne	.L7
.L6:
	lea	rdi, dcache_lock[rip]
	call	spin_unlock@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.cfi_endproc
.LFE0:
	.size	autofs4_getpath, .-autofs4_getpath
	.comm	dcache_lock,4,4
	.comm	NAME_MAX,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_waitq.c_autofs4_getpath.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	autofs4_getpath, %function
autofs4_getpath:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	ldr	r3, [r0]
	ldr	r0, .L15
	ldr	r7, [r3]
	ldr	r6, [r2]
	bl	spin_lock
	cmp	r7, r5
	beq	.L2
	mov	r3, r5
	mov	r0, #0
.L3:
	ldr	r2, [r3]
	ldr	r3, [r3, #8]
	add	r2, r2, #1
	cmp	r7, r3
	add	r0, r0, r2
	bne	.L3
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L15+4
	sub	r4, r0, #1
	ldr	r3, [r3]
	cmp	r3, r4
	bge	.L4
.L2:
	mov	r4, #0
	ldr	r0, .L15
	bl	spin_unlock
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	mov	r3, #0
	strb	r3, [r6, r4]
	ldr	r2, [r5]
	ldr	r1, [r5, #4]
	sub	r3, r4, r2
	add	r6, r6, r3
	mov	r0, r6
	bl	strncpy
	ldr	r5, [r5, #8]
	cmp	r7, r5
	beq	.L6
	mov	r8, #47
.L7:
	strb	r8, [r6, #-1]
	ldr	r2, [r5]
	ldr	r1, [r5, #4]
	mvn	r3, r2
	add	r6, r6, r3
	mov	r0, r6
	bl	strncpy
	ldr	r5, [r5, #8]
	cmp	r7, r5
	bne	.L7
.L6:
	ldr	r0, .L15
	bl	spin_unlock
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	.align	2
.L15:
	.word	dcache_lock
	.word	NAME_MAX
	.size	autofs4_getpath, .-autofs4_getpath
	.comm	dcache_lock,4,4
	.comm	NAME_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
