	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function generate_function_name
_generate_function_name:                ## @generate_function_name
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movl	%r8d, %r13d
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movq	_PROCOID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCache1
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	callq	_elog
LBB0_2:
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movl	%r12d, %edi
	callq	_GETSTRUCT
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	8(%rax), %edi
	callq	_NameStr
	movq	%rax, %r15
	movq	_EXPR_KIND_GROUP_BY@GOTPCREL(%rip), %rax
	movb	$1, %bl
	movq	16(%rbp), %rcx
	cmpq	%rcx, (%rax)
	jne	LBB0_6
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_6
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	testq	%r14, %r14
	je	LBB0_11
## %bb.7:
	testl	%r13d, %r13d
	je	LBB0_8
## %bb.9:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	callq	_OidIsValid
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	jmp	LBB0_10
LBB0_11:
	xorl	%edi, %edi
	testl	%r13d, %r13d
	sete	%dil
	callq	_Assert
	xorl	%r13d, %r13d
	testb	%bl, %bl
	jne	LBB0_13
LBB0_14:
	movq	_FUNCDETAIL_NOTFOUND@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_InvalidOid@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -64(%rbp)
	jmp	LBB0_15
LBB0_8:
	movl	$1, %edi
LBB0_10:
	callq	_Assert
	movl	%r13d, (%r14)
	testb	%bl, %bl
	je	LBB0_14
LBB0_13:
	movq	%r15, %rdi
	callq	_makeString
	movl	%eax, %edi
	callq	_list_make1
	movq	_NIL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	xorl	%r9d, %r9d
	testl	%r13d, %r13d
	sete	%r9b
	leaq	-104(%rbp), %rbx
	leaq	-112(%rbp), %r10
	leaq	-92(%rbp), %r11
	leaq	-96(%rbp), %r14
	leaq	-120(%rbp), %r13
	movl	%eax, %edi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	pushq	$0
	pushq	%rbx
	pushq	%r10
	pushq	%r11
	pushq	%r14
	pushq	%r13
	leaq	-64(%rbp), %rax
	pushq	%rax
	pushq	$1
	callq	_func_get_detail
	addq	$64, %rsp
	movq	-64(%rbp), %rcx
LBB0_15:
	movq	_FUNCDETAIL_NORMAL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%dl
	movq	_FUNCDETAIL_AGGREGATE@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	sete	%bl
	orb	%dl, %bl
	movq	_FUNCDETAIL_WINDOWFUNC@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%al
	orb	%bl, %al
	cmpb	$1, %al
	jne	LBB0_18
## %bb.16:
	cmpq	-88(%rbp), %rcx                 ## 8-byte Folded Reload
	jne	LBB0_18
## %bb.17:
	xorl	%edi, %edi
	jmp	LBB0_19
LBB0_18:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_get_namespace_name
	movq	%rax, %rdi
LBB0_19:
	movq	%r15, %rsi
	callq	_quote_qualified_identifier
	movq	%rax, %rbx
	movl	%r12d, %edi
	callq	_ReleaseSysCache
	movq	%rbx, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PROCOID,4,2                    ## @PROCOID
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cache lookup failed for function %u"

	.comm	_EXPR_KIND_GROUP_BY,8,3         ## @EXPR_KIND_GROUP_BY
L_.str.1:                               ## @.str.1
	.asciz	"cube"

L_.str.2:                               ## @.str.2
	.asciz	"rollup"

	.comm	_NIL,4,2                        ## @NIL
	.comm	_FUNCDETAIL_NOTFOUND,8,3        ## @FUNCDETAIL_NOTFOUND
	.comm	_InvalidOid,8,3                 ## @InvalidOid
	.comm	_FUNCDETAIL_NORMAL,8,3          ## @FUNCDETAIL_NORMAL
	.comm	_FUNCDETAIL_AGGREGATE,8,3       ## @FUNCDETAIL_AGGREGATE
	.comm	_FUNCDETAIL_WINDOWFUNC,8,3      ## @FUNCDETAIL_WINDOWFUNC
	.no_dead_strip	_generate_function_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function generate_function_name
_generate_function_name:                ; @generate_function_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x28, x6
	mov	x27, x5
	mov	x26, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _PROCOID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PROCOID@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x19
	bl	_SearchSysCache1
	mov	x19, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_elog
