	.file	"extr_nfs.c_MountRead.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	MountRead, @function
MountRead:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	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
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r13, QWORD PTR [rdi]
	xor	edi, edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR 24[r13], 0
	je	.L2
	mov	rdi, QWORD PTR 8[r13]
	not	rdi
	shr	rdi, 63
.L2:
	call	assert@PLT
	lea	r14, 4[rsp]
	mov	rdx, r15
	mov	rsi, rbp
	mov	rdi, r14
	mov	r12d, DWORD PTR VLC_SUCCESS[rip]
	xor	ebx, ebx
	call	vlc_readdir_helper_init@PLT
	cmp	QWORD PTR 8[r13], 0
	jg	.L3
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR 16[r13]
	mov	rdi, r13
	mov	r12, QWORD PTR [rax+rbx*8]
	mov	rsi, r12
	call	NfsGetUrl@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L16
	mov	r9d, DWORD PTR ITEM_NET[rip]
	mov	rcx, r12
	xor	edx, edx
	mov	rsi, rax
	mov	r8d, DWORD PTR ITEM_TYPE_DIRECTORY[rip]
	mov	rdi, r14
	add	rbx, 1
	call	vlc_readdir_helper_additem@PLT
	mov	rdi, rbp
	mov	r12d, eax
	call	free@PLT
	cmp	QWORD PTR 8[r13], rbx
	jle	.L14
.L3:
	mov	eax, DWORD PTR VLC_SUCCESS[rip]
	cmp	eax, r12d
	je	.L6
.L4:
	xor	esi, esi
	cmp	r12d, eax
	mov	rdi, r14
	sete	sil
	call	vlc_readdir_helper_finish@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L17
	add	rsp, 24
	.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
.L16:
	.cfi_restore_state
	mov	r12d, DWORD PTR VLC_ENOMEM[rip]
.L14:
	mov	eax, DWORD PTR VLC_SUCCESS[rip]
	jmp	.L4
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	MountRead, .-MountRead
	.comm	VLC_SUCCESS,4,4
	.comm	VLC_ENOMEM,4,4
	.comm	ITEM_TYPE_DIRECTORY,4,4
	.comm	ITEM_NET,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_nfs.c_MountRead.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	MountRead, %function
MountRead:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r6, [r0]
	mov	r4, r0
	ldr	r3, [r6, #12]
	mov	r5, r1
	cmp	r3, #0
	ldrne	r3, [r6, #4]
	ldr	r2, .L16
	mvnne	r0, r3
	moveq	r0, r3
	sub	sp, sp, #16
	lsrne	r0, r0, #31
	ldr	r7, .L16+4
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	bl	assert
	mov	r1, r4
	mov	r2, r5
	add	r0, sp, #8
	ldr	r4, [r7]
	bl	vlc_readdir_helper_init
	ldr	r3, [r6, #4]
	cmp	r3, #0
	ble	.L12
	mov	r5, #0
	ldr	r9, .L16+8
	ldr	r8, .L16+12
	b	.L3
.L6:
	ldr	r3, [r6, #8]
	mov	r0, r6
	ldr	r4, [r3, r5, lsl #2]
	mov	r1, r4
	bl	NfsGetUrl
	subs	r10, r0, #0
	beq	.L14
	ldr	r1, [r9]
	ldr	r2, [r8]
	mov	r3, r4
	str	r1, [sp, #4]
	str	r2, [sp]
	mov	r1, r10
	mov	r2, #0
	add	r0, sp, #8
	bl	vlc_readdir_helper_additem
	mov	r4, r0
	mov	r0, r10
	bl	free
	ldr	r3, [r6, #4]
	add	r5, r5, #1
	cmp	r3, r5
	ble	.L12
.L3:
	ldr	r1, [r7]
	cmp	r1, r4
	beq	.L6
.L4:
	sub	r1, r4, r1
	clz	r1, r1
	add	r0, sp, #8
	lsr	r1, r1, #5
	bl	vlc_readdir_helper_finish
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	ldr	r1, [r7]
	b	.L4
.L14:
	ldr	r3, .L16+16
	ldr	r1, [r7]
	ldr	r4, [r3]
	b	.L4
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	VLC_SUCCESS
	.word	ITEM_NET
	.word	ITEM_TYPE_DIRECTORY
	.word	VLC_ENOMEM
	.size	MountRead, .-MountRead
	.comm	VLC_SUCCESS,4,4
	.comm	VLC_ENOMEM,4,4
	.comm	ITEM_TYPE_DIRECTORY,4,4
	.comm	ITEM_NET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
