	.file	"extr_sdiff.c_astrcat.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"astrcat"
.LC1:
	.string	"\n"
	.text
	.p2align 4
	.type	astrcat, @function
astrcat:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rbx, QWORD PTR [rdi]
	test	rbx, rbx
	je	.L10
	cmp	rbx, QWORD PTR oldstr.1939[rip]
	mov	r14, QWORD PTR offset.1937[rip]
	je	.L6
	mov	rdi, rbx
	call	strlen@PLT
	mov	QWORD PTR oldstr.1939[rip], rbx
	mov	QWORD PTR offset.1937[rip], rax
	mov	r14, rax
.L6:
	mov	rdi, r13
	call	strlen@PLT
	mov	rdi, rbx
	lea	r12, [rax+r14]
	lea	r15, 2[r12]
	mov	rsi, r15
	call	realloc@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L11
.L7:
	mov	QWORD PTR 0[rbp], rbx
	mov	rdx, r15
	lea	rdi, [rbx+r14]
	add	r12, 1
	sub	rdx, r14
	lea	rsi, .LC1[rip]
	call	strlcpy@PLT
	mov	rdi, QWORD PTR offset.1937[rip]
	mov	rdx, r15
	mov	rsi, r13
	sub	rdx, rdi
	add	rdi, QWORD PTR 0[rbp]
	call	strlcat@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	QWORD PTR offset.1937[rip], r12
	mov	QWORD PTR oldstr.1939[rip], rax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L10:
	.cfi_restore_state
	mov	rdi, rsi
	call	strdup@PLT
	mov	QWORD PTR 0[rbp], rax
	mov	rbx, rax
	test	rax, rax
	je	.L12
.L3:
	mov	rdi, rbx
	call	strlen@PLT
	mov	QWORD PTR oldstr.1939[rip], rbx
	mov	QWORD PTR offset.1937[rip], rax
	jmp	.L1
.L11:
	lea	rsi, .LC0[rip]
	mov	edi, 2
	call	err@PLT
	mov	r14, QWORD PTR offset.1937[rip]
	jmp	.L7
.L12:
	lea	rsi, .LC0[rip]
	mov	edi, 2
	call	err@PLT
	mov	rbx, QWORD PTR 0[rbp]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	astrcat, .-astrcat
	.local	oldstr.1939
	.comm	oldstr.1939,8,8
	.local	offset.1937
	.comm	offset.1937,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_sdiff.c_astrcat.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"astrcat\000"
	.align	2
.LC1:
	.ascii	"\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	astrcat, %function
astrcat:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r8, [r0]
	mov	r4, r0
	cmp	r8, #0
	mov	r9, r1
	beq	.L10
	ldr	r6, .L13
	ldr	r3, [r6, #4]
	cmp	r8, r3
	ldreq	r7, [r6]
	beq	.L6
	mov	r0, r8
	bl	strlen
	mov	r7, r0
	stm	r6, {r7, r8}
.L6:
	mov	r0, r9
	bl	strlen
	add	r5, r0, r7
	add	r10, r5, #2
	mov	r0, r8
	mov	r1, r10
	bl	realloc
	subs	r8, r0, #0
	beq	.L11
.L7:
	ldr	r1, .L13+4
	sub	r2, r10, r7
	str	r8, [r4]
	add	r0, r8, r7
	bl	strlcpy
	ldr	r3, [r6]
	ldr	r0, [r4]
	sub	r2, r10, r3
	add	r0, r0, r3
	mov	r1, r9
	bl	strlcat
	ldr	r3, [r4]
	add	r5, r5, #1
	str	r3, [r6, #4]
	str	r5, [r6]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	mov	r0, r1
	bl	strdup
	cmp	r0, #0
	mov	r5, r0
	str	r0, [r4]
	beq	.L12
.L3:
	mov	r0, r5
	bl	strlen
	ldr	r3, .L13
	stm	r3, {r0, r5}
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	mov	r0, #2
	ldr	r1, .L13+8
	bl	err
	ldr	r7, [r6]
	b	.L7
.L12:
	mov	r0, #2
	ldr	r1, .L13+8
	bl	err
	ldr	r5, [r4]
	b	.L3
.L14:
	.align	2
.L13:
	.word	.LANCHOR0
	.word	.LC1
	.word	.LC0
	.size	astrcat, .-astrcat
	.bss
	.align	2
	.set	.LANCHOR0,. + 0
	.type	offset.4221, %object
	.size	offset.4221, 4
offset.4221:
	.space	4
	.type	oldstr.4223, %object
	.size	oldstr.4223, 4
oldstr.4223:
	.space	4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
