	.file	"extr_malloc.c_sqlite3DbSpanDup.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sqlite3DbSpanDup
	.type	sqlite3DbSpanDup, @function
sqlite3DbSpanDup:
.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
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	add	rbp, 1
.L2:
	movsx	edi, BYTE PTR 0[rbp]
	call	sqlite3Isspace@PLT
	test	rax, rax
	jne	.L3
	sub	rbx, rbp
	movsx	rbx, ebx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	movsx	edi, BYTE PTR -1[rbp+rbx]
	sub	rbx, 1
	call	sqlite3Isspace@PLT
	test	rax, rax
	je	.L6
.L5:
	xor	edi, edi
	test	ebx, ebx
	mov	r13d, ebx
	setg	dil
	call	ALWAYS@PLT
	test	rax, rax
	jne	.L4
.L6:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	edx, r13d
	mov	rsi, rbp
	mov	rdi, r12
	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
	jmp	sqlite3DbStrNDup@PLT
	.cfi_endproc
.LFE0:
	.size	sqlite3DbSpanDup, .-sqlite3DbSpanDup
	.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_malloc.c_sqlite3DbSpanDup.c"
	.text
	.align	2
	.global	sqlite3DbSpanDup
	.syntax unified
	.arm
	.fpu softvfp
	.type	sqlite3DbSpanDup, %function
sqlite3DbSpanDup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r0
	mov	r4, r1
	mov	r5, r2
.L2:
	mov	r6, r4
	ldrb	r0, [r4], #1	@ zero_extendqisi2
	bl	sqlite3Isspace
	cmp	r0, #0
	bne	.L2
	sub	r4, r5, r6
	b	.L3
.L4:
	ldrb	r0, [r5, #-1]!	@ zero_extendqisi2
	bl	sqlite3Isspace
	cmp	r0, #0
	beq	.L6
	sub	r4, r4, #1
.L3:
	cmp	r4, #0
	movle	r0, #0
	movgt	r0, #1
	bl	ALWAYS
	cmp	r0, #0
	bne	.L4
.L6:
	mov	r2, r4
	mov	r1, r6
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, lr}
	b	sqlite3DbStrNDup
	.size	sqlite3DbSpanDup, .-sqlite3DbSpanDup
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
