	.file	"extr_db-proxy.c_find_table_name.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"INTO"
.LC1:
	.string	"TABLE"
.LC2:
	.string	"UPDATE"
.LC3:
	.string	"TIMEOUT"
.LC4:
	.string	"FROM"
	.text
	.p2align 4
	.globl	find_table_name
	.type	find_table_name, @function
find_table_name:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	rax, rcx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	xor	r14d, r14d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	QWORD PTR 8[rsp], rcx
	mov	rcx, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rcx
	xor	ecx, ecx
	mov	DWORD PTR [rdx], 0
	mov	DWORD PTR [rax], 0
	cmp	rdi, rsi
	jb	.L2
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L7:
	and	eax, -33
	sub	eax, 65
	cmp	al, 25
	ja	.L10
	cmp	ebx, 4
	je	.L47
	cmp	ebx, 5
	je	.L48
	cmp	ebx, 6
	je	.L49
	cmp	ebx, 7
	je	.L50
.L10:
	xor	r14d, r14d
.L14:
	lea	rdi, [r15+r13]
	cmp	rbp, rdi
	jbe	.L4
.L2:
	mov	rsi, rbp
	call	t_skipspc@PLT
	mov	rsi, rbp
	mov	rdi, rax
	mov	r15, rax
	call	t_getlex@PLT
	mov	ebx, eax
	test	eax, eax
	jle	.L4
	movzx	eax, BYTE PTR [r15]
	cmp	r14d, 1
	je	.L51
	movsx	r13, ebx
	cmp	r14d, 2
	jne	.L7
	lea	edx, -48[rax]
	cmp	dl, 9
	ja	.L7
	cmp	ebx, 3
	je	.L52
	cmp	ebx, 4
	jne	.L10
	cmp	BYTE PTR 2[r15], 46
	mov	r13d, 4
	jne	.L10
.L9:
	lea	r14, 32[rsp]
	mov	edx, ebx
	mov	rsi, r15
	movsx	r13, ebx
	mov	rdi, r14
	call	memcpy@PLT
	lea	eax, -1[rbx]
	lea	edx, -2[rbx]
	mov	rdi, r14
	cdqe
	movsx	rdx, edx
	lea	rsi, 24[rsp]
	movzx	ecx, BYTE PTR 32[rsp+rax]
	mov	BYTE PTR 32[rsp+rdx], cl
	mov	edx, 10
	mov	BYTE PTR 32[rsp+rax], 0
	call	strtoul@PLT
	lea	rdx, -1[r14+r13]
	cmp	QWORD PTR 24[rsp], rdx
	je	.L53
.L11:
	movzx	eax, BYTE PTR [r15]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L47:
	mov	edx, 4
	lea	rsi, .LC0[rip]
	mov	rdi, r15
	call	memcmp@PLT
	test	eax, eax
	jne	.L13
	mov	r14d, 1
.L55:
	lea	rdi, [r15+r13]
	cmp	rbp, rdi
	ja	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	xor	r15d, r15d
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L54
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r15
	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
.L13:
	.cfi_restore_state
	mov	edx, 4
	lea	rsi, .LC4[rip]
	mov	rdi, r15
	call	memcmp@PLT
	test	eax, eax
	jne	.L10
	mov	r14d, 1
	jmp	.L55
	.p2align 4,,10
	.p2align 3
.L48:
	mov	edx, 5
	lea	rsi, .LC1[rip]
	mov	rdi, r15
	call	memcmp@PLT
	test	eax, eax
	jne	.L10
	mov	r14d, 1
	jmp	.L55
	.p2align 4,,10
	.p2align 3
.L49:
	mov	edx, 6
	lea	rsi, .LC2[rip]
	mov	rdi, r15
	xor	r14d, r14d
	call	memcmp@PLT
	test	eax, eax
	sete	r14b
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L50:
	mov	edx, 7
	lea	rsi, .LC3[rip]
	mov	rdi, r15
	mov	r14d, 2
	call	memcmp@PLT
	test	eax, eax
	je	.L14
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L52:
	cmp	BYTE PTR 1[r15], 46
	mov	r13d, 3
	jne	.L10
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L51:
	mov	edx, eax
	and	edx, -33
	sub	edx, 65
	cmp	dl, 25
	jbe	.L56
	cmp	ebx, 2
	jle	.L4
	cmp	al, 96
	jne	.L4
	movsx	rax, ebx
	cmp	BYTE PTR -1[r15+rax], 96
	jne	.L4
	sub	ebx, 2
	add	r15, 1
	mov	DWORD PTR [r12], ebx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L56:
	mov	DWORD PTR [r12], ebx
	jmp	.L1
.L53:
	lea	edx, -1[rax]
	cmp	edx, 299
	ja	.L11
	mov	rcx, QWORD PTR 8[rsp]
	mov	DWORD PTR [rcx], eax
	jmp	.L11
.L54:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	find_table_name, .-find_table_name
	.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_db-proxy.c_find_table_name.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"INTO\000"
	.align	2
.LC1:
	.ascii	"FROM\000"
	.align	2
