	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_iscache_add                 ## -- Begin function pt_iscache_add
	.p2align	4, 0x90
_pt_iscache_add:                        ## @pt_iscache_add
	.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_18
## %bb.1:
	movq	%rsi, %r12
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.2:
	movl	%edx, %r13d
	movq	%rdi, %r14
	movq	%r12, %rdi
	callq	_pt_section_filename
	testq	%rax, %rax
	je	LBB0_18
## %bb.3:
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_pt_section_offset
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_pt_section_size
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_pt_section_get
	testl	%eax, %eax
	js	LBB0_19
## %bb.4:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_pt_section_attach
	testl	%eax, %eax
	js	LBB0_20
## %bb.5:
	movq	%r14, %rdi
	callq	_pt_iscache_lock
	testl	%eax, %eax
	js	LBB0_21
## %bb.6:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%r13d, %r8d
	callq	_pt_iscache_find_section_locked
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_43
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r14), %eax
	cmpl	%ebx, %eax
	jle	LBB0_28
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	16(%r14), %rcx
	movl	%ebx, %r13d
	movq	%r13, %rdx
	shlq	$4, %rdx
	movq	8(%rcx,%rdx), %r15
	cmpq	%r12, %r15
	je	LBB0_23
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	callq	_pt_section_get
	testl	%eax, %eax
	js	LBB0_42
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	callq	_pt_iscache_unlock
	testl	%eax, %eax
	js	LBB0_33
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_pt_section_detach
	testl	%eax, %eax
	js	LBB0_22
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_pt_section_attach
	testl	%eax, %eax
	js	LBB0_22
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	callq	_pt_iscache_lock
	testl	%eax, %eax
	js	LBB0_34
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_pt_iscache_lru_remove
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_pt_section_put
	testl	%ebx, %ebx
	js	LBB0_35
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %r12
	testl	%eax, %eax
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jns	LBB0_7
## %bb.17:
	movq	%r15, %r12
LBB0_42:
	movl	%eax, %ebx
	jmp	LBB0_43
LBB0_18:
	movq	_pte_internal@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_47
LBB0_20:
	movl	%eax, %ebx
	jmp	LBB0_46
LBB0_22:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_pt_section_put
	jmp	LBB0_45
LBB0_23:
	movq	%r13, %rdx
	shlq	$4, %rdx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	cmpl	%esi, (%rcx,%rdx)
	jne	LBB0_28
## %bb.24:
	movq	%r14, %rdi
	callq	_pt_iscache_unlock
	testl	%eax, %eax
	js	LBB0_21
## %bb.25:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_pt_section_detach
	testl	%eax, %eax
	js	LBB0_48
## %bb.26:
	movq	%r12, %rdi
	callq	_pt_section_put
	testl	%eax, %eax
	js	LBB0_19
## %bb.27:
	movq	%r13, %rdi
	jmp	LBB0_31
LBB0_21:
	movl	%eax, %ebx
	jmp	LBB0_44
LBB0_28:
	movslq	%eax, %r15
	cmpq	%r15, 8(%r14)
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jle	LBB0_36
LBB0_29:
	incl	%eax
	movl	%eax, (%r14)
	movq	16(%r14), %rax
	movq	%r15, %rcx
	shlq	$4, %rcx
	movq	%r12, 8(%rax,%rcx)
	movl	%r13d, (%rax,%rcx)
	movq	%r14, %rdi
	callq	_pt_iscache_unlock
	testl	%eax, %eax
	js	LBB0_19
## %bb.30:
	movq	%r15, %rdi
LBB0_31:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_isid_from_index                ## TAILCALL
LBB0_19:
	movl	%eax, %ebx
	jmp	LBB0_47
LBB0_33:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_pt_section_put
	jmp	LBB0_44
LBB0_34:
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_pt_section_put
	movq	%r15, %r12
	jmp	LBB0_44
LBB0_35:
	movq	%r15, %r12
	jmp	LBB0_43
LBB0_36:
	jl	LBB0_39
## %bb.37:
	movq	%r14, %rdi
	callq	_pt_iscache_expand
	testl	%eax, %eax
	js	LBB0_42
## %bb.38:
	movl	(%r14), %eax
	movslq	%eax, %r15
	cmpq	%r15, 8(%r14)
	jg	LBB0_29
LBB0_39:
	movq	_pte_internal@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_43:
	movq	%r14, %rdi
	callq	_pt_iscache_unlock
LBB0_44:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_pt_section_detach
LBB0_45:
	movq	%r14, %rdi
	callq	_pt_iscache_lru_clear
LBB0_46:
	movq	%r12, %rdi
	callq	_pt_section_put
LBB0_47:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_48:
	movl	%eax, %ebx
	jmp	LBB0_45
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_iscache_add                 ; -- Begin function pt_iscache_add
	.p2align	2
