	.file	"extr_dsbr100.c_usb_dsbr100_suspend.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"dsbr100_stop failed\n"
.LC1:
	.string	"going into suspend..\n"
	.text
	.p2align 4
	.type	usb_dsbr100_suspend, @function
usb_dsbr100_suspend:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	usb_get_intfdata@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR STARTED[rip]
	cmp	QWORD PTR [rbx], rax
	je	.L6
.L2:
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	call	dev_info@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdi, rbx
	call	dsbr100_stop@PLT
	test	eax, eax
	js	.L7
.L3:
	lea	r12, 8[rbx]
	mov	rdi, r12
	call	mutex_lock@PLT
	mov	rax, QWORD PTR STARTED[rip]
	mov	rdi, r12
	mov	QWORD PTR [rbx], rax
	call	mutex_unlock@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L7:
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	dev_warn@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	usb_dsbr100_suspend, .-usb_dsbr100_suspend
	.comm	STARTED,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_dsbr100.c_usb_dsbr100_suspend.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"dsbr100_stop failed\012\000"
	.align	2
.LC1:
	.ascii	"going into suspend..\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usb_dsbr100_suspend, %function
usb_dsbr100_suspend:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	bl	usb_get_intfdata
	ldr	r6, .L8
	ldr	r2, [r0]
	ldr	r3, [r6]
	cmp	r2, r3
	beq	.L6
.L2:
	mov	r0, r5
	ldr	r1, .L8+4
	bl	dev_info
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	mov	r4, r0
	bl	dsbr100_stop
	cmp	r0, #0
	blt	.L7
.L3:
	add	r7, r4, #4
	mov	r0, r7
	bl	mutex_lock
	ldr	r3, [r6]
	mov	r0, r7
	str	r3, [r4]
	bl	mutex_unlock
	b	.L2
.L7:
	mov	r0, r5
	ldr	r1, .L8+8
	bl	dev_warn
	b	.L3
.L9:
	.align	2
.L8:
	.word	STARTED
	.word	.LC1
	.word	.LC0
	.size	usb_dsbr100_suspend, .-usb_dsbr100_suspend
	.comm	STARTED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
