	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_referral_response
_validate_referral_response:            ## @validate_referral_response
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rax
	movq	_sec_status_secure@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%edi, (%rax)
	movq	8(%rax), %r8
	testq	%r8, %r8
	je	LBB0_12
## %bb.1:
	movq	16(%rax), %rcx
	cmpq	$1, %r8
	jne	LBB0_3
## %bb.2:
	xorl	%esi, %esi
LBB0_9:
	testb	$1, %r8b
	je	LBB0_12
## %bb.10:
	movq	(%rcx,%rsi,8), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %ecx
	cmpl	%edi, %ecx
	jae	LBB0_12
## %bb.11:
	movl	%ecx, (%rax)
	movl	%ecx, %edi
LBB0_12:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_sec_status_to_string
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_verbose                        ## TAILCALL
LBB0_3:
	movq	%r8, %rdx
	andq	$-2, %rdx
	xorl	%esi, %esi
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	$2, %rsi
	cmpq	%rsi, %rdx
	je	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rsi,8), %rbx
	movq	(%rbx), %rbx
	movl	(%rbx), %ebx
	cmpl	%edi, %ebx
	jae	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, (%rax)
	movl	%ebx, %edi
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rcx,%rsi,8), %rbx
	movq	(%rbx), %rbx
	movl	(%rbx), %ebx
	cmpl	%edi, %ebx
	jae	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, (%rax)
	movl	%ebx, %edi
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_sec_status_secure,4,2          ## @sec_status_secure
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"validated part of referral response as %s"

	.no_dead_strip	_validate_referral_response
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_referral_response
_validate_referral_response:            ; @validate_referral_response
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x0
Lloh0:
	adrp	x9, _sec_status_secure@GOTPAGE
Lloh1:
	ldr	x9, [x9, _sec_status_secure@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	str	w0, [x8]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_5
; %bb.1:
	ldr	x10, [x8, #16]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #8
	subs	x9, x9, #1
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10]
	ldr	x11, [x11]
	ldr	w11, [x11]
	cmp	w11, w0
	b.hs	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	w11, [x8]
	mov	x0, x11
	b	LBB0_2
LBB0_5:
Lloh3:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	bl	_sec_status_to_string
	mov	x2, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_verbose
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_sec_status_secure,4,2          ; @sec_status_secure
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"validated part of referral response as %s"

	.no_dead_strip	_validate_referral_response
.subsections_via_symbols
