	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AddQual                        ## -- Begin function AddQual
	.p2align	4, 0x90
_AddQual:                               ## @AddQual
	.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
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_CMD_UTILITY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.2:
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	movq	_NotifyStmt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_IsA
	testq	%rax, %rax
	jne	LBB0_9
LBB0_4:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_FEATURE_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_5:
	cmpq	$0, 24(%rbx)
	je	LBB0_7
## %bb.6:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_FEATURE_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.1(%rip), %rdi
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_7:
	movq	%r14, %rdi
	callq	_copyObject
	movq	%rax, %r14
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_make_and_qual
	movq	16(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_contain_aggs_of_level
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_Assert
	cmpl	$0, 8(%rbx)
	jne	LBB0_9
## %bb.8:
	movq	%r14, %rdi
	callq	_checkExprHasSubLink
	movl	%eax, 8(%rbx)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_UTILITY,8,3                ## @CMD_UTILITY
	.comm	_NotifyStmt,4,2                 ## @NotifyStmt
	.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	"conditional utility statements are not implemented"

L_.str.1:                               ## @.str.1
	.asciz	"conditional UNION/INTERSECT/EXCEPT statements are not implemented"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AddQual                        ; -- Begin function AddQual
	.p2align	2
_AddQual:                               ; @AddQual
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x1, LBB0_9
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _CMD_UTILITY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CMD_UTILITY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _NotifyStmt@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NotifyStmt@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_IsA
	cbnz	x0, LBB0_9
LBB0_4:
Lloh6:
	adrp	x8, _ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
Lloh9:
	adrp	x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_errcode
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_5:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_7
; %bb.6:
Lloh14:
	adrp	x8, _ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w21, [x8]
Lloh17:
	adrp	x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_errcode
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_7:
	mov	x0, x20
	bl	_copyObject
	mov	x20, x0
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	mov	x1, x20
	bl	_make_and_qual
	ldr	x8, [x19, #16]
	str	w0, [x8]
	mov	x0, x20
	mov	w1, #0
	bl	_contain_aggs_of_level
	cmp	w0, #0
	cset	w0, eq
	bl	_Assert
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_9
; %bb.8:
	mov	x0, x20
	bl	_checkExprHasSubLink
	str	w0, [x19, #8]
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_UTILITY,8,3                ; @CMD_UTILITY
	.comm	_NotifyStmt,4,2                 ; @NotifyStmt
	.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	"conditional utility statements are not implemented"

l_.str.1:                               ; @.str.1
	.asciz	"conditional UNION/INTERSECT/EXCEPT statements are not implemented"

.subsections_via_symbols
