	.file	"extr_httpResp.c_httpSendTaosdInvalidSqlErrorResp.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"invalid SQL: %s"
.LC1:
	.string	"Bad Request"
	.text
	.p2align 4
	.globl	httpSendTaosdInvalidSqlErrorResp
	.type	httpSendTaosdInvalidSqlErrorResp, @function
httpSendTaosdInvalidSqlErrorResp:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ecx, 62
	mov	rbp, rdi
	mov	rdx, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	pxor	xmm0, xmm0
	lea	rsi, .LC0[rip]
	sub	rsp, 536
	.cfi_def_cfa_offset 560
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 520[rsp], rax
	xor	eax, eax
	lea	rdi, 16[rsp]
	mov	rbx, rsp
	movaps	XMMWORD PTR [rsp], xmm0
	rep stosq
	mov	rdi, rbx
	call	sprintf@PLT
	test	eax, eax
	jle	.L2
	sub	eax, 1
	mov	rdx, rbx
	lea	rcx, 1[rsp+rax]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	cmp	al, 10
	jne	.L4
	mov	BYTE PTR [rdx], 32
.L4:
	add	rdx, 1
	cmp	rdx, rcx
	je	.L2
.L5:
	movzx	eax, BYTE PTR [rdx]
	cmp	al, 34
	jne	.L3
	mov	BYTE PTR [rdx], 39
	add	rdx, 1
	cmp	rdx, rcx
	jne	.L5
.L2:
	mov	ecx, DWORD PTR TSDB_CODE_INVALID_SQL[rip]
	mov	r8, rbx
	mov	esi, 400
	mov	rdi, rbp
	lea	rdx, .LC1[rip]
	call	httpSendErrorRespImp@PLT
	mov	rax, QWORD PTR 520[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 536
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	httpSendTaosdInvalidSqlErrorResp, .-httpSendTaosdInvalidSqlErrorResp
	.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_httpResp.c_httpSendTaosdInvalidSqlErrorResp.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"invalid SQL: %s\000"
	.align	2
.LC1:
	.ascii	"Bad Request\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	httpSendTaosdInvalidSqlErrorResp
	.syntax unified
	.arm
	.fpu softvfp
	.type	httpSendTaosdInvalidSqlErrorResp, %function
httpSendTaosdInvalidSqlErrorResp:
	@ args = 0, pretend = 0, frame = 520
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, lr}
	mov	r6, r1
	sub	sp, sp, #528
	ldr	ip, .L11
	mov	r1, r3
	mov	r2, #508
	mov	r5, r0
	add	r4, sp, #12
	add	r0, sp, #16
	ldr	ip, [ip]
	str	ip, [sp, #524]
	mov	ip,#0
	str	r3, [sp, #12]
	bl	memset
	ldr	r1, .L11+4
	mov	r2, r6
	mov	r0, r4
	bl	sprintf
	subs	r1, r0, #0
	ble	.L2
	mov	r3, r4
	mov	ip, #32
	mov	r0, #39
	add	r1, r4, r1
.L5:
	ldrb	r2, [r3], #1	@ zero_extendqisi2
	cmp	r2, #34
	strbeq	r0, [r3, #-1]
	beq	.L4
	cmp	r2, #10
	strbeq	ip, [r3, #-1]
.L4:
	cmp	r3, r1
	bne	.L5
.L2:
	ldr	r3, .L11+8
	str	r4, [sp]
	ldr	r3, [r3]
	ldr	r2, .L11+12
	mov	r0, r5
	mov	r1, #400
	bl	httpSendErrorRespImp
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #524]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #528
	@ sp needed
	pop	{r4, r5, r6, pc}
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC2
	.word	.LC0
	.word	TSDB_CODE_INVALID_SQL
	.word	.LC1
	.size	httpSendTaosdInvalidSqlErrorResp, .-httpSendTaosdInvalidSqlErrorResp
	.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
