	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pt_section_memsize_locked
_pt_section_memsize_locked:             ## @pt_section_memsize_locked
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.3:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	*%rax
	testl	%eax, %eax
	js	LBB0_10
## %bb.7:
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_pt_section_bcache_memsize
	testl	%eax, %eax
	js	LBB0_10
## %bb.8:
	movq	-24(%rbp), %rax
	addq	-32(%rbp), %rax
	movq	%rax, (%r14)
	jmp	LBB0_9
LBB0_4:
	cmpq	$0, 8(%rbx)
	je	LBB0_5
LBB0_2:
	movq	_pte_internal@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_10
LBB0_5:
	movq	$0, (%r14)
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
	.no_dead_strip	_pt_section_memsize_locked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pt_section_memsize_locked
_pt_section_memsize_locked:             ; @pt_section_memsize_locked
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_7
; %bb.2:
	mov	x20, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.3:
	add	x1, sp, #8
	mov	x0, x20
	blr	x8
	tbnz	w0, #31, LBB0_8
; %bb.4:
	mov	x1, sp
	mov	x0, x20
	bl	_pt_section_bcache_memsize
	tbnz	w0, #31, LBB0_8
; %bb.5:
	mov	w0, #0
	ldp	x9, x8, [sp]
	add	x8, x9, x8
	str	x8, [x19]
	b	LBB0_8
LBB0_6:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_9
LBB0_7:
Lloh0:
	adrp	x8, _pte_internal@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
Lloh2:
	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
	add	sp, sp, #48
	ret
LBB0_9:
	mov	w0, #0
	str	xzr, [x19]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.no_dead_strip	_pt_section_memsize_locked
.subsections_via_symbols