.LC2:
	.ascii	"TABLE\000"
	.align	2
.LC3:
	.ascii	"UPDATE\000"
	.align	2
.LC4:
	.ascii	"TIMEOUT\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	find_table_name
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_table_name, %function
find_table_name:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r1
	sub	sp, sp, #28
	mov	r1, r3
	str	r3, [sp, #4]
	mov	r3, #0
	ldr	ip, .L40
	str	r2, [sp]
	cmp	r0, r6
	ldr	ip, [ip]
	str	ip, [sp, #20]
	mov	ip,#0
	str	r3, [r2]
	str	r3, [r1]
	bcs	.L4
	mov	fp, r3
	ldr	r10, .L40+4
	ldr	r9, .L40+8
	ldr	r7, .L40+12
	ldr	r8, .L40+16
	b	.L2
.L34:
	cmp	r5, #4
	beq	.L30
	cmp	r5, #5
	beq	.L31
	cmp	r5, #6
	bne	.L15
	mov	r2, r5
	mov	r1, r10
	mov	r0, r4
	bl	memcmp
	clz	fp, r0
	lsr	fp, fp, #5
.L13:
	add	r0, r4, r5
	cmp	r6, r0
	bls	.L4
.L2:
	mov	r1, r6
	bl	t_skipspc
	mov	r1, r6
	mov	r4, r0
	bl	t_getlex
	subs	r5, r0, #0
	ble	.L4
	cmp	fp, #1
	ldrb	r2, [r4]	@ zero_extendqisi2
	beq	.L32
	cmp	fp, #2
	beq	.L33
.L7:
	bic	r2, r2, #32
	sub	r2, r2, #65
	cmp	r2, #25
	bls	.L34
.L10:
	mov	fp, #0
.L38:
	add	r0, r4, r5
	cmp	r6, r0
	bhi	.L2
.L4:
	mov	r4, #0
.L1:
	ldr	r3, .L40
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L35
	mov	r0, r4
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L33:
	sub	r3, r2, #48
	cmp	r3, #9
	bhi	.L7
	cmp	r5, #3
	beq	.L36
	cmp	r5, #4
	bne	.L10
	ldrb	r3, [r4, #2]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L10
.L9:
	mov	r2, r5
	mov	r1, r4
	add	r0, sp, #12
	bl	memcpy
	sub	fp, r5, #1
	add	r3, sp, #24
	add	ip, r3, fp
	ldrb	r2, [ip, #-12]	@ zero_extendqisi2
	add	r3, r3, r5
	strb	r2, [r3, #-14]
	mov	r3, #0
	mov	r2, #10
	add	r0, sp, #12
	add	r1, sp, #8
	strb	r3, [ip, #-12]
	bl	strtoul
	ldr	r2, [sp, #8]
	add	r3, sp, #12
	add	r3, r3, fp
	cmp	r2, r3
	beq	.L37
.L11:
	ldrb	r2, [r4]	@ zero_extendqisi2
	b	.L7
.L30:
	mov	r2, r5
	mov	r1, r7
	mov	r0, r4
	bl	memcmp
	cmp	r0, #0
	moveq	fp, #1
	beq	.L13
	mov	r2, r5
	mov	r1, r8
	mov	r0, r4
	bl	memcmp
	clz	fp, r0
	lsr	fp, fp, #5
	b	.L13
.L31:
	mov	r2, r5
	mov	r1, r9
	mov	r0, r4
	bl	memcmp
	clz	fp, r0
	lsr	fp, fp, #5
	b	.L13
.L15:
	cmp	r5, #7
	bne	.L10
	mov	r2, r5
	mov	r0, r4
	ldr	r1, .L40+20
	bl	memcmp
	cmp	r0, #0
	moveq	fp, #2
	beq	.L13
	mov	fp, #0
	b	.L38
.L36:
	ldrb	r3, [r4, #1]	@ zero_extendqisi2
	cmp	r3, #46
	beq	.L9
	mov	fp, #0
	b	.L38
.L32:
	bic	r3, r2, #32
	sub	r3, r3, #65
	cmp	r3, #25
	bls	.L39
	sub	r2, r2, #96
	clz	r2, r2
	cmp	r5, #2
	lsr	r2, r2, #5
	movle	r2, #0
	cmp	r2, #0
	beq	.L4
	add	r3, r4, r5
	ldrb	r3, [r3, #-1]	@ zero_extendqisi2
	cmp	r3, #96
	bne	.L4
	ldr	r3, [sp]
	sub	r5, r5, #2
	str	r5, [r3]
	add	r4, r4, #1
	b	.L1
.L39:
	ldr	r3, [sp]
	str	r5, [r3]
	b	.L1
.L37:
	sub	r3, r0, #1
	cmp	r3, #300
	ldrcc	r3, [sp, #4]
	strcc	r0, [r3]
	b	.L11
.L35:
	bl	__stack_chk_fail
.L41:
	.align	2
.L40:
	.word	.LC5
	.word	.LC3
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.word	.LC4
	.size	find_table_name, .-find_table_name
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
