	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_errfinish                      ## -- Begin function errfinish
	.p2align	4, 0x90
_errfinish:                             ## @errfinish
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_errordata@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_errordata_stack_depth@GOTPCREL(%rip), %rax
	imulq	$112, (%rax), %r12
	movq	_recursion_depth@GOTPCREL(%rip), %r15
	incl	(%r15)
	xorl	%eax, %eax
	callq	_CHECK_STACK_DEPTH
	movl	(%r14,%r12), %r13d
	movq	_ErrorContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpq	$0, 56(%r14,%r12)
	je	LBB0_1
LBB0_5:
	movq	_error_context_stack@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	callq	*8(%rbx)
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_6
LBB0_8:
	movq	_ERROR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_10
## %bb.9:
	movq	_InterruptHoldoffCount@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_QueryCancelHoldoffCount@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_CritSectionCount@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	decl	(%r15)
	xorl	%eax, %eax
	callq	_PG_RE_THROW
LBB0_10:
	movq	_FATAL@GOTPCREL(%rip), %r15
	cmpl	(%r15), %r13d
	jl	LBB0_13
## %bb.11:
	movq	_whereToSendOutput@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_DestRemote@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.12:
	movl	$1, %edi
	callq	_pq_endcopyout
LBB0_13:
	xorl	%eax, %eax
	callq	_EmitErrorReport
	movq	96(%r14,%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.14:
	callq	_pfree
LBB0_15:
	movq	88(%r14,%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.16:
	callq	_pfree
LBB0_17:
	movq	80(%r14,%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.18:
	callq	_pfree
LBB0_19:
	movq	72(%r14,%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.20:
	callq	_pfree
LBB0_21:
	leaq	(%r14,%r12), %rbx
	addq	$56, %rbx
	movq	64(%r14,%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_23
## %bb.22:
	callq	_pfree
LBB0_23:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_25
## %bb.24:
	callq	_pfree
LBB0_25:
	movq	48(%r14,%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_27
## %bb.26:
	callq	_pfree
LBB0_27:
	movq	40(%r14,%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_29
## %bb.28:
	callq	_pfree
LBB0_29:
	movq	32(%r14,%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_31
## %bb.30:
	callq	_pfree
LBB0_31:
	movq	24(%r14,%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_33
## %bb.32:
	callq	_pfree
LBB0_33:
	movq	16(%r14,%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_35
## %bb.34:
	callq	_pfree
LBB0_35:
	movq	8(%r14,%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_37
## %bb.36:
	callq	_pfree
LBB0_37:
	movq	_errordata_stack_depth@GOTPCREL(%rip), %rax
	decq	(%rax)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_MemoryContextSwitchTo
	movq	_recursion_depth@GOTPCREL(%rip), %rax
	decl	(%rax)
	cmpl	(%r15), %r13d
	jne	LBB0_42
## %bb.38:
	movq	_PG_exception_stack@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_41
## %bb.39:
	movq	_whereToSendOutput@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_DestRemote@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_41
## %bb.40:
	movq	_DestNone@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
LBB0_41:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movl	$1, %edi
	callq	_proc_exit
LBB0_42:
	movq	_PANIC@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jge	LBB0_43
## %bb.44:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CHECK_FOR_INTERRUPTS           ## TAILCALL
LBB0_1:
	movq	104(%r14,%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.2:
	movq	_backtrace_functions@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.3:
	callq	_matches_backtrace_functions
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	(%r14,%r12), %rdi
	movl	$2, %esi
	callq	_set_backtrace
	jmp	LBB0_5
LBB0_43:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.comm	_errordata,8,3                  ## @errordata
	.comm	_errordata_stack_depth,8,3      ## @errordata_stack_depth
	.comm	_recursion_depth,4,2            ## @recursion_depth
	.comm	_ErrorContext,4,2               ## @ErrorContext
	.comm	_backtrace_functions,8,3        ## @backtrace_functions
	.comm	_error_context_stack,8,3        ## @error_context_stack
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_InterruptHoldoffCount,8,3      ## @InterruptHoldoffCount
	.comm	_QueryCancelHoldoffCount,8,3    ## @QueryCancelHoldoffCount
	.comm	_CritSectionCount,8,3           ## @CritSectionCount
	.comm	_FATAL,4,2                      ## @FATAL
	.comm	_whereToSendOutput,8,3          ## @whereToSendOutput
	.comm	_DestRemote,8,3                 ## @DestRemote
	.comm	_PG_exception_stack,8,3         ## @PG_exception_stack
	.comm	_DestNone,8,3                   ## @DestNone
	.comm	_stdout,4,2                     ## @stdout
	.comm	_stderr,4,2                     ## @stderr
	.comm	_PANIC,4,2                      ## @PANIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_errfinish                      ; -- Begin function errfinish
	.p2align	2
_errfinish:                             ; @errfinish
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, _errordata@GOTPAGE
Lloh1:
	ldr	x8, [x8, _errordata@GOTPAGEOFF]
Lloh2:
	ldr	x24, [x8]
Lloh3:
	adrp	x23, _errordata_stack_depth@GOTPAGE
Lloh4:
	ldr	x23, [x23, _errordata_stack_depth@GOTPAGEOFF]
	ldr	x25, [x23]
	mov	w8, #112
	madd	x20, x25, x8, x24
Lloh5:
	adrp	x22, _recursion_depth@GOTPAGE
Lloh6:
	ldr	x22, [x22, _recursion_depth@GOTPAGEOFF]
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
	bl	_CHECK_STACK_DEPTH
	ldr	w21, [x20]
Lloh7:
	adrp	x8, _ErrorContext@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ErrorContext@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_MemoryContextSwitchTo
	mov	x19, x0
	mov	x26, x20
	ldr	x8, [x26, #56]!
	cbnz	x8, LBB0_4
; %bb.1:
	mov	w8, #112
	madd	x8, x25, x8, x24
	ldr	x0, [x8, #104]
Lloh10:
	adrp	x8, _backtrace_functions@GOTPAGE
Lloh11:
	ldr	x8, [x8, _backtrace_functions@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, #0
	ccmp	x8, #0, #4, ne
	b.eq	LBB0_4
; %bb.2:
	bl	_matches_backtrace_functions
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x20
	mov	w1, #2
	bl	_set_backtrace
LBB0_4:
Lloh13:
	adrp	x8, _error_context_stack@GOTPAGE
Lloh14:
	ldr	x8, [x8, _error_context_stack@GOTPAGEOFF]
Lloh15:
	ldr	x20, [x8]
	cbz	x20, LBB0_6
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	w0, [x20]
	blr	x8
	ldr	x20, [x20, #16]
	cbnz	x20, LBB0_5
LBB0_6:
Lloh16:
	adrp	x8, _ERROR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ne	LBB0_8
; %bb.7:
Lloh19:
	adrp	x8, _InterruptHoldoffCount@GOTPAGE
Lloh20:
	ldr	x8, [x8, _InterruptHoldoffCount@GOTPAGEOFF]
Lloh21:
	str	xzr, [x8]
Lloh22:
	adrp	x8, _QueryCancelHoldoffCount@GOTPAGE
Lloh23:
	ldr	x8, [x8, _QueryCancelHoldoffCount@GOTPAGEOFF]
Lloh24:
	str	xzr, [x8]
Lloh25:
	adrp	x8, _CritSectionCount@GOTPAGE
Lloh26:
	ldr	x8, [x8, _CritSectionCount@GOTPAGEOFF]
Lloh27:
	str	xzr, [x8]
	ldr	w8, [x22]
	sub	w8, w8, #1
	str	w8, [x22]
	bl	_PG_RE_THROW
LBB0_8:
Lloh28:
	adrp	x20, _FATAL@GOTPAGE
Lloh29:
	ldr	x20, [x20, _FATAL@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w21, w8
	b.lt	LBB0_11
; %bb.9:
Lloh30:
	adrp	x8, _whereToSendOutput@GOTPAGE
Lloh31:
	ldr	x8, [x8, _whereToSendOutput@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
Lloh33:
	adrp	x9, _DestRemote@GOTPAGE
Lloh34:
	ldr	x9, [x9, _DestRemote@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.10:
	mov	w0, #1
	bl	_pq_endcopyout
LBB0_11:
	bl	_EmitErrorReport
	mov	w8, #112
	mul	x8, x25, x8
	add	x8, x24, x8
	ldr	x0, [x8, #96]
	cbz	x0, LBB0_13
; %bb.12:
	bl	_pfree
LBB0_13:
	mov	w8, #112
	mul	x8, x25, x8
	add	x8, x24, x8
	ldr	x0, [x8, #88]
	cbz	x0, LBB0_15
; %bb.14:
	bl	_pfree
LBB0_15:
	mov	w8, #112
	mul	x8, x25, x8
	add	x8, x24, x8
	ldr	x0, [x8, #80]
	cbz	x0, LBB0_17
; %bb.16:
	bl	_pfree
LBB0_17:
	mov	w8, #112
	mul	x8, x25, x8
	add	x8, x24, x8
	ldr	x0, [x8, #72]
	cbz	x0, LBB0_19
; %bb.18:
	bl	_pfree
LBB0_19:
	mov	w8, #112
	mul	x8, x25, x8
	add	x8, x24, x8
	ldr	x0, [x8, #64]
	cbz	x0, LBB0_21
; %bb.20:
	bl	_pfree
LBB0_21:
	ldr	x0, [x26]
	cbz	x0, LBB0_23
; %bb.22:
	bl	_pfree
LBB0_23:
	mov	w8, #112
	mul	x8, x25, x8
	add	x8, x24, x8
	ldr	x0, [x8, #48]
	cbz	x0, LBB0_25
; %bb.24:
	bl	_pfree
LBB0_25:
	mov	w8, #112
	mul	x8, x25, x8
	add	x8, x24, x8
	ldr	x0, [x8, #40]
	cbz	x0, LBB0_27
; %bb.26:
	bl	_pfree
LBB0_27:
	mov	w8, #112
	mul	x8, x25, x8
	add	x8, x24, x8
	ldr	x0, [x8, #32]
	cbz	x0, LBB0_29
; %bb.28:
	bl	_pfree
LBB0_29:
	mov	w8, #112
	mul	x8, x25, x8
	add	x8, x24, x8
	ldr	x0, [x8, #24]
	cbz	x0, LBB0_31
; %bb.30:
	bl	_pfree
LBB0_31:
	mov	w8, #112
	mul	x8, x25, x8
	add	x8, x24, x8
	ldr	x0, [x8, #16]
	cbz	x0, LBB0_33
; %bb.32:
	bl	_pfree
LBB0_33:
	mov	w8, #112
	mul	x8, x25, x8
	add	x8, x24, x8
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_35
; %bb.34:
	bl	_pfree
LBB0_35:
	ldr	x8, [x23]
	sub	x8, x8, #1
	str	x8, [x23]
	mov	x0, x19
	bl	_MemoryContextSwitchTo
	ldr	w8, [x22]
	sub	w8, w8, #1
	str	w8, [x22]
	ldr	w8, [x20]
	cmp	w21, w8
	b.ne	LBB0_40
; %bb.36:
Lloh36:
	adrp	x8, _PG_exception_stack@GOTPAGE
Lloh37:
	ldr	x8, [x8, _PG_exception_stack@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	cbnz	x8, LBB0_39
; %bb.37:
Lloh39:
	adrp	x8, _whereToSendOutput@GOTPAGE
Lloh40:
	ldr	x8, [x8, _whereToSendOutput@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh41:
	adrp	x10, _DestRemote@GOTPAGE
Lloh42:
	ldr	x10, [x10, _DestRemote@GOTPAGEOFF]
Lloh43:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_39
; %bb.38:
Lloh44:
	adrp	x9, _DestNone@GOTPAGE
Lloh45:
	ldr	x9, [x9, _DestNone@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	str	x9, [x8]
LBB0_39:
Lloh47:
	adrp	x8, _stdout@GOTPAGE
Lloh48:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
	bl	_fflush
Lloh50:
	adrp	x8, _stderr@GOTPAGE
Lloh51:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh52:
	ldr	w0, [x8]
	bl	_fflush
	mov	w0, #1
	bl	_proc_exit
LBB0_40:
Lloh53:
	adrp	x8, _PANIC@GOTPAGE
Lloh54:
	ldr	x8, [x8, _PANIC@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ge	LBB0_42
; %bb.41:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_CHECK_FOR_INTERRUPTS
LBB0_42:
Lloh56:
	adrp	x8, _stdout@GOTPAGE
Lloh57:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh58:
	ldr	w0, [x8]
	bl	_fflush
Lloh59:
	adrp	x8, _stderr@GOTPAGE
Lloh60:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh61:
	ldr	w0, [x8]
	bl	_fflush
	bl	_abort
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.cfi_endproc
                                        ; -- End function
	.comm	_errordata,8,3                  ; @errordata
	.comm	_errordata_stack_depth,8,3      ; @errordata_stack_depth
	.comm	_recursion_depth,4,2            ; @recursion_depth
	.comm	_ErrorContext,4,2               ; @ErrorContext
	.comm	_backtrace_functions,8,3        ; @backtrace_functions
	.comm	_error_context_stack,8,3        ; @error_context_stack
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_InterruptHoldoffCount,8,3      ; @InterruptHoldoffCount
	.comm	_QueryCancelHoldoffCount,8,3    ; @QueryCancelHoldoffCount
	.comm	_CritSectionCount,8,3           ; @CritSectionCount
	.comm	_FATAL,4,2                      ; @FATAL
	.comm	_whereToSendOutput,8,3          ; @whereToSendOutput
	.comm	_DestRemote,8,3                 ; @DestRemote
	.comm	_PG_exception_stack,8,3         ; @PG_exception_stack
	.comm	_DestNone,8,3                   ; @DestNone
	.comm	_stdout,4,2                     ; @stdout
	.comm	_stderr,4,2                     ; @stderr
	.comm	_PANIC,4,2                      ; @PANIC
.subsections_via_symbols
