	.file	"extr_t_set.c_smoveCommand.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"srem"
.LC1:
	.string	"del"
.LC2:
	.string	"sadd"
	.text
	.p2align 4
	.globl	smoveCommand
	.type	smoveCommand, @function
smoveCommand:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	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
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR 8[rdi]
	mov	rdi, QWORD PTR [rdi]
	mov	rsi, QWORD PTR 8[rax]
	call	lookupKeyWrite@PLT
	mov	rdi, QWORD PTR 0[rbp]
	mov	r13, rax
	mov	rax, QWORD PTR 8[rbp]
	mov	rsi, QWORD PTR 16[rax]
	call	lookupKeyWrite@PLT
	test	r13, r13
	je	.L18
	mov	r12, rax
	mov	edx, DWORD PTR OBJ_SET[rip]
	mov	rax, QWORD PTR 8[rbp]
	mov	rsi, r13
	mov	rdi, rbp
	mov	rbx, QWORD PTR 24[rax]
	call	checkType@PLT
	test	rax, rax
	jne	.L1
	test	r12, r12
	je	.L5
	mov	edx, DWORD PTR OBJ_SET[rip]
	mov	rsi, r12
	mov	rdi, rbp
	call	checkType@PLT
	test	rax, rax
	jne	.L1
	mov	esi, DWORD PTR [rbx]
	cmp	r13, r12
	jne	.L7
	mov	rdi, r13
	call	setTypeIsMember@PLT
	mov	esi, DWORD PTR shared[rip]
	test	rax, rax
	cmove	esi, DWORD PTR shared[rip+4]
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L5:
	mov	esi, DWORD PTR [rbx]
.L7:
	mov	rdi, r13
	call	setTypeRemove@PLT
	test	eax, eax
	je	.L18
	mov	rax, QWORD PTR 0[rbp]
	mov	rdx, QWORD PTR 8[rbp]
	lea	rsi, .LC0[rip]
	mov	edi, DWORD PTR NOTIFY_SET[rip]
	mov	rdx, QWORD PTR 8[rdx]
	mov	ecx, DWORD PTR [rax]
	call	notifyKeyspaceEvent@PLT
	mov	rdi, r13
	call	setTypeSize@PLT
	test	rax, rax
	je	.L20
.L10:
	test	r12, r12
	je	.L21
.L11:
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, QWORD PTR 0[rbp]
	mov	rsi, QWORD PTR 8[rax]
	call	signalModifiedKey@PLT
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, QWORD PTR 0[rbp]
	mov	rsi, QWORD PTR 16[rax]
	call	signalModifiedKey@PLT
	mov	esi, DWORD PTR [rbx]
	mov	rdi, r12
	add	DWORD PTR server[rip], 1
	call	setTypeAdd@PLT
	test	rax, rax
	jne	.L22
.L12:
	mov	esi, DWORD PTR shared[rip]
.L17:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbx
	.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
	jmp	addReply@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.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
.L18:
	.cfi_restore_state
	mov	esi, DWORD PTR shared[rip+4]
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L22:
	mov	rax, QWORD PTR 0[rbp]
	mov	rdx, QWORD PTR 8[rbp]
	lea	rsi, .LC2[rip]
	mov	edi, DWORD PTR NOTIFY_SET[rip]
	add	DWORD PTR server[rip], 1
	mov	rdx, QWORD PTR 16[rdx]
	mov	ecx, DWORD PTR [rax]
	call	notifyKeyspaceEvent@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L20:
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, QWORD PTR 0[rbp]
	mov	rsi, QWORD PTR 8[rax]
	call	dbDelete@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	rdx, QWORD PTR 8[rbp]
	lea	rsi, .LC1[rip]
	mov	edi, DWORD PTR NOTIFY_GENERIC[rip]
	mov	rdx, QWORD PTR 8[rdx]
	mov	ecx, DWORD PTR [rax]
	call	notifyKeyspaceEvent@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L21:
	mov	edi, DWORD PTR [rbx]
	call	setTypeCreate@PLT
	mov	rdi, QWORD PTR 0[rbp]
	mov	r12, rax
	mov	rax, QWORD PTR 8[rbp]
	mov	rdx, r12
	mov	rsi, QWORD PTR 16[rax]
	call	dbAdd@PLT
	jmp	.L11
	.cfi_endproc
