	.file	"extr_helloworld.c_HelloHCopy_RedisCommand.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	HelloHCopy_RedisCommand
	.type	HelloHCopy_RedisCommand, @function
HelloHCopy_RedisCommand:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	RedisModule_AutoMemory@PLT
	cmp	r12d, 4
	je	.L2
	mov	rdi, rbp
	call	RedisModule_WrongArity@PLT
.L1:
	mov	rbx, QWORD PTR 8[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L12
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rsi, QWORD PTR 8[rbx]
	mov	edx, DWORD PTR REDISMODULE_READ[rip]
	mov	rdi, rbp
	or	edx, DWORD PTR REDISMODULE_WRITE[rip]
	call	RedisModule_OpenKey@PLT
	mov	rdi, rax
	mov	r12, rax
	call	RedisModule_KeyType@PLT
	cmp	DWORD PTR REDISMODULE_KEYTYPE_HASH[rip], eax
	je	.L4
	cmp	DWORD PTR REDISMODULE_KEYTYPE_EMPTY[rip], eax
	jne	.L13
.L4:
	mov	rdx, QWORD PTR 16[rbx]
	mov	esi, DWORD PTR REDISMODULE_HASH_NONE[rip]
	mov	rcx, rsp
	xor	r8d, r8d
	mov	rdi, r12
	call	RedisModule_HashGet@PLT
	mov	rcx, QWORD PTR [rsp]
	test	rcx, rcx
	je	.L5
	mov	rdx, QWORD PTR 24[rbx]
	mov	esi, DWORD PTR REDISMODULE_HASH_NONE[rip]
	xor	r8d, r8d
	mov	rdi, r12
	call	RedisModule_HashSet@PLT
	mov	rcx, QWORD PTR [rsp]
.L5:
	xor	esi, esi
	test	rcx, rcx
	mov	rdi, rbp
	setne	sil
	call	RedisModule_ReplyWithLongLong@PLT
	mov	eax, DWORD PTR REDISMODULE_OK[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	esi, DWORD PTR REDISMODULE_ERRORMSG_WRONGTYPE[rip]
	mov	rdi, rbp
	call	RedisModule_ReplyWithError@PLT
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	HelloHCopy_RedisCommand, .-HelloHCopy_RedisCommand
	.comm	REDISMODULE_WRITE,4,4
	.comm	REDISMODULE_READ,4,4
	.comm	REDISMODULE_OK,4,4
	.comm	REDISMODULE_KEYTYPE_HASH,4,4
	.comm	REDISMODULE_KEYTYPE_EMPTY,4,4
	.comm	REDISMODULE_HASH_NONE,4,4
	.comm	REDISMODULE_ERRORMSG_WRONGTYPE,4,4
	.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_HelloHCopy_RedisCommand.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	HelloHCopy_RedisCommand
	.syntax unified
	.arm
	.fpu softvfp
	.type	HelloHCopy_RedisCommand, %function
HelloHCopy_RedisCommand:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r2
	ldr	r3, .L14
	sub	sp, sp, #16
	mov	r6, r1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r4, r0
	bl	RedisModule_AutoMemory
	cmp	r5, #4
	beq	.L2
	mov	r0, r4
	bl	RedisModule_WrongArity
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r2, .L14+4
	ldr	r3, .L14+8
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r1, [r6, #4]
	orr	r2, r2, r3
	mov	r0, r4
	bl	RedisModule_OpenKey
	mov	r5, r0
	bl	RedisModule_KeyType
	ldr	r3, .L14+12
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L4
	ldr	r3, .L14+16
	ldr	r3, [r3]
	cmp	r3, r0
	bne	.L13
.L4:
	mov	r8, #0
	ldr	r7, .L14+20
	str	r8, [sp]
	add	r3, sp, #8
	mov	r0, r5
	ldr	r1, [r7]
	ldr	r2, [r6, #8]
	bl	RedisModule_HashGet
	ldr	r3, [sp, #8]
	cmp	r3, r8
	beq	.L5
	str	r8, [sp]
	mov	r0, r5
	ldr	r2, [r6, #12]
	ldr	r1, [r7]
	bl	RedisModule_HashSet
	ldr	r3, [sp, #8]
.L5:
	subs	r1, r3, #0
	movne	r1, #1
	mov	r0, r4
	bl	RedisModule_ReplyWithLongLong
	ldr	r3, .L14+24
	ldr	r0, [r3]
	b	.L1
.L13:
	ldr	r3, .L14+28
	mov	r0, r4
	ldr	r1, [r3]
	bl	RedisModule_ReplyWithError
	b	.L1
.L12:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	REDISMODULE_READ
	.word	REDISMODULE_WRITE
	.word	REDISMODULE_KEYTYPE_HASH
	.word	REDISMODULE_KEYTYPE_EMPTY
	.word	REDISMODULE_HASH_NONE
	.word	REDISMODULE_OK
	.word	REDISMODULE_ERRORMSG_WRONGTYPE
	.size	HelloHCopy_RedisCommand, .-HelloHCopy_RedisCommand
	.comm	REDISMODULE_WRITE,4,4
	.comm	REDISMODULE_READ,4,4
	.comm	REDISMODULE_OK,4,4
	.comm	REDISMODULE_KEYTYPE_HASH,4,4
	.comm	REDISMODULE_KEYTYPE_EMPTY,4,4
	.comm	REDISMODULE_HASH_NONE,4,4
	.comm	REDISMODULE_ERRORMSG_WRONGTYPE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
