	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __try_evict_buffer
___try_evict_buffer:                    ## @__try_evict_buffer
	.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
	movq	%rdi, %r14
	movq	___GFP_FS@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_1
LBB0_4:
	xorl	%ebx, %ebx
	cmpq	$0, (%r14)
	jne	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	___make_buffer_clean
	movq	%r14, %rdi
	callq	___unlink_buffer
	movq	%r14, %rdi
	callq	___free_buffer_wake
	movl	$1, %ebx
	jmp	LBB0_6
LBB0_1:
	movq	_B_READING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r14), %r15
	movq	%r15, %rsi
	callq	_test_bit
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.2:
	movq	_B_WRITING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movq	_B_DIRTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___GFP_FS,4,2                   ## @__GFP_FS
	.comm	_B_READING,4,2                  ## @B_READING
	.comm	_B_WRITING,4,2                  ## @B_WRITING
	.comm	_B_DIRTY,4,2                    ## @B_DIRTY
	.no_dead_strip	___try_evict_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __try_evict_buffer
___try_evict_buffer:                    ; @__try_evict_buffer
	.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, ___GFP_FS@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___GFP_FS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_3
LBB0_1:
	ldr	x8, [x19]
	cbnz	x8, LBB0_6
; %bb.2:
	mov	x0, x19
	bl	___make_buffer_clean
	mov	x0, x19
	bl	___unlink_buffer
	mov	x0, x19
	bl	___free_buffer_wake
	mov	w0, #1
	b	LBB0_7
LBB0_3:
Lloh3:
	adrp	x8, _B_READING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B_READING@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x20, x19, #8
	mov	x1, x20
	bl	_test_bit
	cbnz	x0, LBB0_6
; %bb.4:
Lloh6:
	adrp	x8, _B_WRITING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _B_WRITING@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cbnz	x0, LBB0_6
; %bb.5:
Lloh9:
	adrp	x8, _B_DIRTY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _B_DIRTY@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_1
LBB0_6:
	mov	w0, #0
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	___GFP_FS,4,2                   ; @__GFP_FS
	.comm	_B_READING,4,2                  ; @B_READING
	.comm	_B_WRITING,4,2                  ; @B_WRITING
	.comm	_B_DIRTY,4,2                    ; @B_DIRTY
	.no_dead_strip	___try_evict_buffer
.subsections_via_symbols
