	.file	"extr_ohci-s3c2410.c_s3c2410_hcd_oc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	s3c2410_hcd_oc, @function
s3c2410_hcd_oc:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L1
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbp, QWORD PTR [rdi]
	xor	edi, edi
	call	local_irq_save@PLT
	xor	eax, eax
.L4:
	bt	r12d, eax
	lea	r13d, 1[rax]
	jnc	.L3
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR S3C_HCDFLG_USED[rip], eax
	jne	.L16
.L3:
	add	rbp, 12
	mov	eax, 1
	cmp	r13d, 2
	jne	.L4
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	edi, edi
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 8
	jmp	local_irq_restore@PLT
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	DWORD PTR 4[rbp], 1
	xor	edx, edx
	mov	esi, r13d
	mov	rdi, rbx
	mov	DWORD PTR 8[rbp], 1
	call	s3c2410_usb_set_power@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	ret
	.cfi_endproc
.LFE0:
	.size	s3c2410_hcd_oc, .-s3c2410_hcd_oc
	.comm	S3C_HCDFLG_USED,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_ohci-s3c2410.c_s3c2410_hcd_oc.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	s3c2410_hcd_oc, %function
s3c2410_hcd_oc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	subs	r6, r0, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r0, #0
	ldr	r5, [r6]
	mov	r7, r1
	mov	r8, #1
	bl	local_irq_save
	mov	r3, #0
	ldr	r9, .L15
	add	r5, r5, #12
.L4:
	asr	r2, r7, r3
	tst	r2, #1
	add	r4, r3, #1
	beq	.L3
	ldr	r2, [r5, #-12]
	ldr	r3, [r9]
	tst	r2, r3
	bne	.L14
.L3:
	cmp	r4, #2
	mov	r3, #1
	add	r5, r5, #12
	bne	.L4
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r0, #0
	b	local_irq_restore
.L14:
	mov	r2, #0
	mov	r1, r4
	mov	r0, r6
	str	r8, [r5, #-8]
	str	r8, [r5, #-4]
	bl	s3c2410_usb_set_power
	b	.L3
.L16:
	.align	2
.L15:
	.word	S3C_HCDFLG_USED
	.size	s3c2410_hcd_oc, .-s3c2410_hcd_oc
	.comm	S3C_HCDFLG_USED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
