	.file	"extr_event_tagging.c_evtag_unmarshal_header.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	evtag_unmarshal_header
	.type	evtag_unmarshal_header, @function
evtag_unmarshal_header:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	mov	edx, 1
	mov	rdi, rsi
	mov	rsi, rbp
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	decode_tag_internal@PLT
	cmp	eax, -1
	je	.L4
	mov	rdi, rsp
	mov	rsi, rbp
	call	evtag_decode_int@PLT
	cmp	eax, -1
	je	.L4
	mov	rdi, rbp
	call	evbuffer_get_length@PLT
	mov	r8, rax
	mov	rax, QWORD PTR [rsp]
	cmp	r8, rax
	jl	.L4
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L11
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	eax, -1
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	evtag_unmarshal_header, .-evtag_unmarshal_header
	.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_tagging.c_evtag_unmarshal_header.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	evtag_unmarshal_header
	.syntax unified
	.arm
	.fpu softvfp
	.type	evtag_unmarshal_header, %function
evtag_unmarshal_header:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r3, .L12
	mov	r0, r1
	sub	sp, sp, #8
	mov	r1, r4
	mov	r2, #1
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	decode_tag_internal
	cmn	r0, #1
	beq	.L4
	mov	r1, r4
	mov	r0, sp
	bl	evtag_decode_int
	cmn	r0, #1
	beq	.L4
	mov	r0, r4
	bl	evbuffer_get_length
	mov	r3, r0
	ldr	r0, [sp]
	cmp	r3, r0
	blt	.L4
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L4:
	mvn	r0, #0
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC0
	.size	evtag_unmarshal_header, .-evtag_unmarshal_header
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
