	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uptodate_for_rmw
_uptodate_for_rmw:                      ## @uptodate_for_rmw
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_R5_UPTODATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_R5_InJournal@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	_R5_OrigPageUPTDODATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	setne	%al
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_3:
	movl	$1, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_R5_UPTODATE,4,2                ## @R5_UPTODATE
	.comm	_R5_InJournal,4,2               ## @R5_InJournal
	.comm	_R5_OrigPageUPTDODATE,4,2       ## @R5_OrigPageUPTDODATE
	.no_dead_strip	_uptodate_for_rmw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uptodate_for_rmw
_uptodate_for_rmw:                      ; @uptodate_for_rmw
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _R5_UPTODATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _R5_UPTODATE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _R5_InJournal@GOTPAGE
Lloh4:
	ldr	x8, [x8, _R5_InJournal@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _R5_OrigPageUPTDODATE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _R5_OrigPageUPTDODATE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_4
LBB0_3:
	mov	w0, #1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_R5_UPTODATE,4,2                ; @R5_UPTODATE
	.comm	_R5_InJournal,4,2               ; @R5_InJournal
	.comm	_R5_OrigPageUPTDODATE,4,2       ; @R5_OrigPageUPTDODATE
	.no_dead_strip	_uptodate_for_rmw
.subsections_via_symbols
