	.file	"extr_strlen.c_strlen.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	strlen
	.type	strlen, @function
strlen:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR LONGPTR_MASK[rip]
	not	rax
	and	rax, rdi
	mov	rdx, QWORD PTR [rax]
	mov	rsi, rdx
	sub	rdx, QWORD PTR mask01[rip]
	not	rsi
	and	rsi, QWORD PTR mask80[rip]
	test	rsi, rdx
	je	.L12
	add	rax, 8
	mov	rcx, rdi
	cmp	rdi, rax
	jnb	.L12
	mov	rdx, rdi
	jmp	.L4
.L3:
	add	rdx, 1
	cmp	rax, rdx
	je	.L12
.L4:
	cmp	BYTE PTR [rdx], 0
	jne	.L3
	mov	rax, rdx
	sub	rax, rcx
	ret
.L12:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	.p2align 4,,10
	.p2align 3
.L5:
	xor	edi, edi
	call	testbyte@PLT
	mov	edi, 1
	call	testbyte@PLT
	mov	edi, 2
	call	testbyte@PLT
	mov	edi, 3
	call	testbyte@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	strlen, .-strlen
	.comm	mask80,8,8
	.comm	mask01,8,8
	.comm	LONGPTR_MASK,8,8
	.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_strlen.c_strlen.c"
	.text
	.align	2
	.global	strlen
	.syntax unified
	.arm
	.fpu softvfp
	.type	strlen, %function
strlen:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r2, r0
	ldr	r3, .L14
	ldr	r0, .L14+4
	ldr	r3, [r3]
	ldr	ip, .L14+8
	bic	r3, r2, r3
	ldr	r1, [r3]
	ldr	r0, [r0]
	ldr	ip, [ip]
	bic	r0, r0, r1
	sub	r1, r1, ip
	tst	r0, r1
	beq	.L12
	add	r3, r3, #4
	cmp	r2, r3
	mov	r0, r2
	bcc	.L4
.L12:
	push	{r4, lr}
.L5:
	mov	r0, #0
	bl	testbyte
	mov	r0, #1
	bl	testbyte
	mov	r0, #2
	bl	testbyte
	mov	r0, #3
	bl	testbyte
	b	.L5
.L3:
	cmp	r0, r3
	beq	.L12
.L4:
	ldrb	ip, [r0]	@ zero_extendqisi2
	mov	r1, r0
	cmp	ip, #0
	add	r0, r0, #1
	bne	.L3
	sub	r0, r1, r2
	bx	lr
.L15:
	.align	2
.L14:
	.word	LONGPTR_MASK
	.word	mask80
	.word	mask01
	.size	strlen, .-strlen
	.comm	mask80,4,4
	.comm	mask01,4,4
	.comm	LONGPTR_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
