	.file	"extr_service.c_service_arm_timer.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"service-timer"
	.text
	.p2align 4
	.type	service_arm_timer, @function
service_arm_timer:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	assert@PLT
	mov	rdi, QWORD PTR [rbx]
	test	rdi, rdi
	jne	.L7
	xor	eax, eax
	cmp	DWORD PTR USEC_INFINITY[rip], r12d
	je	.L1
	mov	rdi, rbx
	mov	ebp, DWORD PTR service_dispatch_timer[rip]
	mov	r13d, DWORD PTR CLOCK_MONOTONIC[rip]
	call	UNIT@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	mov	ecx, r12d
	xor	r8d, r8d
	mov	rax, QWORD PTR [rax]
	push	rbx
	.cfi_def_cfa_offset 64
	mov	edx, r13d
	mov	r9d, ebp
	mov	rsi, rbx
	mov	edi, DWORD PTR [rax]
	call	sd_event_add_time@PLT
	pop	rdx
	.cfi_def_cfa_offset 56
	pop	rcx
	.cfi_def_cfa_offset 48
	test	eax, eax
	js	.L1
	mov	rdi, QWORD PTR [rbx]
	lea	rsi, .LC0[rip]
	call	sd_event_source_set_description@PLT
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L7:
	.cfi_restore_state
	mov	esi, r12d
	call	sd_event_source_set_time@PLT
	test	eax, eax
	js	.L1
	mov	rdi, QWORD PTR [rbx]
	mov	esi, DWORD PTR SD_EVENT_ONESHOT[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	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
	jmp	sd_event_source_set_enabled@PLT
	.cfi_endproc
.LFE0:
	.size	service_arm_timer, .-service_arm_timer
	.comm	service_dispatch_timer,4,4
	.comm	USEC_INFINITY,4,4
	.comm	SD_EVENT_ONESHOT,4,4
	.comm	CLOCK_MONOTONIC,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_service.c_service_arm_timer.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"service-timer\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	service_arm_timer, %function
service_arm_timer:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	sub	sp, sp, #16
	mov	r6, r1
	bl	assert
	ldr	r5, [r4]
	cmp	r5, #0
	bne	.L7
	ldr	r3, .L8
	ldr	r3, [r3]
	cmp	r3, r6
	beq	.L1
	mov	r0, r4
	bl	UNIT
	ldr	r2, .L8+4
	ldr	r3, [r0]
	ldr	r1, [r2]
	ldr	r2, .L8+8
	ldr	r0, [r3]
	str	r5, [sp]
	str	r1, [sp, #4]
	str	r4, [sp, #8]
	mov	r3, r6
	mov	r1, r4
	ldr	r2, [r2]
	bl	sd_event_add_time
	cmp	r0, #0
	movlt	r5, r0
	blt	.L1
	ldr	r0, [r4]
	ldr	r1, .L8+12
	bl	sd_event_source_set_description
.L1:
	mov	r0, r5
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L7:
	mov	r0, r5
	mov	r1, r6
	bl	sd_event_source_set_time
	subs	r5, r0, #0
	blt	.L1
	ldr	r3, .L8+16
	ldr	r0, [r4]
	ldr	r1, [r3]
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	sd_event_source_set_enabled
.L9:
	.align	2
.L8:
	.word	USEC_INFINITY
	.word	service_dispatch_timer
	.word	CLOCK_MONOTONIC
	.word	.LC0
	.word	SD_EVENT_ONESHOT
	.size	service_arm_timer, .-service_arm_timer
	.comm	service_dispatch_timer,4,4
	.comm	USEC_INFINITY,4,4
	.comm	SD_EVENT_ONESHOT,4,4
	.comm	CLOCK_MONOTONIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
