	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CheckSelectLocking             ## -- Begin function CheckSelectLocking
	.p2align	4, 0x90
_CheckSelectLocking:                    ## @CheckSelectLocking
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_LCS_NONE@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	%rsi, (%rax)
	setne	%dil
	callq	_Assert
	cmpq	$0, 48(%rbx)
	je	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_FEATURE_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	%r14, %rdi
	callq	_LCS_asString
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movq	(%rbx), %rax
	movq	_NIL@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_3
## %bb.4:
	cmpq	%rax, 8(%rbx)
	jne	LBB0_5
LBB0_6:
	cmpq	$0, 40(%rbx)
	je	LBB0_8
LBB0_7:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_FEATURE_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	%r14, %rdi
	callq	_LCS_asString
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_8:
	cmpq	$0, 32(%rbx)
	je	LBB0_10
## %bb.9:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_FEATURE_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	%r14, %rdi
	callq	_LCS_asString
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %esi
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_10:
	cmpq	$0, 24(%rbx)
	je	LBB0_12
## %bb.11:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_FEATURE_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	%r14, %rdi
	callq	_LCS_asString
	leaq	L_.str.5(%rip), %rdi
	movl	%eax, %esi
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_12:
	cmpq	$0, 16(%rbx)
	je	LBB0_13
## %bb.14:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_FEATURE_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	%r14, %rdi
	callq	_LCS_asString
	leaq	L_.str.6(%rip), %rdi
	movl	%eax, %esi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ereport                        ## TAILCALL
LBB0_3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_FEATURE_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	%r14, %rdi
	callq	_LCS_asString
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	(%r12), %rax
	cmpq	%rax, 8(%rbx)
	je	LBB0_6
LBB0_5:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_FEATURE_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	%r14, %rdi
	callq	_LCS_asString
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
	cmpq	$0, 40(%rbx)
	jne	LBB0_7
	jmp	LBB0_8
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LCS_NONE,8,3                   ## @LCS_NONE
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_FEATURE_NOT_SUPPORTED,4,2 ## @ERRCODE_FEATURE_NOT_SUPPORTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s is not allowed with UNION/INTERSECT/EXCEPT"

	.comm	_NIL,8,3                        ## @NIL
L_.str.1:                               ## @.str.1
	.asciz	"%s is not allowed with DISTINCT clause"

L_.str.2:                               ## @.str.2
	.asciz	"%s is not allowed with GROUP BY clause"

L_.str.3:                               ## @.str.3
	.asciz	"%s is not allowed with HAVING clause"

L_.str.4:                               ## @.str.4
	.asciz	"%s is not allowed with aggregate functions"

L_.str.5:                               ## @.str.5
	.asciz	"%s is not allowed with window functions"

L_.str.6:                               ## @.str.6
	.asciz	"%s is not allowed with set-returning functions in the target list"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CheckSelectLocking             ; -- Begin function CheckSelectLocking
	.p2align	2
_CheckSelectLocking:                    ; @CheckSelectLocking
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [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 w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _LCS_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LCS_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	cset	w0, ne
	bl	_Assert
	ldr	x8, [x20, #48]
Lloh3:
	adrp	x22, _ERROR@GOTPAGE
Lloh4:
	ldr	x22, [x22, _ERROR@GOTPAGEOFF]
Lloh5:
	adrp	x23, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGE
Lloh6:
	ldr	x23, [x23, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w21, [x22]
	ldr	w0, [x23]
	bl	_errcode
	mov	x0, x19
	bl	_LCS_asString
	mov	x1, x0
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_2:
	ldr	x8, [x20]
Lloh9:
	adrp	x24, _NIL@GOTPAGE
Lloh10:
	ldr	x24, [x24, _NIL@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.3:
	ldr	w21, [x22]
	ldr	w0, [x23]
	bl	_errcode
	mov	x0, x19
	bl	_LCS_asString
	mov	x1, x0
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
	ldr	x8, [x24]
LBB0_4:
	ldr	x9, [x20, #8]
	cmp	x9, x8
	b.eq	LBB0_6
; %bb.5:
	ldr	w21, [x22]
	ldr	w0, [x23]
	bl	_errcode
	mov	x0, x19
	bl	_LCS_asString
	mov	x1, x0
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_6:
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_8
; %bb.7:
	ldr	w21, [x22]
	ldr	w0, [x23]
	bl	_errcode
	mov	x0, x19
	bl	_LCS_asString
	mov	x1, x0
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_8:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_10
; %bb.9:
	ldr	w21, [x22]
	ldr	w0, [x23]
	bl	_errcode
	mov	x0, x19
	bl	_LCS_asString
	mov	x1, x0
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_10:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_12
; %bb.11:
	ldr	w21, [x22]
	ldr	w0, [x23]
	bl	_errcode
	mov	x0, x19
	bl	_LCS_asString
	mov	x1, x0
Lloh19:
	adrp	x0, l_.str.5@PAGE
Lloh20:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_12:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_14
; %bb.13:
	ldr	w20, [x22]
	ldr	w0, [x23]
	bl	_errcode
	mov	x0, x19
	bl	_LCS_asString
	mov	x1, x0
Lloh21:
	adrp	x0, l_.str.6@PAGE
Lloh22:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	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	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ereport
LBB0_14:
	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	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_LCS_NONE,8,3                   ; @LCS_NONE
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_FEATURE_NOT_SUPPORTED,4,2 ; @ERRCODE_FEATURE_NOT_SUPPORTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s is not allowed with UNION/INTERSECT/EXCEPT"

	.comm	_NIL,8,3                        ; @NIL
l_.str.1:                               ; @.str.1
	.asciz	"%s is not allowed with DISTINCT clause"

l_.str.2:                               ; @.str.2
	.asciz	"%s is not allowed with GROUP BY clause"

l_.str.3:                               ; @.str.3
	.asciz	"%s is not allowed with HAVING clause"

l_.str.4:                               ; @.str.4
	.asciz	"%s is not allowed with aggregate functions"

l_.str.5:                               ; @.str.5
	.asciz	"%s is not allowed with window functions"

l_.str.6:                               ; @.str.6
	.asciz	"%s is not allowed with set-returning functions in the target list"

.subsections_via_symbols
