	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pt_isache_lru_new
_pt_isache_lru_new:                     ## @pt_isache_lru_new
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	callq	_pt_section_memsize
	testl	%eax, %eax
	js	LBB0_12
## %bb.4:
	movq	(%rbx), %r15
	xorl	%eax, %eax
	cmpq	-32(%rbp), %r15
	jl	LBB0_12
## %bb.5:
	movq	%r14, %rdi
	callq	_pt_section_map_share
	testl	%eax, %eax
	js	LBB0_12
## %bb.6:
	movl	$24, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%r14, 16(%rax)
	movq	-32(%rbp), %rcx
	movq	%rcx, 8(%rax)
	movq	16(%rbx), %rdx
	movq	%rdx, (%rax)
	movq	%rax, 16(%rbx)
	testq	%rcx, %rcx
	js	LBB0_10
## %bb.9:
	movq	8(%rbx), %rdx
	testq	%rdx, %rdx
	js	LBB0_10
## %bb.11:
	addq	%rcx, %rdx
	movq	%rdx, 8(%rbx)
	xorl	%eax, %eax
	cmpq	%rdx, %r15
	setl	%al
	jmp	LBB0_12
LBB0_1:
	movq	_pte_internal@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r14, %rdi
	callq	_pt_section_unmap
	movq	_pte_nomem@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_10:
	movq	_pte_overflow@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
	.comm	_pte_nomem,4,2                  ## @pte_nomem
	.comm	_pte_overflow,4,2               ## @pte_overflow
	.no_dead_strip	_pt_isache_lru_new
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pt_isache_lru_new
_pt_isache_lru_new:                     ; @pt_isache_lru_new
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	add	x1, sp, #8
	mov	x0, x20
	bl	_pt_section_memsize
	tbnz	w0, #31, LBB0_6
; %bb.2:
	ldr	x21, [x19]
	ldr	x8, [sp, #8]
	cmp	x21, x8
	b.ge	LBB0_7
; %bb.3:
	mov	w0, #0
	b	LBB0_6
LBB0_4:
Lloh0:
	adrp	x8, _pte_internal@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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
	add	sp, sp, #64
	ret
LBB0_7:
	mov	x0, x20
	bl	_pt_section_map_share
	tbnz	w0, #31, LBB0_6
; %bb.8:
	mov	w0, #24
	bl	_malloc
	cbz	x0, LBB0_12
; %bb.9:
	str	x20, [x0, #16]
	ldr	x8, [sp, #8]
	ldr	x9, [x19, #16]
	stp	x9, x8, [x0]
	str	x0, [x19, #16]
	tbnz	x8, #63, LBB0_13
; %bb.10:
	ldr	x9, [x19, #8]
	tbnz	x9, #63, LBB0_13
; %bb.11:
	add	x8, x9, x8
	cmp	x21, x8
	str	x8, [x19, #8]
	cset	w0, lt
	b	LBB0_6
LBB0_12:
	mov	x0, x20
	bl	_pt_section_unmap
Lloh2:
	adrp	x8, _pte_nomem@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pte_nomem@GOTPAGEOFF]
	b	LBB0_5
LBB0_13:
Lloh4:
	adrp	x8, _pte_overflow@GOTPAGE
Lloh5:
	ldr	x8, [x8, _pte_overflow@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.comm	_pte_nomem,4,2                  ; @pte_nomem
	.comm	_pte_overflow,4,2               ; @pte_overflow
	.no_dead_strip	_pt_isache_lru_new
.subsections_via_symbols
