	.file	"extr_sisusb_init.c_SiS_SearchModeID.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	SiS_SearchModeID, @function
SiS_SearchModeID:
.LFB0:
	.cfi_startproc
	endbr64
	movzx	eax, WORD PTR [rsi]
	cmp	ax, 19
	ja	.L2
	cmp	ax, 3
	je	.L14
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdi, QWORD PTR [rdi]
	xor	eax, eax
	mov	WORD PTR [rdx], ax
	mov	eax, 1
	movzx	ecx, WORD PTR [rdi]
	cmp	cx, WORD PTR [rsi]
	jne	.L5
.L6:
	mov	eax, 1
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	movzx	ecx, ax
	mov	WORD PTR [rdx], ax
	add	eax, 1
	movzx	ecx, WORD PTR [rdi+rcx*2]
	cmp	cx, WORD PTR [rsi]
	je	.L6
.L5:
	cmp	cx, 255
	jne	.L15
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	xor	ecx, ecx
	mov	eax, 1
	mov	WORD PTR [rdx], cx
	ret
	.cfi_endproc
.LFE0:
	.size	SiS_SearchModeID, .-SiS_SearchModeID
	.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_sisusb_init.c_SiS_SearchModeID.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	SiS_SearchModeID, %function
SiS_SearchModeID:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldrh	r3, [r1]
	cmp	r3, #19
	bhi	.L2
	cmp	r3, #3
	beq	.L16
	mov	r0, #0
	bx	lr
.L2:
	mov	r3, #0
	push	{r4, lr}
	ldr	r4, [r0]
	strh	r3, [r2]	@ movhi
	ldrh	r3, [r1]
	ldrh	r0, [r4]
	cmp	r3, r0
	movne	r3, #1
	bne	.L5
.L6:
	mov	r0, #1
	pop	{r4, pc}
.L17:
	strh	r3, [r2]	@ movhi
	ldrh	r0, [r4, lr]
	ldrh	lr, [r1]
	lsl	r3, ip, #16
	cmp	lr, r0
	lsr	r3, r3, #16
	beq	.L6
.L5:
	cmp	r0, #255
	lsl	lr, r3, #1
	add	ip, r3, #1
	bne	.L17
	mov	r0, #0
	pop	{r4, pc}
.L16:
	mov	r3, #0
	mov	r0, #1
	strh	r3, [r2]	@ movhi
	bx	lr
	.size	SiS_SearchModeID, .-SiS_SearchModeID
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
