	.file	"extr_SwitchToThisWindow.c_OnTimer.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"GetForegroundWindow() != NULL\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"GetActiveWindow() != NULL\n"
.LC2:
	.string	"GetFocus() != NULL\n"
.LC3:
	.string	"GetActiveWindow() != hwnd\n"
	.section	.rodata.str1.8
	.align 8
.LC4:
	.string	"SwitchToThisWindow(TRUE): tracing...\n"
	.align 8
.LC5:
	.string	"SwitchToThisWindow(TRUE): tracing done\n"
	.align 8
.LC6:
	.string	"GetForegroundWindow() != hwnd\n"
	.section	.rodata.str1.1
.LC7:
	.string	"GetFocus() != hwnd\n"
.LC8:
	.string	"WM_SYSCOMMAND SC_RESTORE: %d\n"
	.section	.rodata.str1.8
	.align 8
.LC9:
	.string	"WM_SYSCOMMAND non-SC_RESTORE: %d\n"
	.section	.rodata.str1.1
.LC10:
	.string	"WM_NCACTIVATE: %d\n"
.LC11:
	.string	"WM_WINDOWPOSCHANGING: %d\n"
.LC12:
	.string	"WM_ACTIVATE: %d\n"
	.section	.rodata.str1.8
	.align 8
.LC13:
	.string	"SwitchToThisWindow(FALSE): tracing...\n"
	.align 8
.LC14:
	.string	"SwitchToThisWindow(FALSE): tracing done\n"
	.text
	.p2align 4
	.type	OnTimer, @function
OnTimer:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	KillTimer@PLT
	cmp	ebx, 5
	ja	.L2
	lea	rcx, .L4[rip]
	mov	edx, ebx
	movsx	rax, DWORD PTR [rcx+rdx*4]
	add	rax, rcx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L6-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L6:
	xor	eax, eax
	call	GetDesktopWindow@PLT
	mov	edi, eax
	call	SetForegroundWindow@PLT
	xor	eax, eax
	call	GetDesktopWindow@PLT
	mov	edi, eax
	call	SetActiveWindow@PLT
	xor	eax, eax
	call	GetForegroundWindow@PLT
	xor	edi, edi
	lea	rsi, .LC0[rip]
	test	rax, rax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	xor	eax, eax
	call	GetActiveWindow@PLT
	xor	edi, edi
	lea	rsi, .LC1[rip]
	test	rax, rax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	xor	eax, eax
	call	GetFocus@PLT
	xor	edi, edi
	lea	rsi, .LC2[rip]
	test	rax, rax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	rdi, rbp
	call	CloseWindow@PLT
.L9:
	mov	edx, DWORD PTR TIMER_INTERVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	lea	esi, 1[rbx]
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	xor	ecx, ecx
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	SetTimer@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	eax, DWORD PTR FALSE[rip]
	lea	rdi, .LC14[rip]
	mov	DWORD PTR s_bTracing[rip], eax
	call	trace@PLT
	xor	eax, eax
	call	GetForegroundWindow@PLT
	xor	edi, edi
	lea	rsi, .LC0[rip]
	test	rax, rax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	xor	eax, eax
	call	GetActiveWindow@PLT
	xor	edi, edi
	lea	rsi, .LC3[rip]
	cmp	rbp, rax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	xor	eax, eax
	call	GetFocus@PLT
	xor	edi, edi
	lea	rsi, .LC2[rip]
	test	rax, rax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	edx, DWORD PTR s_nWM_SYSCOMMAND_SC_RESTORE[rip]
	xor	edi, edi
	lea	rsi, .LC8[rip]
	test	edx, edx
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	edx, DWORD PTR s_nWM_SYSCOMMAND_NOT_SC_RESTORE[rip]
	xor	edi, edi
	lea	rsi, .LC9[rip]
	test	edx, edx
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	edx, DWORD PTR s_nWM_NCACTIVATE[rip]
	xor	edi, edi
	lea	rsi, .LC10[rip]
	test	edx, edx
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	edx, DWORD PTR s_nWM_WINDOWPOSCHANGING[rip]
	xor	edi, edi
	lea	rsi, .LC11[rip]
	test	edx, edx
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	edx, DWORD PTR s_nWM_ACTIVATE[rip]
	test	edx, edx
