	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_iscache_lookup              ## -- Begin function pt_iscache_lookup
	.p2align	4, 0x90
_pt_iscache_lookup:                     ## @pt_iscache_lookup
	.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_3
## %bb.1:
	movq	%rsi, %r12
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	movq	%rdx, %r14
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.5:
	movl	%ecx, %r13d
	testl	%ecx, %ecx
	jle	LBB0_6
## %bb.7:
	decl	%r13d
	movq	_UINT16_MAX@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jle	LBB0_8
LBB0_3:
	movq	_pte_internal@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_6:
	movq	_pte_bad_image@GOTPCREL(%rip), %rax
LBB0_4:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%rdi, %r15
	callq	_pt_iscache_lock
	testl	%eax, %eax
	js	LBB0_9
## %bb.10:
	movl	%r13d, %eax
	cmpq	%rax, (%r15)
	jbe	LBB0_11
## %bb.12:
	movq	8(%r15), %rcx
	shlq	$4, %rax
	movq	8(%rcx,%rax), %rdi
	movq	%rdi, (%r12)
	movl	(%rcx,%rax), %eax
	movl	%eax, (%r14)
	callq	_pt_section_get
	movl	%eax, %ebx
	jmp	LBB0_13
LBB0_9:
	movl	%eax, %ebx
	jmp	LBB0_14
LBB0_11:
	movq	_pte_bad_image@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_13:
	movq	%r15, %rdi
	callq	_pt_iscache_unlock
	testl	%eax, %eax
	cmovsl	%eax, %ebx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
	.comm	_pte_bad_image,4,2              ## @pte_bad_image
	.comm	_UINT16_MAX,4,2                 ## @UINT16_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_iscache_lookup              ; -- Begin function pt_iscache_lookup
	.p2align	2
_pt_iscache_lookup:                     ; @pt_iscache_lookup
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x0, LBB0_5
; %bb.1:
	mov	x21, x1
	cbz	x1, LBB0_5
; %bb.2:
	mov	x20, x2
	cbz	x2, LBB0_5
; %bb.3:
	cmp	w3, #0
	b.le	LBB0_6
; %bb.4:
	sub	w22, w3, #1
Lloh0:
	adrp	x8, _UINT16_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UINT16_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w22, w8
	b.le	LBB0_9
LBB0_5:
Lloh3:
	adrp	x8, _pte_internal@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh5:
	adrp	x8, _pte_bad_image@GOTPAGE
Lloh6:
	ldr	x8, [x8, _pte_bad_image@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x19, x0
	bl	_pt_iscache_lock
	tbnz	w0, #31, LBB0_8
; %bb.10:
	ldr	x8, [x19]
	cmp	x8, x22
	b.ls	LBB0_12
; %bb.11:
	ldr	x8, [x19, #8]
	add	x8, x8, x22, lsl #4
	ldr	x0, [x8, #8]
	str	x0, [x21]
	ldr	w8, [x8]
	str	w8, [x20]
	bl	_pt_section_get
	mov	x20, x0
	b	LBB0_13
LBB0_12:
Lloh7:
	adrp	x8, _pte_bad_image@GOTPAGE
Lloh8:
	ldr	x8, [x8, _pte_bad_image@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_13:
	mov	x0, x19
	bl	_pt_iscache_unlock
	cmp	w0, #0
	csel	w0, w0, w20, lt
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.comm	_pte_bad_image,4,2              ; @pte_bad_image
	.comm	_UINT16_MAX,4,2                 ; @UINT16_MAX
.subsections_via_symbols
