	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_iscache_add_file            ## -- Begin function pt_iscache_add_file
	.p2align	4, 0x90
_pt_iscache_add_file:                   ## @pt_iscache_add_file
	.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_8
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.2:
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movq	%rdi, %r15
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	callq	_pt_iscache_lock
	testl	%eax, %eax
	js	LBB0_9
## %bb.3:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_pt_iscache_find_section_locked
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_10
## %bb.4:
	cmpl	(%r15), %ebx
	jge	LBB0_11
## %bb.5:
	movq	8(%r15), %rax
	movl	%ebx, %ecx
	shlq	$4, %rcx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	cmpl	%edx, 8(%rax,%rcx)
	jne	LBB0_14
## %bb.6:
	movq	%r15, %rdi
	callq	_pt_iscache_unlock
	testl	%eax, %eax
	js	LBB0_9
## %bb.7:
	movl	%ebx, %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_isid_from_index                ## TAILCALL
LBB0_8:
	movq	_pte_invalid@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_21
LBB0_10:
	movq	%r15, %rdi
	callq	_pt_iscache_unlock
	jmp	LBB0_21
LBB0_11:
	movq	%r15, %rdi
	callq	_pt_iscache_unlock
	testl	%eax, %eax
	js	LBB0_9
## %bb.12:
	movq	$0, -56(%rbp)
	leaq	-56(%rbp), %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	callq	_pt_mk_section
	testl	%eax, %eax
	js	LBB0_9
## %bb.13:
	movq	-56(%rbp), %r14
	jmp	LBB0_16
LBB0_9:
	movl	%eax, %ebx
LBB0_21:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	(%rax,%rcx), %r14
	movq	%r14, -56(%rbp)
	movq	%r14, %rdi
	callq	_pt_section_get
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_pt_iscache_unlock
	testl	%ebx, %ebx
	js	LBB0_21
## %bb.15:
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_20
LBB0_16:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_pt_iscache_add
	movl	%eax, %ebx
	movq	-56(%rbp), %rdi
	callq	_pt_section_put
	testl	%eax, %eax
	cmovsl	%eax, %ebx
	jmp	LBB0_21
LBB0_20:
	movq	%r14, %rdi
	callq	_pt_section_put
	movl	%r12d, %ebx
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_invalid,4,2                ## @pte_invalid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_iscache_add_file            ; -- Begin function pt_iscache_add_file
	.p2align	2
_pt_iscache_add_file:                   ; @pt_iscache_add_file
	.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_8
; %bb.1:
	mov	x24, x1
	cbz	x1, LBB0_8
; %bb.2:
	mov	x19, x4
	mov	x22, x3
	mov	x23, x2
	mov	x20, x0
	bl	_pt_iscache_lock
	tbnz	w0, #31, LBB0_13
; %bb.3:
	mov	x0, x20
	mov	x1, x24
	mov	x2, x23
	mov	x3, x22
	mov	x4, x19
	bl	_pt_iscache_find_section_locked
	mov	x21, x0
	tbnz	w0, #31, LBB0_9
; %bb.4:
	ldr	w8, [x20]
	cmp	w21, w8
	b.ge	LBB0_10
; %bb.5:
	ldr	x8, [x20, #8]
	add	x9, x8, w21, uxtw #4
	ldr	w9, [x9, #8]
	cmp	w9, w19
	b.ne	LBB0_15
; %bb.6:
	mov	x0, x20
	bl	_pt_iscache_unlock
	tbnz	w0, #31, LBB0_13
; %bb.7:
	mov	x0, x21
	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
	b	_isid_from_index
LBB0_8:
Lloh0:
	adrp	x8, _pte_invalid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_invalid@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_14
LBB0_9:
	mov	x0, x20
	bl	_pt_iscache_unlock
	b	LBB0_14
LBB0_10:
	mov	x0, x20
	bl	_pt_iscache_unlock
	tbnz	w0, #31, LBB0_13
; %bb.11:
	str	xzr, [sp, #8]
	add	x0, sp, #8
	mov	x1, x24
	mov	x2, x23
	mov	x3, x22
	bl	_pt_mk_section
	tbnz	w0, #31, LBB0_13
; %bb.12:
	ldr	x22, [sp, #8]
	b	LBB0_17
LBB0_13:
	mov	x21, x0
LBB0_14:
	mov	x0, x21
	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
LBB0_15:
	mov	w9, w21
	lsl	x9, x9, #4
	ldr	x22, [x8, x9]
	str	x22, [sp, #8]
	mov	x0, x22
	bl	_pt_section_get
	mov	x23, x0
	mov	x0, x20
	bl	_pt_iscache_unlock
	tbnz	w23, #31, LBB0_18
; %bb.16:
	mov	x21, x0
	tbnz	w0, #31, LBB0_19
LBB0_17:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	bl	_pt_iscache_add
	mov	x19, x0
	ldr	x0, [sp, #8]
	bl	_pt_section_put
	cmp	w0, #0
	csel	w21, w0, w19, lt
	b	LBB0_14
LBB0_18:
	mov	x21, x23
	b	LBB0_14
LBB0_19:
	mov	x0, x22
	bl	_pt_section_put
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_invalid,4,2                ; @pte_invalid
.subsections_via_symbols
