	.file	"extr_ep0.c_dwc3_ep0_xfer_complete.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"UNKNOWN ep0state %d\n"
	.text
	.p2align 4
	.type	dwc3_ep0_xfer_complete, @function
dwc3_ep0_xfer_complete:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rdx, QWORD PTR [rsi]
	mov	rax, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	edx, DWORD PTR DWC3_EP_TRANSFER_STARTED[rip]
	not	edx
	and	DWORD PTR 8[rax], edx
	mov	edx, DWORD PTR 4[rdi]
	mov	QWORD PTR [rax], 0
	mov	DWORD PTR [rdi], 0
	cmp	edx, 129
	je	.L2
	cmp	edx, 130
	je	.L3
	cmp	edx, 128
	je	.L8
	lea	rsi, .LC0[rip]
	mov	edi, 1
	jmp	WARN@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	jmp	dwc3_ep0_inspect_setup@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	jmp	dwc3_ep0_complete_status@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	jmp	dwc3_ep0_complete_data@PLT
	.cfi_endproc
.LFE0:
	.size	dwc3_ep0_xfer_complete, .-dwc3_ep0_xfer_complete
	.comm	DWC3_EP_TRANSFER_STARTED,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_ep0.c_dwc3_ep0_xfer_complete.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"UNKNOWN ep0state %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dwc3_ep0_xfer_complete, %function
dwc3_ep0_xfer_complete:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, #0
	ldr	lr, [r1]
	ldr	ip, [r0, #8]
	ldr	r2, .L10
	ldr	ip, [ip, lr, lsl #2]
	ldr	r5, [r2]
	ldr	lr, [ip, #4]
	ldr	r2, [r0, #4]
	bic	lr, lr, r5
	cmp	r2, #129
	stm	ip, {r4, lr}
	str	r4, [r0]
	beq	.L2
	cmp	r2, #130
	beq	.L3
	cmp	r2, #128
	beq	.L9
	pop	{r4, r5, lr}
	mov	r0, #1
	ldr	r1, .L10+4
	b	WARN
.L2:
	pop	{r4, r5, lr}
	b	dwc3_ep0_inspect_setup
.L9:
	pop	{r4, r5, lr}
	b	dwc3_ep0_complete_status
.L3:
	pop	{r4, r5, lr}
	b	dwc3_ep0_complete_data
.L11:
	.align	2
.L10:
	.word	DWC3_EP_TRANSFER_STARTED
	.word	.LC0
	.size	dwc3_ep0_xfer_complete, .-dwc3_ep0_xfer_complete
	.comm	DWC3_EP_TRANSFER_STARTED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
