	.file	"extr_grep.c_strchr_ns.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	strchr_ns, @function
strchr_ns:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	movsx	ebp, sil
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	esi, ebp
	mov	rbx, rdi
	call	strchr@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	cmp	rbx, rax
	jnb	.L1
	cmp	BYTE PTR -1[rax], 92
	je	.L11
.L1:
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, rax
	call	strlen@PLT
	lea	rdi, -1[r12]
	mov	rsi, r12
	lea	rdx, 1[rax]
	call	memmove@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	esi, ebp
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	strchr_ns
	.cfi_endproc
.LFE0:
	.size	strchr_ns, .-strchr_ns
	.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_grep.c_strchr_ns.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	strchr_ns, %function
strchr_ns:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r6, r1
	b	.L3
.L9:
	ldrb	r3, [r0, #-1]	@ zero_extendqisi2
	sub	r5, r0, #1
	cmp	r3, #92
	bne	.L1
	bl	strlen
	mov	r1, r4
	add	r2, r0, #1
	mov	r0, r5
	bl	memmove
	mov	r5, r4
.L3:
	mov	r1, r6
	mov	r0, r5
	bl	strchr
	cmp	r0, #0
	cmpne	r5, r0
	mov	r4, r0
	bcc	.L9
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
	.size	strchr_ns, .-strchr_ns
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