.L11:
	sete	dil
	lea	rsi, .LC12[rip]
	xor	eax, eax
	movzx	edi, dil
	call	ok@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L8:
	xor	eax, eax
	call	GetForegroundWindow@PLT
	xor	edi, edi
	lea	rsi, .LC0[rip]
	test	rax, rax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	xor	eax, eax
	call	GetActiveWindow@PLT
	xor	edi, edi
	lea	rsi, .LC3[rip]
	cmp	rbp, rax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	xor	eax, eax
	call	GetFocus@PLT
	xor	edi, edi
	lea	rsi, .LC2[rip]
	test	rax, rax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	esi, DWORD PTR TRUE[rip]
	mov	rdi, rbp
	mov	DWORD PTR s_nWM_SYSCOMMAND_SC_RESTORE[rip], 0
	mov	DWORD PTR s_nWM_SYSCOMMAND_NOT_SC_RESTORE[rip], 0
	mov	DWORD PTR s_bTracing[rip], esi
	mov	DWORD PTR s_nWM_NCACTIVATE[rip], 0
	mov	DWORD PTR s_nWM_WINDOWPOSCHANGING[rip], 0
	mov	DWORD PTR s_nWM_ACTIVATE[rip], 0
	call	SwitchToThisWindow@PLT
	lea	rdi, .LC4[rip]
	call	trace@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, DWORD PTR FALSE[rip]
	lea	rdi, .LC5[rip]
	mov	DWORD PTR s_bTracing[rip], eax
	call	trace@PLT
	xor	eax, eax
	call	GetForegroundWindow@PLT
	xor	edi, edi
	lea	rsi, .LC6[rip]
	cmp	rbp, rax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	xor	eax, eax
	call	GetActiveWindow@PLT
	xor	edi, edi
	lea	rsi, .LC3[rip]
	cmp	rbp, rax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	xor	eax, eax
	call	GetFocus@PLT
	xor	edi, edi
	lea	rsi, .LC7[rip]
	cmp	rbp, rax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	edx, DWORD PTR s_nWM_SYSCOMMAND_SC_RESTORE[rip]
	xor	edi, edi
	lea	rsi, .LC8[rip]
	cmp	edx, 1
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	edx, DWORD PTR s_nWM_SYSCOMMAND_NOT_SC_RESTORE[rip]
	xor	edi, edi
	lea	rsi, .LC9[rip]
	test	edx, edx
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	edx, DWORD PTR s_nWM_NCACTIVATE[rip]
	xor	edi, edi
	lea	rsi, .LC10[rip]
	cmp	edx, 1
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	edx, DWORD PTR s_nWM_WINDOWPOSCHANGING[rip]
	xor	edi, edi
	lea	rsi, .LC11[rip]
	cmp	edx, 2
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	edx, DWORD PTR s_nWM_ACTIVATE[rip]
	cmp	edx, 1
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L5:
	xor	eax, eax
	call	GetForegroundWindow@PLT
	xor	edi, edi
	lea	rsi, .LC0[rip]
	test	rax, rax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	xor	eax, eax
	call	GetActiveWindow@PLT
	xor	edi, edi
	lea	rsi, .LC3[rip]
	cmp	rbp, rax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	xor	eax, eax
	call	GetFocus@PLT
	xor	edi, edi
	lea	rsi, .LC2[rip]
	test	rax, rax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	eax, DWORD PTR TRUE[rip]
	mov	esi, DWORD PTR FALSE[rip]
	mov	rdi, rbp
	mov	DWORD PTR s_nWM_SYSCOMMAND_SC_RESTORE[rip], 0
	mov	DWORD PTR s_nWM_SYSCOMMAND_NOT_SC_RESTORE[rip], 0
	mov	DWORD PTR s_nWM_NCACTIVATE[rip], 0
	mov	DWORD PTR s_nWM_WINDOWPOSCHANGING[rip], 0
	mov	DWORD PTR s_nWM_ACTIVATE[rip], 0
	mov	DWORD PTR s_bTracing[rip], eax
	call	SwitchToThisWindow@PLT
	lea	rdi, .LC13[rip]
	call	trace@PLT
	jmp	.L9
.L2:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	DestroyWindow@PLT
	.cfi_endproc
