	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_image_validate              ## -- Begin function pt_image_validate
	.p2align	4, 0x90
_pt_image_validate:                     ## @pt_image_validate
	.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
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.3:
	movl	%ecx, %r14d
	movq	%rdx, %r12
	movq	%rdi, %rbx
	movq	%r15, %rdi
	callq	_pt_msec_begin
	movq	%rax, %r13
	movq	%r15, %rdi
	callq	_pt_msec_end
	cmpq	%r12, %r13
	jg	LBB0_9
## %bb.4:
	cmpq	%r12, %rax
	jle	LBB0_9
## %bb.5:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.6:
	cmpl	%r14d, (%rdi)
	jne	LBB0_9
## %bb.7:
	addq	$4, %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_8
LBB0_9:
	movq	_pte_nomap@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_2:
	movq	_pte_internal@GOTPCREL(%rip), %rcx
LBB0_10:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	xorl	%eax, %eax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
	.comm	_pte_nomap,4,2                  ## @pte_nomap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_image_validate              ; -- Begin function pt_image_validate
	.p2align	2
_pt_image_validate:                     ; @pt_image_validate
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_8
; %bb.2:
	mov	x20, x3
	mov	x22, x2
	mov	x21, x0
	mov	x0, x19
	bl	_pt_msec_begin
	mov	x23, x0
	mov	x0, x19
	bl	_pt_msec_end
	cmp	x23, x22
	b.gt	LBB0_7
; %bb.3:
	cmp	x0, x22
	b.le	LBB0_7
; %bb.4:
	ldr	x8, [x21]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	w9, [x8]
	cmp	w9, w20
	b.ne	LBB0_7
; %bb.6:
	add	x0, x8, #4
	mov	x1, x19
	mov	w2, #4
	bl	_memcmp
	cbz	w0, LBB0_10
LBB0_7:
Lloh0:
	adrp	x8, _pte_nomap@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_nomap@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh2:
	adrp	x8, _pte_internal@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.comm	_pte_nomap,4,2                  ; @pte_nomap
.subsections_via_symbols
