	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AutoVacuumShmemInit            ## -- Begin function AutoVacuumShmemInit
	.p2align	4, 0x90
_AutoVacuumShmemInit:                   ## @AutoVacuumShmemInit
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_AutoVacuumShmemSize
	leaq	L_.str(%rip), %rdi
	leaq	-36(%rbp), %rdx
	movl	%eax, %esi
	callq	_ShmemInitStruct
	movq	_AutoVacuumShmem@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	movq	_IsUnderPostmaster@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movl	-36(%rbp), %edi
	je	LBB0_1
## %bb.4:
	callq	_Assert
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
	testl	%edi, %edi
	sete	%al
	movl	%eax, %edi
	callq	_Assert
	movq	(%r14), %rdi
	movq	$0, 24(%rdi)
	callq	_dlist_init
	movq	(%r14), %rdi
	addq	$16, %rdi
	callq	_dlist_init
	movq	(%r14), %rax
	movq	$0, 8(%rax)
	movl	4(%rax), %edi
	movq	_NUM_WORKITEMS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	movq	(%r14), %r12
	movl	$32, %edi
	callq	_MAXALIGN
	movq	_autovacuum_max_workers@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_5
## %bb.2:
	cltq
	addq	%rax, %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	movq	%r12, %rsi
	callq	_dlist_push_head
	incq	%rbx
	movslq	(%r15), %rax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AutoVacuum Data"

	.comm	_AutoVacuumShmem,8,3            ## @AutoVacuumShmem
	.comm	_IsUnderPostmaster,4,2          ## @IsUnderPostmaster
	.comm	_NUM_WORKITEMS,4,2              ## @NUM_WORKITEMS
	.comm	_autovacuum_max_workers,4,2     ## @autovacuum_max_workers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AutoVacuumShmemInit            ; -- Begin function AutoVacuumShmemInit
	.p2align	2
_AutoVacuumShmemInit:                   ; @AutoVacuumShmemInit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	bl	_AutoVacuumShmemSize
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	add	x2, sp, #12
	bl	_ShmemInitStruct
Lloh2:
	adrp	x20, _AutoVacuumShmem@GOTPAGE
Lloh3:
	ldr	x20, [x20, _AutoVacuumShmem@GOTPAGEOFF]
	str	x0, [x20]
Lloh4:
	adrp	x8, _IsUnderPostmaster@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IsUnderPostmaster@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w0, [sp, #12]
	cbz	w8, LBB0_2
; %bb.1:
	bl	_Assert
	b	LBB0_5
LBB0_2:
	cmp	w0, #0
	cset	w0, eq
	bl	_Assert
	ldr	x0, [x20]
	str	xzr, [x0, #24]
	bl	_dlist_init
	ldr	x8, [x20]
	add	x0, x8, #16
	bl	_dlist_init
	ldr	x8, [x20]
	str	xzr, [x8, #8]
	ldr	w0, [x8, #4]
Lloh7:
	adrp	x8, _NUM_WORKITEMS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NUM_WORKITEMS@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
	ldr	x19, [x20]
	mov	w0, #32
	bl	_MAXALIGN
Lloh10:
	adrp	x21, _autovacuum_max_workers@GOTPAGE
Lloh11:
	ldr	x21, [x21, _autovacuum_max_workers@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x22, #0
	add	x19, x19, w0, sxtw
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20]
	mov	x1, x19
	bl	_dlist_push_head
	add	x22, x22, #1
	ldrsw	x8, [x21]
	add	x19, x19, #4
	cmp	x22, x8
	b.lt	LBB0_4
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AutoVacuum Data"

	.comm	_AutoVacuumShmem,8,3            ; @AutoVacuumShmem
	.comm	_IsUnderPostmaster,4,2          ; @IsUnderPostmaster
	.comm	_NUM_WORKITEMS,4,2              ; @NUM_WORKITEMS
	.comm	_autovacuum_max_workers,4,2     ; @autovacuum_max_workers
.subsections_via_symbols
