	.file	"extr_graphics.c_MFDRV_Polygon.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	MFDRV_Polygon
	.type	MFDRV_Polygon, @function
MFDRV_Polygon:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xor	eax, eax
	movsx	r14, edx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	call	GetProcessHeap@PLT
	xor	esi, esi
	lea	edx, 0[0+r14*8]
	mov	edi, eax
	call	HeapAlloc@PLT
	test	rax, rax
	je	.L2
	mov	r13, r14
	mov	r12, rax
	test	r14d, r14d
	je	.L4
	lea	edx, -1[r14]
	lea	rax, -8[0+r14*8]
	sub	r14, rdx
	lea	rcx, -16[0+r14*8]
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edx, DWORD PTR 4[rbx+rax]
	mov	DWORD PTR 4[r12+rax], edx
	mov	edx, DWORD PTR [rbx+rax]
	mov	DWORD PTR [r12+rax], edx
	sub	rax, 8
	cmp	rax, rcx
	jne	.L6
.L4:
	mov	esi, DWORD PTR META_POLYGON[rip]
	mov	ecx, r13d
	mov	rdx, r12
	mov	edi, ebp
	call	MFDRV_MetaPoly@PLT
	mov	r13d, eax
	xor	eax, eax
	call	GetProcessHeap@PLT
	mov	rdx, r12
	xor	esi, esi
	mov	edi, eax
	call	HeapFree@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
.L2:
	.cfi_restore_state
	mov	r13d, DWORD PTR FALSE[rip]
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	mov	eax, r13d
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	MFDRV_Polygon, .-MFDRV_Polygon
	.comm	META_POLYGON,4,4
	.comm	FALSE,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_graphics.c_MFDRV_Polygon.c"
	.text
	.align	2
	.global	MFDRV_Polygon
	.syntax unified
	.arm
	.fpu softvfp
	.type	MFDRV_Polygon, %function
MFDRV_Polygon:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	lsl	r4, r2, #3
	mov	r8, r2
	mov	r5, r1
	mov	r7, r0
	bl	GetProcessHeap
	mov	r2, r4
	mov	r1, #0
	bl	HeapAlloc
	subs	r6, r0, #0
	beq	.L2
	cmp	r8, #0
	addne	ip, r5, r4
	addne	lr, r6, r4
	beq	.L4
.L6:
	ldr	r4, [ip, #-4]
	str	r4, [lr, #-4]
	ldr	r4, [ip, #-8]!
	cmp	ip, r5
	str	r4, [lr, #-8]!
	bne	.L6
.L4:
	ldr	r2, .L10
	mov	r3, r8
	ldr	r1, [r2]
	mov	r0, r7
	mov	r2, r6
	bl	MFDRV_MetaPoly
	mov	r4, r0
	bl	GetProcessHeap
	mov	r2, r6
	mov	r1, #0
	bl	HeapFree
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, .L10+4
	ldr	r4, [r3]
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	.align	2
.L10:
	.word	META_POLYGON
	.word	FALSE
	.size	MFDRV_Polygon, .-MFDRV_Polygon
	.comm	META_POLYGON,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
