	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function apw_load_buffers
_apw_load_buffers:                      ## @apw_load_buffers
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_apw_state@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	$20, %rdi
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_LWLockAcquire
	movq	(%r15), %rdi
	movq	(%rdi), %rax
	movq	_InvalidPid@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_27
## %bb.1:
	movq	_MyProcPid@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rdi)
	addq	$20, %rdi
	callq	_LWLockRelease
	movq	_AUTOPREWARM_FILE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_AllocateFile
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.28:
	movq	(%r15), %rdi
	addq	$20, %rdi
	movl	(%r13), %esi
	callq	_LWLockAcquire
	movq	(%r12), %rax
	movq	(%r15), %rdi
	movq	%rax, (%rdi)
	addq	$20, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_LWLockRelease                  ## TAILCALL
LBB0_27:
	addq	$20, %rdi
	callq	_LWLockRelease
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	(%r15), %rax
	movq	(%rax), %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ereport                        ## TAILCALL
LBB0_3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	movslq	(%r14), %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_4:
	leaq	L_.str.3(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_fscanf
	cmpl	$1, %eax
	movq	%rbx, %r12
	je	LBB0_6
## %bb.5:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	movslq	(%r14), %rsi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_6:
	movl	-44(%rbp), %eax
	shll	$3, %eax
	leal	(%rax,%rax,2), %edi
	xorl	%esi, %esi
	callq	_dsm_create
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_dsm_segment_address
	movq	%rax, %r15
	cmpl	$0, -44(%rbp)
	jle	LBB0_12
## %bb.7:
	leaq	L_.str.5(%rip), %rbx
	xorl	%r14d, %r14d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rbx
	movq	%r12, %r15
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	incq	%r14
	leaq	L_.str.6(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r12d, %edi
	movq	%r15, %r12
	movq	%rbx, %r15
	leaq	L_.str.5(%rip), %rbx
	movl	%eax, %esi
	callq	_ereport
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	-48(%rbp), %eax
	movl	%eax, 8(%r15,%r13,8)
	movslq	-44(%rbp), %rax
	cmpq	%rax, %r14
	jge	LBB0_12
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r14,%r14,2), %r13
	leaq	(%r15,%r13,8), %rdx
	leaq	(%r15,%r13,8), %rcx
	addq	$20, %rcx
	leaq	16(%r15,%r13,8), %r8
	leaq	12(%r15,%r13,8), %rax
	movq	%rax, (%rsp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	leaq	-48(%rbp), %r9
	xorl	%eax, %eax
	callq	_fscanf
	cmpl	$5, %eax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	incq	%r14
	jmp	LBB0_11
LBB0_12:
	movq	%r12, %rdi
	callq	_FreeFile
	movl	-44(%rbp), %esi
	movq	_apw_compare_blockinfo@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	$24, %edx
	callq	_pg_qsort
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_dsm_segment_handle
	movq	_apw_state@GOTPCREL(%rip), %r12
	movq	(%r12), %r9
	movl	%eax, 24(%r9)
	movq	$0, 8(%r9)
	movl	$0, 16(%r9)
	movl	-44(%rbp), %edx
	testl	%edx, %edx
	movq	_InvalidPid@GOTPCREL(%rip), %r13
	jle	LBB0_26
## %bb.13:
	movq	_InvalidOid@GOTPCREL(%rip), %r14
	xorl	%r10d, %r10d
	.p2align	4, 0x90
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	movslq	%r10d, %rsi
	leaq	(%rsi,%rsi,2), %rax
	movq	(%r15,%rax,8), %rbx
	incl	%esi
	movq	(%r14), %rdi
	cmpl	%edx, %esi
	jge	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movslq	%esi, %rax
	leal	-1(%rdx), %r8d
	leaq	(%rax,%rax,2), %rax
	leaq	(%r15,%rax,8), %rax
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_17 Depth=2
	movq	%rbx, %rcx
LBB0_20:                                ##   in Loop: Header=BB0_17 Depth=2
	incl	%esi
	addq	$24, %rax
	movq	%rcx, %rbx
	cmpl	%esi, %edx
	je	LBB0_21
LBB0_17:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rax), %rcx
	cmpq	%rcx, %rbx
	je	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=2
	cmpq	%rdi, %rbx
	je	LBB0_20
## %bb.22:                              ##   in Loop: Header=BB0_14 Depth=1
	leal	-1(%rsi), %r8d
	cmpq	%rdi, %rbx
	jne	LBB0_24
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	%r10d, %r8d
	cmpq	%rdi, %rbx
	jne	LBB0_24
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%rcx, %rbx
	movl	%edx, %esi
	cmpq	%rdi, %rbx
	je	LBB0_26
LBB0_24:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	%esi, 12(%r9)
	movq	%rbx, 32(%r9)
	xorl	%edi, %edi
	cmpl	%r8d, %r10d
	setle	%dil
	callq	_Assert
	xorl	%eax, %eax
	callq	_have_free_buffer
	testl	%eax, %eax
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_14 Depth=1
	xorl	%eax, %eax
	callq	_apw_start_database_worker
	movq	(%r12), %r9
	movl	12(%r9), %r10d
	movl	%r10d, 8(%r9)
	movl	-44(%rbp), %edx
	cmpl	%edx, %r10d
	jl	LBB0_14
LBB0_26:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_dsm_detach
	movq	(%r12), %rdi
	addq	$20, %rdi
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movq	_DSM_HANDLE_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r12), %rdi
	movl	%eax, 24(%rdi)
	movq	(%r13), %rax
	movq	%rax, (%rdi)
	addq	$20, %rdi
	callq	_LWLockRelease
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	(%r12), %rax
	movslq	16(%rax), %rsi
	movl	-44(%rbp), %edx
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_apw_state,8,3                  ## @apw_state
	.comm	_LW_EXCLUSIVE,4,2               ## @LW_EXCLUSIVE
	.comm	_InvalidPid,8,3                 ## @InvalidPid
	.comm	_MyProcPid,8,3                  ## @MyProcPid
	.comm	_LOG,4,2                        ## @LOG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"skipping prewarm because block dump file is being written by PID %lu"

	.comm	_AUTOPREWARM_FILE,4,2           ## @AUTOPREWARM_FILE
