	.file	"extr_redis-cli.c_clusterManagerMoveSlot.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Moving slot %d from %s:%d to %s:%d: "
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"importing"
.LC2:
	.string	"migrating"
.LC3:
	.string	"node"
.LC4:
	.string	"CLUSTER SETSLOT %d %s %s"
	.text
	.p2align 4
	.type	clusterManagerMoveSlot, @function
clusterManagerMoveSlot:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movsx	r12, edx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, r8
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, ecx
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	test	DWORD PTR CLUSTER_MANAGER_OPT_QUIET[rip], ecx
	je	.L36
.L2:
	test	rbp, rbp
	je	.L3
	mov	QWORD PTR 0[rbp], 0
.L3:
	mov	eax, ebx
	and	eax, DWORD PTR CLUSTER_MANAGER_OPT_COLD[rip]
	mov	r15d, DWORD PTR config[rip]
	mov	DWORD PTR 8[rsp], eax
	mov	r11d, DWORD PTR config[rip+4]
	mov	r9d, DWORD PTR CLUSTER_MANAGER_OPT_VERBOSE[rip]
	jne	.L10
	mov	r8, rbp
	lea	rcx, .LC1[rip]
	mov	edx, r12d
	mov	rsi, r14
	mov	rdi, r13
	mov	DWORD PTR 28[rsp], r11d
	mov	DWORD PTR 16[rsp], r9d
	call	clusterManagerSetSlot@PLT
	mov	r9d, DWORD PTR 16[rsp]
	mov	r11d, DWORD PTR 28[rsp]
	test	eax, eax
	jne	.L7
.L9:
	xor	r10d, r10d
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L37
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r10d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	r8, rbp
	lea	rcx, .LC2[rip]
	mov	edx, r12d
	mov	rsi, r13
	mov	rdi, r14
	mov	DWORD PTR 28[rsp], r11d
	mov	DWORD PTR 16[rsp], r9d
	call	clusterManagerSetSlot@PLT
	mov	r9d, DWORD PTR 16[rsp]
	mov	r11d, DWORD PTR 28[rsp]
	test	eax, eax
	je	.L9
.L10:
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	mov	ecx, r11d
	mov	edx, r12d
	mov	rsi, r13
	push	rbp
	.cfi_def_cfa_offset 128
	and	r9d, ebx
	mov	r8d, r15d
	mov	rdi, r14
	call	clusterManagerMigrateKeysInSlot@PLT
	pop	rcx
	.cfi_def_cfa_offset 120
	pop	rsi
	.cfi_def_cfa_offset 112
	mov	edx, eax
	test	DWORD PTR CLUSTER_MANAGER_OPT_QUIET[rip], ebx
	je	.L38
	test	edx, edx
	je	.L9
.L40:
	mov	eax, DWORD PTR 8[rsp]
	test	eax, eax
	je	.L39
.L11:
	mov	r10d, 1
	test	DWORD PTR CLUSTER_MANAGER_OPT_UPDATE[rip], ebx
	je	.L1
	mov	rax, QWORD PTR 16[r14]
	mov	DWORD PTR [rax+r12*4], 0
	mov	rax, QWORD PTR 16[r13]
	mov	DWORD PTR [rax+r12*4], 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L38:
	mov	edi, 10
	mov	DWORD PTR 16[rsp], eax
	call	putchar@PLT
	mov	edx, DWORD PTR 16[rsp]
	test	edx, edx
	jne	.L40
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L36:
	mov	ecx, DWORD PTR 8[rdi]
	mov	r9d, DWORD PTR 8[rsi]
	mov	r8, QWORD PTR [rsi]
	mov	rdx, QWORD PTR [rdi]
	mov	esi, r12d
	lea	rdi, .LC0[rip]
	call	printf@PLT
	mov	edi, DWORD PTR stdout[rip]
	call	fflush@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L39:
	lea	r15, 36[rsp]
	mov	edi, DWORD PTR cluster_manager[rip]
	mov	rsi, r15
	call	listRewind@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rdi, r15
	call	listNext@PLT
	test	rax, rax
	je	.L11
