	.file	"extr_pen.c_test_dasharray.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC8:
	.string	"Expected OutOfMemory or InvalidParameter, got %.8x\n"
	.text
	.p2align 4
	.type	test_dasharray, @function
test_dasharray:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	edi, -559038737
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	add	rsp, -128
	.cfi_def_cfa_offset 160
	mov	esi, DWORD PTR UnitWorld[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 120[rsp], rax
	xor	eax, eax
	mov	rdx, rsp
	lea	r13, 8[rsp]
	lea	r12, 16[rsp]
	mov	rax, QWORD PTR .LC0[rip]
	lea	rbp, 56[rsp]
	movq	xmm0, rax
	call	GdipCreatePen1@PLT
	mov	rax, QWORD PTR .LC0[rip]
	mov	rdi, QWORD PTR [rsp]
	mov	rsi, r13
	mov	QWORD PTR 104[rsp], 0x000000000
	mov	QWORD PTR 16[rsp], rax
	mov	rax, QWORD PTR .LC1[rip]
	mov	QWORD PTR 96[rsp], 0x000000000
	mov	QWORD PTR 24[rsp], rax
	mov	rax, QWORD PTR .LC2[rip]
	mov	QWORD PTR 88[rsp], 0x000000000
	mov	QWORD PTR 32[rsp], rax
	mov	rax, QWORD PTR .LC3[rip]
	mov	QWORD PTR 80[rsp], 0x000000000
	mov	QWORD PTR 40[rsp], rax
	mov	rax, QWORD PTR .LC4[rip]
	mov	QWORD PTR 72[rsp], 0x000000000
	mov	QWORD PTR 48[rsp], rax
	mov	rax, QWORD PTR .LC5[rip]
	mov	QWORD PTR 56[rsp], rax
	mov	QWORD PTR 64[rsp], rax
	call	GdipGetPenDashStyle@PLT
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, QWORD PTR DashStyleSolid[rip]
	call	expect@PLT
	mov	rdi, QWORD PTR [rsp]
	mov	edx, 2
	mov	rsi, r12
	call	GdipSetPenDashArray@PLT
	mov	rdi, QWORD PTR Ok[rip]
	mov	rsi, rax
	call	expect@PLT
	mov	rdi, QWORD PTR [rsp]
	mov	rsi, r13
	call	GdipGetPenDashStyle@PLT
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, QWORD PTR DashStyleCustom[rip]
	call	expect@PLT
	mov	rsi, QWORD PTR DashStyleSolid[rip]
	mov	rdi, QWORD PTR [rsp]
	call	GdipSetPenDashStyle@PLT
	mov	rdi, QWORD PTR [rsp]
	mov	edx, 2
	mov	rsi, rbp
	call	GdipGetPenDashArray@PLT
	mov	rdi, QWORD PTR InvalidParameter[rip]
	mov	rsi, rax
	call	expect@PLT
	mov	rdi, QWORD PTR [rsp]
	xor	edx, edx
	mov	rsi, rbp
	call	GdipGetPenDashArray@PLT
	mov	rdi, QWORD PTR Ok[rip]
	mov	rsi, rax
	call	expect@PLT
	mov	rdi, QWORD PTR [rsp]
	mov	edx, 2
	mov	rsi, r12
	call	GdipSetPenDashArray@PLT
	mov	rsi, QWORD PTR DashStyleCustom[rip]
	mov	rdi, QWORD PTR [rsp]
	call	GdipSetPenDashStyle@PLT
	mov	rdi, QWORD PTR [rsp]
	mov	edx, 2
	mov	rsi, rbp
	call	GdipGetPenDashArray@PLT
	mov	rdi, QWORD PTR Ok[rip]
	mov	rsi, rax
	call	expect@PLT
	mov	rax, QWORD PTR .LC0[rip]
	movsd	xmm1, QWORD PTR 56[rsp]
	movq	xmm0, rax
	call	expectf@PLT
	mov	rax, QWORD PTR .LC1[rip]
	movsd	xmm1, QWORD PTR 64[rsp]
	movq	xmm0, rax
	call	expectf@PLT
	mov	rdi, QWORD PTR [rsp]
	mov	edx, 5
	mov	rsi, r12
	call	GdipSetPenDashArray@PLT
	mov	rdi, QWORD PTR Ok[rip]
	mov	rsi, rax
	call	expect@PLT
	mov	rax, QWORD PTR .LC5[rip]
	mov	rdi, QWORD PTR [rsp]
	mov	rsi, rbp
	mov	edx, 1
	mov	QWORD PTR 56[rsp], rax
	mov	QWORD PTR 64[rsp], rax
	call	GdipGetPenDashArray@PLT
	mov	rdi, QWORD PTR Ok[rip]
	mov	rsi, rax
	call	expect@PLT
	mov	rax, QWORD PTR .LC0[rip]
	movsd	xmm1, QWORD PTR 56[rsp]
	movq	xmm0, rax
	call	expectf@PLT
	mov	rax, QWORD PTR .LC5[rip]
	movsd	xmm1, QWORD PTR 64[rsp]
	movq	xmm0, rax
	call	expectf@PLT
	mov	rax, QWORD PTR .LC5[rip]
	mov	rdi, QWORD PTR [rsp]
	mov	rsi, rbp
	mov	edx, 6
	lea	rbp, 72[rsp]
	mov	QWORD PTR 56[rsp], rax
	call	GdipGetPenDashArray@PLT
	mov	rdi, QWORD PTR InvalidParameter[rip]
	mov	rsi, rax
	call	expect@PLT
	mov	rax, QWORD PTR .LC5[rip]
	movsd	xmm1, QWORD PTR 56[rsp]
	movq	xmm0, rax
	call	expectf@PLT
	mov	rax, QWORD PTR .LC5[rip]
	movsd	xmm1, QWORD PTR 64[rsp]
	movq	xmm0, rax
	call	expectf@PLT
	mov	rdi, QWORD PTR [rsp]
	mov	edx, 5
	mov	rsi, rbp
	call	GdipSetPenDashArray@PLT
	mov	rdi, QWORD PTR InvalidParameter[rip]
	mov	rsi, rax
	call	expect@PLT
	mov	rax, QWORD PTR .LC7[rip]
	mov	rdi, QWORD PTR [rsp]
	mov	rsi, rbp
	mov	edx, 5
	mov	QWORD PTR 88[rsp], rax
	call	GdipSetPenDashArray@PLT
	mov	rdi, QWORD PTR InvalidParameter[rip]
	mov	rsi, rax
	call	expect@PLT
	mov	rsi, QWORD PTR DashStyleDot[rip]
	mov	rdi, QWORD PTR [rsp]
	call	GdipSetPenDashStyle@PLT
	mov	rdi, QWORD PTR [rsp]
	mov	edx, -1
	mov	rsi, r12
	call	GdipSetPenDashArray@PLT
	cmp	QWORD PTR OutOfMemory[rip], rax
	mov	edi, 1
	mov	rdx, rax
	je	.L2
	xor	edi, edi
	cmp	QWORD PTR InvalidParameter[rip], rax
	sete	dil
.L2:
	lea	rsi, .LC8[rip]
	call	ok@PLT
	mov	rdi, QWORD PTR [rsp]
	mov	rsi, r13
	call	GdipGetPenDashStyle@PLT
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, QWORD PTR DashStyleDot[rip]
	call	expect@PLT
	mov	rdi, QWORD PTR [rsp]
	call	GdipDeletePen@PLT
	mov	rax, QWORD PTR 120[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	sub	rsp, -128
	.cfi_remember_state
	.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
.L8:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_dasharray, .-test_dasharray
	.comm	UnitWorld,4,4
	.comm	OutOfMemory,8,8
	.comm	Ok,8,8
	.comm	InvalidParameter,8,8
	.comm	DashStyleSolid,8,8
	.comm	DashStyleDot,8,8
	.comm	DashStyleCustom,8,8
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1076101120
	.align 8
.LC1:
	.long	0
	.long	1076232192
	.align 8
.LC2:
	.long	0
	.long	1076363264
	.align 8
.LC3:
	.long	0
	.long	1076494336
	.align 8
.LC4:
	.long	0
	.long	1076625408
	.align 8
.LC5:
	.long	0
	.long	-1067909120
	.align 8
.LC7:
	.long	0
	.long	-1074790400
	.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_pen.c_test_dasharray.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Expected OutOfMemory or InvalidParameter, got %.8x\012"
	.ascii	"\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_dasharray, %function
test_dasharray:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r8, #0
	ldr	r3, .L8
	sub	sp, sp, #124
	ldr	r0, [r3]
	add	r1, sp, #8
	ldr	r9, .L8+4
	stm	sp, {r0, r1}
	ldr	r1, .L8+8
	mov	r2, r8
	mov	r3, r9
	ldr	r0, .L8+12
	ldr	r1, [r1]
	str	r1, [sp, #116]
	mov	r1,#0
	bl	GdipCreatePen1
	mov	r0, #0
	mov	r10, #0
	ldr	r1, .L8+16
	ldr	fp, .L8+20
	str	r0, [sp, #24]
	str	r1, [sp, #28]
	mov	r0, #0
	mov	r3, #0
	mov	r4, #0
	mov	r2, #0
	str	r10, [sp, #40]
	str	fp, [sp, #44]
	mov	r10, #0
	ldr	r1, .L8+24
	ldr	r5, .L8+28
	ldr	r7, .L8+32
	ldr	fp, .L8+36
	str	r0, [sp, #32]
	str	r1, [sp, #36]
	add	r1, sp, #12
	ldr	r0, [sp, #8]
	str	r2, [sp, #104]
	str	r3, [sp, #108]
	str	r2, [sp, #96]
	str	r3, [sp, #100]
	str	r2, [sp, #88]
	str	r3, [sp, #92]
	str	r2, [sp, #80]
	str	r3, [sp, #84]
	str	r2, [sp, #72]
	str	r3, [sp, #76]
	str	r8, [sp, #16]
	str	r9, [sp, #20]
	str	r10, [sp, #48]
	str	fp, [sp, #52]
	str	r4, [sp, #56]
	str	r5, [sp, #60]
	str	r4, [sp, #64]
	str	r5, [sp, #68]
	bl	GdipGetPenDashStyle
	ldr	r0, [r7]
	ldr	r1, [sp, #12]
	bl	expect
	mov	r2, #2
	add	r1, sp, #16
	ldr	r0, [sp, #8]
	bl	GdipSetPenDashArray
	ldr	r6, .L8+40
	mov	r1, r0
	ldr	r10, .L8+44
	ldr	r0, [r6]
	bl	expect
	add	r1, sp, #12
	ldr	r0, [sp, #8]
	bl	GdipGetPenDashStyle
	ldr	r1, [sp, #12]
	ldr	r0, [r10]
	bl	expect
	ldr	r1, [r7]
	ldr	r0, [sp, #8]
	bl	GdipSetPenDashStyle
	mov	r2, #2
	add	r1, sp, #56
	ldr	r0, [sp, #8]
	bl	GdipGetPenDashArray
	ldr	r7, .L8+48
	mov	r1, r0
	ldr	r0, [r7]
	bl	expect
	mov	r2, #0
	add	r1, sp, #56
	ldr	r0, [sp, #8]
	bl	GdipGetPenDashArray
	mov	r1, r0
	ldr	r0, [r6]
	bl	expect
	mov	r2, #2
	add	r1, sp, #16
	ldr	r0, [sp, #8]
	bl	GdipSetPenDashArray
	ldr	r1, [r10]
	ldr	r0, [sp, #8]
	bl	GdipSetPenDashStyle
	mov	r2, #2
	add	r1, sp, #56
	ldr	r0, [sp, #8]
	bl	GdipGetPenDashArray
	mov	r1, r0
	ldr	r0, [r6]
	bl	expect
	add	r3, sp, #56
	ldmia	r3, {r2-r3}
	mov	r1, r9
	mov	r0, r8
	bl	expectf
	add	r3, sp, #64
	ldmia	r3, {r2-r3}
	ldr	r1, .L8+16
	mov	r0, #0
	bl	expectf
	mov	r2, #5
	add	r1, sp, #16
	ldr	r0, [sp, #8]
	bl	GdipSetPenDashArray
	mov	r1, r0
	ldr	r0, [r6]
	bl	expect
	mov	r2, #1
	add	r1, sp, #56
	ldr	r0, [sp, #8]
	str	r4, [sp, #56]
	str	r5, [sp, #60]
	str	r4, [sp, #64]
	str	r5, [sp, #68]
	bl	GdipGetPenDashArray
	mov	r1, r0
	ldr	r0, [r6]
	bl	expect
	add	r3, sp, #56
	ldmia	r3, {r2-r3}
	mov	r1, r9
	mov	r0, r8
	bl	expectf
	add	r3, sp, #64
	ldmia	r3, {r2-r3}
	mov	r0, r4
	mov	r1, r5
	bl	expectf
	mov	r2, #6
	add	r1, sp, #56
	ldr	r0, [sp, #8]
	str	r4, [sp, #56]
	str	r5, [sp, #60]
	bl	GdipGetPenDashArray
	mov	r1, r0
	ldr	r0, [r7]
	bl	expect
	add	r3, sp, #56
	ldmia	r3, {r2-r3}
	mov	r0, r4
	mov	r1, r5
	bl	expectf
	add	r3, sp, #64
	ldmia	r3, {r2-r3}
	mov	r0, r4
	mov	r1, r5
	bl	expectf
	mov	r2, #5
	add	r1, sp, #72
	ldr	r0, [sp, #8]
	bl	GdipSetPenDashArray
	mov	r8, #0
	mov	r1, r0
	ldr	r9, .L8+52
	ldr	r0, [r7]
	bl	expect
	mov	r2, #5
	add	r1, sp, #72
	ldr	r0, [sp, #8]
	str	r8, [sp, #88]
	str	r9, [sp, #92]
	bl	GdipSetPenDashArray
	ldr	r4, .L8+56
	mov	r1, r0
	ldr	r0, [r7]
	bl	expect
	ldr	r1, [r4]
	ldr	r0, [sp, #8]
	bl	GdipSetPenDashStyle
	mvn	r2, #0
	add	r1, sp, #16
	ldr	r0, [sp, #8]
	bl	GdipSetPenDashArray
	mov	r2, r0
	ldr	r3, .L8+60
	ldr	r1, .L8+64
	ldr	r3, [r3]
	cmp	r3, r0
	ldrne	r0, [r7]
	moveq	r0, #1
	subne	r0, r0, r2
	clzne	r0, r0
	lsrne	r0, r0, #5
	bl	ok
	add	r1, sp, #12
	ldr	r0, [sp, #8]
	bl	GdipGetPenDashStyle
	ldr	r1, [sp, #12]
	ldr	r0, [r4]
	bl	expect
	ldr	r0, [sp, #8]
	bl	GdipDeletePen
	ldr	r3, .L8+8
	ldr	r2, [r3]
	ldr	r3, [sp, #116]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #124
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	UnitWorld
	.word	1076101120
	.word	.LC1
	.word	-559038737
	.word	1076232192
	.word	1076494336
	.word	1076363264
	.word	-1067909120
	.word	DashStyleSolid
	.word	1076625408
	.word	Ok
	.word	DashStyleCustom
	.word	InvalidParameter
	.word	-1074790400
	.word	DashStyleDot
	.word	OutOfMemory
	.word	.LC0
	.size	test_dasharray, .-test_dasharray
	.comm	UnitWorld,4,4
	.comm	OutOfMemory,4,4
	.comm	Ok,4,4
	.comm	InvalidParameter,4,4
	.comm	DashStyleSolid,4,4
	.comm	DashStyleDot,4,4
	.comm	DashStyleCustom,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