L_.str.1:                               ## @.str.1
	.asciz	"r"

	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
	.comm	_ERROR,4,2                      ## @ERROR
L_.str.2:                               ## @.str.2
	.asciz	"could not read file \"%s\": %m"

L_.str.3:                               ## @.str.3
	.asciz	"<<%d>>\n"

L_.str.4:                               ## @.str.4
	.asciz	"could not read from file \"%s\": %m"

L_.str.5:                               ## @.str.5
	.asciz	"%u,%u,%u,%u,%u\n"

L_.str.6:                               ## @.str.6
	.asciz	"autoprewarm block dump file is corrupted at line %d"

	.comm	_apw_compare_blockinfo,4,2      ## @apw_compare_blockinfo
	.comm	_InvalidOid,8,3                 ## @InvalidOid
	.comm	_DSM_HANDLE_INVALID,4,2         ## @DSM_HANDLE_INVALID
L_.str.7:                               ## @.str.7
	.asciz	"autoprewarm successfully prewarmed %d of %d previously-loaded blocks"

	.no_dead_strip	_apw_load_buffers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function apw_load_buffers
_apw_load_buffers:                      ; @apw_load_buffers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x22, _apw_state@GOTPAGE
Lloh1:
	ldr	x22, [x22, _apw_state@GOTPAGEOFF]
	ldr	x8, [x22]
	add	x0, x8, #20
Lloh2:
	adrp	x23, _LW_EXCLUSIVE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _LW_EXCLUSIVE@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_LWLockAcquire
	ldr	x0, [x22]
	ldr	x8, [x0]
Lloh4:
	adrp	x19, _InvalidPid@GOTPAGE
Lloh5:
	ldr	x19, [x19, _InvalidPid@GOTPAGEOFF]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
Lloh6:
	adrp	x8, _MyProcPid@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MyProcPid@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x0], #20
	bl	_LWLockRelease
Lloh9:
	adrp	x20, _AUTOPREWARM_FILE@GOTPAGE
Lloh10:
	ldr	x20, [x20, _AUTOPREWARM_FILE@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_AllocateFile
	mov	x21, x0
Lloh13:
	adrp	x27, _ERROR@GOTPAGE
Lloh14:
	ldr	x27, [x27, _ERROR@GOTPAGEOFF]
	cbnz	x0, LBB0_6
; %bb.2:
Lloh15:
	adrp	x8, _errno@GOTPAGE
Lloh16:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	adrp	x9, _ENOENT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x22]
	add	x0, x8, #20
	ldr	w1, [x23]
	bl	_LWLockAcquire
	ldr	x8, [x19]
	ldr	x0, [x22]
	str	x8, [x0], #20
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_LWLockRelease
LBB0_4:
	add	x0, x0, #20
	bl	_LWLockRelease
