	.file	"extr_mgmtDnodeInt.c_mgmtCfgDynamicOptions.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"unremove"
.LC1:
	.string	"score"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"dnode:%s, custom score set from:%d to:%d"
	.section	.rodata.str1.1
.LC3:
	.string	"bandwidth"
	.section	.rodata.str1.8
	.align 8
.LC4:
	.string	"dnode:%s, bandwidth(Mb) set from:%d to:%d"
	.text
	.p2align 4
	.globl	mgmtCfgDynamicOptions
	.type	mgmtCfgDynamicOptions, @function
mgmtCfgDynamicOptions:
.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
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	mov	rdi, rbp
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rdx, rsp
	lea	rsi, 8[rsp]
	call	paGetToken@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	edx, 8
	lea	rsi, .LC0[rip]
	call	strncasecmp@PLT
	test	rax, rax
	je	.L11
	mov	rdi, QWORD PTR 8[rsp]
	mov	edx, 5
	lea	rsi, .LC1[rip]
	call	strncasecmp@PLT
	test	rax, rax
	je	.L12
	mov	rdi, QWORD PTR 8[rsp]
	mov	edx, 9
	lea	rsi, .LC3[rip]
	call	strncasecmp@PLT
	test	rax, rax
	jne	.L8
	lea	rdx, 4[rsp]
	lea	rsi, 16[rsp]
	mov	rdi, rbp
	call	paGetToken@PLT
	mov	eax, DWORD PTR 4[rsp]
	test	eax, eax
	jle	.L6
	mov	rdi, QWORD PTR 16[rsp]
	call	atoi@PLT
	mov	ebp, eax
	cmp	eax, 9999999
	jbe	.L13
.L6:
	mov	eax, DWORD PTR TSDB_CODE_INVALID_SQL[rip]
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L14
	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
.L12:
	.cfi_restore_state
	movsx	rax, DWORD PTR [rsp]
	mov	rcx, QWORD PTR 8[rsp]
	lea	rdx, 4[rsp]
	lea	rsi, 16[rsp]
	lea	rdi, 1[rcx+rax]
	call	paGetToken@PLT
	mov	edx, DWORD PTR 4[rsp]
	test	edx, edx
	jle	.L6
	mov	rdi, QWORD PTR 16[rsp]
	call	atoi@PLT
	mov	edi, DWORD PTR 8[r12]
	mov	r13d, DWORD PTR [r12]
	mov	ebp, eax
	call	taosIpStr@PLT
	mov	ecx, ebp
	mov	edx, r13d
	lea	rdi, .LC2[rip]
	mov	esi, eax
	call	mTrace@PLT
	mov	DWORD PTR [r12], ebp
	mov	rdi, r12
	call	mgmtUpdateDnode@PLT
	mov	edi, 15
	call	mgmtStartBalanceTimer@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, r12
	call	mgmtSetDnodeUnRemove@PLT
	mov	eax, DWORD PTR TSDB_CODE_SUCCESS[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edi, DWORD PTR 8[r12]
	mov	r13d, DWORD PTR 4[r12]
	call	taosIpStr@PLT
	mov	ecx, ebp
	mov	edx, r13d
	lea	rdi, .LC4[rip]
	mov	esi, eax
	call	mTrace@PLT
	mov	DWORD PTR 4[r12], ebp
	mov	rdi, r12
	call	mgmtUpdateDnode@PLT
	mov	eax, DWORD PTR TSDB_CODE_SUCCESS[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	eax, -1
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mgmtCfgDynamicOptions, .-mgmtCfgDynamicOptions
	.comm	TSDB_CODE_SUCCESS,4,4
	.comm	TSDB_CODE_INVALID_SQL,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_mgmtDnodeInt.c_mgmtCfgDynamicOptions.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unremove\000"
	.align	2
.LC1:
	.ascii	"score\000"
	.align	2
.LC2:
	.ascii	"dnode:%s, custom score set from:%d to:%d\000"
	.align	2
.LC3:
	.ascii	"bandwidth\000"
	.align	2
.LC4:
	.ascii	"dnode:%s, bandwidth(Mb) set from:%d to:%d\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mgmtCfgDynamicOptions
	.syntax unified
	.arm
	.fpu softvfp
	.type	mgmtCfgDynamicOptions, %function
mgmtCfgDynamicOptions:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L15
	sub	sp, sp, #24
	add	r2, sp, #12
	mov	r4, r1
	mov	r6, r0
	mov	r0, r1
	add	r1, sp, #4
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	paGetToken
	ldr	r5, [sp, #4]
	mov	r2, #8
	mov	r0, r5
	ldr	r1, .L15+4
	bl	strncasecmp
	cmp	r0, #0
	beq	.L11
	mov	r2, #5
	mov	r0, r5
	ldr	r1, .L15+8
	bl	strncasecmp
	cmp	r0, #0
	beq	.L12
	mov	r0, r5
	mov	r2, #9
	ldr	r1, .L15+12
	bl	strncasecmp
	cmp	r0, #0
	bne	.L8
	mov	r0, r4
	add	r2, sp, #16
	add	r1, sp, #8
	bl	paGetToken
	ldr	r3, [sp, #16]
	cmp	r3, #0
	ble	.L6
	ldr	r0, [sp, #8]
	bl	atoi
	ldr	r3, .L15+16
	mov	r4, r0
	cmp	r0, r3
	bls	.L13
.L6:
	ldr	r3, .L15+20
	ldr	r0, [r3]
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L11:
	mov	r0, r6
	bl	mgmtSetDnodeUnRemove
	ldr	r3, .L15+24
	ldr	r0, [r3]
	b	.L1
.L13:
	ldr	r0, [r6, #8]
	bl	taosIpStr
	mov	r3, r4
	mov	r1, r0
	ldr	r2, [r6, #4]
	ldr	r0, .L15+28
	bl	mTrace
	mov	r0, r6
	str	r4, [r6, #4]
	bl	mgmtUpdateDnode
	ldr	r3, .L15+24
	ldr	r0, [r3]
	b	.L1
.L12:
	ldr	r0, [sp, #12]
	add	r2, sp, #16
	add	r0, r0, #1
	add	r0, r5, r0
	add	r1, sp, #8
	bl	paGetToken
	ldr	r3, [sp, #16]
	cmp	r3, #0
	ble	.L6
	ldr	r0, [sp, #8]
	bl	atoi
	mov	r4, r0
	ldr	r0, [r6, #8]
	bl	taosIpStr
	mov	r3, r4
	mov	r1, r0
	ldr	r2, [r6]
	ldr	r0, .L15+32
	bl	mTrace
	mov	r0, r6
	str	r4, [r6]
	bl	mgmtUpdateDnode
	mov	r0, #15
	bl	mgmtStartBalanceTimer
	b	.L6
.L8:
	mvn	r0, #0
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC3
	.word	9999999
	.word	TSDB_CODE_INVALID_SQL
	.word	TSDB_CODE_SUCCESS
	.word	.LC4
	.word	.LC2
	.size	mgmtCfgDynamicOptions, .-mgmtCfgDynamicOptions
	.comm	TSDB_CODE_SUCCESS,4,4
	.comm	TSDB_CODE_INVALID_SQL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
