	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tr_flush_dirty_pr
_tr_flush_dirty_pr:                     ## @tr_flush_dirty_pr
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	leal	8(%r15), %ecx
	movl	$1, %r12d
	shll	%cl, %r12d
	movq	_dirty_regb@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	movzbl	%cl, %ecx
	btl	%ecx, %eax
	jae	LBB0_4
## %bb.1:
	movl	%r15d, %eax
	andl	$3, %eax
	xorl	%ecx, %ecx
	cmpl	$1, %eax
	movl	$12, %edx
	cmovnel	%ecx, %edx
	cmpl	$2, %eax
	movl	$8, %r14d
	cmovnel	%edx, %r14d
	xorl	%ebx, %ebx
	cmpl	$4, %r15d
	setl	%bl
	xorl	$9, %ebx
	movl	%ebx, %edi
	movl	%ebx, %esi
	movl	%r14d, %edx
	movl	$255, %ecx
	callq	_EOP_BIC_IMM
	movq	_known_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r15d, %rcx
	movq	(%rax,%rcx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.2:
	movl	%ebx, %edi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_EOP_ORR_IMM
LBB0_3:
	notl	%r12d
	andl	%r12d, (%r13)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dirty_regb,4,2                 ## @dirty_regb
	.comm	_known_regs,8,3                 ## @known_regs
	.no_dead_strip	_tr_flush_dirty_pr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tr_flush_dirty_pr
_tr_flush_dirty_pr:                     ; @tr_flush_dirty_pr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x22, _dirty_regb@GOTPAGE
Lloh1:
	ldr	x22, [x22, _dirty_regb@GOTPAGEOFF]
	ldr	w8, [x22]
	add	w9, w0, #8
	mov	w10, #1
	lsl	w23, w10, w9
	tst	w8, w23
	b.eq	LBB0_4
; %bb.1:
	mov	x19, x0
	and	w8, w0, #0x3
	mov	w9, #12
	cmp	w8, #1
	csel	w9, w9, wzr, eq
	mov	w10, #8
	cmp	w8, #2
	csel	w20, w10, w9, eq
	cmp	w0, #4
	cinc	w21, w10, ge
	mov	x0, x21
	mov	x1, x21
	mov	x2, x20
	mov	w3, #255
	bl	_EOP_BIC_IMM
Lloh2:
	adrp	x8, _known_regs@GOTPAGE
Lloh3:
	ldr	x8, [x8, _known_regs@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x3, [x8, w19, sxtw #3]
	cbz	x3, LBB0_3
; %bb.2:
	mov	x0, x21
	mov	x1, x21
	mov	x2, x20
	bl	_EOP_ORR_IMM
LBB0_3:
	ldr	w8, [x22]
	bic	w8, w8, w23
	str	w8, [x22]
LBB0_4:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_dirty_regb,4,2                 ; @dirty_regb
	.comm	_known_regs,8,3                 ; @known_regs
	.no_dead_strip	_tr_flush_dirty_pr
.subsections_via_symbols
