	.file	"extr_wakeup.c_wakeup_source_record.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	wakeup_source_record, @function
wakeup_source_record:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	xor	esi, esi
	mov	rbx, rdi
	lea	rdi, deleted_ws[rip]
	call	spin_lock_irqsave@PLT
	cmp	QWORD PTR 32[rbx], 0
	jne	.L7
	xor	esi, esi
	lea	rdi, deleted_ws[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	spin_unlock_irqrestore@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	esi, DWORD PTR 48[rbx]
	mov	rdi, QWORD PTR deleted_ws[rip+40]
	call	ktime_add@PLT
	mov	esi, DWORD PTR 44[rbx]
	mov	rdi, QWORD PTR deleted_ws[rip+32]
	mov	QWORD PTR deleted_ws[rip+40], rax
	call	ktime_add@PLT
	mov	esi, DWORD PTR 40[rbx]
	mov	edi, DWORD PTR deleted_ws[rip+24]
	mov	QWORD PTR deleted_ws[rip+32], rax
	call	ktime_compare@PLT
	test	rax, rax
	jle	.L3
	mov	eax, DWORD PTR deleted_ws[rip+24]
.L4:
	mov	DWORD PTR deleted_ws[rip+24], eax
	mov	eax, DWORD PTR 32[rbx]
	xor	esi, esi
	lea	rdi, deleted_ws[rip]
	add	DWORD PTR deleted_ws[rip+20], eax
	mov	eax, DWORD PTR 24[rbx]
	add	DWORD PTR deleted_ws[rip+16], eax
	mov	eax, DWORD PTR 16[rbx]
	add	DWORD PTR deleted_ws[rip+12], eax
	mov	eax, DWORD PTR 8[rbx]
	add	DWORD PTR deleted_ws[rip+8], eax
	mov	eax, DWORD PTR [rbx]
	add	DWORD PTR deleted_ws[rip+4], eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	spin_unlock_irqrestore@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	eax, DWORD PTR 40[rbx]
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	wakeup_source_record, .-wakeup_source_record
	.comm	deleted_ws,48,32
	.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_wakeup.c_wakeup_source_record.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wakeup_source_record, %function
wakeup_source_record:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	ldr	r4, .L11
	mov	r1, #0
	mov	r0, r4
	bl	spin_lock_irqsave
	ldr	r3, [r5, #16]
	cmp	r3, #0
	bne	.L10
	pop	{r4, r5, r6, lr}
	mov	r1, #0
	ldr	r0, .L11
	b	spin_unlock_irqrestore
.L10:
	ldr	r1, [r5, #28]
	ldr	r0, [r4, #32]
	bl	ktime_add
	mov	r3, r0
	ldr	r1, [r5, #24]
	ldr	r0, [r4, #28]
	str	r3, [r4, #32]
	bl	ktime_add
	mov	r3, r0
	ldr	r1, [r5, #20]
	ldr	r0, [r4, #24]
	str	r3, [r4, #28]
	bl	ktime_compare
	ldr	r3, [r5, #16]
	ldr	ip, [r4, #20]
	cmp	r0, #0
	add	ip, ip, r3
	ldr	r0, [r4, #16]
	ldr	r3, [r5, #12]
	ldrle	r2, [r5, #20]
	ldrgt	r2, [r4, #24]
	ldr	r1, [r4, #12]
	add	r0, r0, r3
	ldr	r3, [r5, #8]
	str	r2, [r4, #24]
	add	r1, r1, r3
	ldr	r2, [r4, #8]
	ldr	r3, [r5, #4]
	ldr	lr, [r5]
	add	r2, r2, r3
	ldr	r3, [r4, #4]
	str	r0, [r4, #16]
	add	r3, r3, lr
	str	r1, [r4, #12]
	str	ip, [r4, #20]
	str	r2, [r4, #8]
	str	r3, [r4, #4]
	mov	r1, #0
	pop	{r4, r5, r6, lr}
	ldr	r0, .L11
	b	spin_unlock_irqrestore
.L12:
	.align	2
.L11:
	.word	deleted_ws
	.size	wakeup_source_record, .-wakeup_source_record
	.comm	deleted_ws,36,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
