	.file	"extr_buffalo-tftp.c_crypt_header.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	crypt_header, @function
crypt_header:
.LFB0:
	.cfi_startproc
	endbr64
	test	rsi, rsi
	jle	.L1
	mov	r9, rdi
	lea	r10, [rdi+rsi]
	.p2align 4,,10
	.p2align 3
.L3:
	movzx	eax, BYTE PTR [rdx]
	test	al, al
	je	.L5
	movzx	r8d, BYTE PTR [r9]
	xor	esi, esi
	xor	edi, edi
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	lea	edi, 1[rsi]
	movzx	eax, BYTE PTR [rdx+rdi]
	mov	rsi, rdi
	test	al, al
	je	.L5
.L6:
	cmp	r8b, al
	jne	.L4
	movzx	eax, BYTE PTR [rcx+rdi]
	mov	BYTE PTR [r9], al
.L5:
	add	r9, 1
	cmp	r9, r10
	jne	.L3
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	crypt_header, .-crypt_header
	.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_buffalo-tftp.c_crypt_header.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	crypt_header, %function
crypt_header:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #0
	bxle	lr
	push	{r4, r5, lr}
	mov	r4, r0
	mvn	lr, r2
	add	r5, r0, r1
.L3:
	ldrb	r1, [r2]	@ zero_extendqisi2
	cmp	r1, #0
	ldrbne	ip, [r4]	@ zero_extendqisi2
	addne	r0, r2, #1
	bne	.L6
	b	.L5
.L4:
	ldrb	r1, [r0], #1	@ zero_extendqisi2
	cmp	r1, #0
	beq	.L5
.L6:
	cmp	ip, r1
	add	r1, lr, r0
	bne	.L4
	ldrb	r1, [r3, r1]	@ zero_extendqisi2
	strb	r1, [r4]
.L5:
	add	r4, r4, #1
	cmp	r4, r5
	bne	.L3
	pop	{r4, r5, pc}
	.size	crypt_header, .-crypt_header
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
