	.file	"extr_uitools.c_test_SubtractRect.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"SubtractRect returned FALSE but subtraction should not be empty\n"
	.align 8
.LC1:
	.string	"wrong rect subtraction of SubtractRect (dest rect=%s)\n"
	.align 8
.LC2:
	.string	"SubtractRect returned TRUE but subtraction should be empty (dest rect=%s)\n"
	.text
	.p2align 4
	.type	test_SubtractRect, @function
test_SubtractRect:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r8d, 100
	mov	ecx, 150
	mov	edx, 50
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	esi, 50
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 72
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	r12, rsp
	lea	rbp, 16[rsp]
	lea	r13, 32[rsp]
	mov	rdi, r12
	call	SetRect@PLT
	mov	r8d, 1000
	mov	ecx, 1500
	mov	rdi, rbp
	mov	edx, 200
	mov	esi, 250
	call	SetRect@PLT
	mov	rdx, rbp
	mov	rsi, r12
	mov	rdi, r13
	call	SubtractRect@PLT
	lea	rsi, .LC0[rip]
	mov	edi, eax
	mov	r14d, eax
	xor	eax, eax
	call	ok@PLT
	mov	rdi, r13
	call	wine_dbgstr_rect@PLT
	mov	edx, eax
	test	r14d, r14d
	je	.L2
	xor	r14d, r14d
	cmp	DWORD PTR 32[rsp], 50
	je	.L26
.L2:
	mov	edi, r14d
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	ok@PLT
	mov	r8d, 1608
	mov	ecx, 3427
	mov	rdi, r12
	mov	edx, 626
	mov	esi, 2431
	call	SetRect@PLT
	mov	r8d, 1608
	mov	ecx, 3427
	mov	rdi, rbp
	mov	edx, 626
	mov	esi, 2499
	call	SetRect@PLT
	mov	rdx, rbp
	mov	rsi, r12
	mov	rdi, r13
	call	SubtractRect@PLT
	lea	rsi, .LC0[rip]
	mov	edi, eax
	mov	r14d, eax
	xor	eax, eax
	call	ok@PLT
	mov	rdi, r13
	call	wine_dbgstr_rect@PLT
	mov	edx, eax
	test	r14d, r14d
	je	.L3
	xor	r14d, r14d
	cmp	DWORD PTR 32[rsp], 2431
	je	.L27
.L3:
	mov	edi, r14d
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	ok@PLT
	mov	r8d, 1608
	mov	ecx, 3427
	mov	rdi, r12
	mov	edx, 626
	mov	esi, 2431
	call	SetRect@PLT
	mov	r8d, 1608
	mov	ecx, 3427
	mov	rdi, rbp
	mov	edx, 626
	mov	esi, 2499
	call	SetRect@PLT
	mov	rdx, rbp
	mov	rsi, r12
	mov	rdi, rbp
	call	SubtractRect@PLT
	lea	rsi, .LC0[rip]
	mov	edi, eax
	mov	r14d, eax
	xor	eax, eax
	call	ok@PLT
	mov	rdi, r13
	call	wine_dbgstr_rect@PLT
	mov	edx, eax
	test	r14d, r14d
	je	.L4
	xor	r14d, r14d
	cmp	DWORD PTR 32[rsp], 2431
	je	.L28
