	.file	"extr_udc-xilinx.c_xudc_epconfig.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	xudc_epconfig, @function
xudc_epconfig:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edx, DWORD PTR [rdi]
	mov	eax, DWORD PTR 4[rdi]
	mov	rsi, QWORD PTR 40[rdi]
	sal	eax, 28
	sal	edx, 29
	or	edx, eax
	mov	eax, DWORD PTR 48[rdi]
	or	edx, DWORD PTR 8[rdi]
	mov	edi, DWORD PTR 0[rbp]
	sal	eax, 15
	or	edx, eax
	call	[QWORD PTR 8[rbp]]
	mov	edx, DWORD PTR 12[rbx]
	mov	rsi, QWORD PTR XUSB_EP_BUF0COUNT_OFFSET[rip]
	mov	edi, DWORD PTR 0[rbp]
	add	rsi, QWORD PTR 40[rbx]
	call	[QWORD PTR 8[rbp]]
	mov	rsi, QWORD PTR XUSB_EP_BUF1COUNT_OFFSET[rip]
	mov	edx, DWORD PTR 16[rbx]
	add	rsi, QWORD PTR 40[rbx]
	mov	edi, DWORD PTR 0[rbp]
	call	[QWORD PTR 8[rbp]]
	cmp	QWORD PTR 32[rbx], 0
	je	.L2
	mov	ecx, DWORD PTR 20[rbx]
	mov	edx, 1
	mov	rsi, QWORD PTR XUSB_BUFFREADY_OFFSET[rip]
	mov	edi, DWORD PTR 0[rbp]
	sal	edx, cl
	call	[QWORD PTR 8[rbp]]
.L2:
	cmp	QWORD PTR 24[rbx], 0
	je	.L1
	mov	ecx, DWORD PTR XUSB_STATUS_EP_BUFF2_SHIFT[rip]
	mov	rax, QWORD PTR 8[rbp]
	mov	edx, 1
	add	ecx, DWORD PTR 20[rbx]
	mov	edi, DWORD PTR 0[rbp]
	mov	rsi, QWORD PTR XUSB_BUFFREADY_OFFSET[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	sal	edx, cl
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	rax
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	xudc_epconfig, .-xudc_epconfig
	.comm	XUSB_STATUS_EP_BUFF2_SHIFT,4,4
	.comm	XUSB_EP_BUF1COUNT_OFFSET,8,8
	.comm	XUSB_EP_BUF0COUNT_OFFSET,8,8
	.comm	XUSB_BUFFREADY_OFFSET,8,8
	.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_udc-xilinx.c_xudc_epconfig.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xudc_epconfig, %function
xudc_epconfig:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldm	r0, {r2, r3}
	mov	r5, r1
	mov	r4, r0
	ldr	r1, [r0, #8]
	lsl	r3, r3, #28
	orr	r3, r3, r2, lsl #29
	ldr	r2, [r0, #36]
	orr	r3, r3, r1
	orr	r2, r3, r2, lsl #15
	ldr	r1, [r0, #32]
	ldr	r3, [r5, #4]
	ldr	r0, [r5]
	blx	r3
	ldr	r3, .L9
	ldr	r1, [r4, #32]
	ldr	r2, [r3]
	ldr	r0, [r5]
	add	r1, r1, r2
	ldr	r3, [r5, #4]
	ldr	r2, [r4, #12]
	blx	r3
	ldr	r3, .L9+4
	ldr	r1, [r4, #32]
	ldr	r2, [r3]
	ldr	r0, [r5]
	ldr	r3, [r5, #4]
	add	r1, r1, r2
	ldr	r2, [r4, #16]
	blx	r3
	ldr	r3, [r4, #28]
	cmp	r3, #0
	beq	.L2
	mov	r1, #1
	ldr	r3, .L9+8
	ldr	r2, [r4, #20]
	lsl	r2, r1, r2
	ldr	r1, [r3]
	ldm	r5, {r0, r3}
	blx	r3
.L2:
	ldr	r3, [r4, #24]
	cmp	r3, #0
	popeq	{r4, r5, r6, pc}
	mov	r2, #1
	ldr	r1, .L9+12
	ldr	r3, [r4, #20]
	ldr	r0, [r1]
	ldr	r1, .L9+8
	add	r3, r3, r0
	lsl	r2, r2, r3
	ldr	r1, [r1]
	ldm	r5, {r0, r3}
	pop	{r4, r5, r6, lr}
	bx	r3
.L10:
	.align	2
.L9:
	.word	XUSB_EP_BUF0COUNT_OFFSET
	.word	XUSB_EP_BUF1COUNT_OFFSET
	.word	XUSB_BUFFREADY_OFFSET
	.word	XUSB_STATUS_EP_BUFF2_SHIFT
	.size	xudc_epconfig, .-xudc_epconfig
	.comm	XUSB_STATUS_EP_BUFF2_SHIFT,4,4
	.comm	XUSB_EP_BUF1COUNT_OFFSET,4,4
	.comm	XUSB_EP_BUF0COUNT_OFFSET,4,4
	.comm	XUSB_BUFFREADY_OFFSET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
