	.file	"extr_gdm_mux.c_gdm_mux_resume.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"usb resume - invalid state\n"
	.text
	.p2align 4
	.type	gdm_mux_resume, @function
gdm_mux_resume:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	usb_get_intfdata@PLT
	mov	rbp, QWORD PTR [rax]
	mov	rax, QWORD PTR PM_SUSPEND[rip]
	cmp	QWORD PTR 0[rbp], rax
	jne	.L9
	mov	rax, QWORD PTR PM_NORMAL[rip]
	cmp	QWORD PTR MAX_ISSUE_NUM[rip], 0
	mov	QWORD PTR 0[rbp], rax
	jle	.L4
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L5:
	mov	esi, DWORD PTR 8[rbp]
	mov	rdi, rbp
	add	rbx, 1
	call	gdm_mux_recv@PLT
	cmp	QWORD PTR MAX_ISSUE_NUM[rip], rbx
	jg	.L5
.L4:
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	eax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	gdm_mux_resume, .-gdm_mux_resume
	.comm	PM_SUSPEND,8,8
	.comm	PM_NORMAL,8,8
	.comm	MAX_ISSUE_NUM,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_gdm_mux.c_gdm_mux_resume.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"usb resume - invalid state\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gdm_mux_resume, %function
gdm_mux_resume:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	bl	usb_get_intfdata
	ldr	r3, .L10
	ldr	r5, [r0]
	ldr	r3, [r3]
	ldr	r2, [r5]
	cmp	r2, r3
	bne	.L9
	ldr	r6, .L10+4
	ldr	r3, .L10+8
	ldr	r2, [r6]
	ldr	r3, [r3]
	cmp	r2, #0
	str	r3, [r5]
	ble	.L4
	mov	r4, #0
.L5:
	mov	r0, r5
	ldr	r1, [r5, #4]
	bl	gdm_mux_recv
	ldr	r3, [r6]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L5
.L4:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r0, [r4]
	ldr	r1, .L10+12
	bl	dev_err
	mvn	r0, #0
	pop	{r4, r5, r6, pc}
.L11:
	.align	2
.L10:
	.word	PM_SUSPEND
	.word	MAX_ISSUE_NUM
	.word	PM_NORMAL
	.word	.LC0
	.size	gdm_mux_resume, .-gdm_mux_resume
	.comm	PM_SUSPEND,4,4
	.comm	PM_NORMAL,4,4
	.comm	MAX_ISSUE_NUM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
