	.file	"extr_util.c_safe_strcpy.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	safe_strcpy
	.type	safe_strcpy, @function
safe_strcpy:
.LFB0:
	.cfi_startproc
	endbr64
	xor	eax, eax
	sub	rdx, 1
	mov	r8, rsi
	mov	r9, rdi
	jne	.L2
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	BYTE PTR [rdi+rax], cl
	add	rax, 1
	cmp	rax, rdx
	je	.L9
.L2:
	movzx	ecx, BYTE PTR [rsi+rax]
	lea	r8, [rsi+rax]
	lea	r9, [rdi+rax]
	test	cl, cl
	jne	.L4
.L3:
	mov	BYTE PTR [r9], 0
	xor	eax, eax
	cmp	BYTE PTR [r8], 0
	sete	al
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	lea	r9, [rdi+rax]
	lea	r8, [rsi+rax]
	xor	eax, eax
	mov	BYTE PTR [r9], 0
	cmp	BYTE PTR [r8], 0
	sete	al
	ret
	.cfi_endproc
.LFE0:
	.size	safe_strcpy, .-safe_strcpy
	.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_util.c_safe_strcpy.c"
	.text
	.align	2
	.global	safe_strcpy
	.syntax unified
	.arm
	.fpu softvfp
	.type	safe_strcpy, %function
safe_strcpy:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	subs	r2, r2, #1
	push	{r4, r5, r6, lr}
	moveq	r3, r1
	moveq	r5, r0
	beq	.L3
	mov	r6, r1
	mov	lr, r0
	mov	ip, #0
	b	.L4
.L5:
	cmp	ip, r2
	strb	r4, [lr]
	add	lr, r5, #1
	beq	.L9
.L4:
	ldrb	r4, [r6]	@ zero_extendqisi2
	mov	r3, r6
	cmp	r4, #0
	mov	r5, lr
	add	ip, ip, #1
	add	r6, r6, #1
	bne	.L5
.L3:
	mov	r2, #0
	strb	r2, [r5]
	ldrb	r0, [r3]	@ zero_extendqisi2
	clz	r0, r0
	lsr	r0, r0, #5
	pop	{r4, r5, r6, pc}
.L9:
	add	r5, r0, ip
	add	r3, r1, ip
	b	.L3
	.size	safe_strcpy, .-safe_strcpy
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