LBB0_2:
	mov	x0, x19
	bl	_GETSTRUCT
	mov	x25, x0
	ldr	w0, [x0, #8]
	bl	_NameStr
	mov	x21, x0
Lloh8:
	adrp	x8, _EXPR_KIND_GROUP_BY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EXPR_KIND_GROUP_BY@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x8, x28
	b.ne	LBB0_5
; %bb.3:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.4:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_8
LBB0_5:
	mov	w28, #1
	cbz	x27, LBB0_9
LBB0_6:
	cbz	w26, LBB0_11
; %bb.7:
	ldr	w0, [x25, #4]
	bl	_OidIsValid
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_12
LBB0_8:
	mov	w28, #0
	cbnz	x27, LBB0_6
LBB0_9:
	cmp	w26, #0
	cset	w0, eq
	bl	_Assert
	mov	w26, #0
	cbnz	w28, LBB0_13
LBB0_10:
Lloh15:
	adrp	x8, _FUNCDETAIL_NOTFOUND@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FUNCDETAIL_NOTFOUND@GOTPAGEOFF]
Lloh17:
	ldr	x0, [x8]
Lloh18:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh19:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	str	x8, [sp, #88]
	b	LBB0_14
LBB0_11:
	mov	w0, #1
LBB0_12:
	bl	_Assert
	str	w26, [x27]
	cbz	w28, LBB0_10
LBB0_13:
	mov	x0, x21
	bl	_makeString
	bl	_list_make1
Lloh21:
	adrp	x8, _NIL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	cmp	w26, #0
	cset	w5, eq
	add	x8, sp, #56
	stp	x8, xzr, [sp, #32]
	add	x8, sp, #64
	add	x9, sp, #72
	stp	x9, x8, [sp, #16]
	add	x8, sp, #76
	add	x9, sp, #80
	add	x7, sp, #88
	stp	x9, x8, [sp]
	mov	x2, x23
	mov	x3, x24
	mov	x4, x22
	mov	w6, #1
	bl	_func_get_detail
	ldr	x8, [sp, #88]
LBB0_14:
Lloh24:
	adrp	x9, _FUNCDETAIL_NORMAL@GOTPAGE
Lloh25:
	ldr	x9, [x9, _FUNCDETAIL_NORMAL@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
Lloh27:
	adrp	x10, _FUNCDETAIL_AGGREGATE@GOTPAGE
Lloh28:
	ldr	x10, [x10, _FUNCDETAIL_AGGREGATE@GOTPAGEOFF]
Lloh29:
	adrp	x11, _FUNCDETAIL_WINDOWFUNC@GOTPAGE
Lloh30:
	ldr	x11, [x11, _FUNCDETAIL_WINDOWFUNC@GOTPAGEOFF]
Lloh31:
	ldr	x10, [x10]
Lloh32:
	ldr	x11, [x11]
	cmp	x0, x11
	ccmp	x0, x10, #4, ne
	ccmp	x0, x9, #4, ne
	ccmp	x8, x20, #0, eq
	b.eq	LBB0_16
; %bb.15:
	ldr	w0, [x25]
	bl	_get_namespace_name
	b	LBB0_17
LBB0_16:
	mov	x0, #0
LBB0_17:
	mov	x1, x21
	bl	_quote_qualified_identifier
	mov	x20, x0
	mov	x0, x19
	bl	_ReleaseSysCache
	mov	x0, x20
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh31
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_PROCOID,4,2                    ; @PROCOID
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cache lookup failed for function %u"

	.comm	_EXPR_KIND_GROUP_BY,8,3         ; @EXPR_KIND_GROUP_BY
l_.str.1:                               ; @.str.1
	.asciz	"cube"

l_.str.2:                               ; @.str.2
	.asciz	"rollup"

	.comm	_NIL,4,2                        ; @NIL
	.comm	_FUNCDETAIL_NOTFOUND,8,3        ; @FUNCDETAIL_NOTFOUND
	.comm	_InvalidOid,8,3                 ; @InvalidOid
	.comm	_FUNCDETAIL_NORMAL,8,3          ; @FUNCDETAIL_NORMAL
	.comm	_FUNCDETAIL_AGGREGATE,8,3       ; @FUNCDETAIL_AGGREGATE
	.comm	_FUNCDETAIL_WINDOWFUNC,8,3      ; @FUNCDETAIL_WINDOWFUNC
	.no_dead_strip	_generate_function_name
.subsections_via_symbols
