	.file	"extr_wfcomman.c_RedoDriveWindows.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	RedoDriveWindows
	.type	RedoDriveWindows, @function
RedoDriveWindows:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	test	rdi, rdi
	je	.L10
.L2:
	mov	esi, DWORD PTR GWL_TYPE[rip]
	mov	rdi, r12
	call	GetWindowLongPtr@PLT
	mov	rdi, rax
	test	rax, rax
	js	.L3
	mov	rax, QWORD PTR cDrives[rip]
	test	rax, rax
	jle	.L3
	mov	rdx, QWORD PTR rgiDrive[rip]
	xor	ebp, ebp
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	add	rbp, 1
	cmp	rbp, rax
	je	.L3
.L5:
	cmp	QWORD PTR [rdx+rbp*8], rdi
	jne	.L4
	call	FillToolbarDrives@PLT
	mov	rdi, rbp
	call	SelectToolbarDrive@PLT
.L3:
	mov	esi, DWORD PTR DRIVEBAR_FLAG[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	MDIClientSizeChange@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	esi, DWORD PTR WM_MDIGETACTIVE[rip]
	mov	edi, DWORD PTR hwndMDIClient[rip]
	xor	ecx, ecx
	xor	edx, edx
	call	SendMessage@PLT
	mov	r12, rax
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	RedoDriveWindows, .-RedoDriveWindows
	.comm	rgiDrive,8,8
	.comm	hwndMDIClient,4,4
	.comm	cDrives,8,8
	.comm	WM_MDIGETACTIVE,4,4
	.comm	GWL_TYPE,4,4
	.comm	DRIVEBAR_FLAG,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_wfcomman.c_RedoDriveWindows.c"
	.text
	.align	2
	.global	RedoDriveWindows
	.syntax unified
	.arm
	.fpu softvfp
	.type	RedoDriveWindows, %function
RedoDriveWindows:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r5, r0, #0
	beq	.L9
.L2:
	ldr	r3, .L10
	mov	r0, r5
	ldr	r1, [r3]
	bl	GetWindowLongPtr
	cmp	r0, #0
	blt	.L3
	ldr	r3, .L10+4
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L3
	ldr	r2, .L10+8
	mov	r4, #0
	ldr	r2, [r2]
	sub	r2, r2, #4
	b	.L5
.L4:
	add	r4, r4, #1
	cmp	r4, r3
	beq	.L3
.L5:
	ldr	r1, [r2, #4]!
	cmp	r1, r0
	bne	.L4
	bl	FillToolbarDrives
	mov	r0, r4
	bl	SelectToolbarDrive
.L3:
	ldr	r3, .L10+12
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	b	MDIClientSizeChange
.L9:
	ldr	r2, .L10+16
	ldr	r3, .L10+20
	ldr	r1, [r2]
	ldr	r0, [r3]
	mov	r2, r5
	mov	r3, r5
	bl	SendMessage
	mov	r5, r0
	b	.L2
.L11:
	.align	2
.L10:
	.word	GWL_TYPE
	.word	cDrives
	.word	rgiDrive
	.word	DRIVEBAR_FLAG
	.word	WM_MDIGETACTIVE
	.word	hwndMDIClient
	.size	RedoDriveWindows, .-RedoDriveWindows
	.comm	rgiDrive,4,4
	.comm	hwndMDIClient,4,4
	.comm	cDrives,4,4
	.comm	WM_MDIGETACTIVE,4,4
	.comm	GWL_TYPE,4,4
	.comm	DRIVEBAR_FLAG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