.L4:
	mov	edi, r14d
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	ok@PLT
	mov	rdi, r12
	mov	r8d, 500
	mov	ecx, 400
	mov	edx, 250
	mov	esi, 250
	call	SetRect@PLT
	mov	r8d, 1000
	mov	ecx, 1500
	mov	rdi, rbp
	mov	edx, 50
	mov	esi, 50
	call	SetRect@PLT
	mov	rsi, r12
	mov	rdx, rbp
	mov	rdi, r13
	call	SubtractRect@PLT
	mov	rdi, r13
	mov	r14d, eax
	call	wine_dbgstr_rect@PLT
	xor	edi, edi
	test	r14d, r14d
	lea	rsi, .LC2[rip]
	sete	dil
	mov	edx, eax
	xor	eax, eax
	call	ok@PLT
	mov	rdi, r12
	mov	r8d, 500
	mov	ecx, 400
	mov	edx, 250
	mov	esi, 250
	call	SetRect@PLT
	mov	r8d, 1000
	mov	ecx, 1500
	mov	rdi, rbp
	mov	edx, 50
	mov	esi, 50
	call	SetRect@PLT
	mov	rsi, r12
	mov	rdx, rbp
	mov	rdi, rbp
	call	SubtractRect@PLT
	mov	rdi, rbp
	mov	r12d, eax
	call	wine_dbgstr_rect@PLT
	xor	edi, edi
	test	r12d, r12d
	lea	rsi, .LC2[rip]
	sete	dil
	mov	edx, eax
	xor	eax, eax
	call	ok@PLT
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L29
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L28:
	.cfi_restore_state
	cmp	DWORD PTR 36[rsp], 626
	jne	.L4
	cmp	DWORD PTR 40[rsp], 2499
	jne	.L4
	xor	r14d, r14d
	cmp	DWORD PTR 44[rsp], 1608
	sete	r14b
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L26:
	cmp	DWORD PTR 36[rsp], 50
	jne	.L2
	cmp	DWORD PTR 40[rsp], 150
	jne	.L2
	xor	r14d, r14d
	cmp	DWORD PTR 44[rsp], 100
	sete	r14b
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L27:
	cmp	DWORD PTR 36[rsp], 626
	jne	.L3
	cmp	DWORD PTR 40[rsp], 2499
	jne	.L3
	xor	r14d, r14d
	cmp	DWORD PTR 44[rsp], 1608
	sete	r14b
	jmp	.L3
.L29:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_SubtractRect, .-test_SubtractRect
	.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_uitools.c_test_SubtractRect.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"SubtractRect returned FALSE but subtraction should "
	.ascii	"not be empty\012\000"
	.align	2
.LC1:
	.ascii	"wrong rect subtraction of SubtractRect (dest rect=%"
	.ascii	"s)\012\000"
	.align	2
.LC2:
	.ascii	"SubtractRect returned TRUE but subtraction should b"
	.ascii	"e empty (dest rect=%s)\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_SubtractRect, %function
