	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ExecBuildSlotPartitionKeyDescription
_ExecBuildSlotPartitionKeyDescription:  ## @ExecBuildSlotPartitionKeyDescription
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %r13
	movl	%edi, %ebx
	callq	_RelationGetPartitionKey
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_get_partition_natts
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_RelationGetRelid
	movl	%eax, %r15d
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	movl	$1, %edx
	callq	_check_enable_rls
	movq	_RLS_ENABLED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	xorl	%r14d, %r14d
	jmp	LBB0_24
LBB0_2:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_GetUserId
	movq	_ACL_SELECT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_pg_class_aclcheck
	movq	_ACLCHECK_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	-76(%rbp), %ebx                 ## 4-byte Reload
	je	LBB0_8
## %bb.3:
	testl	%ebx, %ebx
	jle	LBB0_8
## %bb.4:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r12d, %esi
	callq	_get_partition_col_attnum
	movq	%rax, %r13
	movq	_InvalidAttrNumber@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	je	LBB0_24
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	xorl	%eax, %eax
	callq	_GetUserId
	movq	_ACL_SELECT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r15d, %edi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_pg_attribute_aclcheck
	movq	_ACLCHECK_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_24
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	incl	%r12d
	cmpl	%r12d, %ebx
	jne	LBB0_6
LBB0_8:
	leaq	-56(%rbp), %r14
	movq	%r14, %rdi
	callq	_initStringInfo
	movl	%r15d, %edi
	movl	$1, %esi
	callq	_pg_get_partkeydef_columns
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_appendStringInfo
	testl	%ebx, %ebx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jle	LBB0_23
## %bb.9:
	cmpl	$0, (%r12)
	je	LBB0_11
## %bb.10:
	leaq	L_.str.1(%rip), %r14
	jmp	LBB0_12
LBB0_11:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	xorl	%esi, %esi
	callq	_get_partition_col_typid
	leaq	-48(%rbp), %rsi
	leaq	-80(%rbp), %rdx
	movl	%eax, %edi
	callq	_getTypeOutputInfo
	movl	-48(%rbp), %edi
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	callq	_OidOutputFunctionCall
	movq	%rax, %r14
LBB0_12:
	movq	%r14, %rdi
	callq	_strlen
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	cmpl	%edx, %eax
	jle	LBB0_13
## %bb.14:
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_pg_mbcliplen
	leaq	-56(%rbp), %r15
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_appendBinaryStringInfo
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_appendStringInfoString
	cmpl	$1, %ebx
	je	LBB0_23
	jmp	LBB0_16
LBB0_13:
	leaq	-56(%rbp), %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_appendBinaryStringInfo
	cmpl	$1, %ebx
	jne	LBB0_16
LBB0_23:
	leaq	-56(%rbp), %rdi
	movl	$41, %esi
	callq	_appendStringInfoChar
	movq	-56(%rbp), %r14
LBB0_24:
	movq	%r14, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movl	%ebx, %r13d
	movl	$1, %ebx
	leaq	L_.str.2(%rip), %r15
	leaq	-56(%rbp), %r14
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_pg_mbcliplen
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_appendBinaryStringInfo
	movq	%r14, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_appendStringInfoString
