	.file	"extr_oxu210hp-hcd.c_ehci_port_power.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"up"
.LC1:
	.string	"down"
.LC2:
	.string	"...power%s ports...\n"
	.text
	.p2align 4
	.type	ehci_port_power, @function
ehci_port_power:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	edi, DWORD PTR [rdi]
	call	HCS_PPC@PLT
	test	eax, eax
	je	.L1
	test	r13d, r13d
	lea	rax, .LC1[rip]
	mov	rdi, r12
	lea	rdx, .LC0[rip]
	lea	rsi, .LC2[rip]
	cmove	rdx, rax
	call	oxu_dbg@PLT
	mov	edi, DWORD PTR [r12]
	call	HCS_N_PORTS@PLT
	mov	ebx, eax
	test	eax, eax
	je	.L4
	.p2align 4,,10
	.p2align 3
.L7:
	test	r13d, r13d
	mov	r14d, DWORD PTR USB_PORT_FEAT_POWER[rip]
	mov	ebp, DWORD PTR SetPortFeature[rip]
	mov	rdi, r12
	cmove	ebp, DWORD PTR ClearPortFeature[rip]
	call	oxu_to_hcd@PLT
	xor	r9d, r9d
	xor	r8d, r8d
	mov	ecx, ebx
	mov	edi, eax
	mov	edx, r14d
	mov	esi, ebp
	call	oxu_hub_control@PLT
	sub	ebx, 1
	jne	.L7
.L4:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	edi, 20
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	msleep@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ehci_port_power, .-ehci_port_power
	.comm	USB_PORT_FEAT_POWER,4,4
	.comm	SetPortFeature,4,4
	.comm	ClearPortFeature,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_oxu210hp-hcd.c_ehci_port_power.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"up\000"
	.align	2
.LC1:
	.ascii	"down\000"
	.align	2
.LC2:
	.ascii	"...power%s ports...\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ehci_port_power, %function
ehci_port_power:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r0
	sub	sp, sp, #8
	ldr	r0, [r0]
	mov	r7, r1
	bl	HCS_PPC
	cmp	r0, #0
	beq	.L1
	ldr	r3, .L15
	cmp	r7, #0
	ldr	r2, .L15+4
	ldr	r1, .L15+8
	moveq	r2, r3
	mov	r0, r6
	bl	oxu_dbg
	ldr	r0, [r6]
	bl	HCS_N_PORTS
	subs	r4, r0, #0
	beq	.L4
	mov	r5, #0
	ldr	r8, .L15+12
	ldr	r10, .L15+16
	ldr	r9, .L15+20
.L7:
	mov	r0, r6
	bl	oxu_to_hcd
	cmp	r7, #0
	mov	r3, r4
	ldrne	r1, [r9]
	ldreq	r1, [r10]
	ldr	r2, [r8]
	str	r5, [sp, #4]
	str	r5, [sp]
	bl	oxu_hub_control
	subs	r4, r4, #1
	bne	.L7
.L4:
	mov	r0, #20
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	msleep
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L16:
	.align	2
.L15:
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.word	USB_PORT_FEAT_POWER
	.word	ClearPortFeature
	.word	SetPortFeature
	.size	ehci_port_power, .-ehci_port_power
	.comm	USB_PORT_FEAT_POWER,4,4
	.comm	SetPortFeature,4,4
	.comm	ClearPortFeature,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
