	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DropRelFileNodeBuffers         ## -- Begin function DropRelFileNodeBuffers
	.p2align	4, 0x90
_DropRelFileNodeBuffers:                ## @DropRelFileNodeBuffers
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, %r13d
	movq	%rdi, %r12
	callq	_RelFileNodeBackendIsTemp
	testq	%rax, %rax
	je	LBB0_1
## %bb.10:
	movq	_MyBackendId@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_17
## %bb.11:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_17
## %bb.12:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%rbx,8), %rsi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%rbx,8), %rdx
	movl	%r13d, %edi
	callq	_DropRelFileNodeLocalBuffers
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_13
	jmp	LBB0_17
LBB0_1:
	movq	_NBuffers@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_17
## %bb.2:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_UnlockBufHdr
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	movq	_NBuffers@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jge	LBB0_17
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movl	%ebx, %edi
	callq	_GetBufferDescriptor
	movq	%rax, %r12
	movl	16(%rax), %edi
	movl	%r13d, %esi
	callq	_RelFileNodeEquals
	testq	%rax, %rax
	je	LBB0_16
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_LockBufHdr
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r15d, %r15d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=2
	incq	%r15
	cmpq	%r15, %r14
	je	LBB0_15
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	16(%r12), %edi
	movl	%r13d, %esi
	callq	_RelFileNodeEquals
	testq	%rax, %rax
	je	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r12), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpq	(%rcx,%r15,8), %rax
	jne	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	8(%r12), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpq	(%rcx,%r15,8), %rax
	jl	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_InvalidateBuffer
	jmp	LBB0_16
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MyBackendId,8,3                ## @MyBackendId
	.comm	_NBuffers,4,2                   ## @NBuffers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DropRelFileNodeBuffers         ; -- Begin function DropRelFileNodeBuffers
	.p2align	2
_DropRelFileNodeBuffers:                ; @DropRelFileNodeBuffers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x26, x4
	mov	x22, x3
	mov	x27, x2
	mov	x21, x1
	mov	x23, x0
	bl	_RelFileNodeBackendIsTemp
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _MyBackendId@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MyBackendId@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x23, x8
	ccmp	w22, #1, #8, eq
	b.lt	LBB0_16
; %bb.2:
	mov	w19, w22
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x27], #8
	ldr	x2, [x26], #8
	mov	x0, x21
	bl	_DropRelFileNodeLocalBuffers
	subs	x19, x19, #1
	b.ne	LBB0_3
	b	LBB0_16
LBB0_4:
Lloh3:
	adrp	x8, _NBuffers@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NBuffers@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.5:
	mov	w23, #0
	mov	w8, w22
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x24
	mov	x1, x25
	bl	_UnlockBufHdr
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w23, w23, #1
Lloh6:
	adrp	x8, _NBuffers@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NBuffers@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w23, w8
	b.ge	LBB0_16
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	mov	x0, x23
	bl	_GetBufferDescriptor
	mov	x24, x0
	ldr	w0, [x0, #16]
	mov	x1, x21
	bl	_RelFileNodeEquals
	cbz	x0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x24
	bl	_LockBufHdr
	mov	x25, x0
	cmp	w22, #1
	b.lt	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x28, [sp, #8]                   ; 8-byte Folded Reload
	mov	x20, x27
	mov	x19, x26
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	add	x19, x19, #8
	add	x20, x20, #8
	subs	x28, x28, #1
	b.eq	LBB0_6
LBB0_12:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x24, #16]
	mov	x1, x21
	bl	_RelFileNodeEquals
	cbz	x0, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	x8, [x24]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	x8, [x24, #8]
	ldr	x9, [x19]
	cmp	x8, x9
	b.lt	LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x24
	bl	_InvalidateBuffer
	b	LBB0_7
LBB0_16:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MyBackendId,8,3                ; @MyBackendId
	.comm	_NBuffers,4,2                   ; @NBuffers
.subsections_via_symbols
