	.file	"extr_timer.c_timer_serialize.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"state"
.LC1:
	.string	"result"
.LC2:
	.string	"last-trigger-realtime"
.LC3:
	.string	"last-trigger-monotonic"
	.text
	.p2align 4
	.type	timer_serialize, @function
timer_serialize:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	TIMER@PLT
	mov	rdi, r12
	mov	rbx, rax
	call	assert@PLT
	mov	rdi, rbp
	call	assert@PLT
	mov	rdi, r13
	call	assert@PLT
	mov	edi, DWORD PTR 20[rbx]
	call	timer_state_to_string@PLT
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	mov	edx, eax
	call	serialize_item@PLT
	mov	edi, DWORD PTR 16[rbx]
	call	timer_result_to_string@PLT
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	mov	edx, eax
	call	serialize_item@PLT
	mov	rdx, QWORD PTR [rbx]
	test	rdx, rdx
	jle	.L2
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	serialize_usec@PLT
.L2:
	mov	rdx, QWORD PTR 8[rbx]
	test	rdx, rdx
	jle	.L3
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	call	serialize_usec@PLT
.L3:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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
	.cfi_endproc
.LFE0:
	.size	timer_serialize, .-timer_serialize
	.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_timer.c_timer_serialize.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"state\000"
	.align	2
.LC1:
	.ascii	"result\000"
	.align	2
.LC2:
	.ascii	"last-trigger-realtime\000"
	.align	2
.LC3:
	.ascii	"last-trigger-monotonic\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	timer_serialize, %function
timer_serialize:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r6, r2
	mov	r7, r0
	bl	TIMER
	mov	r4, r0
	mov	r0, r7
	bl	assert
	mov	r0, r5
	bl	assert
	mov	r0, r6
	bl	assert
	ldr	r0, [r4, #12]
	bl	timer_state_to_string
	ldr	r1, .L6
	mov	r2, r0
	mov	r0, r5
	bl	serialize_item
	ldr	r0, [r4, #8]
	bl	timer_result_to_string
	ldr	r1, .L6+4
	mov	r2, r0
	mov	r0, r5
	bl	serialize_item
	ldr	r2, [r4]
	cmp	r2, #0
	ble	.L2
	mov	r0, r5
	ldr	r1, .L6+8
	bl	serialize_usec
.L2:
	ldr	r2, [r4, #4]
	cmp	r2, #0
	ble	.L3
	mov	r0, r5
	ldr	r1, .L6+12
	bl	serialize_usec
.L3:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	timer_serialize, .-timer_serialize
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
