	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcacheManageDirtyList
_pcacheManageDirtyList:                 ## @pcacheManageDirtyList
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	32(%rdi), %r14
	movslq	24(%rdi), %rdi
	callq	_pcacheTrace
	movq	_PCACHE_DIRTYLIST_REMOVE@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_19
## %bb.1:
	movl	$1, %r12d
	cmpq	$0, 16(%rbx)
	movl	$1, %edi
	jne	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	cmpq	%rbx, 32(%r14)
	sete	%dil
LBB0_3:
	callq	_assert
	cmpq	$0, 8(%rbx)
	jne	LBB0_5
## %bb.4:
	xorl	%r12d, %r12d
	cmpq	%rbx, 24(%r14)
	sete	%r12b
LBB0_5:
	movl	%r12d, %edi
	callq	_assert
	cmpq	%rbx, 16(%r14)
	jne	LBB0_7
## %bb.6:
	movq	8(%rbx), %rax
	movq	%rax, 16(%r14)
LBB0_7:
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	8(%rbx), %rcx
	movq	%rcx, 8(%rax)
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_12
LBB0_11:
	movq	16(%rbx), %rcx
	movq	%rcx, 16(%rax)
	jmp	LBB0_19
LBB0_9:
	xorl	%edi, %edi
	cmpq	%rbx, 32(%r14)
	sete	%dil
	callq	_assert
	movq	8(%rbx), %rax
	movq	%rax, 32(%r14)
	testq	%rax, %rax
	jne	LBB0_11
LBB0_12:
	xorl	%edi, %edi
	cmpq	%rbx, 24(%r14)
	sete	%dil
	callq	_assert
	movq	16(%rbx), %rax
	movq	%rax, 24(%r14)
	movl	$1, %edi
	cmpq	$0, (%r14)
	jne	LBB0_14
## %bb.13:
	xorl	%edi, %edi
	cmpl	$2, 8(%r14)
	sete	%dil
LBB0_14:
	callq	_assert
	cmpq	$0, 24(%r14)
	jne	LBB0_19
## %bb.15:
	cmpq	$0, (%r14)
	je	LBB0_16
## %bb.17:
	xorl	%edi, %edi
	cmpl	$1, 8(%r14)
	sete	%dil
	jmp	LBB0_18
LBB0_16:
	movl	$1, %edi
LBB0_18:
	callq	_assert
	movl	$2, 8(%r14)
LBB0_19:
	movq	_PCACHE_DIRTYLIST_ADD@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_27
## %bb.20:
	movq	$0, 8(%rbx)
	movq	24(%r14), %rax
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	xorl	%edi, %edi
	cmpq	$0, 8(%rax)
	sete	%dil
	callq	_assert
	movq	16(%rbx), %rax
	movq	%rbx, 8(%rax)
	jmp	LBB0_24
LBB0_22:
	movq	%rbx, 32(%r14)
	cmpq	$0, (%r14)
	je	LBB0_24
## %bb.23:
	xorl	%edi, %edi
	cmpl	$2, 8(%r14)
	sete	%dil
	callq	_assert
	movl	$1, 8(%r14)
LBB0_24:
	movq	%rbx, 24(%r14)
	cmpq	$0, 16(%r14)
	jne	LBB0_27
## %bb.25:
	movq	_PGHDR_NEED_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_27
## %bb.26:
	movq	%rbx, 16(%r14)
