	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BufFileSize                    ## -- Begin function BufFileSize
	.p2align	4, 0x90
_BufFileSize:                           ## @BufFileSize
	.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, %rbx
	xorl	%edi, %edi
	cmpq	$0, 16(%rbx)
	setne	%dil
	callq	_Assert
	movq	8(%rbx), %rax
	movslq	(%rbx), %rcx
	movl	-4(%rax,%rcx,4), %edi
	callq	_FileSize
	movq	%rax, %r14
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	movq	8(%rbx), %rax
	movslq	(%rbx), %rcx
	movl	-4(%rax,%rcx,4), %edi
	callq	_FilePathName
	movl	4(%rbx), %edx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movslq	(%rbx), %rax
	decq	%rax
	movq	_MAX_PHYSICAL_FILESIZE@GOTPCREL(%rip), %rcx
	imulq	(%rcx), %rax
	addq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not determine size of temporary file \"%s\" from BufFile \"%s\": %m"

	.comm	_MAX_PHYSICAL_FILESIZE,8,3      ## @MAX_PHYSICAL_FILESIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BufFileSize                    ; -- Begin function BufFileSize
	.p2align	2
_BufFileSize:                           ; @BufFileSize
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x8, [x0, #16]
	cmp	x8, #0
	cset	w0, ne
	bl	_Assert
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19]
	add	x8, x8, x9, lsl #2
	ldur	w0, [x8, #-4]
	bl	_FileSize
	mov	x20, x0
	tbz	x0, #63, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	bl	_errcode_for_file_access
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19]
	add	x8, x8, x9, lsl #2
	ldur	w0, [x8, #-4]
	bl	_FilePathName
	mov	x1, x0
	ldr	w2, [x19, #4]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_2:
	ldrsw	x8, [x19]
	sub	x8, x8, #1
Lloh5:
	adrp	x9, _MAX_PHYSICAL_FILESIZE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MAX_PHYSICAL_FILESIZE@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	madd	x0, x9, x8, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not determine size of temporary file \"%s\" from BufFile \"%s\": %m"

	.comm	_MAX_PHYSICAL_FILESIZE,8,3      ; @MAX_PHYSICAL_FILESIZE
.subsections_via_symbols
