	.file	"extr_GetObject.c_Test_Region.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"\n"
	.text
	.p2align 4
	.globl	Test_Region
	.type	Test_Region, @function
Test_Region:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ecx, 5
	xor	esi, esi
	mov	edx, 5
	xor	edi, edi
	call	CreateRectRgn@PLT
	mov	edi, DWORD PTR ERROR_SUCCESS[rip]
	mov	ebp, eax
	call	SetLastError@PLT
	xor	edx, edx
	xor	esi, esi
	mov	edi, ebp
	call	GetObjectW@PLT
	xor	edi, edi
	lea	rsi, .LC0[rip]
	test	rax, rax
	sete	dil
	call	ok@PLT
	xor	eax, eax
	call	GetLastError@PLT
	xor	edi, edi
	cmp	QWORD PTR ERROR_INVALID_HANDLE[rip], rax
	lea	rsi, .LC0[rip]
	sete	dil
	call	ok@PLT
	mov	edi, ebp
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	DeleteObject@PLT
	.cfi_endproc
.LFE0:
	.size	Test_Region, .-Test_Region
	.comm	ERROR_SUCCESS,4,4
	.comm	ERROR_INVALID_HANDLE,8,8
	.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_GetObject.c_Test_Region.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\012\000"
	.text
	.align	2
	.global	Test_Region
	.syntax unified
	.arm
	.fpu softvfp
	.type	Test_Region, %function
Test_Region:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r1, #0
	mov	r3, #5
	push	{r4, r5, r6, lr}
	mov	r2, r3
	mov	r0, r1
	bl	CreateRectRgn
	ldr	r3, .L4
	mov	r4, r0
	ldr	r0, [r3]
	bl	SetLastError
	mov	r2, #0
	mov	r0, r4
	mov	r1, r2
	bl	GetObjectW
	clz	r0, r0
	ldr	r5, .L4+4
	lsr	r0, r0, #5
	mov	r1, r5
	bl	ok
	bl	GetLastError
	ldr	r3, .L4+8
	mov	r1, r5
	ldr	r3, [r3]
	sub	r0, r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	DeleteObject
.L5:
	.align	2
.L4:
	.word	ERROR_SUCCESS
	.word	.LC0
	.word	ERROR_INVALID_HANDLE
	.size	Test_Region, .-Test_Region
	.comm	ERROR_SUCCESS,4,4
	.comm	ERROR_INVALID_HANDLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
