	.file	"extr_mig_strncpy.c_mig_strncpy.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mig_strncpy
	.type	mig_strncpy, @function
mig_strncpy:
.LFB0:
	.cfi_startproc
	endbr64
	xor	eax, eax
	test	edx, edx
	jle	.L1
	mov	eax, 1
	cmp	edx, 1
	jne	.L4
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L12:
	add	eax, 1
	cmp	edx, eax
	je	.L3
.L4:
	movzx	ecx, BYTE PTR [rsi]
	add	rsi, 1
	add	rdi, 1
	mov	BYTE PTR -1[rdi], cl
	test	cl, cl
	jne	.L12
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	mov	BYTE PTR [rdi], 0
	ret
	.cfi_endproc
.LFE0:
	.size	mig_strncpy, .-mig_strncpy
	.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_mig_strncpy.c_mig_strncpy.c"
	.text
	.align	2
	.global	mig_strncpy
	.syntax unified
	.arm
	.fpu softvfp
	.type	mig_strncpy, %function
mig_strncpy:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	cmp	r2, #0
	mov	r3, r0
	ble	.L5
	cmp	r2, #1
	beq	.L6
	mov	r0, #1
	sub	r2, r2, #1
	add	ip, r3, r2
	sub	r1, r1, #1
.L4:
	ldrb	r2, [r1, #1]!	@ zero_extendqisi2
	cmp	r2, #0
	strb	r2, [r3], #1
	bxeq	lr
	cmp	r3, ip
	add	r0, r0, #1
	bne	.L4
.L3:
	mov	r3, #0
	strb	r3, [ip]
	bx	lr
.L5:
	mov	r0, #0
	bx	lr
.L6:
	mov	r0, r2
	mov	ip, r3
	b	.L3
	.size	mig_strncpy, .-mig_strncpy
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
