	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function XLogFileClose
_XLogFileClose:                         ## @XLogFileClose
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_openLogFile@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	notl	%edi
	shrl	$31, %edi
	callq	_Assert
	movl	(%r14), %edi
	callq	_close
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_PANIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	movq	_ThisTimeLineID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_openLogSegNo@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_XLogFileNameP
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movl	$-1, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_openLogFile,4,2                ## @openLogFile
	.comm	_PANIC,4,2                      ## @PANIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not close file \"%s\": %m"

	.comm	_ThisTimeLineID,4,2             ## @ThisTimeLineID
	.comm	_openLogSegNo,4,2               ## @openLogSegNo
	.comm	_POSIX_FADV_DONTNEED,4,2        ## @POSIX_FADV_DONTNEED
	.no_dead_strip	_XLogFileClose
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function XLogFileClose
_XLogFileClose:                         ; @XLogFileClose
	.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	x20, _openLogFile@GOTPAGE
Lloh1:
	ldr	x20, [x20, _openLogFile@GOTPAGEOFF]
	ldr	w8, [x20]
	mvn	w8, w8
	lsr	w0, w8, #31
	bl	_Assert
	ldr	w0, [x20]
	bl	_close
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _PANIC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PANIC@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
	bl	_errcode_for_file_access
Lloh5:
	adrp	x8, _ThisTimeLineID@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ThisTimeLineID@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _openLogSegNo@GOTPAGE
Lloh9:
	ldr	x8, [x8, _openLogSegNo@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_XLogFileNameP
	mov	x1, x0
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_2:
	mov	w8, #-1
	str	w8, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_openLogFile,4,2                ; @openLogFile
	.comm	_PANIC,4,2                      ; @PANIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not close file \"%s\": %m"

	.comm	_ThisTimeLineID,4,2             ; @ThisTimeLineID
	.comm	_openLogSegNo,4,2               ; @openLogSegNo
	.comm	_POSIX_FADV_DONTNEED,4,2        ; @POSIX_FADV_DONTNEED
	.no_dead_strip	_XLogFileClose
.subsections_via_symbols
