	.file	"extr_sds.c_sdscpylen.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sdscpylen
	.type	sdscpylen, @function
sdscpylen:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	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
	call	sdsalloc@PLT
	cmp	rax, r12
	jnb	.L2
	mov	rdi, rbp
	call	sdslen@PLT
	mov	rsi, r12
	mov	rdi, rbp
	sub	rsi, rax
	call	sdsMakeRoomFor@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L4
.L2:
	mov	rdx, r12
	mov	rsi, r13
	mov	rdi, rbp
	call	memcpy@PLT
	mov	BYTE PTR 0[rbp+r12], 0
	mov	rsi, r12
	mov	rdi, rbp
	call	sdssetlen@PLT
	mov	rax, rbp
.L1:
	pop	rbp
	.cfi_remember_state
	.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
	xor	eax, eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	sdscpylen, .-sdscpylen
	.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_sds.c_sdscpylen.c"
	.text
	.align	2
	.global	sdscpylen
	.syntax unified
	.arm
	.fpu softvfp
	.type	sdscpylen, %function
sdscpylen:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r2
	mov	r6, r1
	mov	r4, r0
	bl	sdsalloc
	cmp	r0, r5
	bcs	.L2
	mov	r0, r4
	bl	sdslen
	mov	r1, r0
	mov	r0, r4
	sub	r1, r5, r1
	bl	sdsMakeRoomFor
	subs	r4, r0, #0
	beq	.L1
.L2:
	mov	r1, r6
	mov	r2, r5
	mov	r0, r4
	bl	memcpy
	mov	r3, #0
	mov	r1, r5
	mov	r0, r4
	strb	r3, [r4, r5]
	bl	sdssetlen
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
	.size	sdscpylen, .-sdscpylen
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
