	.file	"extr_mgmtDnode.c_mgmtGetConfigMeta.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"root"
.LC1:
	.string	"config name"
.LC2:
	.string	"config value"
	.text
	.p2align 4
	.globl	mgmtGetConfigMeta
	.type	mgmtGetConfigMeta, @function
mgmtGetConfigMeta:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	lea	rsi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rax, QWORD PTR [rdx]
	mov	edi, DWORD PTR [rax]
	call	strcmp@PLT
	test	rax, rax
	je	.L2
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR TSDB_CODE_NO_RIGHTS[rip]
	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	rdi, r12
	call	tsGetSchema@PLT
	mov	edx, DWORD PTR TSDB_CFG_OPTION_LEN[rip]
	lea	rsi, .LC1[rip]
	mov	rbx, rax
	mov	rax, QWORD PTR 0[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR TSDB_DATA_TYPE_BINARY[rip]
	mov	edi, DWORD PTR 8[rbx]
	mov	QWORD PTR 16[rbx], rax
	call	strcpy@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	edi, DWORD PTR [rax]
	call	htons@PLT
	mov	edx, DWORD PTR TSDB_CFG_VALUE_LEN[rip]
	lea	rsi, .LC2[rip]
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR 0[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR TSDB_DATA_TYPE_BINARY[rip]
	mov	edi, DWORD PTR 32[rbx]
	mov	QWORD PTR 40[rbx], rax
	call	strcpy@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	edi, DWORD PTR 4[rax]
	call	htons@PLT
	mov	edi, 2
	mov	QWORD PTR 24[rbx], rax
	call	htons@PLT
	mov	rsi, QWORD PTR 0[rbp]
	mov	QWORD PTR [r12], rax
	mov	rax, QWORD PTR 16[rbp]
	mov	DWORD PTR 8[rbp], 2
	mov	DWORD PTR [rax], 0
	mov	edx, DWORD PTR [rsi]
	mov	DWORD PTR 4[rax], edx
	movsx	rax, DWORD PTR tsGlobalConfigNum[rip]
	mov	QWORD PTR 40[rbp], 0
	mov	ecx, eax
	sub	ecx, 1
	js	.L4
	movsx	rbx, ecx
	mov	ecx, ecx
	sub	rax, rcx
	sal	rbx, 2
	lea	r12, -8[0+rax*4]
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, QWORD PTR tsGlobalConfig[rip]
	add	rdi, rbx
	call	mgmtCheckConfigShow@PLT
	test	eax, eax
	je	.L5
	add	QWORD PTR 40[rbp], 1
.L5:
	sub	rbx, 4
	cmp	rbx, r12
	jne	.L6
	mov	rax, QWORD PTR 16[rbp]
	mov	rsi, QWORD PTR 0[rbp]
	mov	edx, DWORD PTR 4[rax]
.L4:
	add	edx, DWORD PTR 4[rsi]
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	QWORD PTR 32[rbp], 0
	xor	eax, eax
	mov	DWORD PTR 24[rbp], edx
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mgmtGetConfigMeta, .-mgmtGetConfigMeta
	.comm	tsGlobalConfigNum,4,4
	.comm	tsGlobalConfig,8,8
	.comm	TSDB_DATA_TYPE_BINARY,8,8
	.comm	TSDB_CODE_NO_RIGHTS,4,4
	.comm	TSDB_CFG_VALUE_LEN,4,4
	.comm	TSDB_CFG_OPTION_LEN,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_mgmtDnode.c_mgmtGetConfigMeta.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"root\000"
	.align	2
.LC1:
	.ascii	"config name\000"
	.align	2
.LC2:
	.ascii	"config value\000"
	.text
	.align	2
	.global	mgmtGetConfigMeta
	.syntax unified
	.arm
	.fpu softvfp
	.type	mgmtGetConfigMeta, %function
mgmtGetConfigMeta:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r2]
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r0
	mov	r5, r1
	ldr	r0, [r2]
	ldr	r1, .L13
	bl	strcmp
	subs	r6, r0, #0
	beq	.L2
	ldr	r3, .L13+4
	ldr	r6, [r3]
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r0, r7
	bl	tsGetSchema
	mov	r4, r0
	ldr	r3, .L13+8
	ldr	r8, .L13+12
	ldr	r2, [r5]
	ldr	r1, [r3]
	ldr	r3, [r8]
	str	r1, [r2]
	ldr	r0, [r0, #4]
	ldr	r1, .L13+16
	str	r3, [r4, #8]
	bl	strcpy
	ldr	r3, [r5]
	ldr	r0, [r3]
	bl	htons
	ldr	r3, .L13+20
	ldr	r2, [r5]
	ldr	r1, [r3]
	ldr	r3, [r8]
	str	r0, [r4]
	str	r1, [r2, #4]
	ldr	r0, [r4, #16]
	ldr	r1, .L13+24
	str	r3, [r4, #20]
	bl	strcpy
	ldr	r3, [r5]
	ldr	r0, [r3, #4]
	bl	htons
	mov	r3, r0
	mov	r0, #2
	str	r3, [r4, #12]
	bl	htons
	mov	ip, #2
	ldr	r1, [r5, #8]
	ldr	r2, .L13+28
	str	r0, [r7]
	ldr	r3, [r5]
	str	ip, [r5, #4]
	str	r6, [r1]
	ldr	r4, [r2]
	ldr	r2, [r3]
	subs	r4, r4, #1
	str	r2, [r1, #4]
	str	r6, [r5, #20]
	bmi	.L4
	ldr	r7, .L13+32
.L6:
	ldr	r0, [r7]
	add	r0, r0, r4, lsl #2
	bl	mgmtCheckConfigShow
	cmp	r0, #0
	ldrne	r3, [r5, #20]
	sub	r4, r4, #1
	addne	r3, r3, #1
	strne	r3, [r5, #20]
	cmn	r4, #1
	bne	.L6
	ldr	r2, [r5, #8]
	ldr	r3, [r5]
	ldr	r2, [r2, #4]
.L4:
	mov	r1, #0
	ldr	r3, [r3, #4]
	mov	r0, r6
	add	r3, r3, r2
	str	r1, [r5, #16]
	str	r3, [r5, #12]
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	TSDB_CODE_NO_RIGHTS
	.word	TSDB_CFG_OPTION_LEN
	.word	TSDB_DATA_TYPE_BINARY
	.word	.LC1
	.word	TSDB_CFG_VALUE_LEN
	.word	.LC2
	.word	tsGlobalConfigNum
	.word	tsGlobalConfig
	.size	mgmtGetConfigMeta, .-mgmtGetConfigMeta
	.comm	tsGlobalConfigNum,4,4
	.comm	tsGlobalConfig,4,4
	.comm	TSDB_DATA_TYPE_BINARY,4,4
	.comm	TSDB_CODE_NO_RIGHTS,4,4
	.comm	TSDB_CFG_VALUE_LEN,4,4
	.comm	TSDB_CFG_OPTION_LEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
