	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vz89te_measurement_is_valid
_vz89te_measurement_is_valid:           ## @vz89te_measurement_is_valid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %r11
	movq	8(%rdi), %rax
	movl	(%rax), %esi
	leal	-1(%rsi), %r9d
	movl	$255, %edx
	cmpl	$2, %esi
	jl	LBB0_8
## %bb.1:
	movl	%r9d, %r8d
	cmpl	$1, %r9d
	jne	LBB0_3
## %bb.2:
	xorl	%esi, %esi
	xorl	%edi, %edi
	jmp	LBB0_5
LBB0_3:
	movl	%r8d, %r10d
	andl	$-2, %r10d
	xorl	%esi, %esi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r11,%rsi,4), %eax
	movl	4(%r11,%rsi,4), %edx
	leal	(%rax,%rdi), %ecx
	addl	$255, %ecx
                                        ## kill: def $eax killed $eax killed $rax
	addl	%edi, %eax
	cmovnsl	%eax, %ecx
	sarl	$8, %ecx
	addl	%eax, %ecx
	leal	(%rdx,%rcx), %edi
	addl	$255, %edi
	movl	%edx, %eax
	addl	%ecx, %eax
	cmovnsl	%eax, %edi
	sarl	$8, %edi
	addl	%eax, %edi
	addq	$2, %rsi
	cmpq	%rsi, %r10
	jne	LBB0_4
LBB0_5:
	testb	$1, %r8b
	je	LBB0_7
## %bb.6:
	movl	(%r11,%rsi,4), %eax
	movl	%eax, %ecx
	addl	%edi, %ecx
	leal	255(%rax,%rdi), %edi
	cmovnsl	%ecx, %edi
	sarl	$8, %edi
	addl	%ecx, %edi
LBB0_7:
	movl	$255, %edx
	subl	%edi, %edx
LBB0_8:
	movslq	%r9d, %rcx
	xorl	%eax, %eax
	cmpl	(%r11,%rcx,4), %edx
	setne	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_vz89te_measurement_is_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vz89te_measurement_is_valid
_vz89te_measurement_is_valid:           ; @vz89te_measurement_is_valid
	.cfi_startproc
; %bb.0:
	ldp	x8, x9, [x0]
	ldr	w10, [x9]
	sub	w9, w10, #1
	cmp	w10, #2
	b.lt	LBB0_4
; %bb.1:
	mov	w10, #0
	mov	x11, x9
	mov	x12, x8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x12], #4
	add	w10, w13, w10
	add	w13, w10, #255
	cmp	w10, #0
	csel	w13, w13, w10, lt
	add	w10, w10, w13, asr #8
	subs	x11, x11, #1
	b.ne	LBB0_2
; %bb.3:
	mov	w11, #255
	sub	w10, w11, w10
	b	LBB0_5
LBB0_4:
	mov	w10, #255
LBB0_5:
	ldr	w8, [x8, w9, sxtw #2]
	cmp	w10, w8
	cset	w0, ne
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_vz89te_measurement_is_valid
.subsections_via_symbols
