	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pgstat_beshutdown_hook
_pgstat_beshutdown_hook:                ## @pgstat_beshutdown_hook
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_MyBEEntry@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_MyDatabaseId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	$1, %edi
	callq	_pgstat_report_stat
LBB0_2:
	movq	%rbx, %rdi
	callq	_PGSTAT_BEGIN_WRITE_ACTIVITY
	movq	$0, (%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_PGSTAT_END_WRITE_ACTIVITY      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MyBEEntry,8,3                  ## @MyBEEntry
	.comm	_MyDatabaseId,4,2               ## @MyDatabaseId
	.no_dead_strip	_pgstat_beshutdown_hook
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pgstat_beshutdown_hook
_pgstat_beshutdown_hook:                ; @pgstat_beshutdown_hook
	.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, _MyBEEntry@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MyBEEntry@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
Lloh3:
	adrp	x8, _MyDatabaseId@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MyDatabaseId@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_OidIsValid
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #1
	bl	_pgstat_report_stat
LBB0_2:
	mov	x0, x19
	bl	_PGSTAT_BEGIN_WRITE_ACTIVITY
	str	xzr, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PGSTAT_END_WRITE_ACTIVITY
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MyBEEntry,8,3                  ; @MyBEEntry
	.comm	_MyDatabaseId,4,2               ; @MyDatabaseId
	.no_dead_strip	_pgstat_beshutdown_hook
.subsections_via_symbols
