	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AutoVacuumRequestWork          ## -- Begin function AutoVacuumRequestWork
	.p2align	4, 0x90
_AutoVacuumRequestWork:                 ## @AutoVacuumRequestWork
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movl	%edi, %ebx
	movq	_AutovacuumLock@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movq	_NUM_WORKITEMS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_5
## %bb.1:
	movq	_AutoVacuumShmem@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	shlq	$3, %rcx
	leaq	(%rcx,%rcx,2), %rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rax,%rcx)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$24, %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_2
LBB0_5:
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_3:
	movq	$1, (%rax,%rcx)
	movl	%ebx, 20(%rax,%rcx)
	movq	_MyDatabaseId@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 16(%rax,%rcx)
	movl	%r15d, 12(%rax,%rcx)
	movl	%r14d, 8(%rax,%rcx)
	movl	$1, %ebx
LBB0_6:
	movl	(%r12), %edi
	callq	_LWLockRelease
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AutovacuumLock,4,2             ## @AutovacuumLock
	.comm	_LW_EXCLUSIVE,4,2               ## @LW_EXCLUSIVE
	.comm	_NUM_WORKITEMS,4,2              ## @NUM_WORKITEMS
	.comm	_AutoVacuumShmem,8,3            ## @AutoVacuumShmem
	.comm	_MyDatabaseId,4,2               ## @MyDatabaseId
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function AutoVacuumRequestWork
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_AutoVacuumRequestWork
	.p2align	2
_AutoVacuumRequestWork:                 ; @AutoVacuumRequestWork
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _AutovacuumLock@GOTPAGE
Lloh1:
	ldr	x22, [x22, _AutovacuumLock@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh2:
	adrp	x8, _LW_EXCLUSIVE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LW_EXCLUSIVE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_LWLockAcquire
Lloh5:
	adrp	x8, _NUM_WORKITEMS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NUM_WORKITEMS@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.1:
Lloh8:
	adrp	x8, _AutoVacuumShmem@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AutoVacuumShmem@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x8, [x8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8]
	cbz	w10, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #24
	subs	x9, x9, #1
	b.ne	LBB0_2
LBB0_4:
	mov	w19, #0
	b	LBB0_6
LBB0_5:
Lloh11:
	adrp	x9, lCPI0_0@PAGE
Lloh12:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x8]
Lloh13:
	adrp	x9, _MyDatabaseId@GOTPAGE
Lloh14:
	ldr	x9, [x9, _MyDatabaseId@GOTPAGEOFF]
	str	w21, [x8, #20]
Lloh15:
	ldr	w9, [x9]
	stp	w20, w9, [x8, #12]
	str	w19, [x8, #8]
	mov	w19, #1
LBB0_6:
	ldr	w0, [x22]
	bl	_LWLockRelease
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdrp	Lloh11, Lloh13
	.loh AdrpLdr	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_AutovacuumLock,4,2             ; @AutovacuumLock
	.comm	_LW_EXCLUSIVE,4,2               ; @LW_EXCLUSIVE
	.comm	_NUM_WORKITEMS,4,2              ; @NUM_WORKITEMS
	.comm	_AutoVacuumShmem,8,3            ; @AutoVacuumShmem
	.comm	_MyDatabaseId,4,2               ; @MyDatabaseId
.subsections_via_symbols
