	.file	"extr_winefile.c_read_tree_shell.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	read_tree_shell, @function
read_tree_shell:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	xor	edi, edi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	esi, DWORD PTR IDC_WAIT[rip]
	mov	DWORD PTR 8[rsp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	QWORD PTR 16[rsp], 0
	call	LoadCursorW@PLT
	mov	edi, eax
	call	SetCursor@PLT
	mov	r12, QWORD PTR Globals[rip+8]
	mov	DWORD PTR 12[rsp], eax
	mov	eax, DWORD PTR ET_SHELL[rip]
	mov	DWORD PTR 32[r15], eax
	test	r15, r15
	je	.L2
	mov	rbp, rbx
	lea	r14, 16[rsp]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L17:
	mov	edi, DWORD PTR Globals[rip]
	add	rsi, 4
	call	IMalloc_Alloc@PLT
	mov	rdx, QWORD PTR 0[rbp]
	mov	rsi, rbp
	mov	rdi, rax
	mov	rbx, rax
	call	memcpy@PLT
	mov	rax, QWORD PTR 0[rbp]
	xor	edx, edx
	mov	rdi, r12
	mov	r8, r14
	lea	rcx, IID_IShellFolder[rip]
	mov	rsi, rbx
	mov	QWORD PTR [rbx+rax], 0
	call	IShellFolder_BindToObject@PLT
	mov	edi, eax
	call	FAILED@PLT
	test	rax, rax
	jne	.L2
	mov	edx, DWORD PTR 8[rsp]
	xor	esi, esi
	mov	ecx, r13d
	mov	rdi, r15
	call	read_directory@PLT
	cmp	QWORD PTR 8[r15], 0
	je	.L3
	mov	eax, DWORD PTR TRUE[rip]
	mov	DWORD PTR [r15], eax
.L3:
	mov	rsi, rbx
	mov	rdi, r15
	call	find_entry_shell@PLT
	test	rax, rax
	je	.L2
	mov	r12, QWORD PTR 16[rsp]
	add	rbp, QWORD PTR 0[rbp]
	mov	r15, rax
.L4:
	mov	rsi, QWORD PTR 0[rbp]
	mov	QWORD PTR 24[r15], rbx
	mov	QWORD PTR 16[r15], r12
	test	rsi, rsi
	jne	.L17
.L2:
	mov	edi, DWORD PTR 12[rsp]
	call	SetCursor@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L18
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r15
	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
.L18:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	read_tree_shell, .-read_tree_shell
	.comm	TRUE,4,4
	.comm	IID_IShellFolder,4,4
	.comm	IDC_WAIT,8,8
	.comm	Globals,16,16
	.comm	ET_SHELL,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_winefile.c_read_tree_shell.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_tree_shell, %function
read_tree_shell:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r7, #0
	mov	r4, r1
	ldr	r1, .L25
	mov	r9, r3
	ldr	r3, .L25+4
	sub	sp, sp, #28
	mov	r5, r0
	ldr	r1, [r1]
	mov	r0, r7
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r8, r2
	str	r7, [sp, #16]
	bl	LoadCursorW
	bl	SetCursor
	ldr	r3, .L25+8
	cmp	r5, r7
	ldr	r3, [r3]
	str	r0, [sp, #12]
	str	r3, [r5, #16]
	ldr	r3, .L25+12
	ldr	r10, [r3, #4]
	beq	.L2
	mov	r6, r4
	ldr	fp, .L25+16
	b	.L4
.L23:
	ldr	r3, .L25+12
	add	r1, r1, #4
	ldr	r0, [r3]
	bl	IMalloc_Alloc
	mov	r4, r0
	mov	r1, r6
	ldr	r2, [r6]
	bl	memcpy
	ldr	r2, [r6]
	add	r3, sp, #16
	mov	r1, r4
	str	r7, [r4, r2]
	mov	r0, r10
	mov	r2, #0
	str	r3, [sp]
	mov	r3, fp
	bl	IShellFolder_BindToObject
	bl	FAILED
	subs	r1, r0, #0
	bne	.L2
	mov	r3, r9
	mov	r2, r8
	mov	r0, r5
	bl	read_directory
	ldr	r3, [r5, #4]
	mov	r1, r4
	cmp	r3, #0
	ldrne	r3, .L25+20
	mov	r0, r5
	ldrne	r3, [r3]
	strne	r3, [r5]
	bl	find_entry_shell
	cmp	r0, #0
	beq	.L2
	mov	r5, r0
	ldr	r3, [r6]
	ldr	r10, [sp, #16]
	add	r6, r6, r3
.L4:
	ldr	r1, [r6]
	str	r4, [r5, #12]
	cmp	r1, #0
	str	r10, [r5, #8]
	bne	.L23
.L2:
	ldr	r0, [sp, #12]
	bl	SetCursor
	ldr	r3, .L25+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L24
	mov	r0, r5
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L24:
	bl	__stack_chk_fail
.L26:
	.align	2
.L25:
	.word	IDC_WAIT
	.word	.LC0
	.word	ET_SHELL
	.word	Globals
	.word	IID_IShellFolder
	.word	TRUE
	.size	read_tree_shell, .-read_tree_shell
	.comm	TRUE,4,4
	.comm	IID_IShellFolder,4,4
	.comm	IDC_WAIT,4,4
	.comm	Globals,8,4
	.comm	ET_SHELL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
