	.file	"extr_event-parse.c_event_read_id.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ID"
.LC1:
	.string	":"
	.text
	.p2align 4
	.type	event_read_id, @function
event_read_id:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	rsi, .LC0[rip]
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR EVENT_ITEM[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	read_expected_item@PLT
	test	rax, rax
	js	.L8
	mov	edi, DWORD PTR EVENT_OP[rip]
	lea	rsi, .LC1[rip]
	call	read_expected@PLT
	test	rax, rax
	js	.L8
	mov	edi, DWORD PTR EVENT_ITEM[rip]
	mov	rsi, rsp
	call	read_expect_type@PLT
	test	rax, rax
	js	.L10
	mov	rdi, QWORD PTR [rsp]
	xor	edx, edx
	xor	esi, esi
	call	strtoul@PLT
	mov	rdi, QWORD PTR [rsp]
	mov	r12d, eax
	call	free_token@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	mov	rdi, QWORD PTR [rsp]
	call	free_token@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	mov	r12d, -1
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	event_read_id, .-event_read_id
	.comm	EVENT_OP,4,4
	.comm	EVENT_ITEM,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_event-parse.c_event_read_id.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ID\000"
	.align	2
.LC1:
	.ascii	":\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	event_read_id, %function
event_read_id:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r4, .L12
	ldr	r3, .L12+4
	sub	sp, sp, #8
	ldr	r1, .L12+8
	ldr	r0, [r4]
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	read_expected_item
	cmp	r0, #0
	blt	.L8
	ldr	r3, .L12+12
	ldr	r1, .L12+16
	ldr	r0, [r3]
	bl	read_expected
	cmp	r0, #0
	blt	.L8
	mov	r1, sp
	ldr	r0, [r4]
	bl	read_expect_type
	cmp	r0, #0
	blt	.L10
	mov	r2, #0
	ldr	r0, [sp]
	mov	r1, r2
	bl	strtoul
	mov	r4, r0
	ldr	r0, [sp]
	bl	free_token
.L1:
	ldr	r3, .L12+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L10:
	ldr	r0, [sp]
	bl	free_token
.L8:
	mvn	r4, #0
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	EVENT_ITEM
	.word	.LC2
	.word	.LC0
	.word	EVENT_OP
	.word	.LC1
	.size	event_read_id, .-event_read_id
	.comm	EVENT_OP,4,4
	.comm	EVENT_ITEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
