	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BackgroundWriterMain           ## -- Begin function BackgroundWriterMain
	.p2align	4, 0x90
_BackgroundWriterMain:                  ## @BackgroundWriterMain
	.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
	movq	_SIGHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_BgSigHupHandler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pqsignal
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIG_IGN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_pqsignal
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ReqShutdownHandler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pqsignal
	movq	_SIGQUIT@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_bg_quickdie@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pqsignal
	movq	_SIGALRM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_pqsignal
	movq	_SIGPIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_pqsignal
	movq	_SIGUSR1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_bgwriter_sigusr1_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pqsignal
	movq	_SIGUSR2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_pqsignal
	movq	_SIGCHLD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIG_DFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pqsignal
	movl	(%r14), %esi
	movq	_BlockSig@GOTPCREL(%rip), %rdi
	callq	_sigdelset
	xorl	%eax, %eax
	callq	_GetCurrentTimestamp
	movq	_last_snapshot_ts@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_TopMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ALLOCSET_DEFAULT_SIZES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_AllocSetContextCreate
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_MemoryContextSwitchTo
	movq	_bgwriter_flush_after@GOTPCREL(%rip), %rsi
	leaq	-44(%rbp), %rdi
	callq	_WritebackContextInit
	movl	$1, %esi
	callq	_sigsetjmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_error_context_stack@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	xorl	%eax, %eax
	callq	_HOLD_INTERRUPTS
	xorl	%eax, %eax
	callq	_EmitErrorReport
	xorl	%eax, %eax
	callq	_LWLockReleaseAll
	xorl	%eax, %eax
	callq	_ConditionVariableCancelSleep
	xorl	%eax, %eax
	callq	_AbortBufferIO
	xorl	%eax, %eax
	callq	_UnlockBuffers
	xorl	%edi, %edi
	callq	_ReleaseAuxProcessResources
	xorl	%edi, %edi
	callq	_AtEOXact_Buffers
	xorl	%eax, %eax
	callq	_AtEOXact_SMgr
	xorl	%edi, %edi
	callq	_AtEOXact_Files
	xorl	%edi, %edi
	callq	_AtEOXact_HashTables
	movl	%ebx, %edi
	callq	_MemoryContextSwitchTo
	xorl	%eax, %eax
	callq	_FlushErrorState
	movl	%ebx, %edi
	callq	_MemoryContextResetAndDeleteChildren
	movq	_bgwriter_flush_after@GOTPCREL(%rip), %rsi
	leaq	-44(%rbp), %rdi
	callq	_WritebackContextInit
	xorl	%eax, %eax
	callq	_RESUME_INTERRUPTS
	movl	$1000000, %edi                  ## imm = 0xF4240
	callq	_pg_usleep
	xorl	%eax, %eax
	callq	_smgrcloseall
	xorl	%eax, %eax
	callq	_pgstat_report_wait_end
