	.file	"extr_19737.c_search_mem.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	search_mem
	.type	search_mem, @function
search_mem:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	rdi, rsi
	jb	.L4
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	add	rdi, 1
	cmp	rsi, rdi
	je	.L5
.L4:
	cmp	BYTE PTR [rdi], dl
	jne	.L3
	cmp	BYTE PTR 1[rdi], cl
	jne	.L3
	mov	eax, edi
	test	dil, dil
	je	.L3
	test	edi, 65280
	je	.L3
	test	eax, 16711680
	je	.L3
	mov	r8d, edi
	shr	r8d, 24
	je	.L3
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	search_mem, .-search_mem
	.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_19737.c_search_mem.c"
	.text
	.align	2
	.global	search_mem
	.syntax unified
	.arm
	.fpu softvfp
	.type	search_mem, %function
search_mem:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r0, r1
	bcs	.L5
	mov	ip, r0
	str	lr, [sp, #-4]!
	b	.L4
.L3:
	cmp	r1, ip
	beq	.L21
.L4:
	ldrb	lr, [ip]	@ zero_extendqisi2
	mov	r0, ip
	cmp	lr, r2
	add	ip, ip, #1
	bne	.L3
	ldrb	lr, [ip]	@ zero_extendqisi2
	cmp	lr, r3
	bne	.L3
	tst	r0, #255
	beq	.L3
	tst	r0, #65280
	beq	.L3
	tst	r0, #16711680
	beq	.L3
	lsrs	lr, r0, #24
	ldrne	pc, [sp], #4
	cmp	r1, ip
	bne	.L4
.L21:
	mov	r0, #0
	ldr	pc, [sp], #4
.L5:
	mov	r0, #0
	bx	lr
	.size	search_mem, .-search_mem
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
