	.file	"extr_vsrc_mptestsrc.c_dc_test.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dc_test, @function
dc_test:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, edx
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	imul	eax, ecx
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, esi
	mov	esi, 1
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, ecx
	lea	ecx, 255[rax]
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	test	eax, eax
	cmovns	ecx, eax
	mov	eax, 256
	mov	DWORD PTR 8[rsp], edx
	cdq
	mov	QWORD PTR 16[rsp], rdi
	sar	ecx, 8
	mov	DWORD PTR [rsp], r8d
	idiv	ecx
	mov	edi, eax
	call	FFMAX@PLT
	test	ebp, ebp
	jle	.L1
	mov	ebx, eax
	sub	ebp, 1
	mov	eax, r12d
	mov	DWORD PTR 4[rsp], 0
	sal	eax, 4
	and	ebp, -16
	mov	DWORD PTR 12[rsp], eax
	lea	eax, 16[rbp]
	mov	DWORD PTR 24[rsp], eax
	lea	eax, -1[r14]
	xor	r14d, r14d
	shr	eax, 4
	mov	edx, eax
	imul	eax, ebx
	sal	rdx, 4
	mov	QWORD PTR 32[rsp], rdx
	mov	DWORD PTR 28[rsp], eax
	lea	rax, 64[r15]
	mov	QWORD PTR 40[rsp], rax
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, DWORD PTR 8[rsp]
	test	eax, eax
	jle	.L6
	movsx	rax, DWORD PTR 4[rsp]
	mov	rdx, QWORD PTR 16[rsp]
	mov	rcx, QWORD PTR 40[rsp]
	mov	r13d, DWORD PTR [rsp]
	lea	r15, [rdx+rax*4]
	add	rax, QWORD PTR 32[rsp]
	lea	rbp, [rcx+rax*4]
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edx, r13d
	mov	rdi, r15
	mov	r8d, 8
	mov	esi, r12d
	mov	ecx, 8
	add	r15, 64
	add	r13d, ebx
	call	draw_dc@PLT
	cmp	r15, rbp
	jne	.L4
	mov	r13d, DWORD PTR [rsp]
	add	r13d, ebx
	add	r13d, DWORD PTR 28[rsp]
	mov	DWORD PTR [rsp], r13d
.L6:
	mov	esi, DWORD PTR 12[rsp]
	add	r14d, 16
	add	DWORD PTR 4[rsp], esi
	cmp	r14d, DWORD PTR 24[rsp]
	jne	.L3
.L1:
	add	rsp, 56
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	dc_test, .-dc_test
	.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_vsrc_mptestsrc.c_dc_test.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dc_test, %function
dc_test:
	@ args = 4, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r3
	mov	r3, r2
	mul	r3, r4, r3
	sub	sp, sp, #44
	cmp	r3, #0
	str	r2, [sp, #12]
	mov	r5, r2
	add	r2, r3, #255
	movlt	r3, r2
	mov	r9, r0
	mov	r7, r1
	mov	r0, #256
	asr	r1, r3, #8
	bl	__aeabi_idiv
	mov	r1, #1
	bl	FFMAX
	cmp	r4, #0
	ble	.L1
	mov	r10, #0
	mov	r6, r0
	mov	r8, #8
	sub	r3, r4, #1
	sub	r2, r5, #1
	bic	r3, r3, #15
	add	r3, r3, #16
	lsr	r1, r2, #4
	str	r3, [sp, #24]
	mul	r3, r0, r1
	str	r3, [sp, #28]
	bic	r3, r2, #15
	str	r3, [sp, #32]
	add	r3, r9, #64
	str	r3, [sp, #36]
	lsl	r3, r7, #6
	str	r3, [sp, #16]
	lsl	r3, r7, #4
	str	r10, [sp, #8]
	str	r3, [sp, #20]
.L3:
	ldr	r3, [sp, #12]
	cmp	r3, #0
	ble	.L6
	mov	r4, r9
	ldr	r3, [sp, #32]
	ldr	r2, [sp, #8]
	ldr	fp, [sp, #80]
	add	r5, r3, r2
	ldr	r3, [sp, #36]
	add	r5, r3, r5, lsl #2
.L4:
	mov	r2, fp
	mov	r0, r4
	mov	r3, #8
	mov	r1, r7
	str	r8, [sp]
	add	r4, r4, #64
	bl	draw_dc
	cmp	r4, r5
	add	fp, fp, r6
	bne	.L4
	ldr	r3, [sp, #80]
	add	fp, r6, r3
	ldr	r3, [sp, #28]
	add	r3, r3, fp
	str	r3, [sp, #80]
.L6:
	ldr	r3, [sp, #24]
	add	r10, r10, #16
	cmp	r10, r3
	ldr	r3, [sp, #16]
	ldr	r2, [sp, #20]
	add	r9, r9, r3
	ldr	r3, [sp, #8]
	add	r3, r3, r2
	str	r3, [sp, #8]
	bne	.L3
.L1:
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	dc_test, .-dc_test
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
