	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function explain_ExecutorEnd
LCPI0_0:
	.quad	0x408f400000000000              ## double 1000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_explain_ExecutorEnd:                   ## @explain_ExecutorEnd
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	cmpq	$0, 8(%rdi)
	je	LBB0_14
## %bb.1:
	xorl	%eax, %eax
	callq	_auto_explain_enabled
	testq	%rax, %rax
	je	LBB0_14
## %bb.2:
	movq	8(%r14), %rdi
	callq	_InstrEndLoop
	movq	8(%r14), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	mulsd	LCPI0_0(%rip), %xmm0
	movq	_auto_explain_log_min_duration@GOTPCREL(%rip), %rax
	ucomisd	(%rax), %xmm0
	jb	LBB0_14
## %bb.3:
	movsd	%xmm0, -32(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_NewExplainState
	movq	%rax, %rbx
	cmpq	$0, (%r14)
	setne	%al
	movq	_auto_explain_log_analyze@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %eax
	movl	%eax, (%rbx)
	movq	_auto_explain_log_verbose@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 48(%rbx)
	movq	_auto_explain_log_buffers@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %ecx
	movl	%ecx, 4(%rbx)
	movq	_auto_explain_log_timing@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %ecx
	movl	%ecx, 8(%rbx)
	movl	%eax, 12(%rbx)
	movq	_auto_explain_log_format@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	%rax, 40(%rbx)
	movq	_auto_explain_log_settings@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	%rbx, %rdi
	callq	_ExplainBeginOutput
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ExplainQueryText
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ExplainPrintPlan
	cmpl	$0, (%rbx)
	je	LBB0_6
## %bb.4:
	movq	_auto_explain_log_triggers@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ExplainPrintTriggers
LBB0_6:
	cmpq	$0, 24(%rbx)
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ExplainPrintJITSummary
LBB0_8:
	movq	%rbx, %rdi
	callq	_ExplainEndOutput
	movq	16(%rbx), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_11
## %bb.9:
	movq	8(%rax), %rdx
	decl	%ecx
	cmpb	$10, (%rdx,%rcx)
	jne	LBB0_11
## %bb.10:
	movl	%ecx, (%rax)
	movb	$0, (%rdx,%rcx)
LBB0_11:
	movq	(%r15), %rax
	movq	_EXPLAIN_FORMAT_JSON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movsd	-32(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	jne	LBB0_13
## %bb.12:
	movq	16(%rbx), %rax
	movq	8(%rax), %rax
	movb	$123, (%rax)
	movq	16(%rbx), %rax
	movq	8(%rax), %rcx
	movslq	(%rax), %rax
	movb	$125, -1(%rax,%rcx)
LBB0_13:
	movq	_auto_explain_log_level@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	16(%rbx), %rax
	movq	8(%rax), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	$1, %edi
	callq	_errhidestmt
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	16(%rbx), %rax
	movq	8(%rax), %rdi
	callq	_pfree
LBB0_14:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_prev_ExecutorEnd               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_auto_explain_log_min_duration,8,3 ## @auto_explain_log_min_duration
	.comm	_auto_explain_log_analyze,8,3   ## @auto_explain_log_analyze
	.comm	_auto_explain_log_verbose,4,2   ## @auto_explain_log_verbose
	.comm	_auto_explain_log_buffers,8,3   ## @auto_explain_log_buffers
	.comm	_auto_explain_log_timing,8,3    ## @auto_explain_log_timing
	.comm	_auto_explain_log_format,8,3    ## @auto_explain_log_format
	.comm	_auto_explain_log_settings,4,2  ## @auto_explain_log_settings
	.comm	_auto_explain_log_triggers,8,3  ## @auto_explain_log_triggers
	.comm	_EXPLAIN_FORMAT_JSON,8,3        ## @EXPLAIN_FORMAT_JSON
	.comm	_auto_explain_log_level,4,2     ## @auto_explain_log_level
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"duration: %.3f ms  plan:\n%s"

	.no_dead_strip	_explain_ExecutorEnd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function explain_ExecutorEnd
_explain_ExecutorEnd:                   ; @explain_ExecutorEnd
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.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
	.cfi_offset b8, -56
	.cfi_offset b9, -64
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_14
; %bb.1:
	bl	_auto_explain_enabled
	cbz	x0, LBB0_14
; %bb.2:
	ldr	x0, [x19, #8]
	bl	_InstrEndLoop
	ldr	x8, [x19, #8]
	ldr	d0, [x8]
	mov	x8, #70368744177664
	movk	x8, #16527, lsl #48
	fmov	d1, x8
	fmul	d8, d0, d1
Lloh0:
	adrp	x8, _auto_explain_log_min_duration@GOTPAGE
Lloh1:
	ldr	x8, [x8, _auto_explain_log_min_duration@GOTPAGEOFF]
Lloh2:
	ldr	d0, [x8]
	fcmp	d8, d0
	b.lt	LBB0_14
; %bb.3:
	bl	_NewExplainState
	mov	x20, x0
	ldr	x8, [x19]
	cmp	x8, #0
Lloh3:
	adrp	x8, _auto_explain_log_analyze@GOTPAGE
Lloh4:
	ldr	x8, [x8, _auto_explain_log_analyze@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ccmp	x8, #0, #4, ne
	cset	w8, ne
	str	w8, [x0]
Lloh6:
	adrp	x9, _auto_explain_log_verbose@GOTPAGE
Lloh7:
	ldr	x9, [x9, _auto_explain_log_verbose@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	str	w9, [x0, #48]
Lloh9:
	adrp	x9, _auto_explain_log_buffers@GOTPAGE
Lloh10:
	ldr	x9, [x9, _auto_explain_log_buffers@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, #0
	cset	w9, ne
	and	w9, w8, w9
	str	w9, [x0, #4]
Lloh12:
	adrp	x9, _auto_explain_log_timing@GOTPAGE
Lloh13:
	ldr	x9, [x9, _auto_explain_log_timing@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, #0
	cset	w9, ne
	and	w9, w8, w9
	stp	w9, w8, [x0, #8]
Lloh15:
	adrp	x21, _auto_explain_log_format@GOTPAGE
Lloh16:
	ldr	x21, [x21, _auto_explain_log_format@GOTPAGEOFF]
	ldr	x8, [x21]
	str	x8, [x0, #40]
Lloh17:
	adrp	x8, _auto_explain_log_settings@GOTPAGE
Lloh18:
	ldr	x8, [x8, _auto_explain_log_settings@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [x0, #32]
	bl	_ExplainBeginOutput
	mov	x0, x20
	mov	x1, x19
	bl	_ExplainQueryText
	mov	x0, x20
	mov	x1, x19
	bl	_ExplainPrintPlan
	ldr	w8, [x20]
	cbz	w8, LBB0_6
; %bb.4:
Lloh20:
	adrp	x8, _auto_explain_log_triggers@GOTPAGE
Lloh21:
	ldr	x8, [x8, _auto_explain_log_triggers@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	bl	_ExplainPrintTriggers
LBB0_6:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_8
; %bb.7:
	mov	x0, x20
	mov	x1, x19
	bl	_ExplainPrintJITSummary
LBB0_8:
	mov	x0, x20
	bl	_ExplainEndOutput
	ldr	x8, [x20, #16]
	ldr	w9, [x8]
	subs	w9, w9, #1
	b.lt	LBB0_11
; %bb.9:
	ldr	x10, [x8, #8]
	ldrb	w11, [x10, x9]
	cmp	w11, #10
	b.ne	LBB0_11
; %bb.10:
	str	w9, [x8]
	strb	wzr, [x10, x9]
LBB0_11:
	ldr	x8, [x21]
Lloh23:
	adrp	x9, _EXPLAIN_FORMAT_JSON@GOTPAGE
Lloh24:
	ldr	x9, [x9, _EXPLAIN_FORMAT_JSON@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:
	ldr	x8, [x20, #16]
	ldr	x8, [x8, #8]
	mov	w9, #123
	strb	w9, [x8]
	ldr	x8, [x20, #16]
	ldr	x9, [x8, #8]
	ldrsw	x8, [x8]
	add	x8, x8, x9
	mov	w9, #125
	sturb	w9, [x8, #-1]
LBB0_13:
Lloh26:
	adrp	x8, _auto_explain_log_level@GOTPAGE
Lloh27:
	ldr	x8, [x8, _auto_explain_log_level@GOTPAGEOFF]
Lloh28:
	ldr	w21, [x8]
	ldr	x8, [x20, #16]
	ldr	x1, [x8, #8]
Lloh29:
	adrp	x0, l_.str@PAGE
Lloh30:
	add	x0, x0, l_.str@PAGEOFF
	fmov	d0, d8
	bl	_errmsg
	mov	w0, #1
	bl	_errhidestmt
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
	ldr	x8, [x20, #16]
	ldr	x0, [x8, #8]
	bl	_pfree
LBB0_14:
	mov	x0, x19
	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
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	b	_prev_ExecutorEnd
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_auto_explain_log_min_duration,8,3 ; @auto_explain_log_min_duration
	.comm	_auto_explain_log_analyze,8,3   ; @auto_explain_log_analyze
	.comm	_auto_explain_log_verbose,4,2   ; @auto_explain_log_verbose
	.comm	_auto_explain_log_buffers,8,3   ; @auto_explain_log_buffers
	.comm	_auto_explain_log_timing,8,3    ; @auto_explain_log_timing
	.comm	_auto_explain_log_format,8,3    ; @auto_explain_log_format
	.comm	_auto_explain_log_settings,4,2  ; @auto_explain_log_settings
	.comm	_auto_explain_log_triggers,8,3  ; @auto_explain_log_triggers
	.comm	_EXPLAIN_FORMAT_JSON,8,3        ; @EXPLAIN_FORMAT_JSON
	.comm	_auto_explain_log_level,4,2     ; @auto_explain_log_level
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"duration: %.3f ms  plan:\n%s"

	.no_dead_strip	_explain_ExecutorEnd
.subsections_via_symbols
