	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_verify_fd                      ## -- Begin function verify_fd
	.p2align	4, 0x90
_verify_fd:                             ## @verify_fd
	.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	%rcx, %rbx
	movl	%edx, %r14d
	movq	%rsi, %r15
	movl	%edi, %r12d
	testq	%rcx, %rcx
	je	LBB0_1
LBB0_2:
	movl	(%rbx), %edi
	callq	_S_ISREG
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_1:
	leaq	-40(%rbp), %rbx
	movl	%r12d, %edi
	movq	%rbx, %rsi
	callq	_fstat
	testq	%rax, %rax
	je	LBB0_2
LBB0_4:
	movl	%r12d, %edi
	movq	%r15, %rsi
	callq	_fingerprint_info_lookup
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movl	%r12d, %edi
	movq	%r15, %rsi
	movq	%rax, %rdx
	movl	%r14d, %ecx
	callq	_verify_fingerprint
                                        ## kill: def $eax killed $eax def $rax
	leal	-128(%rax), %ecx
	cmpl	$3, %ecx
	jb	LBB0_9
## %bb.7:
	movq	_VE_FINGERPRINT_WRONG@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	callq	_ve_error_set
	movq	_VE_FINGERPRINT_NONE@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
LBB0_9:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: no entry"

	.comm	_VE_FINGERPRINT_NONE,4,2        ## @VE_FINGERPRINT_NONE
	.comm	_VE_FINGERPRINT_WRONG,4,2       ## @VE_FINGERPRINT_WRONG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_verify_fd                      ; -- Begin function verify_fd
	.p2align	2
_verify_fd:                             ; @verify_fd
	.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	x22, x3
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	cbnz	x3, LBB0_2
; %bb.1:
	add	x22, sp, #8
	add	x1, sp, #8
	mov	x0, x21
	bl	_fstat
	cbnz	x0, LBB0_3
LBB0_2:
	ldr	w0, [x22]
	bl	_S_ISREG
	cbz	w0, LBB0_6
LBB0_3:
	mov	x0, x21
	mov	x1, x19
	bl	_fingerprint_info_lookup
	cbz	x0, LBB0_5
; %bb.4:
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
	mov	x3, x20
	bl	_verify_fingerprint
	sub	w8, w0, #128
Lloh0:
	adrp	x9, _VE_FINGERPRINT_WRONG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VE_FINGERPRINT_WRONG@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, #3
	csel	w0, w0, w9, lo
	b	LBB0_6
LBB0_5:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_ve_error_set
Lloh5:
	adrp	x8, _VE_FINGERPRINT_NONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VE_FINGERPRINT_NONE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: no entry"

	.comm	_VE_FINGERPRINT_NONE,4,2        ; @VE_FINGERPRINT_NONE
	.comm	_VE_FINGERPRINT_WRONG,4,2       ; @VE_FINGERPRINT_WRONG
.subsections_via_symbols
