	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function _PG_init
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	__PG_init
	.p2align	4, 0x90
__PG_init:                              ## @_PG_init
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_PGC_SIGHUP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rsp)
	movl	%ecx, 8(%rsp)
	movl	%eax, (%rsp)
	movq	$0, 40(%rsp)
	movl	$0, 16(%rsp)
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	_worker_spi_naptime@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	movl	$10, %r8d
	movl	$1, %r9d
	callq	_DefineCustomIntVariable
	movq	_process_shared_preload_libraries_in_progress@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_4
## %bb.1:
	movq	_PGC_POSTMASTER@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rsp)
	movl	%eax, 8(%rsp)
	movq	$0, 40(%rsp)
	movl	$0, 16(%rsp)
	movl	$100, (%rsp)
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
	movq	_worker_spi_total_workers@GOTPCREL(%rip), %r15
	movl	$1, %ebx
	xorl	%edx, %edx
	movq	%r15, %rcx
	movl	$2, %r8d
	movl	$1, %r9d
	callq	_DefineCustomIntVariable
	movl	(%r14), %r9d
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rsp)
	movq	$0, 24(%rsp)
	movl	$0, (%rsp)
	leaq	L_.str.4(%rip), %rdi
	leaq	L_.str.5(%rip), %rsi
	movq	_worker_spi_database@GOTPCREL(%rip), %rcx
	leaq	L_.str.6(%rip), %r8
	xorl	%edx, %edx
	callq	_DefineCustomStringVariable
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	_BGWORKER_SHMEM_ACCESS@GOTPCREL(%rip), %rax
	movq	_BGWORKER_BACKEND_DATABASE_CONNECTION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, -80(%rbp)
	movq	_BgWorkerStart_RecoveryFinished@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	_BGW_NEVER_RESTART@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movl	-52(%rbp), %edi
	leaq	L_.str.7(%rip), %rsi
	callq	_sprintf
	movl	-56(%rbp), %edi
	leaq	L_.str.8(%rip), %rsi
	callq	_sprintf
	movq	$0, -64(%rbp)
	cmpl	$0, (%r15)
	je	LBB0_4
## %bb.2:
	movq	_BGW_MAXLEN@GOTPCREL(%rip), %r14
	leaq	L_.str.7(%rip), %r12
	leaq	-80(%rbp), %r13
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	-68(%rbp), %edi
	movl	(%r14), %esi
	leaq	L_.str.9(%rip), %rdx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_snprintf
	movl	-72(%rbp), %edi
	movl	(%r14), %esi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_snprintf
	movl	%ebx, %edi
	callq	_Int32GetDatum
	movl	%eax, -76(%rbp)
	movq	%r13, %rdi
	callq	_RegisterBackgroundWorker
	incl	%ebx
	cmpl	(%r15), %ebx
	jbe	LBB0_3
LBB0_4:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"worker_spi.naptime"

L_.str.1:                               ## @.str.1
	.asciz	"Duration between each check (in seconds)."

	.comm	_worker_spi_naptime,4,2         ## @worker_spi_naptime
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_PGC_SIGHUP,4,2                 ## @PGC_SIGHUP
	.comm	_process_shared_preload_libraries_in_progress,4,2 ## @process_shared_preload_libraries_in_progress
L_.str.2:                               ## @.str.2
	.asciz	"worker_spi.total_workers"

L_.str.3:                               ## @.str.3
	.asciz	"Number of workers."

	.comm	_worker_spi_total_workers,4,2   ## @worker_spi_total_workers
	.comm	_PGC_POSTMASTER,4,2             ## @PGC_POSTMASTER
L_.str.4:                               ## @.str.4
	.asciz	"worker_spi.database"

L_.str.5:                               ## @.str.5
	.asciz	"Database to connect to."

	.comm	_worker_spi_database,4,2        ## @worker_spi_database