test_SubtractRect:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r2, #50
	mov	r3, #100
	push	{r4, r5, r6, r7, r8, lr}
	ldr	ip, .L30
	sub	sp, sp, #64
	mov	r1, r2
	str	r3, [sp]
	add	r0, sp, #12
	mov	r3, #150
	ldr	ip, [ip]
	str	ip, [sp, #60]
	mov	ip,#0
	bl	SetRect
	mov	r3, #1000
	mov	r2, #200
	mov	r1, #250
	str	r3, [sp]
	add	r0, sp, #28
	add	r3, r3, #500
	bl	SetRect
	add	r2, sp, #28
	add	r1, sp, #12
	add	r0, sp, #44
	bl	SubtractRect
	mov	r4, r0
	ldr	r1, .L30+4
	bl	ok
	cmp	r4, #0
	beq	.L2
	ldr	r3, [sp, #44]
	cmp	r3, #50
	beq	.L26
.L8:
	mov	r4, #0
.L2:
	add	r0, sp, #44
	bl	wine_dbgstr_rect
	ldr	r5, .L30+8
	ldr	r6, .L30+12
	ldr	r7, .L30+16
	mov	r2, r0
	ldr	r1, .L30+20
	mov	r0, r4
	ldr	r8, .L30+24
	bl	ok
	mov	r2, r5
	mov	r1, r7
	ldr	r3, .L30+28
	str	r6, [sp]
	add	r0, sp, #12
	bl	SetRect
	ldr	r3, .L30+28
	mov	r2, r5
	mov	r1, r8
	str	r6, [sp]
	add	r0, sp, #28
	bl	SetRect
	add	r2, sp, #28
	add	r1, sp, #12
	add	r0, sp, #44
	bl	SubtractRect
	mov	r4, r0
	ldr	r1, .L30+4
	bl	ok
	cmp	r4, #0
	beq	.L3
	ldr	r3, [sp, #44]
	cmp	r3, r7
	beq	.L27
.L11:
	mov	r4, #0
.L3:
	add	r0, sp, #44
	bl	wine_dbgstr_rect
	ldr	r5, .L30+8
	ldr	r6, .L30+12
	ldr	r7, .L30+16
	mov	r2, r0
	ldr	r1, .L30+20
	mov	r0, r4
	ldr	r8, .L30+24
	bl	ok
	mov	r2, r5
	mov	r1, r7
	ldr	r3, .L30+28
	str	r6, [sp]
	add	r0, sp, #12
	bl	SetRect
	ldr	r3, .L30+28
	mov	r2, r5
	mov	r1, r8
	str	r6, [sp]
	add	r0, sp, #28
	bl	SetRect
	add	r2, sp, #28
	mov	r0, r2
	add	r1, sp, #12
	bl	SubtractRect
	mov	r4, r0
	ldr	r1, .L30+4
	bl	ok
	cmp	r4, #0
	beq	.L4
	ldr	r3, [sp, #44]
	cmp	r3, r7
	beq	.L28
.L14:
	mov	r4, #0
.L4:
	add	r0, sp, #44
	bl	wine_dbgstr_rect
	ldr	r1, .L30+20
	mov	r2, r0
	mov	r0, r4
	bl	ok
	mov	r6, #500
	mov	r2, #250
	mov	r3, #400
	mov	r1, r2
	str	r6, [sp]
	add	r0, sp, #12
	bl	SetRect
	mov	r5, #1000
	mov	r2, #50
	ldr	r3, .L30+32
	mov	r1, r2
	str	r5, [sp]
	add	r0, sp, #28
	bl	SetRect
	add	r2, sp, #28
	add	r1, sp, #12
	add	r0, sp, #44
	bl	SubtractRect
	mov	r4, r0
	add	r0, sp, #44
	bl	wine_dbgstr_rect
	mov	r2, r0
	clz	r0, r4
	ldr	r1, .L30+36
	lsr	r0, r0, #5
	bl	ok
	mov	r2, #250
	mov	r3, #400
	mov	r1, r2
	str	r6, [sp]
	add	r0, sp, #12
	bl	SetRect
	mov	r2, #50
	ldr	r3, .L30+32
	mov	r1, r2
	str	r5, [sp]
	add	r0, sp, #28
	bl	SetRect
	add	r2, sp, #28
	mov	r0, r2
	add	r1, sp, #12
	bl	SubtractRect
	mov	r4, r0
	add	r0, sp, #28
	bl	wine_dbgstr_rect
	mov	r2, r0
	clz	r0, r4
	ldr	r1, .L30+36
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, .L30
	ldr	r2, [r3]
	ldr	r3, [sp, #60]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L29
	add	sp, sp, #64
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L28:
	ldr	r3, [sp, #48]
	cmp	r3, r5
	bne	.L14
	ldr	r3, [sp, #52]
	cmp	r3, r8
	bne	.L14
	ldr	r4, [sp, #56]
	sub	r4, r4, r6
	clz	r4, r4
	lsr	r4, r4, #5
	b	.L4
.L26:
	ldr	r3, [sp, #48]
	cmp	r3, #50
	bne	.L8
	ldr	r3, [sp, #52]
	cmp	r3, #150
	bne	.L8
	ldr	r4, [sp, #56]
	sub	r4, r4, #100
	clz	r4, r4
	lsr	r4, r4, #5
	b	.L2
.L27:
	ldr	r3, [sp, #48]
	cmp	r3, r5
	bne	.L11
	ldr	r3, [sp, #52]
	cmp	r3, r8
	bne	.L11
	ldr	r4, [sp, #56]
	sub	r4, r4, r6
	clz	r4, r4
	lsr	r4, r4, #5
	b	.L3
.L29:
	bl	__stack_chk_fail
.L31:
	.align	2
.L30:
	.word	.LC3
	.word	.LC0
	.word	626
	.word	1608
	.word	2431
	.word	.LC1
	.word	2499
	.word	3427
	.word	1500
	.word	.LC2
	.size	test_SubtractRect, .-test_SubtractRect
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
