	.file	"extr_static.c_STATIC_SetBitmap.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"hBitmap != 0, but it's not a bitmap\n"
	.text
	.p2align 4
	.type	STATIC_SetBitmap, @function
STATIC_SetBitmap:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR SS_TYPEMASK[rip]
	and	eax, edx
	cmp	eax, DWORD PTR SS_BITMAP[rip]
	jne	.L1
	mov	r13d, edi
	mov	rbp, rsi
	test	rsi, rsi
	je	.L3
	mov	rdi, rsi
	mov	ebx, edx
	call	GetObjectType@PLT
	cmp	rax, QWORD PTR OBJ_BITMAP[rip]
	jne	.L10
	mov	esi, DWORD PTR HICON_GWL_OFFSET[rip]
	mov	edx, ebp
	mov	edi, r13d
	call	SetWindowLongPtrW@PLT
	mov	r12, rax
	mov	eax, DWORD PTR SS_CENTERIMAGE[rip]
	or	eax, DWORD PTR SS_REALSIZECONTROL[rip]
	test	eax, ebx
	je	.L11
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	esi, DWORD PTR HICON_GWL_OFFSET[rip]
	xor	edx, edx
	call	SetWindowLongPtrW@PLT
	mov	r12, rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	lea	rdi, .LC0[rip]
	call	WARN@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdx, rsp
	mov	esi, 8
	mov	rdi, rbp
	call	GetObjectW@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 72
	xor	edx, edx
	xor	ecx, ecx
	mov	eax, DWORD PTR SWP_NOACTIVATE[rip]
	or	eax, DWORD PTR SWP_NOMOVE[rip]
	xor	esi, esi
	mov	edi, r13d
	or	eax, DWORD PTR SWP_NOZORDER[rip]
	push	rax
	.cfi_def_cfa_offset 80
	mov	r9d, DWORD PTR 16[rsp]
	mov	r8d, DWORD PTR 20[rsp]
	call	SetWindowPos@PLT
	pop	rax
	.cfi_def_cfa_offset 72
	pop	rdx
	.cfi_def_cfa_offset 64
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	STATIC_SetBitmap, .-STATIC_SetBitmap
	.comm	SWP_NOZORDER,4,4
	.comm	SWP_NOMOVE,4,4
	.comm	SWP_NOACTIVATE,4,4
	.comm	SS_TYPEMASK,4,4
	.comm	SS_REALSIZECONTROL,4,4
	.comm	SS_CENTERIMAGE,4,4
	.comm	SS_BITMAP,4,4
	.comm	OBJ_BITMAP,8,8
	.comm	HICON_GWL_OFFSET,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_static.c_STATIC_SetBitmap.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"hBitmap != 0, but it's not a bitmap\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	STATIC_SetBitmap, %function
STATIC_SetBitmap:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r2
	ldr	r3, .L13
	ldr	r2, .L13+4
	ldr	r3, [r3]
	ldr	r2, [r2]
	and	r3, r3, r4
	cmp	r3, r2
	ldr	r3, .L13+8
	sub	sp, sp, #36
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	movne	r6, #0
	bne	.L1
	cmp	r1, #0
	mov	r5, r1
	beq	.L3
	mov	r7, r0
	mov	r0, r1
	bl	GetObjectType
	ldr	r3, .L13+12
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L10
	ldr	r3, .L13+16
	mov	r2, r5
	ldr	r1, [r3]
	mov	r0, r7
	bl	SetWindowLongPtrW
	ldr	r3, .L13+20
	ldr	r2, .L13+24
	ldr	r3, [r3]
	ldr	r2, [r2]
	mov	r6, r0
	orr	r3, r3, r2
	ands	r4, r3, r4
	beq	.L11
.L1:
	ldr	r3, .L13+8
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	mov	r0, r6
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L3:
	ldr	r3, .L13+16
	mov	r2, r1
	ldr	r1, [r3]
	bl	SetWindowLongPtrW
	mov	r6, r0
	b	.L1
.L10:
	ldr	r0, .L13+28
	bl	WARN
	mov	r6, #0
	b	.L1
.L11:
	add	r2, sp, #20
	mov	r0, r5
	mov	r1, #8
	bl	GetObjectW
	ldr	r3, .L13+32
	ldr	r2, .L13+36
	ldr	r1, .L13+40
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r0, [r1]
	orr	r3, r3, r2
	ldr	r1, [sp, #20]
	ldr	r2, [sp, #24]
	orr	r3, r3, r0
	stmib	sp, {r1, r3}
	str	r2, [sp]
	mov	r0, r7
	mov	r3, r4
	mov	r2, r4
	mov	r1, r4
	bl	SetWindowPos
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	SS_TYPEMASK
	.word	SS_BITMAP
	.word	.LC1
	.word	OBJ_BITMAP
	.word	HICON_GWL_OFFSET
	.word	SS_CENTERIMAGE
	.word	SS_REALSIZECONTROL
	.word	.LC0
	.word	SWP_NOACTIVATE
	.word	SWP_NOMOVE
	.word	SWP_NOZORDER
	.size	STATIC_SetBitmap, .-STATIC_SetBitmap
	.comm	SWP_NOZORDER,4,4
	.comm	SWP_NOMOVE,4,4
	.comm	SWP_NOACTIVATE,4,4
	.comm	SS_TYPEMASK,4,4
	.comm	SS_REALSIZECONTROL,4,4
	.comm	SS_CENTERIMAGE,4,4
	.comm	SS_BITMAP,4,4
	.comm	OBJ_BITMAP,4,4
	.comm	HICON_GWL_OFFSET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
