	.file	"extr_alarmtimer.c_alarmtimer_enqueue.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	alarmtimer_enqueue, @function
alarmtimer_enqueue:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	r12, 4[rsi]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	eax, DWORD PTR [rsi]
	test	DWORD PTR ALARMTIMER_STATE_ENQUEUED[rip], eax
	jne	.L8
.L2:
	mov	rsi, r12
	call	timerqueue_add@PLT
	mov	eax, DWORD PTR ALARMTIMER_STATE_ENQUEUED[rip]
	or	DWORD PTR [rbx], eax
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rsi, r12
	mov	QWORD PTR 8[rsp], rdi
	call	timerqueue_del@PLT
	mov	rdi, QWORD PTR 8[rsp]
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	alarmtimer_enqueue, .-alarmtimer_enqueue
	.comm	ALARMTIMER_STATE_ENQUEUED,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_alarmtimer.c_alarmtimer_enqueue.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	alarmtimer_enqueue, %function
alarmtimer_enqueue:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	ldr	r7, .L9
	ldr	r2, [r5], #4
	ldr	r3, [r7]
	mov	r4, r1
	tst	r2, r3
	mov	r6, r0
	bne	.L8
.L2:
	mov	r1, r5
	mov	r0, r6
	bl	timerqueue_add
	ldr	r2, [r7]
	ldr	r3, [r4]
	orr	r3, r3, r2
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	mov	r1, r5
	bl	timerqueue_del
	b	.L2
.L10:
	.align	2
.L9:
	.word	ALARMTIMER_STATE_ENQUEUED
	.size	alarmtimer_enqueue, .-alarmtimer_enqueue
	.comm	ALARMTIMER_STATE_ENQUEUED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
