	.file	"extr_optnmenu.c_TaskManager_OnOptionsAlwaysOnTop.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	TaskManager_OnOptionsAlwaysOnTop
	.type	TaskManager_OnOptionsAlwaysOnTop, @function
TaskManager_OnOptionsAlwaysOnTop:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	edi, DWORD PTR hMainWnd[rip]
	call	GetMenu@PLT
	mov	esi, DWORD PTR OPTIONS_MENU_INDEX[rip]
	mov	edi, eax
	call	GetSubMenu@PLT
	mov	esi, DWORD PTR GWL_EXSTYLE[rip]
	mov	edi, DWORD PTR hMainWnd[rip]
	mov	ebp, eax
	call	GetWindowLongPtrW@PLT
	mov	edx, DWORD PTR MF_BYCOMMAND[rip]
	test	DWORD PTR WS_EX_TOPMOST[rip], eax
	je	.L2
	mov	esi, DWORD PTR ID_OPTIONS_ALWAYSONTOP[rip]
	mov	edi, ebp
	or	edx, DWORD PTR MF_UNCHECKED[rip]
	call	CheckMenuItem@PLT
	mov	eax, DWORD PTR FALSE[rip]
	xor	ecx, ecx
	xor	r9d, r9d
	sub	rsp, 8
	.cfi_def_cfa_offset 24
	mov	esi, DWORD PTR HWND_NOTOPMOST[rip]
	xor	r8d, r8d
	xor	edx, edx
	mov	DWORD PTR TaskManagerSettings[rip], eax
	mov	eax, DWORD PTR SWP_NOMOVE[rip]
	or	eax, DWORD PTR SWP_NOSIZE[rip]
	mov	edi, DWORD PTR hMainWnd[rip]
	push	rax
	.cfi_def_cfa_offset 32
	call	SetWindowPos@PLT
	pop	rcx
	.cfi_def_cfa_offset 24
	pop	rsi
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR ID_OPTIONS_ALWAYSONTOP[rip]
	mov	edi, ebp
	or	edx, DWORD PTR MF_CHECKED[rip]
	call	CheckMenuItem@PLT
	mov	eax, DWORD PTR TRUE[rip]
	xor	edx, edx
	xor	r9d, r9d
	sub	rsp, 8
	.cfi_def_cfa_offset 24
	mov	esi, DWORD PTR HWND_TOPMOST[rip]
	xor	r8d, r8d
	xor	ecx, ecx
	mov	DWORD PTR TaskManagerSettings[rip], eax
	mov	eax, DWORD PTR SWP_NOMOVE[rip]
	or	eax, DWORD PTR SWP_NOSIZE[rip]
	mov	edi, DWORD PTR hMainWnd[rip]
	push	rax
	.cfi_def_cfa_offset 32
	call	SetWindowPos@PLT
	pop	rax
	.cfi_def_cfa_offset 24
	pop	rdx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	TaskManager_OnOptionsAlwaysOnTop, .-TaskManager_OnOptionsAlwaysOnTop
	.comm	hMainWnd,4,4
	.comm	WS_EX_TOPMOST,4,4
	.comm	TaskManagerSettings,4,4
	.comm	TRUE,4,4
	.comm	SWP_NOSIZE,4,4
	.comm	SWP_NOMOVE,4,4
	.comm	OPTIONS_MENU_INDEX,4,4
	.comm	MF_UNCHECKED,4,4
	.comm	MF_CHECKED,4,4
	.comm	MF_BYCOMMAND,4,4
	.comm	ID_OPTIONS_ALWAYSONTOP,4,4
	.comm	HWND_TOPMOST,4,4
	.comm	HWND_NOTOPMOST,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_optnmenu.c_TaskManager_OnOptionsAlwaysOnTop.c"
	.text
	.align	2
	.global	TaskManager_OnOptionsAlwaysOnTop
	.syntax unified
	.arm
	.fpu softvfp
	.type	TaskManager_OnOptionsAlwaysOnTop, %function
TaskManager_OnOptionsAlwaysOnTop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, .L6
	sub	sp, sp, #16
	ldr	r0, [r6]
	bl	GetMenu
	ldr	r3, .L6+4
	ldr	r1, [r3]
	bl	GetSubMenu
	ldr	r3, .L6+8
	mov	r4, r0
	ldr	r1, [r3]
	ldr	r0, [r6]
	bl	GetWindowLongPtrW
	ldr	r3, .L6+12
	ldr	r2, .L6+16
	ldr	r3, [r3]
	ands	r5, r0, r3
	beq	.L2
	ldr	r3, .L6+20
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, .L6+24
	orr	r2, r1, r2
	mov	r0, r4
	ldr	r1, [r3]
	bl	CheckMenuItem
	mov	r3, #0
	ldr	r1, .L6+28
	ldr	r2, .L6+32
	ldr	ip, [r1]
	ldr	r2, [r2]
	ldr	r0, .L6+36
	orr	r2, r2, ip
	ldr	lr, [r0]
	ldr	ip, .L6+40
	ldr	r1, .L6+44
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	str	r3, [sp]
	mov	r2, r3
	ldr	r0, [r6]
	ldr	r1, [r1]
	str	lr, [ip]
	bl	SetWindowPos
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, .L6+48
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, .L6+24
	orr	r2, r1, r2
	mov	r0, r4
	ldr	r1, [r3]
	bl	CheckMenuItem
	ldr	r2, .L6+28
	ldr	r3, .L6+32
	ldr	r0, [r2]
	ldr	r3, [r3]
	ldr	r1, .L6+52
	ldr	ip, .L6+40
	ldr	lr, [r1]
	orr	r3, r3, r0
	ldr	r2, .L6+56
	str	r3, [sp, #8]
	str	r5, [sp, #4]
	str	r5, [sp]
	ldr	r1, [r2]
	mov	r3, r5
	mov	r2, r5
	ldr	r0, [r6]
	str	lr, [ip]
	bl	SetWindowPos
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L7:
	.align	2
.L6:
	.word	hMainWnd
	.word	OPTIONS_MENU_INDEX
	.word	GWL_EXSTYLE
	.word	WS_EX_TOPMOST
	.word	MF_BYCOMMAND
	.word	MF_UNCHECKED
	.word	ID_OPTIONS_ALWAYSONTOP
	.word	SWP_NOSIZE
	.word	SWP_NOMOVE
	.word	FALSE
	.word	TaskManagerSettings
	.word	HWND_NOTOPMOST
	.word	MF_CHECKED
	.word	TRUE
	.word	HWND_TOPMOST
	.size	TaskManager_OnOptionsAlwaysOnTop, .-TaskManager_OnOptionsAlwaysOnTop
	.comm	hMainWnd,4,4
	.comm	WS_EX_TOPMOST,4,4
	.comm	TaskManagerSettings,4,4
	.comm	TRUE,4,4
	.comm	SWP_NOSIZE,4,4
	.comm	SWP_NOMOVE,4,4
	.comm	OPTIONS_MENU_INDEX,4,4
	.comm	MF_UNCHECKED,4,4
	.comm	MF_CHECKED,4,4
	.comm	MF_BYCOMMAND,4,4
	.comm	ID_OPTIONS_ALWAYSONTOP,4,4
	.comm	HWND_TOPMOST,4,4
	.comm	HWND_NOTOPMOST,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
