	.file	"22548.c"
	.intel_syntax noprefix
	.text
	.type	twoway_wcsstr, @function
twoway_wcsstr:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	QWORD PTR -104[rbp], rdi
	mov	QWORD PTR -112[rbp], rsi
	mov	QWORD PTR -88[rbp], 0
	jmp	.L2
.L4:
	add	QWORD PTR -88[rbp], 1
.L2:
	mov	rax, QWORD PTR -88[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L3
	mov	rax, QWORD PTR -88[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L4
.L3:
	mov	rax, QWORD PTR -88[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L5
	mov	eax, 0
	jmp	.L6
.L5:
	mov	QWORD PTR -80[rbp], -1
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -56[rbp], 1
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -64[rbp], rax
	jmp	.L7
.L11:
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rcx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jne	.L8
	mov	rax, QWORD PTR -64[rbp]
	cmp	rax, QWORD PTR -56[rbp]
	jne	.L9
	mov	rax, QWORD PTR -56[rbp]
	add	QWORD PTR -72[rbp], rax
	mov	QWORD PTR -64[rbp], 1
	jmp	.L7
.L9:
	add	QWORD PTR -64[rbp], 1
	jmp	.L7
.L8:
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rcx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jle	.L10
	mov	rax, QWORD PTR -64[rbp]
	add	QWORD PTR -72[rbp], rax
	mov	QWORD PTR -64[rbp], 1
	mov	rax, QWORD PTR -72[rbp]
	sub	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -56[rbp], rax
	jmp	.L7
.L10:
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -56[rbp], 1
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -64[rbp], rax
.L7:
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	cmp	QWORD PTR -88[rbp], rax
	ja	.L11
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	QWORD PTR -80[rbp], -1
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -56[rbp], 1
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -64[rbp], rax
	jmp	.L12
.L16:
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rcx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jne	.L13
	mov	rax, QWORD PTR -64[rbp]
	cmp	rax, QWORD PTR -56[rbp]
	jne	.L14
	mov	rax, QWORD PTR -56[rbp]
	add	QWORD PTR -72[rbp], rax
	mov	QWORD PTR -64[rbp], 1
	jmp	.L12
.L14:
	add	QWORD PTR -64[rbp], 1
	jmp	.L12
.L13:
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rcx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jge	.L15
	mov	rax, QWORD PTR -64[rbp]
	add	QWORD PTR -72[rbp], rax
	mov	QWORD PTR -64[rbp], 1
	mov	rax, QWORD PTR -72[rbp]
	sub	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -56[rbp], rax
	jmp	.L12
.L15:
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -56[rbp], 1
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -64[rbp], rax
.L12:
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	cmp	QWORD PTR -88[rbp], rax
	ja	.L16
	mov	rax, QWORD PTR -80[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 1
	cmp	rdx, rax
	jbe	.L17
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -48[rbp], rax
	jmp	.L18
.L17:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -56[rbp], rax
.L18:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -112[rbp]
	add	rcx, rax
	mov	rax, QWORD PTR -112[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	wmemcmp@PLT
	test	eax, eax
	je	.L19
	mov	QWORD PTR -32[rbp], 0
	mov	rax, QWORD PTR -88[rbp]
	sub	rax, QWORD PTR -48[rbp]
	sub	rax, 1
	cmp	QWORD PTR -48[rbp], rax
	cmovnb	rax, QWORD PTR -48[rbp]
	add	rax, 1
	mov	QWORD PTR -56[rbp], rax
	jmp	.L20
.L19:
	mov	rax, QWORD PTR -88[rbp]
	sub	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -32[rbp], rax
.L20:
	mov	QWORD PTR -40[rbp], 0
	mov	rax, QWORD PTR -104[rbp]
	mov	QWORD PTR -96[rbp], rax
.L32:
	mov	rax, QWORD PTR -96[rbp]
	sub	rax, QWORD PTR -104[rbp]
	sar	rax, 2
	cmp	QWORD PTR -88[rbp], rax
	jbe	.L21
	mov	rax, QWORD PTR -88[rbp]
	or	rax, 63
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -96[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	wmemchr@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L22
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	sub	rax, QWORD PTR -104[rbp]
	sar	rax, 2
	cmp	QWORD PTR -88[rbp], rax
	jbe	.L21
	mov	eax, 0
	jmp	.L6
.L22:
	mov	rax, QWORD PTR -16[rbp]
	sal	rax, 2
	add	QWORD PTR -96[rbp], rax
.L21:
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 1
	cmp	QWORD PTR -40[rbp], rax
	cmovnb	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -64[rbp], rax
	jmp	.L23
.L25:
	add	QWORD PTR -64[rbp], 1
.L23:
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L24
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	je	.L25
.L24:
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L26
	mov	rax, QWORD PTR -64[rbp]
	sub	rax, QWORD PTR -48[rbp]
	sal	rax, 2
	add	QWORD PTR -104[rbp], rax
	mov	QWORD PTR -40[rbp], 0
	jmp	.L27
.L26:
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 1
	mov	QWORD PTR -64[rbp], rax
	jmp	.L28
.L30:
	sub	QWORD PTR -64[rbp], 1
.L28:
	mov	rax, QWORD PTR -64[rbp]
	cmp	rax, QWORD PTR -40[rbp]
	jbe	.L29
	mov	rax, QWORD PTR -64[rbp]
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	sal	rax, 2
	lea	rcx, -4[rax]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	je	.L30
.L29:
	mov	rax, QWORD PTR -64[rbp]
	cmp	rax, QWORD PTR -40[rbp]
	ja	.L31
	mov	rax, QWORD PTR -104[rbp]
	jmp	.L6
.L31:
	mov	rax, QWORD PTR -56[rbp]
	sal	rax, 2
	add	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -40[rbp], rax
.L27:
	jmp	.L32
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	twoway_wcsstr, .-twoway_wcsstr
	.globl	wcsstr
	.type	wcsstr, @function
wcsstr:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L34
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L35
.L34:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L36
	mov	eax, 0
	jmp	.L35
.L36:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	wcschr@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L37
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L38
.L37:
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L35
.L38:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L39
	mov	eax, 0
	jmp	.L35
.L39:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	twoway_wcsstr
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	wcsstr, .-wcsstr
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"22548.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	twoway_wcsstr, %function
twoway_wcsstr:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L2
.L4:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L2:
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L4
.L3:
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L5
	mov	r3, #0
	b	.L6
.L5:
	mvn	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-36]
	b	.L7
.L11:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r1, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r1, r3
	lsl	r3, r3, #2
	ldr	r1, [fp, #-60]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L8
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bne	.L9
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-40]
	mov	r3, #1
	str	r3, [fp, #-36]
	b	.L7
.L9:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	b	.L7
.L8:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r1, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r1, r3
	lsl	r3, r3, #2
	ldr	r1, [fp, #-60]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bls	.L10
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-40]
	mov	r3, #1
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-44]
	sub	r3, r2, r3
	str	r3, [fp, #-32]
	b	.L7
.L10:
	ldr	r3, [fp, #-40]
	add	r2, r3, #1
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	mov	r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-36]
.L7:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	bhi	.L11
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-16]
	mvn	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-36]
	b	.L12
.L16:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r1, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r1, r3
	lsl	r3, r3, #2
	ldr	r1, [fp, #-60]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L13
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bne	.L14
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-40]
	mov	r3, #1
	str	r3, [fp, #-36]
	b	.L12
.L14:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	b	.L12
.L13:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r1, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r1, r3
	lsl	r3, r3, #2
	ldr	r1, [fp, #-60]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bcs	.L15
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-40]
	mov	r3, #1
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-44]
	sub	r3, r2, r3
	str	r3, [fp, #-32]
	b	.L12
.L15:
	ldr	r3, [fp, #-40]
	add	r2, r3, #1
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	mov	r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-36]
.L12:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	bhi	.L16
	ldr	r3, [fp, #-44]
	add	r2, r3, #1
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	cmp	r2, r3
	bls	.L17
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-28]
	b	.L18
.L17:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-32]
.L18:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r1, r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r0, [fp, #-60]
	bl	wmemcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	sub	r2, r3, #1
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	movcs	r3, r2
	movcc	r3, r3
	add	r3, r3, #1
	str	r3, [fp, #-32]
	b	.L20
.L19:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-32]
	sub	r3, r2, r3
	str	r3, [fp, #-20]
.L20:
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-52]
.L32:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-56]
	sub	r3, r2, r3
	asr	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-48]
	cmp	r3, r2
	bls	.L21
	ldr	r3, [fp, #-48]
	orr	r3, r3, #63
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	mov	r1, #0
	ldr	r0, [fp, #-52]
	bl	wmemchr
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L22
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-52]
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-56]
	sub	r3, r2, r3
	asr	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-48]
	cmp	r3, r2
	bls	.L21
	mov	r3, #0
	b	.L6
.L22:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-52]
.L21:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	movcs	r3, r2
	movcc	r3, r3
	str	r3, [fp, #-36]
	b	.L23
.L25:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L23:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L24
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-56]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L25
.L24:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L26
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L27
.L26:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	b	.L28
.L30:
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	str	r3, [fp, #-36]
.L28:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bls	.L29
	ldr	r3, [fp, #-36]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r1, [fp, #-56]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L30
.L29:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bhi	.L31
	ldr	r3, [fp, #-56]
	b	.L6
.L31:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-24]
.L27:
	b	.L32
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	twoway_wcsstr, .-twoway_wcsstr
	.align	2
	.global	wcsstr
	.syntax unified
	.arm
	.fpu softvfp
	.type	wcsstr, %function
wcsstr:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L34
	ldr	r3, [fp, #-8]
	b	.L35
.L34:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L36
	mov	r3, #0
	b	.L35
.L36:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	wcschr
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L37
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L38
.L37:
	ldr	r3, [fp, #-8]
	b	.L35
.L38:
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L39
	mov	r3, #0
	b	.L35
.L39:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	twoway_wcsstr
	mov	r3, r0
.L35:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	wcsstr, .-wcsstr
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
