	.file	"extr_s3c-hsotg.c_ep_from_windex.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ep_from_windex, @function
ep_from_windex:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, esi
	and	eax, 127
	cmp	esi, 255
	jg	.L4
	cmp	DWORD PTR S3C_HSOTG_EPS[rip], eax
	jl	.L4
	mov	rdx, QWORD PTR [rdi]
	movsx	rcx, eax
	lea	r8, [rdx+rcx*4]
	test	eax, eax
	je	.L1
	xor	eax, eax
	test	DWORD PTR USB_DIR_IN[rip], esi
	setne	al
	cmp	DWORD PTR [r8], eax
	mov	eax, 0
	cmovne	r8, rax
.L1:
	mov	rax, r8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	xor	r8d, r8d
	mov	rax, r8
	ret
	.cfi_endproc
.LFE0:
	.size	ep_from_windex, .-ep_from_windex
	.comm	USB_DIR_IN,4,4
	.comm	S3C_HSOTG_EPS,4,4
	.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_s3c-hsotg.c_ep_from_windex.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ep_from_windex, %function
ep_from_windex:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	cmp	r1, #255
	and	r3, r1, #127
	bgt	.L4
	ldr	r2, .L10
	ldr	r2, [r2]
	cmp	r2, r3
	blt	.L4
	ldr	r2, [r0]
	cmp	r3, #0
	add	r0, r2, r3, lsl #2
	bxeq	lr
	ldr	ip, .L10+4
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [ip]
	tst	r1, r3
	movne	r3, #1
	moveq	r3, #0
	cmp	r2, r3
	movne	r0, #0
	bx	lr
.L4:
	mov	r0, #0
	bx	lr
.L11:
	.align	2
.L10:
	.word	S3C_HSOTG_EPS
	.word	USB_DIR_IN
	.size	ep_from_windex, .-ep_from_windex
	.comm	USB_DIR_IN,4,4
	.comm	S3C_HSOTG_EPS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
