	.file	"546729.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"rgb(%d, %d, %d)"
	.align 8
.LC1:
	.string	"<svg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'>"
	.align 8
.LC2:
	.string	"<rect x='0' y='0' width='%d' height='%d' fill='#fff' />\n"
	.align 8
.LC3:
	.string	"<rect x='%d' y='%d' width='%d' height='%d' fill='%s' />\n"
.LC4:
	.string	"</svg>"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	DWORD PTR -100[rbp], edi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -72[rbp], 5
	mov	DWORD PTR -68[rbp], 20
	mov	eax, DWORD PTR -72[rbp]
	imul	eax, DWORD PTR -68[rbp]
	mov	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	add	eax, 1
	mov	DWORD PTR -60[rbp], eax
	cmp	DWORD PTR -100[rbp], 1
	jle	.L2
	mov	DWORD PTR -88[rbp], 5381
	mov	DWORD PTR -84[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -88[rbp]
	sal	eax, 5
	mov	edx, eax
	mov	eax, DWORD PTR -88[rbp]
	lea	ecx, [rdx+rax]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	add	eax, ecx
	mov	DWORD PTR -88[rbp], eax
	add	DWORD PTR -84[rbp], 1
.L3:
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L4
	mov	eax, DWORD PTR -88[rbp]
	mov	edi, eax
	call	srand@PLT
	jmp	.L5
.L2:
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
.L5:
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, -2139062143
	shr	rdx, 32
	add	edx, eax
	sar	edx, 7
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -56[rbp], edx
	mov	ecx, DWORD PTR -56[rbp]
	mov	edx, ecx
	sal	edx, 8
	sub	edx, ecx
	sub	eax, edx
	mov	DWORD PTR -56[rbp], eax
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, -2139062143
	shr	rdx, 32
	add	edx, eax
	sar	edx, 7
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -52[rbp], edx
	mov	ecx, DWORD PTR -52[rbp]
	mov	edx, ecx
	sal	edx, 8
	sub	edx, ecx
	sub	eax, edx
	mov	DWORD PTR -52[rbp], eax
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, -2139062143
	shr	rdx, 32
	add	edx, eax
	sar	edx, 7
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -48[rbp], edx
	mov	ecx, DWORD PTR -48[rbp]
	mov	edx, ecx
	sal	edx, 8
	sub	edx, ecx
	sub	eax, edx
	mov	DWORD PTR -48[rbp], eax
	mov	esi, DWORD PTR -48[rbp]
	mov	ecx, DWORD PTR -52[rbp]
	mov	edx, DWORD PTR -56[rbp]
	lea	rax, -32[rbp]
	mov	r9d, esi
	mov	r8d, ecx
	mov	ecx, edx
	lea	rdx, .LC0[rip]
	mov	esi, 20
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edx, DWORD PTR -64[rbp]
	mov	eax, DWORD PTR -64[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -80[rbp], 0
	jmp	.L6
.L10:
	mov	DWORD PTR -76[rbp], 0
	jmp	.L7
.L9:
	call	rand@PLT
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	cmp	eax, 1
	jne	.L8
	mov	eax, DWORD PTR -80[rbp]
	imul	eax, DWORD PTR -68[rbp]
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	imul	eax, DWORD PTR -68[rbp]
	mov	DWORD PTR -40[rbp], eax
	lea	rdi, -32[rbp]
	mov	esi, DWORD PTR -68[rbp]
	mov	ecx, DWORD PTR -68[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -44[rbp]
	mov	r9, rdi
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 1
	cmp	DWORD PTR -80[rbp], eax
	jge	.L8
	mov	eax, DWORD PTR -72[rbp]
	sub	eax, DWORD PTR -80[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -68[rbp]
	imul	eax, edx
	mov	DWORD PTR -36[rbp], eax
	lea	rdi, -32[rbp]
	mov	esi, DWORD PTR -68[rbp]
	mov	ecx, DWORD PTR -68[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	r9, rdi
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L8:
	add	DWORD PTR -76[rbp], 1
.L7:
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, DWORD PTR -72[rbp]
	jl	.L9
	add	DWORD PTR -80[rbp], 1
.L6:
	mov	eax, DWORD PTR -80[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jl	.L10
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.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	"546729.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"rgb(%d, %d, %d)\000"
	.align	2
.LC1:
	.ascii	"<svg viewBox='0 0 100 100' xmlns='http://www.w3.org"
	.ascii	"/2000/svg'>\000"
	.align	2
.LC2:
	.ascii	"<rect x='0' y='0' width='%d' height='%d' fill='#fff"
	.ascii	"' />\012\000"
	.align	2
.LC3:
	.ascii	"<rect x='%d' y='%d' width='%d' height='%d' fill='%s"
	.ascii	"' />\012\000"
	.align	2
.LC4:
	.ascii	"</svg>\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #5
	str	r3, [fp, #-68]
	mov	r3, #20
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-64]
	mul	r3, r2, r3
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-68]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	add	r3, r3, #1
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-88]
	cmp	r3, #1
	ble	.L2
	ldr	r3, .L13+4
	str	r3, [fp, #-84]
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L3
.L4:
	ldr	r3, [fp, #-84]
	lsl	r2, r3, #5
	ldr	r3, [fp, #-84]
	add	r3, r2, r3
	ldr	r2, [fp, #-92]
	add	r2, r2, #4
	ldr	r1, [r2]
	ldr	r2, [fp, #-80]
	add	r2, r1, r2
	ldrb	r2, [r2]	@ zero_extendqisi2
	add	r3, r3, r2
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L3:
	ldr	r3, [fp, #-92]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-80]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L4
	ldr	r0, [fp, #-84]
	bl	srand
	b	.L5
.L2:
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
.L5:
	bl	rand
	mov	r2, r0
	ldr	r3, .L13+8
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #7
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #8
	sub	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-52]
	bl	rand
	mov	r2, r0
	ldr	r3, .L13+8
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #7
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #8
	sub	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-48]
	bl	rand
	mov	r2, r0
	ldr	r3, .L13+8
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #7
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #8
	sub	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-44]
	sub	r0, fp, #28
	ldr	r3, [fp, #-44]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-48]
	str	r3, [sp]
	ldr	r3, [fp, #-52]
	ldr	r2, .L13+12
	mov	r1, #20
	bl	snprintf
	ldr	r0, .L13+16
	bl	puts
	ldr	r2, [fp, #-60]
	ldr	r1, [fp, #-60]
	ldr	r0, .L13+20
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L6
.L10:
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L7
.L9:
	bl	rand
	mov	r3, r0
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	cmp	r3, #1
	bne	.L8
	ldr	r3, [fp, #-76]
	ldr	r2, [fp, #-64]
	mul	r3, r2, r3
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-64]
	mul	r3, r2, r3
	str	r3, [fp, #-36]
	sub	r3, fp, #28
	str	r3, [sp, #4]
	ldr	r3, [fp, #-64]
	str	r3, [sp]
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-40]
	ldr	r0, .L13+24
	bl	printf
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	ldr	r2, [fp, #-76]
	cmp	r2, r3
	bge	.L8
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-76]
	sub	r3, r2, r3
	sub	r2, r3, #1
	ldr	r3, [fp, #-64]
	mul	r3, r2, r3
	str	r3, [fp, #-32]
	sub	r3, fp, #28
	str	r3, [sp, #4]
	ldr	r3, [fp, #-64]
	str	r3, [sp]
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-32]
	ldr	r0, .L13+24
	bl	printf
.L8:
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L7:
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-68]
	cmp	r2, r3
	blt	.L9
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L6:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L10
	ldr	r0, .L13+28
	bl	puts
	mov	r3, #0
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC5
	.word	5381
	.word	-2139062143
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
