	.file	"extr_floatwindow.c_DoTimer.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	DoTimer, @function
DoTimer:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	esi, 129
	je	.L2
	cmp	esi, 130
	je	.L3
	cmp	esi, 128
	je	.L23
.L5:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L24
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edx, DWORD PTR [rdi]
	mov	ecx, DWORD PTR LWA_ALPHA[rip]
	xor	esi, esi
	mov	edi, DWORD PTR 4[rdi]
	mov	eax, edx
	sal	eax, 8
	sub	eax, edx
	movsx	rdx, eax
	sar	eax, 31
	imul	rdx, rdx, 1374389535
	sar	rdx, 37
	sub	edx, eax
	call	SetLayeredWindowAttributes@PLT
	mov	eax, DWORD PTR [rbx]
	add	eax, 5
	mov	DWORD PTR [rbx], eax
	cmp	eax, 100
	jne	.L5
	mov	edi, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR GWL_EXSTYLE[rip]
	call	GetWindowLongPtr@PLT
	mov	edx, DWORD PTR WS_EX_LAYERED[rip]
	mov	edi, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR GWL_EXSTYLE[rip]
	not	edx
	and	edx, eax
	call	SetWindowLongPtr@PLT
	mov	eax, DWORD PTR TRUE[rip]
	mov	edi, DWORD PTR 4[rbx]
	mov	esi, 129
	mov	DWORD PTR 8[rbx], eax
	call	KillTimer@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L23:
	mov	edi, DWORD PTR 4[rdi]
	mov	esi, DWORD PTR GWL_EXSTYLE[rip]
	call	GetWindowLongPtr@PLT
	mov	edx, DWORD PTR WS_EX_LAYERED[rip]
	mov	ecx, edx
	not	ecx
	test	ecx, eax
	jne	.L25
.L12:
	mov	eax, DWORD PTR [rbx]
	sub	eax, 5
	mov	DWORD PTR [rbx], eax
	cmp	eax, 59
	jle	.L5
	mov	edx, eax
	mov	edi, DWORD PTR 4[rbx]
	mov	ecx, DWORD PTR LWA_ALPHA[rip]
	xor	esi, esi
	sal	edx, 8
	sub	edx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 37
	call	SetLayeredWindowAttributes@PLT
	cmp	DWORD PTR [rbx], 60
	jne	.L5
	mov	eax, DWORD PTR FALSE[rip]
	mov	edi, DWORD PTR 4[rbx]
	mov	esi, 128
	mov	DWORD PTR 8[rbx], eax
	call	KillTimer@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, DWORD PTR TRUE[rip]
	cmp	DWORD PTR 8[rdi], eax
	je	.L6
	mov	edi, DWORD PTR 4[rdi]
	mov	esi, 130
	call	KillTimer@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, rsp
	call	GetCursorPos@PLT
	test	eax, eax
	je	.L5
	lea	rbp, 4[rsp]
	mov	edi, DWORD PTR 4[rbx]
	mov	rsi, rbp
	call	GetWindowRect@PLT
	test	eax, eax
	je	.L5
	mov	esi, DWORD PTR [rsp]
	mov	rdi, rbp
	call	PtInRect@PLT
	test	eax, eax
	jne	.L5
	mov	edi, DWORD PTR 4[rbx]
	mov	esi, 130
	call	KillTimer@PLT
	mov	edi, DWORD PTR 4[rbx]
	mov	esi, 129
	call	KillTimer@PLT
	mov	edi, DWORD PTR 4[rbx]
	xor	ecx, ecx
	mov	edx, 50
	mov	esi, 128
	call	SetTimer@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L25:
	mov	edi, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR GWL_EXSTYLE[rip]
	or	edx, eax
	call	SetWindowLongPtr@PLT
	jmp	.L12
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	DoTimer, .-DoTimer
	.comm	WS_EX_LAYERED,4,4
	.comm	TRUE,4,4
	.comm	LWA_ALPHA,4,4
	.comm	GWL_EXSTYLE,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_floatwindow.c_DoTimer.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	DoTimer, %function