.LFE0:
	.size	smoveCommand, .-smoveCommand
	.comm	shared,8,8
	.comm	server,4,4
	.comm	OBJ_SET,4,4
	.comm	NOTIFY_SET,4,4
	.comm	NOTIFY_GENERIC,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_t_set.c_smoveCommand.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"srem\000"
	.align	2
.LC1:
	.ascii	"del\000"
	.align	2
.LC2:
	.ascii	"sadd\000"
	.text
	.align	2
	.global	smoveCommand
	.syntax unified
	.arm
	.fpu softvfp
	.type	smoveCommand, %function
smoveCommand:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldm	r0, {r0, r3}
	ldr	r1, [r3, #4]
	bl	lookupKeyWrite
	mov	r5, r0
	ldr	r3, [r4, #4]
	ldr	r0, [r4]
	ldr	r1, [r3, #8]
	bl	lookupKeyWrite
	cmp	r5, #0
	beq	.L17
	ldr	r7, .L22
	ldr	r3, [r4, #4]
	mov	r6, r0
	mov	r1, r5
	mov	r0, r4
	ldr	r2, [r7]
	ldr	r8, [r3, #12]
	bl	checkType
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	cmp	r6, #0
	beq	.L5
	mov	r1, r6
	mov	r0, r4
	ldr	r2, [r7]
	bl	checkType
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	cmp	r5, r6
	ldr	r1, [r8]
	bne	.L7
	mov	r0, r5
	bl	setTypeIsMember
	mov	r1, r0
	ldr	r3, .L22+4
	cmp	r1, #0
	ldm	r3, {r2, r3}
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	movne	r1, r2
	moveq	r1, r3
	b	addReply
.L5:
	ldr	r1, [r8]
.L7:
	mov	r0, r5
	bl	setTypeRemove
	cmp	r0, #0
	beq	.L17
	ldr	r3, [r4]
	ldr	r2, [r4, #4]
	ldr	r7, .L22+8
	ldr	r3, [r3]
	ldr	r2, [r2, #4]
	ldr	r1, .L22+12
	ldr	r0, [r7]
	bl	notifyKeyspaceEvent
	mov	r0, r5
	bl	setTypeSize
	cmp	r0, #0
	beq	.L19
.L10:
	cmp	r6, #0
	beq	.L20
.L11:
	ldm	r4, {r0, r3}
	ldr	r1, [r3, #4]
	bl	signalModifiedKey
	ldr	r3, [r4, #4]
	ldr	r5, .L22+16
	ldr	r1, [r3, #8]
	ldr	r0, [r4]
	bl	signalModifiedKey
	ldr	r3, [r5]
	ldr	r1, [r8]
	add	r3, r3, #1
	mov	r0, r6
	str	r3, [r5]
	bl	setTypeAdd
	cmp	r0, #0
	bne	.L21
.L12:
	ldr	r3, .L22+4
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r1, [r3]
	b	addReply
.L17:
	ldr	r3, .L22+4
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r1, [r3, #4]
	b	addReply
.L21:
	ldr	r1, [r5]
	ldr	r3, [r4]
	ldr	r2, [r4, #4]
	add	r1, r1, #1
	ldr	r3, [r3]
	ldr	r0, [r7]
	str	r1, [r5]
	ldr	r2, [r2, #8]
	ldr	r1, .L22+20
	bl	notifyKeyspaceEvent
	b	.L12
.L19:
	ldm	r4, {r0, r3}
	ldr	r1, [r3, #4]
	bl	dbDelete
	ldr	r3, [r4]
	ldr	r2, [r4, #4]
	ldr	r1, .L22+24
	ldr	r3, [r3]
	ldr	r2, [r2, #4]
	ldr	r0, [r1]
	ldr	r1, .L22+28
	bl	notifyKeyspaceEvent
	b	.L10
.L20:
	ldr	r0, [r8]
	bl	setTypeCreate
	ldr	r3, [r4, #4]
	mov	r6, r0
	mov	r2, r0
	ldr	r1, [r3, #8]
	ldr	r0, [r4]
	bl	dbAdd
	b	.L11
.L23:
	.align	2
.L22:
	.word	OBJ_SET
	.word	shared
	.word	NOTIFY_SET
	.word	.LC0
	.word	server
	.word	.LC2
	.word	NOTIFY_GENERIC
	.word	.LC1
	.size	smoveCommand, .-smoveCommand
	.comm	shared,8,4
	.comm	server,4,4
	.comm	OBJ_SET,4,4
	.comm	NOTIFY_SET,4,4
	.comm	NOTIFY_GENERIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
