	.file	"extr_graphics.c_test_get_set_clip.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	test_get_set_clip, @function
test_get_set_clip:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 88
	.cfi_def_cfa_offset 112
	mov	edi, DWORD PTR hwnd[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	lea	r12, 12[rsp]
	mov	QWORD PTR 16[rsp], 0
	call	GetDC@PLT
	lea	rsi, 16[rsp]
	mov	edi, eax
	mov	ebp, eax
	call	GdipCreateFromHDC@PLT
	mov	edi, DWORD PTR Ok[rip]
	mov	esi, eax
	call	expect@PLT
	lea	rsi, 24[rsp]
	lea	rdi, 32[rsp]
	movsd	xmm0, QWORD PTR .LC1[rip]
	mov	QWORD PTR 40[rsp], 0x000000000
	movsd	QWORD PTR 56[rsp], xmm0
	movsd	QWORD PTR 48[rsp], xmm0
	mov	QWORD PTR 32[rsp], 0x000000000
	call	GdipCreateRegionRect@PLT
	mov	edi, DWORD PTR Ok[rip]
	mov	esi, eax
	call	expect@PLT
	xor	esi, esi
	xor	edi, edi
	call	GdipGetClip@PLT
	mov	edi, DWORD PTR InvalidParameter[rip]
	mov	esi, eax
	call	expect@PLT
	mov	rdi, QWORD PTR 16[rsp]
	xor	esi, esi
	call	GdipGetClip@PLT
	mov	edi, DWORD PTR InvalidParameter[rip]
	mov	esi, eax
	call	expect@PLT
	mov	rsi, QWORD PTR 24[rsp]
	xor	edi, edi
	call	GdipGetClip@PLT
	mov	edi, DWORD PTR InvalidParameter[rip]
	mov	esi, eax
	call	expect@PLT
	mov	edx, DWORD PTR CombineModeReplace[rip]
	xor	esi, esi
	xor	edi, edi
	call	GdipSetClipRegion@PLT
	mov	edi, DWORD PTR InvalidParameter[rip]
	mov	esi, eax
	call	expect@PLT
	mov	edx, DWORD PTR CombineModeReplace[rip]
	mov	rdi, QWORD PTR 16[rsp]
	xor	esi, esi
	call	GdipSetClipRegion@PLT
	mov	edi, DWORD PTR InvalidParameter[rip]
	mov	esi, eax
	call	expect@PLT
	mov	edx, DWORD PTR CombineModeReplace[rip]
	xor	esi, esi
	xor	edi, edi
	call	GdipSetClipPath@PLT
	mov	edi, DWORD PTR InvalidParameter[rip]
	mov	esi, eax
	call	expect@PLT
	mov	edx, DWORD PTR CombineModeReplace[rip]
	mov	rdi, QWORD PTR 16[rsp]
	xor	esi, esi
	call	GdipSetClipPath@PLT
	mov	edi, DWORD PTR InvalidParameter[rip]
	mov	esi, eax
	call	expect@PLT
	mov	eax, DWORD PTR FALSE[rip]
	mov	rsi, QWORD PTR 24[rsp]
	mov	rdi, QWORD PTR 16[rsp]
	mov	DWORD PTR 12[rsp], eax
	call	GdipGetClip@PLT
	mov	edi, DWORD PTR Ok[rip]
	mov	esi, eax
	call	expect@PLT
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, QWORD PTR 24[rsp]
	mov	rdx, r12
	call	GdipIsInfiniteRegion@PLT
	mov	edi, DWORD PTR Ok[rip]
	mov	esi, eax
	call	expect@PLT
	mov	esi, DWORD PTR 12[rsp]
	mov	edi, DWORD PTR TRUE[rip]
	call	expect@PLT
	mov	eax, DWORD PTR FALSE[rip]
	mov	rdi, QWORD PTR 16[rsp]
	mov	DWORD PTR 12[rsp], eax
	call	GdipResetClip@PLT
	mov	edi, DWORD PTR Ok[rip]
	mov	esi, eax
	call	expect@PLT
	mov	rsi, QWORD PTR 24[rsp]
	mov	rdi, QWORD PTR 16[rsp]
	call	GdipGetClip@PLT
	mov	edi, DWORD PTR Ok[rip]
	mov	esi, eax
	call	expect@PLT
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, QWORD PTR 24[rsp]
	mov	rdx, r12
	call	GdipIsInfiniteRegion@PLT
	mov	edi, DWORD PTR Ok[rip]
	mov	esi, eax
	call	expect@PLT
	mov	esi, DWORD PTR 12[rsp]
	mov	edi, DWORD PTR TRUE[rip]
	call	expect@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	GdipSetEmpty@PLT
	mov	edi, DWORD PTR Ok[rip]
	mov	esi, eax
	call	expect@PLT
	mov	edx, DWORD PTR CombineModeReplace[rip]
	mov	rsi, QWORD PTR 24[rsp]
	mov	rdi, QWORD PTR 16[rsp]
	call	GdipSetClipRegion@PLT
	mov	edi, DWORD PTR Ok[rip]
	mov	esi, eax
	call	expect@PLT
	mov	rsi, QWORD PTR 24[rsp]
	mov	rdi, QWORD PTR 16[rsp]
	call	GdipGetClip@PLT
	mov	edi, DWORD PTR Ok[rip]
	mov	esi, eax
	call	expect@PLT
	mov	eax, DWORD PTR FALSE[rip]
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdx, r12
	mov	rdi, QWORD PTR 24[rsp]
	mov	DWORD PTR 12[rsp], eax
	call	GdipIsEmptyRegion@PLT
	mov	edi, DWORD PTR Ok[rip]
	mov	esi, eax
	call	expect@PLT
	mov	esi, DWORD PTR 12[rsp]
	mov	edi, DWORD PTR TRUE[rip]
	call	expect@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	GdipResetClip@PLT
	mov	edi, DWORD PTR Ok[rip]
	mov	esi, eax
	call	expect@PLT
	mov	rsi, QWORD PTR 24[rsp]
	mov	rdi, QWORD PTR 16[rsp]
	call	GdipGetClip@PLT
	mov	edi, DWORD PTR Ok[rip]
	mov	esi, eax
	call	expect@PLT
	mov	eax, DWORD PTR FALSE[rip]
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdx, r12
	mov	rdi, QWORD PTR 24[rsp]
	mov	DWORD PTR 12[rsp], eax
	call	GdipIsInfiniteRegion@PLT
	mov	edi, DWORD PTR Ok[rip]
	mov	esi, eax
	call	expect@PLT
	mov	esi, DWORD PTR 12[rsp]
	mov	edi, DWORD PTR TRUE[rip]
	call	expect@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	GdipDeleteRegion@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	GdipDeleteGraphics@PLT
	mov	edi, DWORD PTR hwnd[rip]
	mov	esi, ebp
	call	ReleaseDC@PLT
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 88
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_get_set_clip, .-test_get_set_clip
	.comm	hwnd,4,4
	.comm	TRUE,4,4
	.comm	Ok,4,4
	.comm	InvalidParameter,4,4
	.comm	FALSE,4,4
	.comm	CombineModeReplace,4,4
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1079574528
	.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_graphics.c_test_get_set_clip.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_get_set_clip, %function
test_get_set_clip:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, #0
	ldr	r10, .L6
	ldr	r3, .L6+4
	sub	sp, sp, #56
	ldr	r0, [r10]
	ldr	r3, [r3]
	str	r3, [sp, #52]
	mov	r3,#0
	str	r5, [sp, #4]
	bl	GetDC
	add	r1, sp, #4
	mov	r7, r0
	bl	GdipCreateFromHDC
	ldr	r4, .L6+8
	mov	r1, r0
	ldr	r0, [r4]
	bl	expect
	mov	r8, #0
	mov	r2, #0
	mov	r9, #0
	ldr	r3, .L6+12
	add	r1, sp, #8
	add	r0, sp, #16
	str	r2, [sp, #40]
	str	r3, [sp, #44]
	str	r2, [sp, #32]
	str	r3, [sp, #36]
	str	r8, [sp, #24]
	str	r9, [sp, #28]
	str	r8, [sp, #16]
	str	r9, [sp, #20]
	bl	GdipCreateRegionRect
	mov	r1, r0
	ldr	r0, [r4]
	bl	expect
	mov	r1, r5
	mov	r0, r5
	bl	GdipGetClip
	ldr	r6, .L6+16
	mov	r1, r0
	ldr	r0, [r6]
	bl	expect
	mov	r1, r5
	ldr	r0, [sp, #4]
	bl	GdipGetClip
	mov	r1, r0
	ldr	r0, [r6]
	bl	expect
	mov	r0, r5
	ldr	r1, [sp, #8]
	bl	GdipGetClip
	ldr	r8, .L6+20
	mov	r1, r0
	ldr	r0, [r6]
	bl	expect
	mov	r1, r5
	ldr	r2, [r8]
	mov	r0, r5
	bl	GdipSetClipRegion
	mov	r1, r0
	ldr	r0, [r6]
	bl	expect
	mov	r1, r5
	ldr	r2, [r8]
	ldr	r0, [sp, #4]
	bl	GdipSetClipRegion
	mov	r1, r0
	ldr	r0, [r6]
	bl	expect
	mov	r1, r5
	ldr	r2, [r8]
	mov	r0, r5
	bl	GdipSetClipPath
	mov	r1, r0
	ldr	r0, [r6]
	bl	expect
	ldr	r2, [r8]
	mov	r1, r5
	ldr	r0, [sp, #4]
	bl	GdipSetClipPath
	ldr	r9, .L6+24
	mov	r1, r0
	ldr	r0, [r6]
	bl	expect
	ldmib	sp, {r0, r1}
	ldr	r3, [r9]
	ldr	r5, .L6+28
	str	r3, [sp, #12]
	bl	GdipGetClip
	mov	r1, r0
	ldr	r0, [r4]
	bl	expect
	add	r2, sp, #12
	ldr	r1, [sp, #4]
	ldr	r0, [sp, #8]
	bl	GdipIsInfiniteRegion
	mov	r1, r0
	ldr	r0, [r4]
	bl	expect
	ldr	r1, [sp, #12]
	ldr	r0, [r5]
	bl	expect
	ldr	r3, [r9]
	ldr	r0, [sp, #4]
	str	r3, [sp, #12]
	bl	GdipResetClip
	mov	r1, r0
	ldr	r0, [r4]
	bl	expect
	ldmib	sp, {r0, r1}
	bl	GdipGetClip
	mov	r1, r0
	ldr	r0, [r4]
	bl	expect
	add	r2, sp, #12
	ldr	r1, [sp, #4]
	ldr	r0, [sp, #8]
	bl	GdipIsInfiniteRegion
	mov	r1, r0
	ldr	r0, [r4]
	bl	expect
	ldr	r1, [sp, #12]
	ldr	r0, [r5]
	bl	expect
	ldr	r0, [sp, #8]
	bl	GdipSetEmpty
	mov	r1, r0
	ldr	r0, [r4]
	bl	expect
	ldmib	sp, {r0, r1}
	ldr	r2, [r8]
	bl	GdipSetClipRegion
	mov	r1, r0
	ldr	r0, [r4]
	bl	expect
	ldmib	sp, {r0, r1}
	bl	GdipGetClip
	mov	r1, r0
	ldr	r0, [r4]
	bl	expect
	ldr	r3, [r9]
	add	r2, sp, #12
	ldr	r1, [sp, #4]
	ldr	r0, [sp, #8]
	str	r3, [sp, #12]
	bl	GdipIsEmptyRegion
	mov	r1, r0
	ldr	r0, [r4]
	bl	expect
	ldr	r1, [sp, #12]
	ldr	r0, [r5]
	bl	expect
	ldr	r0, [sp, #4]
	bl	GdipResetClip
	mov	r1, r0
	ldr	r0, [r4]
	bl	expect
	ldmib	sp, {r0, r1}
	bl	GdipGetClip
	mov	r1, r0
	ldr	r0, [r4]
	bl	expect
	ldr	r3, [r9]
	add	r2, sp, #12
	ldr	r1, [sp, #4]
	ldr	r0, [sp, #8]
	str	r3, [sp, #12]
	bl	GdipIsInfiniteRegion
	mov	r1, r0
	ldr	r0, [r4]
	bl	expect
	ldr	r1, [sp, #12]
	ldr	r0, [r5]
	bl	expect
	ldr	r0, [sp, #8]
	bl	GdipDeleteRegion
	ldr	r0, [sp, #4]
	bl	GdipDeleteGraphics
	mov	r1, r7
	ldr	r0, [r10]
	bl	ReleaseDC
	ldr	r3, .L6+4
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #56
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	hwnd
	.word	.LC0
	.word	Ok
	.word	1079574528
	.word	InvalidParameter
	.word	CombineModeReplace
	.word	FALSE
	.word	TRUE
	.size	test_get_set_clip, .-test_get_set_clip
	.comm	hwnd,4,4
	.comm	TRUE,4,4
	.comm	Ok,4,4
	.comm	InvalidParameter,4,4
	.comm	FALSE,4,4
	.comm	CombineModeReplace,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
