	.file	"extr_helloworld.c_HelloRandArray_RedisCommand.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ERR invalid count"
	.text
	.p2align 4
	.globl	HelloRandArray_RedisCommand
	.type	HelloRandArray_RedisCommand, @function
HelloRandArray_RedisCommand:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	edx, 2
	je	.L2
	call	RedisModule_WrongArity@PLT
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L16
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rsi]
	mov	r8, rsp
	mov	rsi, r8
	call	RedisModule_StringToLongLong@PLT
	cmp	rax, QWORD PTR REDISMODULE_OK[rip]
	jne	.L4
	mov	rsi, QWORD PTR [rsp]
	test	rsi, rsi
	js	.L4
	mov	rdi, rbp
	call	RedisModule_ReplyWithArray@PLT
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L17:
	xor	eax, eax
	call	rand@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	RedisModule_ReplyWithLongLong@PLT
.L14:
	mov	rax, QWORD PTR [rsp]
	lea	rdx, -1[rax]
	mov	QWORD PTR [rsp], rdx
	test	rax, rax
	jne	.L17
	mov	eax, DWORD PTR REDISMODULE_OK[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	RedisModule_ReplyWithError@PLT
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	HelloRandArray_RedisCommand, .-HelloRandArray_RedisCommand
	.comm	REDISMODULE_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_helloworld.c_HelloRandArray_RedisCommand.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ERR invalid count\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	HelloRandArray_RedisCommand
	.syntax unified
	.arm
	.fpu softvfp
	.type	HelloRandArray_RedisCommand, %function
HelloRandArray_RedisCommand:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L18
	sub	sp, sp, #20
	cmp	r2, #2
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	beq	.L2
	bl	RedisModule_WrongArity
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L2:
	mov	r4, r0
	ldr	r0, [r1, #4]
	mov	r1, sp
	bl	RedisModule_StringToLongLong
	ldr	r5, .L18+4
	ldr	r3, [r5]
	cmp	r0, r3
	mov	r0, r4
	bne	.L4
	ldmia	sp, {r2-r3}
	cmp	r2, #0
	sbcs	r1, r3, #0
	blt	.L4
	bl	RedisModule_ReplyWithArray
	b	.L14
.L17:
	bl	rand
	mov	r1, r0
	mov	r0, r4
	bl	RedisModule_ReplyWithLongLong
.L14:
	ldmia	sp, {r2-r3}
	subs	r0, r2, #1
	sbc	r1, r3, #0
	orrs	r3, r2, r3
	stm	sp, {r0, r1}
	bne	.L17
	ldr	r0, [r5]
	b	.L1
.L4:
	ldr	r1, .L18+8
	bl	RedisModule_ReplyWithError
	b	.L1
.L16:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC1
	.word	REDISMODULE_OK
	.word	.LC0
	.size	HelloRandArray_RedisCommand, .-HelloRandArray_RedisCommand
	.comm	REDISMODULE_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