LBB0_2:
	movq	_PG_exception_stack@GOTPCREL(%rip), %rax
	leaq	-48(%rbp), %rcx
	movq	%rcx, (%rax)
	movq	_UnBlockSig@GOTPCREL(%rip), %rdi
	callq	_PG_SETMASK
	movq	_MyLatch@GOTPCREL(%rip), %r14
	movq	_got_SIGHUP@GOTPCREL(%rip), %r13
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %r15d
	movl	(%r14), %edi
	callq	_ResetLatch
	cmpl	$0, (%r13)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$0, (%r13)
	movq	_PGC_SIGHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ProcessConfigFile
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_shutdown_requested@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_ExitOnAnyError@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	xorl	%edi, %edi
	callq	_proc_exit
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	-44(%rbp), %rdi
	callq	_BgBufferSync
	movl	%eax, %r12d
	xorl	%eax, %eax
	callq	_pgstat_send_bgwriter
	xorl	%eax, %eax
	callq	_FirstCallSinceLastCheckpoint
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_smgrcloseall
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_XLogStandbyInfoActive
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_RecoveryInProgress
	testl	%eax, %eax
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_GetCurrentTimestamp
	movq	%rax, %rbx
	movq	_last_snapshot_ts@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_LOG_SNAPSHOT_INTERVAL_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_TimestampTzPlusMilliseconds
	cmpq	%rbx, %rax
	jg	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_last_snapshot_lsn@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	xorl	%eax, %eax
	callq	_GetLastImportantRecPtr
	cmpq	%rax, %r14
	movq	_MyLatch@GOTPCREL(%rip), %r14
	jg	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_LogStandbySnapshot
	movq	_last_snapshot_lsn@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_last_snapshot_ts@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %edi
	movq	_WL_TIMEOUT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_WL_LATCH_SET@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_WL_EXIT_ON_PM_DEATH@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_BgWriterDelay@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_WAIT_EVENT_BGWRITER_MAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_WaitLatch
	cmpl	(%rbx), %eax
	jne	LBB0_3
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_MyProc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_StrategyNotifyBgWriter
	movl	(%r14), %edi
	movq	_WL_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WL_LATCH_SET@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_WL_EXIT_ON_PM_DEATH@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_HIBERNATE_FACTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_BgWriterDelay@GOTPCREL(%rip), %rax
	imull	(%rax), %edx
	movq	_WAIT_EVENT_BGWRITER_HIBERNATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_WaitLatch
	movl	$-1, %edi
	callq	_StrategyNotifyBgWriter
	movl	$1, %r12d
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGHUP,4,2                     ## @SIGHUP
	.comm	_BgSigHupHandler,4,2            ## @BgSigHupHandler
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_ReqShutdownHandler,4,2         ## @ReqShutdownHandler
	.comm	_SIGQUIT,4,2                    ## @SIGQUIT
	.comm	_bg_quickdie,4,2                ## @bg_quickdie
	.comm	_SIGALRM,4,2                    ## @SIGALRM
	.comm	_SIGPIPE,4,2                    ## @SIGPIPE
	.comm	_SIGUSR1,4,2                    ## @SIGUSR1
	.comm	_bgwriter_sigusr1_handler,4,2   ## @bgwriter_sigusr1_handler
	.comm	_SIGUSR2,4,2                    ## @SIGUSR2
	.comm	_SIGCHLD,4,2                    ## @SIGCHLD
	.comm	_SIG_DFL,4,2                    ## @SIG_DFL
	.comm	_BlockSig,4,2                   ## @BlockSig
	.comm	_last_snapshot_ts,8,3           ## @last_snapshot_ts
	.comm	_TopMemoryContext,4,2           ## @TopMemoryContext
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Background Writer"

	.comm	_ALLOCSET_DEFAULT_SIZES,4,2     ## @ALLOCSET_DEFAULT_SIZES
	.comm	_bgwriter_flush_after,4,2       ## @bgwriter_flush_after
	.comm	_error_context_stack,8,3        ## @error_context_stack
	.comm	_PG_exception_stack,8,3         ## @PG_exception_stack
	.comm	_UnBlockSig,4,2                 ## @UnBlockSig
	.comm	_MyLatch,4,2                    ## @MyLatch
	.comm	_got_SIGHUP,4,2                 ## @got_SIGHUP
	.comm	_PGC_SIGHUP,4,2                 ## @PGC_SIGHUP
	.comm	_shutdown_requested,8,3         ## @shutdown_requested
	.comm	_ExitOnAnyError,4,2             ## @ExitOnAnyError
	.comm	_LOG_SNAPSHOT_INTERVAL_MS,4,2   ## @LOG_SNAPSHOT_INTERVAL_MS
	.comm	_last_snapshot_lsn,8,3          ## @last_snapshot_lsn
	.comm	_WL_LATCH_SET,4,2               ## @WL_LATCH_SET
	.comm	_WL_TIMEOUT,4,2                 ## @WL_TIMEOUT
	.comm	_WL_EXIT_ON_PM_DEATH,4,2        ## @WL_EXIT_ON_PM_DEATH
	.comm	_BgWriterDelay,4,2              ## @BgWriterDelay
	.comm	_WAIT_EVENT_BGWRITER_MAIN,4,2   ## @WAIT_EVENT_BGWRITER_MAIN
	.comm	_MyProc,8,3                     ## @MyProc
	.comm	_HIBERNATE_FACTOR,4,2           ## @HIBERNATE_FACTOR
	.comm	_WAIT_EVENT_BGWRITER_HIBERNATE,4,2 ## @WAIT_EVENT_BGWRITER_HIBERNATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BackgroundWriterMain           ; -- Begin function BackgroundWriterMain
	.p2align	2
_BackgroundWriterMain:                  ; @BackgroundWriterMain
	.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
Lloh0:
	adrp	x8, _SIGHUP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIGHUP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _BgSigHupHandler@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BgSigHupHandler@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_pqsignal
Lloh6:
	adrp	x8, _SIGINT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x19, _SIG_IGN@GOTPAGE
Lloh10:
	ldr	x19, [x19, _SIG_IGN@GOTPAGEOFF]
	ldr	w1, [x19]
	bl	_pqsignal
Lloh11:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _ReqShutdownHandler@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ReqShutdownHandler@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_pqsignal
Lloh17:
	adrp	x20, _SIGQUIT@GOTPAGE
