	.file	"extr_ehci-sysfs.c_uframe_periodic_max_store.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"rejecting invalid request for uframe_periodic_max=%u\n"
	.align 8
.LC1:
	.string	"cannot decrease uframe_periodic_max because periodic bandwidth is already allocated (%u > %u)\n"
	.align 8
.LC2:
	.string	"setting max periodic bandwidth to %u%% (== %u usec/uframe)\n"
	.align 8
.LC3:
	.string	"max periodic bandwidth set is non-standard\n"
	.text
	.p2align 4
	.type	uframe_periodic_max_store, @function
uframe_periodic_max_store:
.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
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rcx
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	dev_get_drvdata@PLT
	mov	edi, eax
	call	hcd_to_ehci@PLT
	xor	esi, esi
	lea	rdx, 4[rsp]
	mov	rdi, r12
	mov	rbp, rax
	call	kstrtouint@PLT
	test	rax, rax
	js	.L15
	mov	edx, DWORD PTR 4[rsp]
	lea	eax, -100[rdx]
	cmp	eax, 24
	ja	.L17
	lea	r12, 4[rbp]
	xor	esi, esi
	mov	r13, QWORD PTR EINVAL[rip]
	mov	rdi, r12
	call	spin_lock_irqsave@PLT
	mov	ecx, DWORD PTR 4[rsp]
	cmp	DWORD PTR 0[rbp], ecx
	jbe	.L5
	mov	eax, DWORD PTR EHCI_BANDWIDTH_SIZE[rip]
	test	eax, eax
	je	.L5
	xor	edi, edi
	xor	r14d, r14d
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR 8[rbp]
	mov	edx, r14d
	add	r14d, 1
	mov	esi, DWORD PTR [rax+rdx*4]
	call	max@PLT
	cmp	DWORD PTR EHCI_BANDWIDTH_SIZE[rip], r14d
	mov	edi, eax
	ja	.L6
	mov	ecx, DWORD PTR 4[rsp]
	cmp	ecx, eax
	jb	.L18
.L5:
	imul	edx, ecx, 100
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	xor	eax, eax
	imul	rdx, rdx, 274877907
	shr	rdx, 35
	call	ehci_info@PLT
	mov	eax, DWORD PTR 4[rsp]
	cmp	eax, 100
	je	.L8
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	call	ehci_warn@PLT
	mov	eax, DWORD PTR 4[rsp]
.L8:
	mov	DWORD PTR 0[rbp], eax
	mov	r13, rbx
.L7:
	xor	esi, esi
	mov	rdi, r12
	call	spin_unlock_irqrestore@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	ehci_info@PLT
.L15:
	mov	r13, QWORD PTR EINVAL[rip]
	neg	r13
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	rax, r13
	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
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	edx, eax
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	xor	eax, eax
	neg	r13
	call	ehci_info@PLT
	jmp	.L7
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	uframe_periodic_max_store, .-uframe_periodic_max_store
	.comm	EINVAL,8,8
	.comm	EHCI_BANDWIDTH_SIZE,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_ehci-sysfs.c_uframe_periodic_max_store.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"rejecting invalid request for uframe_periodic_max=%"
	.ascii	"u\012\000"
	.align	2
.LC1:
	.ascii	"cannot decrease uframe_periodic_max because periodi"
	.ascii	"c bandwidth is already allocated (%u > %u)\012\000"
	.align	2
.LC2:
	.ascii	"setting max periodic bandwidth to %u%% (== %u usec/"
	.ascii	"uframe)\012\000"
	.align	2
.LC3:
	.ascii	"max periodic bandwidth set is non-standard\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	uframe_periodic_max_store, %function
uframe_periodic_max_store:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r6, r3
	ldr	r3, .L23
	sub	sp, sp, #12
	mov	r4, r2
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	dev_get_drvdata
	bl	hcd_to_ehci
	mov	r2, sp
	mov	r5, r0
	mov	r1, #0
	mov	r0, r4
	bl	kstrtouint
	cmp	r0, #0
	blt	.L18
	ldr	r2, [sp]
	sub	r3, r2, #100
	cmp	r3, #24
	bhi	.L20
	ldr	r3, .L23+4
	add	r7, r5, #4
	mov	r0, r7
	mov	r1, #0
	ldr	r8, [r3]
	bl	spin_lock_irqsave
	ldr	r3, [sp]
	ldr	r2, [r5]
	cmp	r2, r3
	bls	.L5
	ldr	r9, .L23+8
	ldr	r2, [r9]
	cmp	r2, #0
	beq	.L5
	mov	r0, #0
	mov	r4, r0
.L6:
	ldr	r3, [r5, #8]
	ldr	r1, [r3, r4, lsl #2]
	bl	max
	ldr	r3, [r9]
	add	r4, r4, #1
	cmp	r3, r4
	bhi	.L6
	ldr	r3, [sp]
	cmp	r3, r0
	bcc	.L21
.L5:
	add	r2, r3, r3, lsl #2
	ldr	r1, .L23+12
	add	r2, r2, r2, lsl #2
	lsl	r2, r2, #2
	umull	r0, r2, r1, r2
	mov	r0, r5
	ldr	r1, .L23+16
	lsr	r2, r2, #3
	bl	ehci_info
	ldr	r3, [sp]
	cmp	r3, #100
	beq	.L8
	mov	r0, r5
	ldr	r1, .L23+20
	bl	ehci_warn
	ldr	r3, [sp]
.L8:
	str	r3, [r5]
.L7:
	mov	r0, r7
	mov	r1, #0
	bl	spin_unlock_irqrestore
	b	.L1
.L20:
	mov	r0, r5
	ldr	r1, .L23+24
	bl	ehci_info
.L18:
	ldr	r3, .L23+4
	ldr	r6, [r3]
	rsb	r6, r6, #0
.L1:
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L22
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L21:
	mov	r2, r0
	ldr	r1, .L23+28
	mov	r0, r5
	rsb	r6, r8, #0
	bl	ehci_info
	b	.L7
.L22:
	bl	__stack_chk_fail
.L24:
	.align	2
.L23:
	.word	.LC4
	.word	EINVAL
	.word	EHCI_BANDWIDTH_SIZE
	.word	274877907
	.word	.LC2
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.size	uframe_periodic_max_store, .-uframe_periodic_max_store
	.comm	EINVAL,4,4
	.comm	EHCI_BANDWIDTH_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