.LFE0:
	.size	OnTimer, .-OnTimer
	.comm	s_nWM_WINDOWPOSCHANGING,4,4
	.comm	s_nWM_SYSCOMMAND_SC_RESTORE,4,4
	.comm	s_nWM_SYSCOMMAND_NOT_SC_RESTORE,4,4
	.comm	s_nWM_NCACTIVATE,4,4
	.comm	s_nWM_ACTIVATE,4,4
	.comm	s_bTracing,4,4
	.comm	TRUE,4,4
	.comm	TIMER_INTERVAL,4,4
	.comm	FALSE,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_SwitchToThisWindow.c_OnTimer.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"GetForegroundWindow() != NULL\012\000"
	.align	2
.LC1:
	.ascii	"GetActiveWindow() != NULL\012\000"
	.align	2
.LC2:
	.ascii	"GetFocus() != NULL\012\000"
	.align	2
.LC3:
	.ascii	"GetActiveWindow() != hwnd\012\000"
	.align	2
.LC4:
	.ascii	"SwitchToThisWindow(TRUE): tracing...\012\000"
	.align	2
.LC5:
	.ascii	"SwitchToThisWindow(TRUE): tracing done\012\000"
	.align	2
.LC6:
	.ascii	"GetForegroundWindow() != hwnd\012\000"
	.align	2
.LC7:
	.ascii	"GetFocus() != hwnd\012\000"
	.align	2
.LC8:
	.ascii	"WM_SYSCOMMAND SC_RESTORE: %d\012\000"
	.align	2
.LC9:
	.ascii	"WM_SYSCOMMAND non-SC_RESTORE: %d\012\000"
	.align	2
.LC10:
	.ascii	"WM_NCACTIVATE: %d\012\000"
	.align	2
.LC11:
	.ascii	"WM_WINDOWPOSCHANGING: %d\012\000"
	.align	2
.LC12:
	.ascii	"WM_ACTIVATE: %d\012\000"
	.align	2
.LC13:
	.ascii	"SwitchToThisWindow(FALSE): tracing...\012\000"
	.align	2
.LC14:
	.ascii	"SwitchToThisWindow(FALSE): tracing done\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	OnTimer, %function
