	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __cleanup_old_buffer
___cleanup_old_buffer:                  ## @__cleanup_old_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	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subq	(%rdi), %rax
	movl	$1, %r14d
	cmpq	%rdx, %rax
	jb	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	movq	___GFP_IO@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_2
LBB0_5:
	cmpq	$0, 8(%rbx)
	jne	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	___make_buffer_clean
	movq	%rbx, %rdi
	callq	___unlink_buffer
	movq	%rbx, %rdi
	callq	___free_buffer_wake
	xorl	%r14d, %r14d
	jmp	LBB0_7
LBB0_2:
	movq	_B_READING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%rbx), %r15
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_7
## %bb.3:
	movq	_B_WRITING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	movq	_B_DIRTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	___GFP_IO,4,2                   ## @__GFP_IO
	.comm	_B_READING,4,2                  ## @B_READING
	.comm	_B_WRITING,4,2                  ## @B_WRITING
	.comm	_B_DIRTY,4,2                    ## @B_DIRTY
	.no_dead_strip	___cleanup_old_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __cleanup_old_buffer
___cleanup_old_buffer:                  ; @__cleanup_old_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
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x0]
	sub	x8, x8, x9
	cmp	x8, x2
	b.lo	LBB0_7
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, ___GFP_IO@GOTPAGE
Lloh4:
	ldr	x8, [x8, ___GFP_IO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_4
LBB0_2:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_7
; %bb.3:
	mov	x0, x19
	bl	___make_buffer_clean
	mov	x0, x19
	bl	___unlink_buffer
	mov	x0, x19
	bl	___free_buffer_wake
	mov	w0, #0
	b	LBB0_8
LBB0_4:
Lloh6:
	adrp	x8, _B_READING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _B_READING@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x20, x19, #16
	mov	x1, x20
	bl	_test_bit
	cbnz	x0, LBB0_7
; %bb.5:
Lloh9:
	adrp	x8, _B_WRITING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _B_WRITING@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cbnz	x0, LBB0_7
; %bb.6:
Lloh12:
	adrp	x8, _B_DIRTY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _B_DIRTY@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_2
LBB0_7:
	mov	w0, #1
LBB0_8:
	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
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	___GFP_IO,4,2                   ; @__GFP_IO
	.comm	_B_READING,4,2                  ; @B_READING
	.comm	_B_WRITING,4,2                  ; @B_WRITING
	.comm	_B_DIRTY,4,2                    ; @B_DIRTY
	.no_dead_strip	___cleanup_old_buffer
.subsections_via_symbols