LBB0_22:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	incq	%rbx
	cmpq	%rbx, %r13
	je	LBB0_23
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r12,%rbx,4)
	leaq	L_.str.1(%rip), %r12
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_get_partition_col_typid
	movl	%eax, %edi
	leaq	-48(%rbp), %rsi
	leaq	-80(%rbp), %rdx
	callq	_getTypeOutputInfo
	movl	-48(%rbp), %edi
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%rbx,4), %esi
	callq	_OidOutputFunctionCall
	movq	%rax, %r12
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_appendStringInfoString
	movq	%r12, %rdi
	callq	_strlen
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	cmpl	%edx, %eax
	jg	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_appendBinaryStringInfo
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidOid,4,2                 ## @InvalidOid
	.comm	_RLS_ENABLED,8,3                ## @RLS_ENABLED
	.comm	_ACL_SELECT,4,2                 ## @ACL_SELECT
	.comm	_ACLCHECK_OK,8,3                ## @ACLCHECK_OK
	.comm	_InvalidAttrNumber,8,3          ## @InvalidAttrNumber
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(%s) = ("

L_.str.1:                               ## @.str.1
	.asciz	"null"

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

L_.str.3:                               ## @.str.3
	.asciz	"..."

	.no_dead_strip	_ExecBuildSlotPartitionKeyDescription
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ExecBuildSlotPartitionKeyDescription
_ExecBuildSlotPartitionKeyDescription:  ; @ExecBuildSlotPartitionKeyDescription
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x24, x0
	bl	_RelationGetPartitionKey
	mov	x22, x0
	bl	_get_partition_natts
	mov	x23, x0
	mov	x0, x24
	bl	_RelationGetRelid
	mov	x24, x0
Lloh0:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_check_enable_rls
Lloh3:
	adrp	x8, _RLS_ENABLED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RLS_ENABLED@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
LBB0_1:
	mov	x0, #0
	b	LBB0_15
LBB0_2:
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	bl	_GetUserId
	mov	x1, x0
Lloh6:
	adrp	x27, _ACL_SELECT@GOTPAGE
Lloh7:
	ldr	x27, [x27, _ACL_SELECT@GOTPAGEOFF]
	ldr	w2, [x27]
	mov	x0, x24
	bl	_pg_class_aclcheck
Lloh8:
	adrp	x28, _ACLCHECK_OK@GOTPAGE
Lloh9:
	ldr	x28, [x28, _ACLCHECK_OK@GOTPAGEOFF]
	ldr	x8, [x28]
	cmp	x0, x8
	ccmp	w23, #1, #8, ne
	b.lt	LBB0_7
; %bb.3:
	mov	w25, #0
Lloh10:
	adrp	x21, _InvalidAttrNumber@GOTPAGE
Lloh11:
	ldr	x21, [x21, _InvalidAttrNumber@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x25
	bl	_get_partition_col_attnum
	ldr	x8, [x21]
	cmp	x0, x8
	b.eq	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, x0
	bl	_GetUserId
	mov	x2, x0
	ldr	w3, [x27]
	mov	x0, x24
	mov	x1, x26
	bl	_pg_attribute_aclcheck
	ldr	x8, [x28]
	cmp	x0, x8
	b.ne	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w25, w25, #1
	cmp	w23, w25
	b.ne	LBB0_4
LBB0_7:
	add	x0, sp, #24
	bl	_initStringInfo
	mov	x0, x24
	mov	w1, #1
	bl	_pg_get_partkeydef_columns
	mov	x2, x0
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #24
	bl	_appendStringInfo
	cmp	w23, #1
	ldr	x21, [sp, #8]                   ; 8-byte Folded Reload
	b.lt	LBB0_14
; %bb.8:
	ldr	w8, [x20]
	cbz	w8, LBB0_10
; %bb.9:
Lloh14:
	adrp	x24, l_.str.1@PAGE
Lloh15:
	add	x24, x24, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_10:
	mov	x0, x22
	mov	w1, #0
	bl	_get_partition_col_typid
	add	x1, sp, #20
	add	x2, sp, #16
	bl	_getTypeOutputInfo
	ldr	w0, [sp, #20]
	ldr	w1, [x21]
	bl	_OidOutputFunctionCall
	mov	x24, x0
LBB0_11:
	mov	x0, x24
	bl	_strlen
	mov	x2, x0
	cmp	w0, w19
	b.le	LBB0_13
; %bb.12:
	mov	x0, x24
	mov	x1, x2
	mov	x2, x19
	bl	_pg_mbcliplen
	mov	x2, x0
	add	x0, sp, #24
	mov	x1, x24
	bl	_appendBinaryStringInfo
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #24
	bl	_appendStringInfoString
	cmp	w23, #1
	b.eq	LBB0_14
	b	LBB0_16
LBB0_13:
	add	x0, sp, #24
	mov	x1, x24
	bl	_appendBinaryStringInfo
	cmp	w23, #1
	b.ne	LBB0_16
LBB0_14:
	add	x0, sp, #24
	mov	w1, #41
	bl	_appendStringInfoChar
	ldr	x0, [sp, #24]
LBB0_15:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_16:
	mov	w27, w23
	mov	w23, #1
Lloh18:
	adrp	x28, l_.str.1@PAGE
Lloh19:
	add	x28, x28, l_.str.1@PAGEOFF
Lloh20:
	adrp	x24, l_.str.2@PAGE
Lloh21:
	add	x24, x24, l_.str.2@PAGEOFF
Lloh22:
	adrp	x25, l_.str.3@PAGE
Lloh23:
	add	x25, x25, l_.str.3@PAGEOFF
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x26
	mov	x1, x2
	mov	x2, x19
	bl	_pg_mbcliplen
	mov	x2, x0
	add	x0, sp, #24
	mov	x1, x26
	bl	_appendBinaryStringInfo
	add	x0, sp, #24
	mov	x1, x25
	bl	_appendStringInfoString
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x23, x23, #1
	cmp	x27, x23
	b.eq	LBB0_14
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20, x23, lsl #2]
	mov	x26, x28
	cbnz	w8, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_get_partition_col_typid
	add	x1, sp, #20
	add	x2, sp, #16
	bl	_getTypeOutputInfo
	ldr	w0, [sp, #20]
	ldr	w1, [x21, x23, lsl #2]
	bl	_OidOutputFunctionCall
	mov	x26, x0
LBB0_21:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x0, sp, #24
	mov	x1, x24
	bl	_appendStringInfoString
	mov	x0, x26
	bl	_strlen
	mov	x2, x0
	cmp	w0, w19
	b.gt	LBB0_17
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=1
	add	x0, sp, #24
	mov	x1, x26
	bl	_appendBinaryStringInfo
	b	LBB0_18
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidOid,4,2                 ; @InvalidOid
	.comm	_RLS_ENABLED,8,3                ; @RLS_ENABLED
	.comm	_ACL_SELECT,4,2                 ; @ACL_SELECT
	.comm	_ACLCHECK_OK,8,3                ; @ACLCHECK_OK
	.comm	_InvalidAttrNumber,8,3          ; @InvalidAttrNumber
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(%s) = ("

l_.str.1:                               ; @.str.1
	.asciz	"null"

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

l_.str.3:                               ; @.str.3
	.asciz	"..."

	.no_dead_strip	_ExecBuildSlotPartitionKeyDescription
.subsections_via_symbols