.L17:
	mov	r9, QWORD PTR [rax]
	mov	eax, DWORD PTR 12[r9]
	and	eax, DWORD PTR CLUSTER_MANAGER_FLAG_SLAVE[rip]
	mov	DWORD PTR 8[rsp], eax
	jne	.L13
	mov	r8d, DWORD PTR 24[r13]
	mov	edx, r12d
	mov	rdi, r9
	mov	QWORD PTR 16[rsp], r9
	lea	rcx, .LC3[rip]
	lea	rsi, .LC4[rip]
	call	CLUSTER_MANAGER_COMMAND@PLT
	mov	r10d, DWORD PTR 8[rsp]
	test	rax, rax
	mov	r8, rax
	je	.L1
	mov	rax, QWORD PTR REDIS_REPLY_ERROR[rip]
	cmp	QWORD PTR [r8], rax
	mov	r9, QWORD PTR 16[rsp]
	je	.L41
	mov	rdi, r8
	call	freeReplyObject@PLT
	mov	rdi, r15
	call	listNext@PLT
	test	rax, rax
	jne	.L17
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L41:
	test	rbp, rbp
	je	.L42
	mov	eax, DWORD PTR 8[r8]
	mov	DWORD PTR 28[rsp], r10d
	mov	QWORD PTR 16[rsp], r9
	lea	edi, 1[rax]
	mov	QWORD PTR 8[rsp], r8
	call	zmalloc@PLT
	mov	r8, QWORD PTR 8[rsp]
	mov	QWORD PTR 0[rbp], rax
	mov	rdi, rax
	mov	esi, DWORD PTR 12[r8]
	call	strcpy@PLT
	mov	r9, QWORD PTR 16[rsp]
	mov	rsi, QWORD PTR 0[rbp]
	mov	rdi, r9
	call	CLUSTER_MANAGER_PRINT_REPLY_ERROR@PLT
	mov	r8, QWORD PTR 8[rsp]
	mov	rdi, r8
	call	freeReplyObject@PLT
	mov	r10d, DWORD PTR 28[rsp]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L42:
	mov	rdi, r8
	call	freeReplyObject@PLT
	mov	r10d, DWORD PTR 8[rsp]
	jmp	.L1
.L37:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	clusterManagerMoveSlot, .-clusterManagerMoveSlot
	.comm	stdout,4,4
	.comm	config,8,8
	.comm	cluster_manager,4,4
	.comm	REDIS_REPLY_ERROR,8,8
	.comm	CLUSTER_MANAGER_OPT_VERBOSE,4,4
	.comm	CLUSTER_MANAGER_OPT_UPDATE,4,4
	.comm	CLUSTER_MANAGER_OPT_QUIET,4,4
	.comm	CLUSTER_MANAGER_OPT_COLD,4,4
	.comm	CLUSTER_MANAGER_FLAG_SLAVE,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_redis-cli.c_clusterManagerMoveSlot.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Moving slot %d from %s:%d to %s:%d: \000"
	.align	2
.LC1:
	.ascii	"importing\000"
	.align	2
.LC2:
	.ascii	"migrating\000"
	.align	2
.LC3:
	.ascii	"node\000"
	.align	2
.LC4:
	.ascii	"CLUSTER SETSLOT %d %s %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	clusterManagerMoveSlot, %function