Lloh21:
	adrp	x8, _LOG@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LOG@GOTPAGEOFF]
Lloh23:
	ldr	w19, [x8]
	ldr	x8, [x22]
	ldr	x1, [x8]
Lloh24:
	adrp	x0, l_.str@PAGE
Lloh25:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_ereport
LBB0_5:
	ldr	w19, [x27]
	bl	_errcode_for_file_access
	ldrsw	x1, [x20]
Lloh26:
	adrp	x0, l_.str.2@PAGE
Lloh27:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_6:
	add	x8, sp, #60
	str	x8, [sp]
Lloh28:
	adrp	x1, l_.str.3@PAGE
Lloh29:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_fscanf
	cmp	w0, #1
	b.eq	LBB0_8
; %bb.7:
	ldr	w19, [x27]
	bl	_errcode_for_file_access
	ldrsw	x1, [x20]
Lloh30:
	adrp	x0, l_.str.4@PAGE
Lloh31:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_8:
	ldr	w8, [sp, #60]
	add	w8, w8, w8, lsl #1
	lsl	w0, w8, #3
	mov	w1, #0
	bl	_dsm_create
	str	x0, [sp, #48]                   ; 8-byte Folded Spill
	bl	_dsm_segment_address
	mov	x20, x0
	ldr	w8, [sp, #60]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.9:
	mov	x24, #0
	mov	w28, #24
	add	x26, sp, #56
Lloh32:
	adrp	x22, l_.str.5@PAGE
Lloh33:
	add	x22, x22, l_.str.5@PAGEOFF
Lloh34:
	adrp	x23, l_.str.6@PAGE
Lloh35:
	add	x23, x23, l_.str.6@PAGEOFF
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w25, [x27]
	add	x19, x24, #1
	mov	x0, x23
	mov	x1, x19
	bl	_errmsg
	mov	x1, x0
	mov	x0, x25
	bl	_ereport
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [sp, #56]
	madd	x9, x24, x28, x20
	str	w8, [x9, #8]
	ldrsw	x8, [sp, #60]
	mov	x24, x19
	cmp	x19, x8
	b.ge	LBB0_14
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	madd	x8, x24, x28, x20
	add	x9, x8, #20
	add	x10, x8, #16
	add	x11, x8, #12
	stp	x26, x11, [sp, #24]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
	mov	x0, x21
	mov	x1, x22
	bl	_fscanf
	cmp	w0, #5
	b.ne	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x19, x24, #1
	b	LBB0_11
LBB0_14:
	mov	x0, x21
	bl	_FreeFile
	ldr	w1, [sp, #60]
Lloh36:
	adrp	x8, _apw_compare_blockinfo@GOTPAGE
Lloh37:
	ldr	x8, [x8, _apw_compare_blockinfo@GOTPAGEOFF]
Lloh38:
	ldr	w3, [x8]
	mov	w21, #24
	mov	x0, x20
	mov	w2, #24
	bl	_pg_qsort
	ldr	x19, [sp, #48]                  ; 8-byte Folded Reload
	mov	x0, x19
	bl	_dsm_segment_handle
Lloh39:
	adrp	x23, _apw_state@GOTPAGE
Lloh40:
	ldr	x23, [x23, _apw_state@GOTPAGEOFF]
	ldr	x8, [x23]
	str	w0, [x8, #24]
	str	xzr, [x8, #8]
	str	wzr, [x8, #16]
	ldr	w10, [sp, #60]
	cmp	w10, #1
	b.lt	LBB0_27
; %bb.15:
	mov	w9, #0
Lloh41:
	adrp	x22, _InvalidOid@GOTPAGE
Lloh42:
	ldr	x22, [x22, _InvalidOid@GOTPAGEOFF]
LBB0_16:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_20 Depth 2
	smull	x11, w9, w21
	ldr	x14, [x20, x11]
	add	w11, w9, #1
	ldr	x12, [x22]
	cmp	w11, w10
	b.ge	LBB0_23
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	sub	w13, w10, #1
	smaddl	x15, w11, w21, x20
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_20 Depth=2
	mov	x16, x14
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=2
	add	w11, w11, #1
	add	x15, x15, #24
	mov	x14, x16
	cmp	w10, w11
	b.eq	LBB0_24
LBB0_20:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x16, [x15]
	cmp	x14, x16
	b.eq	LBB0_18
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=2
	cmp	x14, x12
	b.eq	LBB0_19
; %bb.22:                               ;   in Loop: Header=BB0_16 Depth=1
	sub	w13, w11, #1
	cmp	x14, x12
	b.ne	LBB0_25
	b	LBB0_27
LBB0_23:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x13, x9
	cmp	x14, x12
	b.ne	LBB0_25
	b	LBB0_27
LBB0_24:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x14, x16
	mov	x11, x10
	cmp	x14, x12
	b.eq	LBB0_27
LBB0_25:                                ;   in Loop: Header=BB0_16 Depth=1
	str	w11, [x8, #12]
	str	x14, [x8, #32]
	cmp	w9, w13
	cset	w0, le
	bl	_Assert
	bl	_have_free_buffer
	cbz	w0, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_16 Depth=1
	bl	_apw_start_database_worker
	ldr	x8, [x23]
	ldr	w9, [x8, #12]
	str	w9, [x8, #8]
	ldr	w10, [sp, #60]
	cmp	w9, w10
	b.lt	LBB0_16
LBB0_27:
	mov	x0, x19
	bl	_dsm_detach
	ldr	x8, [x23]
	add	x0, x8, #20
Lloh43:
	adrp	x8, _LW_EXCLUSIVE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _LW_EXCLUSIVE@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	bl	_LWLockAcquire
Lloh46:
	adrp	x8, _DSM_HANDLE_INVALID@GOTPAGE
Lloh47:
	ldr	x8, [x8, _DSM_HANDLE_INVALID@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	ldr	x9, [x23]
	str	w8, [x9, #24]
Lloh49:
	adrp	x8, _InvalidPid@GOTPAGE
Lloh50:
	ldr	x8, [x8, _InvalidPid@GOTPAGEOFF]
Lloh51:
	ldr	x8, [x8]
	str	x8, [x9]
	add	x0, x9, #20
	bl	_LWLockRelease
Lloh52:
	adrp	x8, _LOG@GOTPAGE
Lloh53:
	ldr	x8, [x8, _LOG@GOTPAGEOFF]
Lloh54:
	ldr	w19, [x8]
	ldr	x8, [x23]
	ldrsw	x1, [x8, #16]
	ldr	w8, [sp, #60]
	str	x8, [sp]
Lloh55:
	adrp	x0, l_.str.7@PAGE
Lloh56:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_apw_state,8,3                  ; @apw_state
	.comm	_LW_EXCLUSIVE,4,2               ; @LW_EXCLUSIVE
	.comm	_InvalidPid,8,3                 ; @InvalidPid
	.comm	_MyProcPid,8,3                  ; @MyProcPid
	.comm	_LOG,4,2                        ; @LOG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"skipping prewarm because block dump file is being written by PID %lu"

	.comm	_AUTOPREWARM_FILE,4,2           ; @AUTOPREWARM_FILE
l_.str.1:                               ; @.str.1
	.asciz	"r"

	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
	.comm	_ERROR,4,2                      ; @ERROR
l_.str.2:                               ; @.str.2
	.asciz	"could not read file \"%s\": %m"

l_.str.3:                               ; @.str.3
	.asciz	"<<%d>>\n"

l_.str.4:                               ; @.str.4
	.asciz	"could not read from file \"%s\": %m"

l_.str.5:                               ; @.str.5
	.asciz	"%u,%u,%u,%u,%u\n"

l_.str.6:                               ; @.str.6
	.asciz	"autoprewarm block dump file is corrupted at line %d"

	.comm	_apw_compare_blockinfo,4,2      ; @apw_compare_blockinfo
	.comm	_InvalidOid,8,3                 ; @InvalidOid
	.comm	_DSM_HANDLE_INVALID,4,2         ; @DSM_HANDLE_INVALID
l_.str.7:                               ; @.str.7
	.asciz	"autoprewarm successfully prewarmed %d of %d previously-loaded blocks"

	.no_dead_strip	_apw_load_buffers
.subsections_via_symbols