OnTimer:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r5, r0
	bl	KillTimer
	cmp	r4, #5
	ldrls	pc, [pc, r4, asl #2]
	b	.L2
.L4:
	.word	.L6
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L6:
	bl	GetDesktopWindow
	bl	SetForegroundWindow
	bl	GetDesktopWindow
	bl	SetActiveWindow
	bl	GetForegroundWindow
	clz	r0, r0
	ldr	r1, .L12
	lsr	r0, r0, #5
	bl	ok
	bl	GetActiveWindow
	clz	r0, r0
	ldr	r1, .L12+4
	lsr	r0, r0, #5
	bl	ok
	bl	GetFocus
	clz	r0, r0
	ldr	r1, .L12+8
	lsr	r0, r0, #5
	bl	ok
	mov	r0, r5
	bl	CloseWindow
.L9:
	ldr	r3, .L12+12
	mov	r0, r5
	ldr	r2, [r3]
	add	r1, r4, #1
	mov	r3, #0
	pop	{r4, r5, r6, lr}
	b	SetTimer
.L3:
	ldr	r2, .L12+16
	ldr	r3, .L12+20
	ldr	r2, [r2]
	ldr	r0, .L12+24
	str	r2, [r3]
	bl	trace
	bl	GetForegroundWindow
	clz	r0, r0
	ldr	r1, .L12
	lsr	r0, r0, #5
	bl	ok
	bl	GetActiveWindow
	sub	r0, r5, r0
	clz	r0, r0
	ldr	r1, .L12+28
	lsr	r0, r0, #5
	bl	ok
	bl	GetFocus
	clz	r0, r0
	ldr	r1, .L12+8
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, .L12+32
	ldr	r1, .L12+36
	ldr	r2, [r3]
	clz	r0, r2
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, .L12+40
	ldr	r1, .L12+44
	ldr	r2, [r3]
	clz	r0, r2
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, .L12+48
	ldr	r1, .L12+52
	ldr	r2, [r3]
	clz	r0, r2
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, .L12+56
	ldr	r1, .L12+60
	ldr	r2, [r3]
	clz	r0, r2
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, .L12+64
	ldr	r1, .L12+68
	ldr	r2, [r3]
	clz	r0, r2
	lsr	r0, r0, #5
	bl	ok
	b	.L9
.L8:
	bl	GetForegroundWindow
	clz	r0, r0
	ldr	r1, .L12
	lsr	r0, r0, #5
	bl	ok
	bl	GetActiveWindow
	sub	r0, r5, r0
	clz	r0, r0
	ldr	r1, .L12+28
	lsr	r0, r0, #5
	bl	ok
	bl	GetFocus
	clz	r0, r0
	ldr	r1, .L12+8
	lsr	r0, r0, #5
	bl	ok
	mov	r3, #0
	ldr	r2, .L12+72
	ldr	r0, .L12+20
	ldr	r1, [r2]
	ldr	r2, .L12+32
	str	r1, [r0]
	ldr	r0, .L12+40
	str	r3, [r2]
	ldr	r2, .L12+48
	str	r3, [r0]
	ldr	r0, .L12+56
	str	r3, [r2]
	ldr	r2, .L12+64
	str	r3, [r0]
	mov	r0, r5
	str	r3, [r2]
	bl	SwitchToThisWindow
	ldr	r0, .L12+76
	bl	trace
	b	.L9
.L7:
	ldr	r2, .L12+16
	ldr	r3, .L12+20
	ldr	r2, [r2]
	ldr	r0, .L12+80
	str	r2, [r3]
	bl	trace
	bl	GetForegroundWindow
	sub	r0, r5, r0
	clz	r0, r0
	ldr	r1, .L12+84
	lsr	r0, r0, #5
	bl	ok
	bl	GetActiveWindow
	sub	r0, r5, r0
	clz	r0, r0
	ldr	r1, .L12+28
	lsr	r0, r0, #5
	bl	ok
	bl	GetFocus
	sub	r0, r5, r0
	clz	r0, r0
	ldr	r1, .L12+88
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, .L12+32
	ldr	r1, .L12+36
	ldr	r2, [r3]
	sub	r0, r2, #1
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, .L12+40
	ldr	r1, .L12+44
	ldr	r2, [r3]
	clz	r0, r2
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, .L12+48
	ldr	r1, .L12+52
	ldr	r2, [r3]
	sub	r0, r2, #1
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, .L12+56
	ldr	r1, .L12+60
	ldr	r2, [r3]
	sub	r0, r2, #2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, .L12+64
	ldr	r1, .L12+68
	ldr	r2, [r3]
	sub	r0, r2, #1
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	b	.L9
.L5:
	bl	GetForegroundWindow
	clz	r0, r0
	ldr	r1, .L12
	lsr	r0, r0, #5
	bl	ok
	bl	GetActiveWindow
	sub	r0, r5, r0
	clz	r0, r0
	ldr	r1, .L12+28
	lsr	r0, r0, #5
	bl	ok
	bl	GetFocus
	clz	r0, r0
	ldr	r1, .L12+8
	lsr	r0, r0, #5
	bl	ok
	mov	r3, #0
	ldr	r2, .L12+72
	ldr	r1, .L12+16
	ldr	r0, [r2]
	ldr	r2, .L12+20
	ldr	r1, [r1]
	str	r0, [r2]
	ldr	r2, .L12+32
	ldr	r0, .L12+40
	str	r3, [r2]
	ldr	r2, .L12+48
	str	r3, [r0]
	ldr	r0, .L12+56
	str	r3, [r2]
	ldr	r2, .L12+64
	str	r3, [r0]
	mov	r0, r5
	str	r3, [r2]
	bl	SwitchToThisWindow
	ldr	r0, .L12+92
	bl	trace
	b	.L9
.L2:
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	DestroyWindow
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	TIMER_INTERVAL
	.word	FALSE
	.word	s_bTracing
	.word	.LC14
	.word	.LC3
	.word	s_nWM_SYSCOMMAND_SC_RESTORE
	.word	.LC8
	.word	s_nWM_SYSCOMMAND_NOT_SC_RESTORE
	.word	.LC9
	.word	s_nWM_NCACTIVATE
	.word	.LC10
	.word	s_nWM_WINDOWPOSCHANGING
	.word	.LC11
	.word	s_nWM_ACTIVATE
	.word	.LC12
	.word	TRUE
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC13
	.size	OnTimer, .-OnTimer
	.comm	s_nWM_WINDOWPOSCHANGING,4,4
	.comm	s_nWM_SYSCOMMAND_SC_RESTORE,4,4
	.comm	s_nWM_SYSCOMMAND_NOT_SC_RESTORE,4,4
	.comm	s_nWM_NCACTIVATE,4,4
	.comm	s_nWM_ACTIVATE,4,4
	.comm	s_bTracing,4,4
	.comm	TRUE,4,4
	.comm	TIMER_INTERVAL,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
