	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EvalSysrTokData                ## -- Begin function EvalSysrTokData
	.p2align	4, 0x90
_EvalSysrTokData:                       ## @EvalSysrTokData
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_LOG_POF_RECORD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_hysdn_addlog
LBB0_2:
	cmpl	$2, %r15d
	jge	LBB0_3
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_40
LBB0_3:
	movl	%r15d, %r9d
	leaq	(%rbx,%r9), %r8
	leaq	(%rbx,%r9), %rax
	addq	$-2, %rax
	movb	$-1, %sil
	cmpq	%rbx, %rax
	jbe	LBB0_21
## %bb.4:
	cmpl	$3, %r15d
	jne	LBB0_7
## %bb.5:
	xorl	%esi, %esi
	movq	%rbx, %rdx
LBB0_15:
	testb	$1, %r9b
	je	LBB0_20
## %bb.16:
	leal	(%rsi,%rsi), %eax
	testb	%sil, %sil
	js	LBB0_17
## %bb.18:
	movb	(%rdx), %cl
	jmp	LBB0_19
LBB0_7:
	leaq	-2(%r9), %rdi
	andq	$-2, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	movzbl	1(%rdx), %eax
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	addb	%al, %sil
	addq	$2, %rdx
	addq	$-2, %rdi
	je	LBB0_15
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%rsi,%rsi), %eax
	testb	%sil, %sil
	js	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movzbl	(%rdx), %ecx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_8 Depth=1
	movl	%eax, %ecx
	orb	$1, %cl
	movzbl	(%rdx), %eax
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	addb	%cl, %al
	leal	(%rax,%rax), %esi
	testb	%al, %al
	jns	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%esi, %eax
	orb	$1, %al
	movzbl	1(%rdx), %esi
	jmp	LBB0_14
LBB0_17:
	movl	%eax, %ecx
	orb	$1, %cl
	movb	(%rdx), %al
LBB0_19:
	addb	%cl, %al
	movl	%eax, %esi
LBB0_20:
	notb	%sil
LBB0_21:
	cmpb	%sil, -1(%r8)
	jne	LBB0_22
## %bb.23:
	cmpl	$2, %r15d
	jl	LBB0_39
## %bb.24:
	decl	%r15d
	movq	_SYSR_TOK_END@GOTPCREL(%rip), %r13
	xorl	%r12d, %r12d
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.4(%rip), %rsi
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_hysdn_addlog
LBB0_38:                                ##   in Loop: Header=BB0_25 Depth=1
	movzbl	1(%rbx), %eax
	leaq	2(%rax), %rcx
	addq	%rax, %rbx
	addq	$2, %rbx
	subl	%ecx, %r15d
	jle	LBB0_39
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %edx
	cmpb	(%r13), %dl
	je	LBB0_42
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	movzbl	1(%rbx), %ecx
	leal	2(%rcx), %eax
	cmpl	%eax, %r15d
	jb	LBB0_27
## %bb.28:                              ##   in Loop: Header=BB0_25 Depth=1
	cmpb	$-128, %dl
	je	LBB0_35
## %bb.29:                              ##   in Loop: Header=BB0_25 Depth=1
	cmpb	$-127, %dl
	je	LBB0_33
## %bb.30:                              ##   in Loop: Header=BB0_25 Depth=1
	cmpb	$-126, %dl
	jne	LBB0_37
## %bb.31:                              ##   in Loop: Header=BB0_25 Depth=1
	cmpb	$1, %cl
	jne	LBB0_41
## %bb.32:                              ##   in Loop: Header=BB0_25 Depth=1
	movzbl	2(%rbx), %eax
	movb	%al, 4(%r14)
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_25 Depth=1
	cmpb	$6, %cl
	jne	LBB0_41
## %bb.36:                              ##   in Loop: Header=BB0_25 Depth=1
	movl	8(%r14), %edi
	leaq	2(%rbx), %rsi
	movl	$6, %edx
	callq	_memcpy
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_25 Depth=1
	cmpb	$1, %cl
	jne	LBB0_41
## %bb.34:                              ##   in Loop: Header=BB0_25 Depth=1
	movzbl	2(%rbx), %eax
	movb	%al, 5(%r14)
	jmp	LBB0_38
LBB0_22:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_40
LBB0_39:
	leaq	L_.str.5(%rip), %rsi
LBB0_40:
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_hysdn_addlog
LBB0_41:
	movl	$1, %r12d
LBB0_42:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_hysdn_addlog
	jmp	LBB0_41
	.cfi_endproc
                                        ## -- End function
	.comm	_LOG_POF_RECORD,4,2             ## @LOG_POF_RECORD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SysReady Token data length %d"

L_.str.1:                               ## @.str.1
	.asciz	"SysReady Token Data to short"