Lloh18:
	ldr	x20, [x20, _SIGQUIT@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh19:
	adrp	x8, _bg_quickdie@GOTPAGE
Lloh20:
	ldr	x8, [x8, _bg_quickdie@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_pqsignal
Lloh22:
	adrp	x8, _SIGALRM@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SIGALRM@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_pqsignal
Lloh25:
	adrp	x8, _SIGPIPE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SIGPIPE@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_pqsignal
Lloh28:
	adrp	x8, _SIGUSR1@GOTPAGE
Lloh29:
	ldr	x8, [x8, _SIGUSR1@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
Lloh31:
	adrp	x8, _bgwriter_sigusr1_handler@GOTPAGE
Lloh32:
	ldr	x8, [x8, _bgwriter_sigusr1_handler@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	bl	_pqsignal
Lloh34:
	adrp	x8, _SIGUSR2@GOTPAGE
Lloh35:
	ldr	x8, [x8, _SIGUSR2@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_pqsignal
Lloh37:
	adrp	x8, _SIGCHLD@GOTPAGE
Lloh38:
	ldr	x8, [x8, _SIGCHLD@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
Lloh40:
	adrp	x8, _SIG_DFL@GOTPAGE
Lloh41:
	ldr	x8, [x8, _SIG_DFL@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	bl	_pqsignal
	ldr	w1, [x20]
Lloh43:
	adrp	x0, _BlockSig@GOTPAGE
Lloh44:
	ldr	x0, [x0, _BlockSig@GOTPAGEOFF]
	bl	_sigdelset
	bl	_GetCurrentTimestamp
Lloh45:
	adrp	x8, _last_snapshot_ts@GOTPAGE
Lloh46:
	ldr	x8, [x8, _last_snapshot_ts@GOTPAGEOFF]
Lloh47:
	str	x0, [x8]
Lloh48:
	adrp	x8, _TopMemoryContext@GOTPAGE
Lloh49:
	ldr	x8, [x8, _TopMemoryContext@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
Lloh51:
	adrp	x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGE
Lloh52:
	ldr	x8, [x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGEOFF]
Lloh53:
	ldr	w2, [x8]
Lloh54:
	adrp	x1, l_.str@PAGE
Lloh55:
	add	x1, x1, l_.str@PAGEOFF
	bl	_AllocSetContextCreate
	mov	x19, x0
	bl	_MemoryContextSwitchTo
Lloh56:
	adrp	x1, _bgwriter_flush_after@GOTPAGE
Lloh57:
	ldr	x1, [x1, _bgwriter_flush_after@GOTPAGEOFF]
	add	x0, sp, #8
	bl	_WritebackContextInit
	mov	w22, #1
	mov	w1, #1
	bl	_sigsetjmp
	cbz	x0, LBB0_2
; %bb.1:
Lloh58:
	adrp	x8, _error_context_stack@GOTPAGE
Lloh59:
	ldr	x8, [x8, _error_context_stack@GOTPAGEOFF]
Lloh60:
	str	xzr, [x8]
	bl	_HOLD_INTERRUPTS
	bl	_EmitErrorReport
	bl	_LWLockReleaseAll
	bl	_ConditionVariableCancelSleep
	bl	_AbortBufferIO
	bl	_UnlockBuffers
	mov	w0, #0
	bl	_ReleaseAuxProcessResources
	mov	w0, #0
	bl	_AtEOXact_Buffers
	bl	_AtEOXact_SMgr
	mov	w0, #0
	bl	_AtEOXact_Files
	mov	w0, #0
	bl	_AtEOXact_HashTables
	mov	x0, x19
	bl	_MemoryContextSwitchTo
	bl	_FlushErrorState
	mov	x0, x19
	bl	_MemoryContextResetAndDeleteChildren
Lloh61:
	adrp	x1, _bgwriter_flush_after@GOTPAGE
Lloh62:
	ldr	x1, [x1, _bgwriter_flush_after@GOTPAGEOFF]
	add	x0, sp, #8
	bl	_WritebackContextInit
	bl	_RESUME_INTERRUPTS
	mov	w0, #16960
	movk	w0, #15, lsl #16
	bl	_pg_usleep
	bl	_smgrcloseall
	bl	_pgstat_report_wait_end
LBB0_2:
Lloh63:
	adrp	x8, _PG_exception_stack@GOTPAGE
Lloh64:
	ldr	x8, [x8, _PG_exception_stack@GOTPAGEOFF]
	add	x9, sp, #12
Lloh65:
	str	x9, [x8]
Lloh66:
	adrp	x0, _UnBlockSig@GOTPAGE
Lloh67:
	ldr	x0, [x0, _UnBlockSig@GOTPAGEOFF]
	bl	_PG_SETMASK
	mov	w25, #0
Lloh68:
	adrp	x28, _MyLatch@GOTPAGE
Lloh69:
	ldr	x28, [x28, _MyLatch@GOTPAGEOFF]
Lloh70:
	adrp	x23, _got_SIGHUP@GOTPAGE
Lloh71:
	ldr	x23, [x23, _got_SIGHUP@GOTPAGEOFF]
Lloh72:
	adrp	x20, _WL_LATCH_SET@GOTPAGE
Lloh73:
	ldr	x20, [x20, _WL_LATCH_SET@GOTPAGEOFF]
Lloh74:
	adrp	x27, _WL_TIMEOUT@GOTPAGE
Lloh75:
	ldr	x27, [x27, _WL_TIMEOUT@GOTPAGEOFF]
Lloh76:
	adrp	x21, _WL_EXIT_ON_PM_DEATH@GOTPAGE
Lloh77:
	ldr	x21, [x21, _WL_EXIT_ON_PM_DEATH@GOTPAGEOFF]
Lloh78:
	adrp	x24, _BgWriterDelay@GOTPAGE
Lloh79:
	ldr	x24, [x24, _BgWriterDelay@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x28]
	bl	_ResetLatch
	ldr	w8, [x23]
	cbz	w8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [x23]
Lloh80:
	adrp	x8, _PGC_SIGHUP@GOTPAGE
Lloh81:
	ldr	x8, [x8, _PGC_SIGHUP@GOTPAGEOFF]
Lloh82:
	ldr	w0, [x8]
	bl	_ProcessConfigFile
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh83:
	adrp	x8, _shutdown_requested@GOTPAGE
Lloh84:
	ldr	x8, [x8, _shutdown_requested@GOTPAGEOFF]
Lloh85:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh86:
	adrp	x8, _ExitOnAnyError@GOTPAGE
Lloh87:
	ldr	x8, [x8, _ExitOnAnyError@GOTPAGEOFF]
Lloh88:
	str	w22, [x8]
	mov	w0, #0
	bl	_proc_exit
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #8
	bl	_BgBufferSync
	mov	x19, x0
	bl	_pgstat_send_bgwriter
	bl	_FirstCallSinceLastCheckpoint
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_smgrcloseall
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_XLogStandbyInfoActive
	cbz	x0, LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	bl	_RecoveryInProgress
	cbnz	w0, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	bl	_GetCurrentTimestamp
	mov	x26, x0
Lloh89:
	adrp	x8, _last_snapshot_ts@GOTPAGE
Lloh90:
	ldr	x8, [x8, _last_snapshot_ts@GOTPAGEOFF]
Lloh91:
	ldr	x0, [x8]
Lloh92:
	adrp	x8, _LOG_SNAPSHOT_INTERVAL_MS@GOTPAGE
Lloh93:
	ldr	x8, [x8, _LOG_SNAPSHOT_INTERVAL_MS@GOTPAGEOFF]
Lloh94:
	ldr	w1, [x8]
	bl	_TimestampTzPlusMilliseconds
	cmp	x0, x26
	b.gt	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh95:
	adrp	x8, _last_snapshot_lsn@GOTPAGE
Lloh96:
	ldr	x8, [x8, _last_snapshot_lsn@GOTPAGEOFF]
Lloh97:
	ldr	x22, [x8]
	bl	_GetLastImportantRecPtr
	cmp	x22, x0
	mov	w22, #1
	b.gt	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	bl	_LogStandbySnapshot
Lloh98:
	adrp	x8, _last_snapshot_lsn@GOTPAGE
Lloh99:
	ldr	x8, [x8, _last_snapshot_lsn@GOTPAGEOFF]
Lloh100:
	str	x0, [x8]
Lloh101:
	adrp	x8, _last_snapshot_ts@GOTPAGE
Lloh102:
	ldr	x8, [x8, _last_snapshot_ts@GOTPAGEOFF]
Lloh103:
	str	x26, [x8]
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x28]
	ldr	w8, [x20]
	ldr	w9, [x27]
	orr	w8, w9, w8
	ldr	w9, [x21]
	orr	w1, w8, w9
	ldr	w2, [x24]
Lloh104:
	adrp	x8, _WAIT_EVENT_BGWRITER_MAIN@GOTPAGE
Lloh105:
	ldr	x8, [x8, _WAIT_EVENT_BGWRITER_MAIN@GOTPAGEOFF]
Lloh106:
	ldr	w3, [x8]
	bl	_WaitLatch
	ldr	w8, [x27]
	cmp	w0, w8
	ccmp	w19, #0, #4, eq
	ccmp	w25, #0, #4, ne
	mov	x25, x19
	b.eq	LBB0_3
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh107:
	adrp	x8, _MyProc@GOTPAGE
Lloh108:
	ldr	x8, [x8, _MyProc@GOTPAGEOFF]
Lloh109:
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_StrategyNotifyBgWriter
	ldr	w0, [x28]
	ldr	w8, [x20]
	ldr	w9, [x27]
	orr	w8, w9, w8
	ldr	w9, [x21]
	orr	w1, w8, w9
	ldr	w8, [x24]
Lloh110:
	adrp	x9, _HIBERNATE_FACTOR@GOTPAGE
Lloh111:
	ldr	x9, [x9, _HIBERNATE_FACTOR@GOTPAGEOFF]
Lloh112:
	ldr	w9, [x9]
	mul	w2, w9, w8
Lloh113:
	adrp	x8, _WAIT_EVENT_BGWRITER_HIBERNATE@GOTPAGE
Lloh114:
	ldr	x8, [x8, _WAIT_EVENT_BGWRITER_HIBERNATE@GOTPAGEOFF]
Lloh115:
	ldr	w3, [x8]
	bl	_WaitLatch
	mov	w0, #-1
	bl	_StrategyNotifyBgWriter
	mov	w25, #1
	b	LBB0_3
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotStr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGotStr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGotStr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotStr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotStr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotStr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGHUP,4,2                     ; @SIGHUP
	.comm	_BgSigHupHandler,4,2            ; @BgSigHupHandler
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_ReqShutdownHandler,4,2         ; @ReqShutdownHandler
	.comm	_SIGQUIT,4,2                    ; @SIGQUIT
	.comm	_bg_quickdie,4,2                ; @bg_quickdie
	.comm	_SIGALRM,4,2                    ; @SIGALRM
	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
	.comm	_SIGUSR1,4,2                    ; @SIGUSR1
	.comm	_bgwriter_sigusr1_handler,4,2   ; @bgwriter_sigusr1_handler
	.comm	_SIGUSR2,4,2                    ; @SIGUSR2
	.comm	_SIGCHLD,4,2                    ; @SIGCHLD
	.comm	_SIG_DFL,4,2                    ; @SIG_DFL
	.comm	_BlockSig,4,2                   ; @BlockSig
	.comm	_last_snapshot_ts,8,3           ; @last_snapshot_ts
	.comm	_TopMemoryContext,4,2           ; @TopMemoryContext
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Background Writer"

	.comm	_ALLOCSET_DEFAULT_SIZES,4,2     ; @ALLOCSET_DEFAULT_SIZES
	.comm	_bgwriter_flush_after,4,2       ; @bgwriter_flush_after
	.comm	_error_context_stack,8,3        ; @error_context_stack
	.comm	_PG_exception_stack,8,3         ; @PG_exception_stack
	.comm	_UnBlockSig,4,2                 ; @UnBlockSig
	.comm	_MyLatch,4,2                    ; @MyLatch
	.comm	_got_SIGHUP,4,2                 ; @got_SIGHUP
	.comm	_PGC_SIGHUP,4,2                 ; @PGC_SIGHUP
	.comm	_shutdown_requested,8,3         ; @shutdown_requested
	.comm	_ExitOnAnyError,4,2             ; @ExitOnAnyError
	.comm	_LOG_SNAPSHOT_INTERVAL_MS,4,2   ; @LOG_SNAPSHOT_INTERVAL_MS
	.comm	_last_snapshot_lsn,8,3          ; @last_snapshot_lsn
	.comm	_WL_LATCH_SET,4,2               ; @WL_LATCH_SET
	.comm	_WL_TIMEOUT,4,2                 ; @WL_TIMEOUT
	.comm	_WL_EXIT_ON_PM_DEATH,4,2        ; @WL_EXIT_ON_PM_DEATH
	.comm	_BgWriterDelay,4,2              ; @BgWriterDelay
	.comm	_WAIT_EVENT_BGWRITER_MAIN,4,2   ; @WAIT_EVENT_BGWRITER_MAIN
	.comm	_MyProc,8,3                     ; @MyProc
	.comm	_HIBERNATE_FACTOR,4,2           ; @HIBERNATE_FACTOR
	.comm	_WAIT_EVENT_BGWRITER_HIBERNATE,4,2 ; @WAIT_EVENT_BGWRITER_HIBERNATE
.subsections_via_symbols
