	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PrintBufferLeakWarning         ## -- Begin function PrintBufferLeakWarning
	.p2align	4, 0x90
_PrintBufferLeakWarning:                ## @PrintBufferLeakWarning
	.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
	callq	_BufferIsValid
	movl	%eax, %edi
	callq	_Assert
	movl	%r15d, %edi
	callq	_BufferIsLocal
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	%r15d, %ebx
	notl	%ebx
	movl	%ebx, %edi
	callq	_GetLocalBufferDescriptor
	movq	%rax, %r13
	movq	_LocalRefCount@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movl	(%rax,%rcx,4), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_MyBackendId@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	leal	-1(%r15), %edi
	callq	_GetBufferDescriptor
	movq	%rax, %r13
	movl	%r15d, %edi
	callq	_GetPrivateRefCount
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_InvalidBackendId@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movl	4(%r13), %edx
	movl	8(%r13), %edi
	callq	_relpathbackend
	movq	%rax, %r12
	leaq	12(%r13), %rdi
	callq	_pg_atomic_read_u32
	movq	_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	(%r13), %r13d
	movq	_BUF_FLAG_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	andl	%eax, %r14d
	movl	%eax, %edi
	callq	_BUF_STATE_GET_REFCOUNT
                                        ## kill: def $eax killed $eax def $rax
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%r15d, %edx
	movq	%r12, %rcx
	movl	%r13d, %r8d
	movl	%r14d, %r9d
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	pushq	%rax
	callq	_elog
	addq	$16, %rsp
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LocalRefCount,8,3              ## @LocalRefCount
	.comm	_MyBackendId,4,2                ## @MyBackendId
	.comm	_InvalidBackendId,4,2           ## @InvalidBackendId
	.comm	_WARNING,4,2                    ## @WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"buffer refcount leak: [%03d] (rel=%s, blockNum=%u, flags=0x%x, refcount=%u %d)"

	.comm	_BUF_FLAG_MASK,4,2              ## @BUF_FLAG_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PrintBufferLeakWarning         ; -- Begin function PrintBufferLeakWarning
	.p2align	2
_PrintBufferLeakWarning:                ; @PrintBufferLeakWarning
	.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
	mov	x19, x0
	bl	_BufferIsValid
	bl	_Assert
	mov	x0, x19
	bl	_BufferIsLocal
	cbz	x0, LBB0_2
; %bb.1:
	mvn	w20, w19
	mov	x0, x20
	bl	_GetLocalBufferDescriptor
	mov	x21, x0
Lloh0:
	adrp	x8, _LocalRefCount@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LocalRefCount@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w20, [x8, w20, sxtw #2]
Lloh3:
	adrp	x8, _MyBackendId@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MyBackendId@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	sub	w0, w19, #1
	bl	_GetBufferDescriptor
	mov	x21, x0
	mov	x0, x19
	bl	_GetPrivateRefCount
	mov	x20, x0
Lloh5:
	adrp	x8, _InvalidBackendId@GOTPAGE
Lloh6:
	ldr	x8, [x8, _InvalidBackendId@GOTPAGEOFF]
LBB0_3:
	ldr	w1, [x8]
	ldp	w2, w0, [x21, #4]
	bl	_relpathbackend
	mov	x22, x0
	add	x0, x21, #12
	bl	_pg_atomic_read_u32
Lloh7:
	adrp	x8, _WARNING@GOTPAGE
Lloh8:
	ldr	x8, [x8, _WARNING@GOTPAGEOFF]
Lloh9:
	ldr	w23, [x8]
	ldr	w21, [x21]
Lloh10:
	adrp	x8, _BUF_FLAG_MASK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BUF_FLAG_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	and	w24, w8, w0
	bl	_BUF_STATE_GET_REFCOUNT
	mov	x6, x0
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	mov	x2, x19
	mov	x3, x22
	mov	x4, x21
	mov	x5, x24
	mov	x7, x20
	bl	_elog
	mov	x0, x22
	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
	b	_pfree
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_LocalRefCount,8,3              ; @LocalRefCount
	.comm	_MyBackendId,4,2                ; @MyBackendId
	.comm	_InvalidBackendId,4,2           ; @InvalidBackendId
	.comm	_WARNING,4,2                    ; @WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"buffer refcount leak: [%03d] (rel=%s, blockNum=%u, flags=0x%x, refcount=%u %d)"

	.comm	_BUF_FLAG_MASK,4,2              ; @BUF_FLAG_MASK
.subsections_via_symbols