clusterManagerMoveSlot:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r3
	ldr	r9, .L43
	sub	sp, sp, #36
	ldr	r3, [r9]
	mov	r7, r0
	tst	r4, r3
	ldr	r3, .L43+4
	mov	r5, r1
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	ldr	r8, [sp, #72]
	beq	.L37
.L2:
	cmp	r8, #0
	movne	r3, #0
	ldr	r2, .L43+8
	strne	r3, [r8]
	ldr	r1, .L43+12
	ldr	r3, .L43+16
	ldr	r2, [r2]
	ldm	r3, {r10, fp}
	ldr	r3, [r1]
	ands	r2, r4, r2
	str	r2, [sp, #20]
	str	r3, [sp, #16]
	bne	.L10
	mov	r2, r6
	mov	r1, r7
	mov	r0, r5
	ldr	r3, .L43+20
	str	r8, [sp]
	bl	clusterManagerSetSlot
	cmp	r0, #0
	bne	.L7
.L9:
	mov	r9, #0
.L1:
	ldr	r3, .L43+4
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L38
	mov	r0, r9
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	mov	r2, r6
	mov	r1, r5
	mov	r0, r7
	ldr	r3, .L43+24
	str	r8, [sp]
	bl	clusterManagerSetSlot
	cmp	r0, #0
	beq	.L9
.L10:
	ldr	r3, [sp, #16]
	mov	r2, r6
	and	r3, r3, r4
	stmib	sp, {r3, r8}
	mov	r1, r5
	mov	r3, fp
	mov	r0, r7
	str	r10, [sp]
	bl	clusterManagerMigrateKeysInSlot
	ldr	r3, [r9]
	mov	r9, r0
	tst	r4, r3
	beq	.L39
	cmp	r9, #0
	beq	.L9
.L41:
	ldr	r3, [sp, #20]
	cmp	r3, #0
	beq	.L40
.L11:
	ldr	r3, .L43+28
	ldr	r3, [r3]
	tst	r4, r3
	movne	r3, #1
	movne	r0, #0
	ldrne	r1, [r7, #12]
	ldrne	r2, [r5, #12]
	movne	r9, r3
	strne	r0, [r1, r6, lsl #2]
	moveq	r9, #1
	strne	r3, [r2, r6, lsl #2]
	b	.L1
.L39:
	mov	r0, #10
	bl	putchar
	cmp	r9, #0
	bne	.L41
	b	.L9
.L37:
	ldr	r2, [r1, #4]
	ldr	r3, [r1]
	str	r2, [sp, #4]
	str	r3, [sp]
	ldm	r0, {r2, r3}
	mov	r1, r6
	ldr	r0, .L43+32
	bl	printf
	ldr	r3, .L43+36
	ldr	r0, [r3]
	bl	fflush
	b	.L2
.L40:
	ldr	r3, .L43+40
	add	r1, sp, #24
	ldr	r0, [r3]
	bl	listRewind
	ldr	fp, .L43+44
.L13:
	add	r0, sp, #24
	bl	listNext
	cmp	r0, #0
	beq	.L11
.L17:
	ldr	r10, [r0]
	ldr	r3, [fp]
	ldr	r9, [r10, #8]
	ands	r9, r9, r3
	bne	.L13
	ldr	r2, [r5, #16]
	ldr	r3, .L43+48
	str	r2, [sp]
	mov	r0, r10
	mov	r2, r6
	ldr	r1, .L43+52
	bl	CLUSTER_MANAGER_COMMAND
	subs	r3, r0, #0
	beq	.L1
	ldr	r2, .L43+56
	ldr	r1, [r3]
	ldr	r2, [r2]
	cmp	r1, r2
	beq	.L42
	bl	freeReplyObject
	add	r0, sp, #24
	bl	listNext
	cmp	r0, #0
	bne	.L17
	b	.L11
.L42:
	cmp	r8, #0
	beq	.L35
	ldr	r0, [r3, #4]
	str	r3, [sp, #16]
	add	r0, r0, #1
	bl	zmalloc
	ldr	r3, [sp, #16]
	str	r0, [r8]
	ldr	r1, [r3, #8]
	bl	strcpy
	mov	r0, r10
	ldr	r1, [r8]
	bl	CLUSTER_MANAGER_PRINT_REPLY_ERROR
	ldr	r3, [sp, #16]
	mov	r0, r3
.L35:
	bl	freeReplyObject
	b	.L1
.L38:
	bl	__stack_chk_fail
.L44:
	.align	2
.L43:
	.word	CLUSTER_MANAGER_OPT_QUIET
	.word	.LC5
	.word	CLUSTER_MANAGER_OPT_COLD
	.word	CLUSTER_MANAGER_OPT_VERBOSE
	.word	config
	.word	.LC1
	.word	.LC2
	.word	CLUSTER_MANAGER_OPT_UPDATE
	.word	.LC0
	.word	stdout
	.word	cluster_manager
	.word	CLUSTER_MANAGER_FLAG_SLAVE
	.word	.LC3
	.word	.LC4
	.word	REDIS_REPLY_ERROR
	.size	clusterManagerMoveSlot, .-clusterManagerMoveSlot
	.comm	stdout,4,4
	.comm	config,8,4
	.comm	cluster_manager,4,4
	.comm	REDIS_REPLY_ERROR,4,4
	.comm	CLUSTER_MANAGER_OPT_VERBOSE,4,4
	.comm	CLUSTER_MANAGER_OPT_UPDATE,4,4
	.comm	CLUSTER_MANAGER_OPT_QUIET,4,4
	.comm	CLUSTER_MANAGER_OPT_COLD,4,4
	.comm	CLUSTER_MANAGER_FLAG_SLAVE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
