	.file	"extr_tscSQLParser.c_tSQLExprLeafToString.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tSQLExprLeafToString, @function
tSQLExprLeafToString:
.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, rdx
	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
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	isExprDirectParentOfLeaftNode@PLT
	test	eax, eax
	je	.L7
	mov	rdi, QWORD PTR 8[rbp]
	mov	r13, QWORD PTR 0[rbp]
	test	ebx, ebx
	je	.L4
	mov	rax, QWORD PTR [r12]
	mov	rsi, r12
	mov	BYTE PTR [rax], 40
	add	QWORD PTR [r12], 1
	call	tSQLExprNodeToString@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	optrToString@PLT
	cmp	rax, QWORD PTR TSDB_CODE_SUCCESS[rip]
	je	.L5
.L7:
	mov	rax, QWORD PTR TSDB_CODE_INVALID_SQL[rip]
	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
.L4:
	.cfi_restore_state
	mov	rsi, r12
	call	tSQLExprNodeToString@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	optrToString@PLT
	cmp	rax, QWORD PTR TSDB_CODE_SUCCESS[rip]
	jne	.L7
	mov	rsi, r12
	mov	rdi, r13
	call	tSQLExprNodeToString@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rsi, r12
	mov	rdi, r13
	call	tSQLExprNodeToString@PLT
	mov	rax, QWORD PTR [r12]
	mov	BYTE PTR [rax], 41
	add	QWORD PTR [r12], 1
.L6:
	mov	rax, QWORD PTR TSDB_CODE_SUCCESS[rip]
	add	rsp, 8
	.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
	.cfi_endproc
.LFE0:
	.size	tSQLExprLeafToString, .-tSQLExprLeafToString
	.comm	TSDB_CODE_SUCCESS,8,8
	.comm	TSDB_CODE_INVALID_SQL,8,8
	.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_tscSQLParser.c_tSQLExprLeafToString.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tSQLExprLeafToString, %function
tSQLExprLeafToString:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r1
	mov	r4, r2
	mov	r5, r0
	bl	isExprDirectParentOfLeaftNode
	cmp	r0, #0
	beq	.L7
	cmp	r6, #0
	ldr	r0, [r5, #4]
	ldr	r6, [r5]
	beq	.L4
	mov	r2, #40
	ldr	r3, [r4]
	mov	r1, r4
	strb	r2, [r3]
	ldr	r3, [r4]
	add	r3, r3, #1
	str	r3, [r4]
	bl	tSQLExprNodeToString
	mov	r0, r5
	mov	r1, r4
	bl	optrToString
	ldr	r5, .L12
	ldr	r3, [r5]
	cmp	r0, r3
	beq	.L5
.L7:
	ldr	r3, .L12+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L4:
	mov	r1, r4
	bl	tSQLExprNodeToString
	mov	r0, r5
	mov	r1, r4
	bl	optrToString
	ldr	r5, .L12
	ldr	r3, [r5]
	cmp	r0, r3
	bne	.L7
	mov	r1, r4
	mov	r0, r6
	bl	tSQLExprNodeToString
	ldr	r0, [r5]
	pop	{r4, r5, r6, pc}
.L5:
	mov	r0, r6
	mov	r1, r4
	bl	tSQLExprNodeToString
	mov	r2, #41
	ldr	r3, [r4]
	strb	r2, [r3]
	ldr	r3, [r4]
	ldr	r0, [r5]
	add	r3, r3, #1
	str	r3, [r4]
	pop	{r4, r5, r6, pc}
.L13:
	.align	2
.L12:
	.word	TSDB_CODE_SUCCESS
	.word	TSDB_CODE_INVALID_SQL
	.size	tSQLExprLeafToString, .-tSQLExprLeafToString
	.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
