	.file	"extr_s3c2410_udc.c_s3c2410_udc_reinit.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	s3c2410_udc_reinit, @function
s3c2410_udc_reinit:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	INIT_LIST_HEAD@PLT
	mov	rdi, QWORD PTR 8[r12]
	call	INIT_LIST_HEAD@PLT
	mov	eax, DWORD PTR EP0_IDLE[rip]
	cmp	QWORD PTR S3C2410_ENDPOINTS[rip], 0
	mov	DWORD PTR 24[r12], eax
	je	.L1
	mov	rbp, QWORD PTR 16[r12]
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L6:
	mov	QWORD PTR 24[rbp], r12
	mov	rdi, rbp
	add	rbx, 1
	mov	QWORD PTR 16[rbp], 0
	mov	QWORD PTR 8[rbp], 0
	call	INIT_LIST_HEAD@PLT
	cmp	QWORD PTR S3C2410_ENDPOINTS[rip], rbx
	jbe	.L1
	mov	rdx, QWORD PTR 16[r12]
	lea	rax, [rbx+rbx*4]
	lea	rbp, [rdx+rax*8]
	test	rbx, rbx
	je	.L6
	lea	rdi, 32[rbp]
	mov	rsi, r12
	call	list_add_tail@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L1:
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	s3c2410_udc_reinit, .-s3c2410_udc_reinit
	.comm	S3C2410_ENDPOINTS,8,8
	.comm	EP0_IDLE,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_s3c2410_udc.c_s3c2410_udc_reinit.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	s3c2410_udc_reinit, %function
s3c2410_udc_reinit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	ldr	r8, .L14
	bl	INIT_LIST_HEAD
	ldr	r0, [r6, #4]
	bl	INIT_LIST_HEAD
	ldr	r3, .L14+4
	ldr	r2, [r8]
	ldr	r3, [r3]
	cmp	r2, #0
	str	r3, [r6, #12]
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r5, #0
	mov	r7, r5
	ldr	r4, [r6, #8]
.L6:
	mov	r0, r4
	str	r6, [r4, #12]
	str	r7, [r4, #8]
	str	r7, [r4, #4]
	bl	INIT_LIST_HEAD
	ldr	r3, [r8]
	add	r5, r5, #1
	cmp	r3, r5
	add	r3, r5, r5, lsl #2
	popls	{r4, r5, r6, r7, r8, pc}
	ldr	r4, [r6, #8]
	cmp	r5, #0
	add	r4, r4, r3, lsl #2
	beq	.L6
	mov	r1, r6
	add	r0, r4, #16
	bl	list_add_tail
	b	.L6
.L15:
	.align	2
.L14:
	.word	S3C2410_ENDPOINTS
	.word	EP0_IDLE
	.size	s3c2410_udc_reinit, .-s3c2410_udc_reinit
	.comm	S3C2410_ENDPOINTS,4,4
	.comm	EP0_IDLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
