	.file	"extr_main.c_device_resume_early.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"early driver "
	.text
	.p2align 4
	.type	device_resume_early, @function
device_resume_early:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	TRACE_DEVICE@PLT
	xor	edi, edi
	call	TRACE_RESUME@PLT
	cmp	QWORD PTR 16[rbx], 0
	jne	.L2
	cmp	QWORD PTR 8[rbx], 0
	jne	.L2
	mov	r12d, DWORD PTR [rbx]
	test	r12d, r12d
	je	.L2
	mov	esi, ebp
	mov	rdi, rbx
	call	dpm_wait_for_superior@PLT
	mov	rdi, rbx
	mov	rdx, rsp
	mov	esi, r13d
	call	dpm_subsys_resume_early_cb@PLT
	mov	rdi, rax
	test	rax, rax
	jne	.L3
	mov	rax, QWORD PTR 24[rbx]
	test	rax, rax
	je	.L3
	mov	rdi, QWORD PTR [rax]
	test	rdi, rdi
	jne	.L18
.L3:
	mov	rcx, QWORD PTR [rsp]
	mov	edx, r13d
	mov	rsi, rbx
	call	dpm_run_callback@PLT
	mov	DWORD PTR [rbx], 0
	mov	r12d, eax
.L2:
	mov	edi, r12d
	call	TRACE_RESUME@PLT
	mov	rdi, rbx
	call	pm_runtime_enable@PLT
	lea	rdi, 4[rbx]
	call	complete_all@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	lea	rax, .LC0[rip]
	mov	esi, r13d
	mov	QWORD PTR [rsp], rax
	call	pm_late_early_op@PLT
	mov	rdi, rax
	jmp	.L3
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	device_resume_early, .-device_resume_early
	.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_main.c_device_resume_early.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"early driver \000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	device_resume_early, %function
device_resume_early:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	ldr	r3, .L19
	sub	sp, sp, #12
	mov	r7, r1
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	TRACE_DEVICE
	mov	r0, #0
	bl	TRACE_RESUME
	ldr	r5, [r4, #12]
	cmp	r5, #0
	movne	r5, #0
	bne	.L2
	ldr	r3, [r4, #8]
	cmp	r3, #0
	bne	.L2
	ldr	r5, [r4]
	cmp	r5, #0
	beq	.L2
	mov	r1, r6
	mov	r0, r4
	bl	dpm_wait_for_superior
	mov	r2, sp
	mov	r1, r7
	mov	r0, r4
	bl	dpm_subsys_resume_early_cb
	cmp	r0, #0
	bne	.L3
	ldr	r3, [r4, #16]
	cmp	r3, #0
	beq	.L3
	ldr	r0, [r3]
	cmp	r0, #0
	bne	.L17
.L3:
	ldr	r3, [sp]
	mov	r2, r7
	mov	r1, r4
	bl	dpm_run_callback
	mov	r3, #0
	mov	r5, r0
	str	r3, [r4]
.L2:
	mov	r0, r5
	bl	TRACE_RESUME
	mov	r0, r4
	bl	pm_runtime_enable
	add	r0, r4, #4
	bl	complete_all
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L17:
	ldr	r3, .L19+4
	mov	r1, r7
	str	r3, [sp]
	bl	pm_late_early_op
	b	.L3
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC1
	.word	.LC0
	.size	device_resume_early, .-device_resume_early
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
