	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function entry_reset
_entry_reset:                           ## @entry_reset
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_pgss@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	_pgss_hash@GOTPCREL(%rip), %r14
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpl	$0, (%r14)
	jne	LBB0_3
LBB0_2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r14d, %edi
	movq	_pgss_hash@GOTPCREL(%rip), %r14
	movl	%eax, %esi
	callq	_ereport
	movq	(%r13), %rax
LBB0_3:
	movl	(%rax), %edi
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movl	(%r14), %edi
	callq	_hash_get_num_entries
	movq	%rax, %r13
	testq	%rbx, %rbx
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_7
## %bb.4:
	testq	%r12, %r12
	je	LBB0_7
## %bb.5:
	xorl	%edi, %edi
	callq	_UINT64CONST
	cmpq	%r15, %rax
	jne	LBB0_6
LBB0_7:
	movq	%r12, %rax
	orq	%rbx, %rax
	jne	LBB0_9
## %bb.8:
	xorl	%edi, %edi
	callq	_UINT64CONST
	cmpq	%r15, %rax
	jne	LBB0_9
## %bb.19:
	movl	(%r14), %esi
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_hash_seq_init
	movq	%rbx, %rdi
	callq	_hash_seq_search
	testq	%rax, %rax
	je	LBB0_20
## %bb.21:
	movq	%r14, %rbx
	xorl	%r14d, %r14d
	movq	_HASH_REMOVE@GOTPCREL(%rip), %r15
	leaq	-64(%rbp), %r12
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movl	(%r15), %edx
	movq	%rax, %rsi
	xorl	%ecx, %ecx
	callq	_hash_search
	incq	%r14
	movq	%r12, %rdi
	callq	_hash_seq_search
	testq	%rax, %rax
	jne	LBB0_22
	jmp	LBB0_23
LBB0_9:
	movl	(%r14), %esi
	leaq	-64(%rbp), %r13
	movq	%r13, %rdi
	callq	_hash_seq_init
	movq	%r13, %rdi
	callq	_hash_seq_search
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_23
## %bb.10:
	leaq	-64(%rbp), %r13
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	_pgss_hash@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_HASH_REMOVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rsi
	xorl	%ecx, %ecx
	callq	_hash_search
	incq	%r14
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%r13, %rdi
	callq	_hash_seq_search
	testq	%rax, %rax
	je	LBB0_23
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpq	%rbx, (%rax)
	jne	LBB0_18
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	testq	%r12, %r12
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpq	%r12, 8(%rax)
	jne	LBB0_18
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	testq	%r15, %r15
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpq	%r15, 16(%rax)
	je	LBB0_17
	jmp	LBB0_18
LBB0_6:
	movq	%rbx, -64(%rbp)
	movq	%r12, -56(%rbp)
	movq	%r15, -48(%rbp)
	movl	(%r14), %edi
	movq	_HASH_REMOVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %rsi
	xorl	%ecx, %ecx
	callq	_hash_search
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setne	%r14b
LBB0_23:
	cmpq	%r14, -72(%rbp)                 ## 8-byte Folded Reload
	movq	_pgss@GOTPCREL(%rip), %r12
	jne	LBB0_30
## %bb.24:
	movq	_PGSS_TEXT_FILE@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_PG_BINARY_W@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_AllocateFile
	testq	%rax, %rax
	je	LBB0_25
## %bb.26:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_fileno
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_ftruncate
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	movl	(%r15), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_28:
	movq	%rbx, %rdi
	callq	_FreeFile
	jmp	LBB0_29
LBB0_25:
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	movl	(%r15), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_29:
	movq	(%r12), %rax
	movq	$0, 8(%rax)
	xorl	%eax, %eax
	callq	_record_gc_qtexts
LBB0_30:
	movq	(%r12), %rax
	movl	(%rax), %edi
	callq	_LWLockRelease
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	xorl	%r14d, %r14d
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_pgss,8,3                       ## @pgss
	.comm	_pgss_hash,4,2                  ## @pgss_hash
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE,4,2 ## @ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pg_stat_statements must be loaded via shared_preload_libraries"

	.comm	_LW_EXCLUSIVE,4,2               ## @LW_EXCLUSIVE
	.comm	_HASH_REMOVE,4,2                ## @HASH_REMOVE
	.comm	_PGSS_TEXT_FILE,4,2             ## @PGSS_TEXT_FILE
	.comm	_PG_BINARY_W,4,2                ## @PG_BINARY_W
	.comm	_LOG,4,2                        ## @LOG
L_.str.1:                               ## @.str.1
	.asciz	"could not create file \"%s\": %m"

L_.str.2:                               ## @.str.2
	.asciz	"could not truncate file \"%s\": %m"

	.no_dead_strip	_entry_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function entry_reset