DoTimer:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L26
	sub	sp, sp, #20
	cmp	r1, #129
	mov	r4, r1
	mov	r5, r0
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	beq	.L2
	cmp	r1, #130
	beq	.L3
	cmp	r1, #128
	beq	.L23
.L5:
	ldr	r3, .L26
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L24
	mov	r0, #0
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	ldr	r3, [r0]
	ldr	r2, .L26+4
	rsb	r3, r3, r3, lsl #8
	smull	r1, r2, r3, r2
	ldr	r1, .L26+8
	asr	r3, r3, #31
	rsb	r2, r3, r2, asr #5
	ldr	r0, [r0, #4]
	ldr	r3, [r1]
	mov	r1, #0
	bl	SetLayeredWindowAttributes
	ldr	r3, [r5]
	add	r3, r3, #5
	cmp	r3, #100
	str	r3, [r5]
	bne	.L5
	ldr	r3, .L26+12
	ldr	r6, [r5, #4]
	ldr	r7, [r3]
	mov	r0, r6
	mov	r1, r7
	bl	GetWindowLongPtr
	mov	r3, r0
	ldr	r2, .L26+16
	mov	r1, r7
	ldr	r2, [r2]
	mov	r0, r6
	bic	r2, r3, r2
	bl	SetWindowLongPtr
	ldr	r3, .L26+20
	mov	r1, r4
	ldr	r3, [r3]
	ldr	r0, [r5, #4]
	str	r3, [r5, #8]
	bl	KillTimer
	b	.L5
.L23:
	ldr	r4, .L26+12
	ldr	r0, [r0, #4]
	ldr	r1, [r4]
	bl	GetWindowLongPtr
	ldr	r3, .L26+16
	ldr	r2, [r3]
	bics	r3, r0, r2
	bne	.L25
.L12:
	ldr	r2, [r5]
	sub	r2, r2, #5
	cmp	r2, #59
	str	r2, [r5]
	ble	.L5
	ldr	r3, .L26+4
	rsb	r2, r2, r2, lsl #8
	umull	r1, r2, r3, r2
	ldr	r3, .L26+8
	mov	r1, #0
	ldr	r3, [r3]
	ldr	r0, [r5, #4]
	lsr	r2, r2, #5
	bl	SetLayeredWindowAttributes
	ldr	r3, [r5]
	cmp	r3, #60
	bne	.L5
	ldr	r3, .L26+24
	mov	r1, #128
	ldr	r3, [r3]
	ldr	r0, [r5, #4]
	str	r3, [r5, #8]
	bl	KillTimer
	b	.L5
.L3:
	ldr	r3, .L26+20
	ldr	r2, [r0, #8]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L6
	ldr	r0, [r0, #4]
	bl	KillTimer
	b	.L5
.L6:
	add	r0, sp, #4
	bl	GetCursorPos
	cmp	r0, #0
	beq	.L5
	ldr	r0, [r5, #4]
	add	r1, sp, #8
	bl	GetWindowRect
	cmp	r0, #0
	beq	.L5
	ldr	r1, [sp, #4]
	add	r0, sp, #8
	bl	PtInRect
	subs	r6, r0, #0
	bne	.L5
	mov	r1, r4
	ldr	r0, [r5, #4]
	bl	KillTimer
	mov	r1, #129
	ldr	r0, [r5, #4]
	bl	KillTimer
	mov	r3, r6
	mov	r2, #50
	mov	r1, #128
	ldr	r0, [r5, #4]
	bl	SetTimer
	b	.L5
.L25:
	orr	r2, r2, r0
	ldr	r1, [r4]
	ldr	r0, [r5, #4]
	bl	SetWindowLongPtr
	b	.L12
.L24:
	bl	__stack_chk_fail
.L27:
	.align	2
.L26:
	.word	.LC0
	.word	1374389535
	.word	LWA_ALPHA
	.word	GWL_EXSTYLE
	.word	WS_EX_LAYERED
	.word	TRUE
	.word	FALSE
	.size	DoTimer, .-DoTimer
	.comm	WS_EX_LAYERED,4,4
	.comm	TRUE,4,4
	.comm	LWA_ALPHA,4,4
	.comm	GWL_EXSTYLE,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
