	.file	"extr_strncat.c_strncat.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	strncat
	.type	strncat, @function
strncat:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, rdi
	test	rdx, rdx
	je	.L3
	cmp	BYTE PTR [rdi], 0
	mov	rcx, rdi
	je	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	add	rcx, 1
	cmp	BYTE PTR [rcx], 0
	jne	.L5
.L4:
	lea	r8, [rcx+rdx]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	cmp	rcx, r8
	je	.L13
.L6:
	movzx	edx, BYTE PTR [rsi]
	add	rsi, 1
	add	rcx, 1
	mov	BYTE PTR -1[rcx], dl
	test	dl, dl
	jne	.L7
.L3:
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	mov	BYTE PTR [rcx], 0
	ret
	.cfi_endproc
.LFE0:
	.size	strncat, .-strncat
	.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_strncat.c_strncat.c"
	.text
	.align	2
	.global	strncat
	.syntax unified
	.arm
	.fpu softvfp
	.type	strncat, %function
strncat:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	cmp	r2, #0
	bxeq	lr
	ldrb	r3, [r0]	@ zero_extendqisi2
	cmp	r3, #0
	mov	r3, r0
	beq	.L4
.L5:
	ldrb	ip, [r3, #1]!	@ zero_extendqisi2
	cmp	ip, #0
	bne	.L5
.L4:
	sub	r1, r1, #1
	add	ip, r3, r2
.L6:
	ldrb	r2, [r1, #1]!	@ zero_extendqisi2
	cmp	r2, #0
	strb	r2, [r3], #1
	bxeq	lr
	cmp	r3, ip
	bne	.L6
	mov	r2, #0
	strb	r2, [r3]
	bx	lr
	.size	strncat, .-strncat
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