L_.str.2:                               ## @.str.2
	.asciz	"SysReady Token Data invalid CRC"

	.comm	_SYSR_TOK_END,1,0               ## @SYSR_TOK_END
L_.str.3:                               ## @.str.3
	.asciz	"token 0x%x invalid length %d"

L_.str.4:                               ## @.str.4
	.asciz	"unknown token 0x%02x length %d"

L_.str.5:                               ## @.str.5
	.asciz	"no end token found"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EvalSysrTokData                ; -- Begin function EvalSysrTokData
	.p2align	2
_EvalSysrTokData:                       ; @EvalSysrTokData
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _LOG_POF_RECORD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LOG_POF_RECORD@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	str	x21, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_hysdn_addlog
LBB0_2:
	cmp	w21, #2
	b.ge	LBB0_4
; %bb.3:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_30
LBB0_4:
	add	x8, x20, w21, uxtw
	sub	x9, x8, #2
	cmp	x9, x20
	b.ls	LBB0_10
; %bb.5:
	mov	w12, #0
	mov	x10, x20
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w12, [x10]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w12, w12, w11
	add	x10, x10, #1
	cmp	x10, x9
	b.hs	LBB0_11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w11, w12, #1
	tbz	w12, #7, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	orr	w12, w11, #0x1
	ldrb	w11, [x10]
	b	LBB0_7
LBB0_10:
	mov	w9, #255
	b	LBB0_12
LBB0_11:
	mvn	w9, w12
LBB0_12:
	ldurb	w8, [x8, #-1]
	cmp	w8, w9, uxtb
	b.ne	LBB0_28
; %bb.13:
	cmp	w21, #2
	b.lt	LBB0_29
; %bb.14:
	sub	w22, w21, #1
Lloh7:
	adrp	x23, _SYSR_TOK_END@GOTPAGE
Lloh8:
	ldr	x23, [x23, _SYSR_TOK_END@GOTPAGEOFF]
Lloh9:
	adrp	x21, l_.str.4@PAGE
Lloh10:
	add	x21, x21, l_.str.4@PAGEOFF
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=1
	stp	x8, x9, [sp]
	mov	x0, x19
	mov	x1, x21
	bl	_hysdn_addlog
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	ldrb	w8, [x20, #1]
	add	x8, x8, #2
	sub	w22, w22, w8
	add	x20, x20, x8
	cmp	w22, #0
	b.le	LBB0_29
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x20]
	ldrb	w9, [x23]
	cmp	w8, w9
	b.eq	LBB0_33
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldrb	w9, [x20, #1]
	add	w10, w9, #2
	cmp	w22, w10
	b.lo	LBB0_34
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
	cmp	w8, #128
	b.eq	LBB0_24
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=1
	cmp	w8, #129
	b.eq	LBB0_26
; %bb.21:                               ;   in Loop: Header=BB0_17 Depth=1
	cmp	w8, #130
	b.ne	LBB0_15
; %bb.22:                               ;   in Loop: Header=BB0_17 Depth=1
	cmp	w9, #1
	b.ne	LBB0_31
; %bb.23:                               ;   in Loop: Header=BB0_17 Depth=1
	ldrb	w8, [x20, #2]
	strb	w8, [x19, #4]
	b	LBB0_16
LBB0_24:                                ;   in Loop: Header=BB0_17 Depth=1
	cmp	w9, #6
	b.ne	LBB0_31
; %bb.25:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w0, [x19, #8]
	add	x1, x20, #2
	mov	w2, #6
	bl	_memcpy
	b	LBB0_16
LBB0_26:                                ;   in Loop: Header=BB0_17 Depth=1
	cmp	w9, #1
	b.ne	LBB0_31
; %bb.27:                               ;   in Loop: Header=BB0_17 Depth=1
	ldrb	w8, [x20, #2]
	strb	w8, [x19, #5]
	b	LBB0_16
LBB0_28:
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_30
LBB0_29:
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_30:
	mov	x0, x19
	bl	_hysdn_addlog
LBB0_31:
	mov	w0, #1
LBB0_32:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_33:
	mov	w0, #0
	b	LBB0_32
LBB0_34:
	stp	x8, x9, [sp]
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_30
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_LOG_POF_RECORD,4,2             ; @LOG_POF_RECORD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SysReady Token data length %d"

l_.str.1:                               ; @.str.1
	.asciz	"SysReady Token Data to short"

l_.str.2:                               ; @.str.2
	.asciz	"SysReady Token Data invalid CRC"

	.comm	_SYSR_TOK_END,1,0               ; @SYSR_TOK_END
l_.str.3:                               ; @.str.3
	.asciz	"token 0x%x invalid length %d"

l_.str.4:                               ; @.str.4
	.asciz	"unknown token 0x%02x length %d"

l_.str.5:                               ; @.str.5
	.asciz	"no end token found"

.subsections_via_symbols
