	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evtag_unmarshal_int            ## -- Begin function evtag_unmarshal_int
	.p2align	4, 0x90
_evtag_unmarshal_int:                   ## @evtag_unmarshal_int
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_decode_tag_internal
	movl	$-1, %r14d
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.1:
	cmpq	%r12, -48(%rbp)
	jne	LBB0_6
## %bb.2:
	leaq	-40(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_evtag_decode_int
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.3:
	movq	%rbx, %rdi
	callq	_evbuffer_get_length
	cmpq	-40(%rbp), %rax
	jl	LBB0_6
## %bb.4:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_decode_int_internal
	movl	%eax, %r15d
	movq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_evbuffer_drain
	testl	%r15d, %r15d
	js	LBB0_6
## %bb.5:
	movl	%r15d, %eax
	cmpq	%rax, -40(%rbp)
	movl	$-1, %r14d
	cmovael	%r15d, %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evtag_unmarshal_int            ; -- Begin function evtag_unmarshal_int
	.p2align	2
_evtag_unmarshal_int:                   ; @evtag_unmarshal_int
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	add	x0, sp, #8
	mov	x1, x19
	mov	w2, #1
	bl	_decode_tag_internal
	ldr	x8, [sp, #8]
	cmn	w0, #1
	ccmp	x8, x21, #0, ne
	b.ne	LBB0_5
; %bb.1:
	mov	x0, sp
	mov	x1, x19
	bl	_evtag_decode_int
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.2:
	mov	x0, x19
	bl	_evbuffer_get_length
	ldr	x8, [sp]
	cmp	x0, x8
	b.lt	LBB0_5
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_decode_int_internal
	mov	x20, x0
	ldr	x1, [sp]
	mov	x0, x19
	bl	_evbuffer_drain
	tbnz	w20, #31, LBB0_5
; %bb.4:
	ldr	x8, [sp]
	cmp	x8, w20, uxtw
	csinv	w0, w20, wzr, hs
	b	LBB0_6
LBB0_5:
	mov	w0, #-1
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
