	.file	"extr_nonclient.c_UserGetWindowIcon.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	UserGetWindowIcon, @function
UserGetWindowIcon:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r9d, 1000
	xor	ecx, ecx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR 4[rdi]
	mov	edx, DWORD PTR ICON_SMALL2[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rbp, rsp
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	mov	QWORD PTR 8[rsp], 0
	mov	r8d, DWORD PTR SMTO_ABORTIFHUNG[rip]
	mov	esi, DWORD PTR WM_GETICON[rip]
	push	rbp
	.cfi_def_cfa_offset 64
	call	SendMessageTimeout@PLT
	mov	r12, QWORD PTR 16[rsp]
	pop	rdi
	.cfi_def_cfa_offset 56
	pop	r8
	.cfi_def_cfa_offset 48
	test	r12, r12
	je	.L11
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	mov	esi, DWORD PTR WM_GETICON[rip]
	mov	edi, DWORD PTR 4[rbx]
	xor	ecx, ecx
	push	rbp
	.cfi_def_cfa_offset 64
	mov	r8d, DWORD PTR SMTO_ABORTIFHUNG[rip]
	mov	r9d, 1000
	mov	edx, DWORD PTR ICON_SMALL[rip]
	call	SendMessageTimeout@PLT
	mov	r12, QWORD PTR 16[rsp]
	pop	rcx
	.cfi_def_cfa_offset 56
	pop	rsi
	.cfi_def_cfa_offset 48
	test	r12, r12
	jne	.L1
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	mov	edx, DWORD PTR ICON_BIG[rip]
	mov	edi, DWORD PTR 4[rbx]
	xor	ecx, ecx
	push	rbp
	.cfi_def_cfa_offset 64
	mov	r8d, DWORD PTR SMTO_ABORTIFHUNG[rip]
	mov	r9d, 1000
	mov	esi, DWORD PTR WM_GETICON[rip]
	call	SendMessageTimeout@PLT
	mov	r12, QWORD PTR 16[rsp]
	pop	rax
	.cfi_def_cfa_offset 56
	pop	rdx
	.cfi_def_cfa_offset 48
	test	r12, r12
	jne	.L1
	mov	edi, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR GCLP_HICONSM[rip]
	call	GetClassLongPtr@PLT
	mov	QWORD PTR [rsp], rax
	test	rax, rax
	jne	.L7
	mov	edi, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR GCLP_HICON[rip]
	call	GetClassLongPtr@PLT
	mov	QWORD PTR [rsp], rax
	test	rax, rax
	jne	.L7
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR WS_EX_DLGMODALFRAME[rip], eax
	jne	.L1
	mov	esi, DWORD PTR IDI_WINLOGO[rip]
	xor	edi, edi
	call	LoadIconW@PLT
	mov	r12, rax
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
.L7:
	mov	r12, rax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	UserGetWindowIcon, .-UserGetWindowIcon
	.comm	WS_EX_DLGMODALFRAME,4,4
	.comm	WM_GETICON,4,4
	.comm	SMTO_ABORTIFHUNG,4,4
	.comm	IDI_WINLOGO,8,8
	.comm	ICON_SMALL2,4,4
	.comm	ICON_SMALL,4,4
	.comm	ICON_BIG,4,4
	.comm	GCLP_HICONSM,4,4
	.comm	GCLP_HICON,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_nonclient.c_UserGetWindowIcon.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	UserGetWindowIcon, %function
UserGetWindowIcon:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, #1000
	mov	r3, #0
	ldr	r8, .L13
	sub	sp, sp, #24
	ldr	r1, [r8]
	mov	r4, r0
	ldr	r0, [r0, #4]
	stm	sp, {r1, r7}
	ldr	r2, .L13+4
	ldr	r6, .L13+8
	ldr	ip, .L13+12
	add	r1, sp, #16
	ldr	r2, [r2]
	str	r1, [sp, #8]
	ldr	r1, [r6]
	ldr	ip, [ip]
	str	ip, [sp, #20]
	mov	ip,#0
	str	r3, [sp, #16]
	bl	SendMessageTimeout
	ldr	r5, [sp, #16]
	cmp	r5, #0
	beq	.L11
.L1:
	ldr	r3, .L13+12
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	mov	r0, r5
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	ldr	r1, [r8]
	add	r3, sp, #16
	ldr	r2, .L13+16
	str	r3, [sp, #8]
	str	r7, [sp, #4]
	ldr	r2, [r2]
	str	r1, [sp]
	mov	r3, r5
	ldr	r1, [r6]
	ldr	r0, [r4, #4]
	bl	SendMessageTimeout
	ldr	r5, [sp, #16]
	cmp	r5, #0
	bne	.L1
	ldr	r3, [r8]
	ldr	r2, .L13+20
	str	r3, [sp]
	add	r3, sp, #16
	str	r3, [sp, #8]
	str	r7, [sp, #4]
	mov	r3, r5
	ldr	r1, [r6]
	ldr	r2, [r2]
	ldr	r0, [r4, #4]
	bl	SendMessageTimeout
	ldr	r5, [sp, #16]
	cmp	r5, #0
	bne	.L1
	ldr	r3, .L13+24
	ldr	r0, [r4, #4]
	ldr	r1, [r3]
	bl	GetClassLongPtr
	cmp	r0, #0
	str	r0, [sp, #16]
	bne	.L7
	ldr	r3, .L13+28
	ldr	r0, [r4, #4]
	ldr	r1, [r3]
	bl	GetClassLongPtr
	cmp	r0, #0
	str	r0, [sp, #16]
	bne	.L8
	ldr	r3, .L13+32
	ldr	r2, [r4]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L1
	ldr	r3, .L13+36
	ldr	r1, [r3]
	bl	LoadIconW
	mov	r5, r0
	b	.L1
.L12:
	bl	__stack_chk_fail
.L8:
	mov	r5, r0
	b	.L1
.L7:
	mov	r5, r0
	b	.L1
.L14:
	.align	2
.L13:
	.word	SMTO_ABORTIFHUNG
	.word	ICON_SMALL2
	.word	WM_GETICON
	.word	.LC0
	.word	ICON_SMALL
	.word	ICON_BIG
	.word	GCLP_HICONSM
	.word	GCLP_HICON
	.word	WS_EX_DLGMODALFRAME
	.word	IDI_WINLOGO
	.size	UserGetWindowIcon, .-UserGetWindowIcon
	.comm	WS_EX_DLGMODALFRAME,4,4
	.comm	WM_GETICON,4,4
	.comm	SMTO_ABORTIFHUNG,4,4
	.comm	IDI_WINLOGO,4,4
	.comm	ICON_SMALL2,4,4
	.comm	ICON_SMALL,4,4
	.comm	ICON_BIG,4,4
	.comm	GCLP_HICONSM,4,4
	.comm	GCLP_HICON,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
