	.file	"extr_orders.c_process_ellipse2.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	process_ellipse2, @function
process_ellipse2:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	and	edx, 1
	jne	.L37
	test	bpl, 2
	jne	.L38
.L3:
	test	bpl, 4
	jne	.L39
.L4:
	test	bpl, 8
	jne	.L40
.L5:
	test	bpl, 16
	jne	.L41
.L6:
	test	bpl, 32
	jne	.L42
.L7:
	test	bpl, 64
	jne	.L43
.L8:
	test	bpl, -128
	jne	.L44
.L9:
	lea	r12, 56[rbx]
	mov	edx, ebp
	lea	rbp, 4[rsp]
	mov	edi, r13d
	sar	edx, 8
	mov	rsi, r12
	call	rdp_parse_brush@PLT
	movsx	rdi, DWORD PTR [rbx]
	call	DEBUG@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	setup_brush@PLT
	mov	rax, QWORD PTR 48[rbx]
	sub	rsp, 8
	.cfi_def_cfa_offset 72
	mov	rcx, QWORD PTR 8[rbx]
	mov	rdx, QWORD PTR 24[rbx]
	mov	r9, QWORD PTR 16[rbx]
	lea	rdi, -1[rax]
	mov	eax, DWORD PTR [rbx]
	mov	r8, QWORD PTR 32[rbx]
	mov	rsi, QWORD PTR 40[rbx]
	sub	r9, rcx
	push	rax
	.cfi_def_cfa_offset 80
	mov	eax, DWORD PTR 4[rbx]
	sub	r8, rdx
	push	rax
	.cfi_def_cfa_offset 88
	push	rbp
	.cfi_def_cfa_offset 96
	call	ui_ellipse@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L45
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.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
	.p2align 4,,10
	.p2align 3
.L37:
	.cfi_restore_state
	lea	rsi, 24[rsi]
	mov	edx, ecx
	call	rdp_in_coord@PLT
	test	bpl, 2
	je	.L3
.L38:
	lea	rsi, 8[rbx]
	mov	edx, r12d
	mov	edi, r13d
	call	rdp_in_coord@PLT
	test	bpl, 4
	je	.L4
.L39:
	lea	rsi, 32[rbx]
	mov	edx, r12d
	mov	edi, r13d
	call	rdp_in_coord@PLT
	test	bpl, 8
	je	.L5
.L40:
	lea	rsi, 16[rbx]
	mov	edx, r12d
	mov	edi, r13d
	call	rdp_in_coord@PLT
	test	bpl, 16
	je	.L6
.L41:
	mov	rsi, QWORD PTR 48[rbx]
	mov	edi, r13d
	call	in_uint8@PLT
	test	bpl, 32
	je	.L7
.L42:
	mov	rsi, QWORD PTR 40[rbx]
	mov	edi, r13d
	call	in_uint8@PLT
	test	bpl, 64
	je	.L8
.L43:
	lea	rsi, 4[rbx]
	mov	edi, r13d
	call	rdp_in_colour@PLT
	test	bpl, -128
	je	.L9
.L44:
	mov	rsi, rbx
	mov	edi, r13d
	call	rdp_in_colour@PLT
	jmp	.L9
.L45:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	process_ellipse2, .-process_ellipse2
	.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_orders.c_process_ellipse2.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	process_ellipse2, %function
process_ellipse2:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r7, r3
	ldr	r3, .L46
	sub	sp, sp, #36
	tst	r2, #1
	mov	r5, r2
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	mov	r6, r0
	bne	.L37
	tst	r5, #2
	bne	.L38
.L3:
	tst	r5, #4
	bne	.L39
.L4:
	tst	r5, #8
	bne	.L40
.L5:
	tst	r5, #16
	bne	.L41
.L6:
	tst	r5, #32
	bne	.L42
.L7:
	tst	r5, #64
	bne	.L43
.L8:
	tst	r5, #128
	bne	.L44
.L9:
	add	r7, r4, #32
	asr	r2, r5, #8
	mov	r1, r7
	mov	r0, r6
	bl	rdp_parse_brush
	add	r5, sp, #24
	ldr	r0, [r4]
	bl	DEBUG
	mov	r1, r7
	mov	r0, r5
	bl	setup_brush
	ldr	r2, [r4, #16]
	ldr	ip, [r4, #20]
	ldr	r3, [r4, #8]
	ldr	r1, [r4, #12]
	sub	ip, ip, r2
	str	r5, [sp, #8]
	ldr	r0, [r4, #28]
	sub	r1, r1, r3
	str	ip, [sp]
	ldr	ip, [r4]
	str	r1, [sp, #4]
	ldr	r1, [r4, #4]
	str	ip, [sp, #16]
	str	r1, [sp, #12]
	ldr	r1, [r4, #24]
	sub	r0, r0, #1
	bl	ui_ellipse
	ldr	r3, .L46
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L45
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L37:
	mov	r2, r7
	add	r1, r1, #16
	bl	rdp_in_coord
	tst	r5, #2
	beq	.L3
.L38:
	mov	r2, r7
	mov	r0, r6
	add	r1, r4, #8
	bl	rdp_in_coord
	tst	r5, #4
	beq	.L4
.L39:
	mov	r2, r7
	mov	r0, r6
	add	r1, r4, #20
	bl	rdp_in_coord
	tst	r5, #8
	beq	.L5
.L40:
	mov	r2, r7
	mov	r0, r6
	add	r1, r4, #12
	bl	rdp_in_coord
	tst	r5, #16
	beq	.L6
.L41:
	mov	r0, r6
	ldr	r1, [r4, #28]
	bl	in_uint8
	tst	r5, #32
	beq	.L7
.L42:
	mov	r0, r6
	ldr	r1, [r4, #24]
	bl	in_uint8
	tst	r5, #64
	beq	.L8
.L43:
	mov	r0, r6
	add	r1, r4, #4
	bl	rdp_in_colour
	tst	r5, #128
	beq	.L9
.L44:
	mov	r1, r4
	mov	r0, r6
	bl	rdp_in_colour
	b	.L9
.L45:
	bl	__stack_chk_fail
.L47:
	.align	2
.L46:
	.word	.LC0
	.size	process_ellipse2, .-process_ellipse2
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
