	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_iscache_read                ## -- Begin function pt_iscache_read
	.p2align	4, 0x90
_pt_iscache_read:                       ## @pt_iscache_read
	.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
	subq	$24, %rsp
	.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_3
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	movq	%rdx, %r12
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.5:
	movq	%r8, %r14
	leaq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	callq	_pt_iscache_lookup
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	movq	-56(%rbp), %r13
	movq	-48(%rbp), %rdi
	cmpq	%r14, %r13
	jle	LBB0_9
## %bb.8:
	callq	_pt_section_put
	movq	_pte_nomap@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_pte_invalid@GOTPCREL(%rip), %rax
LBB0_4:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_13
LBB0_6:
	movl	%eax, %ebx
	jmp	LBB0_13
LBB0_9:
	callq	_pt_section_map
	testl	%eax, %eax
	js	LBB0_10
## %bb.11:
	subq	%r13, %r14
	movq	_UINT16_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%r12, %rax
	cmovlq	%rax, %r12
	movq	-48(%rbp), %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	movq	%r14, %rcx
	callq	_pt_section_read
	movl	%eax, %r14d
	movq	-48(%rbp), %rdi
	callq	_pt_section_unmap
	movl	%eax, %ebx
	movq	-48(%rbp), %rdi
	callq	_pt_section_put
	testl	%ebx, %ebx
	js	LBB0_13
## %bb.12:
	testl	%eax, %eax
	cmovsl	%eax, %r14d
	movl	%r14d, %ebx
	jmp	LBB0_13
LBB0_10:
	movl	%eax, %ebx
	movq	-48(%rbp), %rdi
	callq	_pt_section_put
LBB0_13:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_invalid,4,2                ## @pte_invalid
	.comm	_pte_nomap,4,2                  ## @pte_nomap
	.comm	_UINT16_MAX,8,3                 ## @UINT16_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_iscache_read                ; -- Begin function pt_iscache_read
	.p2align	2
_pt_iscache_read:                       ; @pt_iscache_read
	.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
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_6
; %bb.2:
	mov	x20, x2
	cbz	x2, LBB0_6
; %bb.3:
	mov	x21, x4
	add	x1, sp, #8
	mov	x2, sp
	bl	_pt_iscache_lookup
	tbnz	w0, #31, LBB0_8
; %bb.4:
	ldp	x23, x0, [sp]
	cmp	x23, x21
	b.le	LBB0_9
; %bb.5:
	bl	_pt_section_put
Lloh0:
	adrp	x8, _pte_nomap@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_nomap@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh2:
	adrp	x8, _pte_invalid@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pte_invalid@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_12
LBB0_8:
	mov	x22, x0
	b	LBB0_12
LBB0_9:
	bl	_pt_section_map
	tbnz	w0, #31, LBB0_11
; %bb.10:
	sub	x3, x21, x23
Lloh4:
	adrp	x8, _UINT16_MAX@GOTPAGE
Lloh5:
	ldr	x8, [x8, _UINT16_MAX@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x8, x20
	csel	x2, x8, x20, lt
	ldr	x0, [sp, #8]
	mov	x1, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_pt_section_read
	mov	x19, x0
	ldr	x0, [sp, #8]
	bl	_pt_section_unmap
	mov	x20, x0
	ldr	x0, [sp, #8]
	bl	_pt_section_put
	cmp	w0, #0
	csel	w8, w0, w19, lt
	tst	w20, #0x80000000
	csel	w22, w20, w8, ne
	b	LBB0_12
LBB0_11:
	mov	x22, x0
	ldr	x0, [sp, #8]
	bl	_pt_section_put
LBB0_12:
	mov	x0, x22
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_invalid,4,2                ; @pte_invalid
	.comm	_pte_nomap,4,2                  ; @pte_nomap
	.comm	_UINT16_MAX,8,3                 ; @UINT16_MAX
.subsections_via_symbols