_pt_iscache_add:                        ; @pt_iscache_add
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x0, LBB0_16
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_16
; %bb.2:
	mov	x22, x2
	mov	x19, x0
	mov	x0, x20
	bl	_pt_section_filename
	cbz	x0, LBB0_16
; %bb.3:
	mov	x23, x0
	mov	x0, x20
	bl	_pt_section_offset
	mov	x24, x0
	mov	x0, x20
	bl	_pt_section_size
	mov	x25, x0
	mov	x0, x20
	bl	_pt_section_get
	tbnz	w0, #31, LBB0_23
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	bl	_pt_section_attach
	tbnz	w0, #31, LBB0_17
; %bb.5:
	mov	x0, x19
	bl	_pt_iscache_lock
	tbnz	w0, #31, LBB0_24
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x23
	mov	x2, x24
	mov	x3, x25
	mov	x4, x22
	bl	_pt_iscache_find_section_locked
	mov	x21, x0
	tbnz	w0, #31, LBB0_37
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19]
	cmp	w8, w21
	b.le	LBB0_25
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x19, #16]
	add	x10, x9, w21, uxtw #4
	ldr	x26, [x10, #8]
	cmp	x26, x20
	b.eq	LBB0_19
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	bl	_pt_section_get
	tbnz	w0, #31, LBB0_35
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_pt_iscache_unlock
	tbnz	w0, #31, LBB0_28
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_pt_section_detach
	tbnz	w0, #31, LBB0_18
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	mov	x1, x19
	bl	_pt_section_attach
	tbnz	w0, #31, LBB0_18
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_pt_iscache_lock
	tbnz	w0, #31, LBB0_29
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_pt_iscache_lru_remove
	mov	x27, x0
	mov	x0, x20
	bl	_pt_section_put
	tbnz	w27, #31, LBB0_30
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x21, x0
	mov	x20, x26
	tbz	w0, #31, LBB0_6
	b	LBB0_38
LBB0_16:
Lloh0:
	adrp	x8, _pte_internal@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_43
LBB0_17:
	mov	x21, x0
	b	LBB0_42
LBB0_18:
	mov	x21, x0
	mov	x0, x26
	bl	_pt_section_put
	b	LBB0_41
LBB0_19:
	mov	w23, w21
	lsl	x10, x23, #4
	ldr	w9, [x9, x10]
	cmp	w9, w22
	b.ne	LBB0_25
; %bb.20:
	mov	x0, x19
	bl	_pt_iscache_unlock
	tbnz	w0, #31, LBB0_24
; %bb.21:
	mov	x0, x20
	mov	x1, x19
	bl	_pt_section_detach
	tbnz	w0, #31, LBB0_44
; %bb.22:
	mov	x0, x20
	bl	_pt_section_put
	tbz	w0, #31, LBB0_27
LBB0_23:
	mov	x21, x0
	b	LBB0_43
LBB0_24:
	mov	x21, x0
	b	LBB0_40
LBB0_25:
	sxtw	x23, w8
	ldr	x9, [x19, #8]
	cmp	x9, x23
	b.le	LBB0_31
LBB0_26:
	add	w8, w8, #1
	str	w8, [x19]
	ldr	x8, [x19, #16]
	add	x8, x8, x23, lsl #4
	str	x20, [x8, #8]
	str	w22, [x8]
	mov	x0, x19
	bl	_pt_iscache_unlock
	tbnz	w0, #31, LBB0_23
LBB0_27:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_isid_from_index
LBB0_28:
	mov	x21, x0
	mov	x0, x26
	bl	_pt_section_put
	b	LBB0_40
LBB0_29:
	mov	x21, x0
	mov	x0, x20
	bl	_pt_section_put
	b	LBB0_39
LBB0_30:
	mov	x21, x27
	b	LBB0_38
LBB0_31:
	b.lt	LBB0_36
; %bb.32:
	mov	x0, x19
	bl	_pt_iscache_expand
	tbnz	w0, #31, LBB0_35
; %bb.33:
	ldr	x9, [x19, #8]
	ldr	w8, [x19]
	sxtw	x23, w8
	cmp	x9, x23
	b.le	LBB0_36
; %bb.34:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	b	LBB0_26
LBB0_35:
	mov	x21, x0
	b	LBB0_37
LBB0_36:
Lloh3:
	adrp	x8, _pte_internal@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_37:
	mov	x26, x20
LBB0_38:
	mov	x0, x19
	bl	_pt_iscache_unlock
LBB0_39:
	mov	x20, x26
LBB0_40:
	mov	x0, x20
	mov	x1, x19
	bl	_pt_section_detach
LBB0_41:
	mov	x0, x19
	bl	_pt_iscache_lru_clear
LBB0_42:
	mov	x0, x20
	bl	_pt_section_put
LBB0_43:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_44:
	mov	x21, x0
	b	LBB0_41
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
.subsections_via_symbols
