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