L_.str.6:                               ## @.str.6
	.asciz	"postgres"

	.comm	_BGWORKER_SHMEM_ACCESS,4,2      ## @BGWORKER_SHMEM_ACCESS
	.comm	_BGWORKER_BACKEND_DATABASE_CONNECTION,4,2 ## @BGWORKER_BACKEND_DATABASE_CONNECTION
	.comm	_BgWorkerStart_RecoveryFinished,4,2 ## @BgWorkerStart_RecoveryFinished
	.comm	_BGW_NEVER_RESTART,4,2          ## @BGW_NEVER_RESTART
L_.str.7:                               ## @.str.7
	.asciz	"worker_spi"

L_.str.8:                               ## @.str.8
	.asciz	"worker_spi_main"

	.comm	_BGW_MAXLEN,4,2                 ## @BGW_MAXLEN
L_.str.9:                               ## @.str.9
	.asciz	"worker_spi worker %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__PG_init                       ; -- Begin function _PG_init
	.p2align	2
__PG_init:                              ; @_PG_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
Lloh0:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w6, [x8]
Lloh3:
	adrp	x8, _PGC_SIGHUP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PGC_SIGHUP@GOTPAGEOFF]
Lloh5:
	ldr	w7, [x8]
	stp	xzr, xzr, [sp, #8]
	str	xzr, [sp, #24]
	str	wzr, [sp]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh10:
	adrp	x3, _worker_spi_naptime@GOTPAGE
Lloh11:
	ldr	x3, [x3, _worker_spi_naptime@GOTPAGEOFF]
	mov	x2, #0
	mov	w4, #10
	mov	w5, #1
	bl	_DefineCustomIntVariable
Lloh12:
	adrp	x8, _process_shared_preload_libraries_in_progress@GOTPAGE
Lloh13:
	ldr	x8, [x8, _process_shared_preload_libraries_in_progress@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.1:
Lloh15:
	adrp	x20, _PGC_POSTMASTER@GOTPAGE
Lloh16:
	ldr	x20, [x20, _PGC_POSTMASTER@GOTPAGEOFF]
	ldr	w7, [x20]
	stp	xzr, xzr, [sp, #8]
	str	xzr, [sp, #24]
	str	wzr, [sp]
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
Lloh21:
	adrp	x19, _worker_spi_total_workers@GOTPAGE
Lloh22:
	ldr	x19, [x19, _worker_spi_total_workers@GOTPAGEOFF]
	mov	x2, #0
	mov	x3, x19
	mov	w4, #2
	mov	w5, #1
	mov	w6, #100
	bl	_DefineCustomIntVariable
	ldr	w5, [x20]
	stp	xzr, xzr, [sp]
Lloh23:
	adrp	x0, l_.str.4@PAGE
Lloh24:
	add	x0, x0, l_.str.4@PAGEOFF
Lloh25:
	adrp	x1, l_.str.5@PAGE
Lloh26:
	add	x1, x1, l_.str.5@PAGEOFF
Lloh27:
	adrp	x3, _worker_spi_database@GOTPAGE
Lloh28:
	ldr	x3, [x3, _worker_spi_database@GOTPAGEOFF]
Lloh29:
	adrp	x4, l_.str.6@PAGE
Lloh30:
	add	x4, x4, l_.str.6@PAGEOFF
	mov	x2, #0
	mov	w6, #0
	mov	x7, #0
	bl	_DefineCustomStringVariable
	add	x0, sp, #40
	mov	w1, #0
	mov	w2, #40
	bl	_memset
Lloh31:
	adrp	x8, _BGWORKER_SHMEM_ACCESS@GOTPAGE
Lloh32:
	ldr	x8, [x8, _BGWORKER_SHMEM_ACCESS@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
Lloh34:
	adrp	x9, _BGWORKER_BACKEND_DATABASE_CONNECTION@GOTPAGE
Lloh35:
	ldr	x9, [x9, _BGWORKER_BACKEND_DATABASE_CONNECTION@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh37:
	adrp	x9, _BgWorkerStart_RecoveryFinished@GOTPAGE
Lloh38:
	ldr	x9, [x9, _BgWorkerStart_RecoveryFinished@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	str	w9, [sp, #76]
Lloh40:
	adrp	x9, _BGW_NEVER_RESTART@GOTPAGE
Lloh41:
	ldr	x9, [x9, _BGW_NEVER_RESTART@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	str	w8, [sp, #40]
	str	w9, [sp, #72]
	ldr	w0, [sp, #68]
Lloh43:
	adrp	x1, l_.str.7@PAGE
Lloh44:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_sprintf
	ldr	w0, [sp, #64]
Lloh45:
	adrp	x1, l_.str.8@PAGE
Lloh46:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_sprintf
	str	xzr, [sp, #56]
	ldr	w8, [x19]
	cbz	w8, LBB0_4
; %bb.2:
	mov	w20, #1
Lloh47:
	adrp	x23, _BGW_MAXLEN@GOTPAGE
Lloh48:
	ldr	x23, [x23, _BGW_MAXLEN@GOTPAGEOFF]
Lloh49:
	adrp	x21, l_.str.9@PAGE
Lloh50:
	add	x21, x21, l_.str.9@PAGEOFF
Lloh51:
	adrp	x22, l_.str.7@PAGE
Lloh52:
	add	x22, x22, l_.str.7@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [sp, #52]
	ldr	w1, [x23]
	str	x20, [sp]
	mov	x2, x21
	bl	_snprintf
	ldr	w0, [sp, #48]
	ldr	w1, [x23]
	mov	x2, x22
	bl	_snprintf
	mov	x0, x20
	bl	_Int32GetDatum
	str	w0, [sp, #44]
	add	x0, sp, #40
	bl	_RegisterBackgroundWorker
	add	w20, w20, #1
	ldr	w8, [x19]
	cmp	w20, w8
	b.ls	LBB0_3
LBB0_4:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"worker_spi.naptime"

l_.str.1:                               ; @.str.1
	.asciz	"Duration between each check (in seconds)."

	.comm	_worker_spi_naptime,4,2         ; @worker_spi_naptime
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_PGC_SIGHUP,4,2                 ; @PGC_SIGHUP
	.comm	_process_shared_preload_libraries_in_progress,4,2 ; @process_shared_preload_libraries_in_progress
l_.str.2:                               ; @.str.2
	.asciz	"worker_spi.total_workers"

l_.str.3:                               ; @.str.3
	.asciz	"Number of workers."

	.comm	_worker_spi_total_workers,4,2   ; @worker_spi_total_workers
	.comm	_PGC_POSTMASTER,4,2             ; @PGC_POSTMASTER
l_.str.4:                               ; @.str.4
	.asciz	"worker_spi.database"

l_.str.5:                               ; @.str.5
	.asciz	"Database to connect to."

	.comm	_worker_spi_database,4,2        ; @worker_spi_database
l_.str.6:                               ; @.str.6
	.asciz	"postgres"

	.comm	_BGWORKER_SHMEM_ACCESS,4,2      ; @BGWORKER_SHMEM_ACCESS
	.comm	_BGWORKER_BACKEND_DATABASE_CONNECTION,4,2 ; @BGWORKER_BACKEND_DATABASE_CONNECTION
	.comm	_BgWorkerStart_RecoveryFinished,4,2 ; @BgWorkerStart_RecoveryFinished
	.comm	_BGW_NEVER_RESTART,4,2          ; @BGW_NEVER_RESTART
l_.str.7:                               ; @.str.7
	.asciz	"worker_spi"

l_.str.8:                               ; @.str.8
	.asciz	"worker_spi_main"

	.comm	_BGW_MAXLEN,4,2                 ; @BGW_MAXLEN
l_.str.9:                               ; @.str.9
	.asciz	"worker_spi worker %d"

.subsections_via_symbols