_entry_reset:                           ; @entry_reset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x23, _pgss@GOTPAGE
Lloh1:
	ldr	x23, [x23, _pgss@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh2:
	adrp	x24, _pgss_hash@GOTPAGE
Lloh3:
	ldr	x24, [x24, _pgss_hash@GOTPAGEOFF]
	ldr	w9, [x24]
	cmp	x8, #0
	ccmp	w9, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh6:
	ldr	w19, [x8]
Lloh7:
	adrp	x8, _ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_errcode
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
	ldr	x8, [x23]
LBB0_2:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _LW_EXCLUSIVE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LW_EXCLUSIVE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_LWLockAcquire
	ldr	w0, [x24]
	bl	_hash_get_num_entries
	mov	x19, x0
	cbz	x22, LBB0_5
; %bb.3:
	cbz	x21, LBB0_5
; %bb.4:
	mov	w0, #0
	bl	_UINT64CONST
	cmp	x0, x20
	b.ne	LBB0_20
LBB0_5:
	orr	x8, x21, x22
	cbnz	x8, LBB0_10
; %bb.6:
	mov	w0, #0
	bl	_UINT64CONST
	cmp	x0, x20
	b.ne	LBB0_10
; %bb.7:
	ldr	w1, [x24]
	add	x0, sp, #8
	bl	_hash_seq_init
	add	x0, sp, #8
	bl	_hash_seq_search
	cbz	x0, LBB0_30
; %bb.8:
	mov	x1, x0
	mov	x25, #0
Lloh15:
	adrp	x20, _HASH_REMOVE@GOTPAGE
Lloh16:
	ldr	x20, [x20, _HASH_REMOVE@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24]
	ldr	w2, [x20]
	mov	x3, #0
	bl	_hash_search
	add	x25, x25, #1
	add	x0, sp, #8
	bl	_hash_seq_search
	mov	x1, x0
	cbnz	x0, LBB0_9
	b	LBB0_22
LBB0_10:
	ldr	w1, [x24]
	add	x0, sp, #8
	bl	_hash_seq_init
	add	x0, sp, #8
	bl	_hash_seq_search
	cbz	x0, LBB0_21
; %bb.11:
	mov	x1, x0
	mov	x25, #0
Lloh17:
	adrp	x26, _HASH_REMOVE@GOTPAGE
Lloh18:
	ldr	x26, [x26, _HASH_REMOVE@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	w0, [x24]
	ldr	w2, [x26]
	mov	x3, #0
	bl	_hash_search
	add	x25, x25, #1
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #8
	bl	_hash_seq_search
	mov	x1, x0
	cbz	x0, LBB0_22
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	cbz	x22, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x1]
	cmp	x8, x22
	b.ne	LBB0_13
LBB0_16:                                ;   in Loop: Header=BB0_14 Depth=1
	cbz	x21, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x1, #8]
	cmp	x8, x21
	b.ne	LBB0_13
LBB0_18:                                ;   in Loop: Header=BB0_14 Depth=1
	cbz	x20, LBB0_12
; %bb.19:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x1, #16]
	cmp	x8, x20
	b.eq	LBB0_12
	b	LBB0_13
LBB0_20:
	stp	x22, x21, [sp, #8]
	str	x20, [sp, #24]
	ldr	w0, [x24]
Lloh19:
	adrp	x8, _HASH_REMOVE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _HASH_REMOVE@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	x3, #0
	bl	_hash_search
	cmp	x0, #0
	cset	w25, ne
	cmp	x19, x25
	b.eq	LBB0_23
	b	LBB0_29
LBB0_21:
	mov	x25, #0
LBB0_22:
	cmp	x19, x25
	b.ne	LBB0_29
LBB0_23:
Lloh22:
	adrp	x21, _PGSS_TEXT_FILE@GOTPAGE
Lloh23:
	ldr	x21, [x21, _PGSS_TEXT_FILE@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh24:
	adrp	x8, _PG_BINARY_W@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PG_BINARY_W@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	bl	_AllocateFile
	cbz	x0, LBB0_27
; %bb.24:
	mov	x19, x0
	bl	_fileno
	mov	w1, #0
	bl	_ftruncate
	cbz	x0, LBB0_26
; %bb.25:
Lloh27:
	adrp	x8, _LOG@GOTPAGE
Lloh28:
	ldr	x8, [x8, _LOG@GOTPAGEOFF]
Lloh29:
	ldr	w20, [x8]
	bl	_errcode_for_file_access
	ldr	w8, [x21]
	str	x8, [sp]
Lloh30:
	adrp	x0, l_.str.2@PAGE
Lloh31:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_26:
	mov	x0, x19
	bl	_FreeFile
	b	LBB0_28
LBB0_27:
Lloh32:
	adrp	x8, _LOG@GOTPAGE
Lloh33:
	ldr	x8, [x8, _LOG@GOTPAGEOFF]
Lloh34:
	ldr	w19, [x8]
	bl	_errcode_for_file_access
	ldr	w8, [x21]
	str	x8, [sp]
Lloh35:
	adrp	x0, l_.str.1@PAGE
Lloh36:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_28:
	ldr	x8, [x23]
	str	xzr, [x8, #8]
	bl	_record_gc_qtexts
LBB0_29:
	ldr	x8, [x23]
	ldr	w0, [x8]
	bl	_LWLockRelease
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_30:
	mov	x25, #0
	cmp	x19, x25
	b.eq	LBB0_23
	b	LBB0_29
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_pgss,8,3                       ; @pgss
	.comm	_pgss_hash,4,2                  ; @pgss_hash
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE,4,2 ; @ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pg_stat_statements must be loaded via shared_preload_libraries"

	.comm	_LW_EXCLUSIVE,4,2               ; @LW_EXCLUSIVE
	.comm	_HASH_REMOVE,4,2                ; @HASH_REMOVE
	.comm	_PGSS_TEXT_FILE,4,2             ; @PGSS_TEXT_FILE
	.comm	_PG_BINARY_W,4,2                ; @PG_BINARY_W
	.comm	_LOG,4,2                        ; @LOG
l_.str.1:                               ; @.str.1
	.asciz	"could not create file \"%s\": %m"

l_.str.2:                               ; @.str.2
	.asciz	"could not truncate file \"%s\": %m"

	.no_dead_strip	_entry_reset
.subsections_via_symbols
