	.file	"689687.c"
	.intel_syntax noprefix
	.text
	.globl	quickdraw_rgb
	.type	quickdraw_rgb, @function
quickdraw_rgb:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1648
	mov	QWORD PTR -1640[rbp], rdi
	mov	DWORD PTR -1644[rbp], esi
	mov	DWORD PTR -1648[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1620[rbp], 0
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -1640[rbp]
	mov	rax, QWORD PTR [rax]
	movss	xmm0, DWORD PTR [rax]
	cvttss2si	eax, xmm0
	mov	edx, eax
	mov	eax, DWORD PTR -1620[rbp]
	cdqe
	mov	BYTE PTR -1616[rbp+rax], dl
	add	DWORD PTR -1620[rbp], 1
.L2:
	mov	eax, DWORD PTR -1620[rbp]
	cmp	eax, DWORD PTR -1644[rbp]
	jl	.L3
	mov	DWORD PTR -1624[rbp], 0
	jmp	.L4
.L5:
	lea	rax, -1616[rbp]
	mov	rdi, rax
	call	foo@PLT
	add	DWORD PTR -1624[rbp], 1
.L4:
	mov	eax, DWORD PTR -1624[rbp]
	cmp	eax, DWORD PTR -1648[rbp]
	jl	.L5
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	quickdraw_rgb, .-quickdraw_rgb
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"689687.c"
	.text
	.global	__aeabi_f2iz
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	quickdraw_rgb
	.syntax unified
	.arm
	.fpu softvfp
	.type	quickdraw_rgb, %function
quickdraw_rgb:
	@ args = 0, pretend = 0, frame = 1632
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1632
	str	r0, [fp, #-1624]
	str	r1, [fp, #-1628]
	str	r2, [fp, #-1632]
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1612]
	b	.L2
.L3:
	ldr	r3, [fp, #-1624]
	ldr	r3, [r3]
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	and	r1, r3, #255
	sub	r3, fp, #1600
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-1612]
	add	r3, r3, r2
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-1612]
	add	r3, r3, #1
	str	r3, [fp, #-1612]
.L2:
	ldr	r2, [fp, #-1612]
	ldr	r3, [fp, #-1628]
	cmp	r2, r3
	blt	.L3
	mov	r3, #0
	str	r3, [fp, #-1616]
	b	.L4
.L5:
	sub	r3, fp, #1600
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	foo
	ldr	r3, [fp, #-1616]
	add	r3, r3, #1
	str	r3, [fp, #-1616]
.L4:
	ldr	r2, [fp, #-1616]
	ldr	r3, [fp, #-1632]
	cmp	r2, r3
	blt	.L5
	nop
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.size	quickdraw_rgb, .-quickdraw_rgb
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