LBB0_27:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pcacheDump                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCACHE_DIRTYLIST_REMOVE,4,2    ## @PCACHE_DIRTYLIST_REMOVE
	.comm	_PCACHE_DIRTYLIST_ADD,4,2       ## @PCACHE_DIRTYLIST_ADD
	.comm	_PGHDR_NEED_SYNC,4,2            ## @PGHDR_NEED_SYNC
	.no_dead_strip	_pcacheManageDirtyList
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcacheManageDirtyList
_pcacheManageDirtyList:                 ; @pcacheManageDirtyList
	.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
	mov	x21, x1
	mov	x20, x0
	ldr	x19, [x0, #32]
	ldrsw	x0, [x0, #24]
	bl	_pcacheTrace
Lloh0:
	adrp	x8, _PCACHE_DIRTYLIST_REMOVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCACHE_DIRTYLIST_REMOVE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_21
; %bb.1:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_3
; %bb.2:
	mov	w0, #1
	b	LBB0_4
LBB0_3:
	ldr	x8, [x19, #32]
	cmp	x8, x20
	cset	w0, eq
LBB0_4:
	bl	_assert
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_6
; %bb.5:
	mov	w0, #1
	b	LBB0_7
LBB0_6:
	ldr	x8, [x19, #24]
	cmp	x8, x20
	cset	w0, eq
LBB0_7:
	bl	_assert
	ldr	x8, [x19, #16]
	cmp	x8, x20
	b.eq	LBB0_11
; %bb.8:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_12
LBB0_9:
	ldr	x9, [x20, #8]
	str	x9, [x8, #8]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_13
LBB0_10:
	ldr	x9, [x20, #16]
	str	x9, [x8, #16]
	b	LBB0_21
LBB0_11:
	ldr	x8, [x20, #8]
	str	x8, [x19, #16]
	ldr	x8, [x20, #16]
	cbnz	x8, LBB0_9
LBB0_12:
	ldr	x8, [x19, #32]
	cmp	x8, x20
	cset	w0, eq
	bl	_assert
	ldr	x8, [x20, #8]
	str	x8, [x19, #32]
	cbnz	x8, LBB0_10
LBB0_13:
	ldr	x8, [x19, #24]
	cmp	x8, x20
	cset	w0, eq
	bl	_assert
	ldr	x8, [x20, #16]
	str	x8, [x19, #24]
	ldr	x8, [x19]
	cbz	x8, LBB0_15
; %bb.14:
	mov	w0, #1
	b	LBB0_16
LBB0_15:
	ldr	w8, [x19, #8]
	cmp	w8, #2
	cset	w0, eq
LBB0_16:
	bl	_assert
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_21
; %bb.17:
	ldr	x8, [x19]
	cbz	x8, LBB0_19
; %bb.18:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	cset	w0, eq
	b	LBB0_20
LBB0_19:
	mov	w0, #1
LBB0_20:
	bl	_assert
	mov	w8, #2
	str	w8, [x19, #8]
LBB0_21:
Lloh3:
	adrp	x8, _PCACHE_DIRTYLIST_ADD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCACHE_DIRTYLIST_ADD@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_29
; %bb.22:
	ldr	x8, [x19, #24]
	stp	xzr, x8, [x20, #8]
	cbz	x8, LBB0_24
; %bb.23:
	ldr	x8, [x8, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	ldr	x8, [x20, #16]
	str	x20, [x8, #8]
	b	LBB0_26
LBB0_24:
	str	x20, [x19, #32]
	ldr	x8, [x19]
	cbz	x8, LBB0_26
; %bb.25:
	ldr	w8, [x19, #8]
	cmp	w8, #2
	cset	w0, eq
	bl	_assert
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_26:
	str	x20, [x19, #24]
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_29
; %bb.27:
	ldr	w8, [x20]
Lloh6:
	adrp	x9, _PGHDR_NEED_SYNC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PGHDR_NEED_SYNC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_29
; %bb.28:
	str	x20, [x19, #16]
LBB0_29:
	mov	x0, x19
	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
	b	_pcacheDump
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PCACHE_DIRTYLIST_REMOVE,4,2    ; @PCACHE_DIRTYLIST_REMOVE
	.comm	_PCACHE_DIRTYLIST_ADD,4,2       ; @PCACHE_DIRTYLIST_ADD
	.comm	_PGHDR_NEED_SYNC,4,2            ; @PGHDR_NEED_SYNC
	.no_dead_strip	_pcacheManageDirtyList
.subsections_via_symbols
