	.file	"extr_lolwut6.c_lolwut6Command.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"\nDedicated to the 8 bit game developers of past and present.\nOriginal 8 bit image from Plaguemon by hikikomori. Redis ver. "
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"\n"
.LC2:
	.string	"txt"
	.text
	.p2align 4
	.globl	lolwut6Command
	.type	lolwut6Command, @function
lolwut6Command:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	esi, 20
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	mov	edi, 80
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	cmp	DWORD PTR 0[rbp], 1
	mov	QWORD PTR 8[rsp], 80
	mov	QWORD PTR 16[rsp], 20
	jg	.L16
.L2:
	mov	edx, 3
	call	lwCreateCanvas@PLT
	mov	r12, rax
	mov	rdi, rax
	call	generateSkyline@PLT
	mov	rdi, r12
	call	renderCanvas@PLT
	lea	rsi, .LC0[rip]
	mov	edi, eax
	call	sdscat@PLT
	mov	rsi, QWORD PTR REDIS_VERSION[rip]
	mov	edi, eax
	call	sdscat@PLT
	mov	edx, 1
	lea	rsi, .LC1[rip]
	mov	edi, eax
	call	sdscatlen@PLT
	mov	edi, eax
	mov	r13d, eax
	call	sdslen@PLT
	lea	rcx, .LC2[rip]
	mov	esi, r13d
	mov	rdi, rbp
	mov	edx, eax
	call	addReplyVerbatim@PLT
	mov	edi, r13d
	call	sdsfree@PLT
	mov	rdi, r12
	call	lwFreeCanvas@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L17
	add	rsp, 32
	.cfi_remember_state
	.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
.L16:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[rbp]
	xor	ecx, ecx
	lea	rdx, 8[rsp]
	mov	rdi, rbp
	mov	esi, DWORD PTR 4[rax]
	call	getLongFromObjectOrReply@PLT
	cmp	rax, QWORD PTR C_OK[rip]
	jne	.L1
	cmp	DWORD PTR 0[rbp], 2
	jg	.L4
.L7:
	mov	rdi, QWORD PTR 8[rsp]
	mov	rsi, QWORD PTR 16[rsp]
	test	rdi, rdi
	jg	.L18
	mov	QWORD PTR 8[rsp], 1
	mov	edi, 1
.L8:
	test	rsi, rsi
	jle	.L19
	cmp	rsi, 1000
	jle	.L2
	mov	QWORD PTR 16[rsp], 1000
	mov	esi, 1000
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 8[rbp]
	xor	ecx, ecx
	lea	rdx, 16[rsp]
	mov	rdi, rbp
	mov	esi, DWORD PTR 8[rax]
	call	getLongFromObjectOrReply@PLT
	cmp	rax, QWORD PTR C_OK[rip]
	jne	.L1
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L19:
	mov	QWORD PTR 16[rsp], 1
	mov	esi, 1
	jmp	.L2
.L17:
	call	__stack_chk_fail@PLT
.L18:
	cmp	rdi, 1000
	jle	.L8
	mov	QWORD PTR 8[rsp], 1000
	mov	edi, 1000
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	lolwut6Command, .-lolwut6Command
	.comm	REDIS_VERSION,8,8
	.comm	C_OK,8,8
	.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_lolwut6.c_lolwut6Command.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\012Dedicated to the 8 bit game developers of past "
	.ascii	"and present.\012Original 8 bit image from Plaguemon"
	.ascii	" by hikikomori. Redis ver. \000"
	.align	2
.LC1:
	.ascii	"\012\000"
	.align	2
.LC2:
	.ascii	"txt\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	lolwut6Command
	.syntax unified
	.arm
	.fpu softvfp
	.type	lolwut6Command, %function
lolwut6Command:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #80
	mov	r1, #20
	push	{r4, r5, r6, lr}
	ldr	r2, [r0]
	ldr	ip, .L19
	sub	sp, sp, #16
	cmp	r2, #1
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	mov	r4, r0
	str	r3, [sp, #4]
	movle	r0, r3
	str	r1, [sp, #8]
	bgt	.L16
.L2:
	mov	r2, #3
	bl	lwCreateCanvas
	mov	r5, r0
	bl	generateSkyline
	mov	r0, r5
	bl	renderCanvas
	ldr	r1, .L19+4
	bl	sdscat
	ldr	r3, .L19+8
	ldr	r1, [r3]
	bl	sdscat
	mov	r2, #1
	ldr	r1, .L19+12
	bl	sdscatlen
	mov	r6, r0
	bl	sdslen
	mov	r1, r6
	mov	r2, r0
	ldr	r3, .L19+16
	mov	r0, r4
	bl	addReplyVerbatim
	mov	r0, r6
	bl	sdsfree
	mov	r0, r5
	bl	lwFreeCanvas
.L1:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L16:
	ldr	r2, [r4, #4]
	mov	r3, #0
	ldr	r1, [r2, #4]
	add	r2, sp, #4
	bl	getLongFromObjectOrReply
	ldr	r5, .L19+20
	ldr	r3, [r5]
	cmp	r0, r3
	bne	.L1
	ldr	r3, [r4]
	cmp	r3, #2
	bgt	.L4
.L7:
	ldmib	sp, {r0, r1}
	cmp	r0, #0
	movle	r0, #1
	strle	r0, [sp, #4]
	bgt	.L18
.L8:
	cmp	r1, #0
	movle	r1, #1
	strle	r1, [sp, #8]
	ble	.L2
	cmp	r1, #1000
	movgt	r1, #1000
	strgt	r1, [sp, #8]
	b	.L2
.L4:
	ldr	r2, [r4, #4]
	mov	r3, #0
	ldr	r1, [r2, #8]
	mov	r0, r4
	add	r2, sp, #8
	bl	getLongFromObjectOrReply
	ldr	r3, [r5]
	cmp	r0, r3
	bne	.L1
	b	.L7
.L17:
	bl	__stack_chk_fail
.L18:
	cmp	r0, #1000
	movgt	r3, #1000
	movgt	r0, r3
	strgt	r3, [sp, #4]
	b	.L8
.L20:
	.align	2
.L19:
	.word	.LC3
	.word	.LC0
	.word	REDIS_VERSION
	.word	.LC1
	.word	.LC2
	.word	C_OK
	.size	lolwut6Command, .-lolwut6Command
	.comm	REDIS_VERSION,4,4
	.comm	C_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
