	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flatten_reloptions
_flatten_reloptions:                    ## @flatten_reloptions
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_RELOID@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCache1
	movl	%eax, %ebx
	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
	movl	%r14d, %edx
	callq	_elog
LBB0_2:
	movl	(%r15), %edi
	movq	_Anum_pg_class_reloptions@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %rcx
	movl	%ebx, %esi
	callq	_SysCacheGetAttr
	cmpl	$0, -64(%rbp)
	je	LBB0_4
## %bb.3:
	xorl	%r14d, %r14d
	jmp	LBB0_20
LBB0_4:
	movl	%eax, %r14d
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	leaq	-56(%rbp), %rdi
	callq	_initStringInfo
	movl	%r14d, %edi
	callq	_DatumGetArrayTypeP
	movq	_TEXTOID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-44(%rbp), %rbx
	leaq	-72(%rbp), %r9
	movl	%eax, %edi
	movl	$-1, %edx
	xorl	%ecx, %ecx
	movl	$105, %r8d
	pushq	%rbx
	pushq	$0
	callq	_deconstruct_array
	addq	$16, %rsp
	cmpl	$0, -44(%rbp)
	jle	LBB0_19
## %bb.5:
	movq	-72(%rbp), %rax
	movl	(%rax), %edi
	callq	_TextDatumGetCString
	movq	%rax, %r15
	movq	%rax, %rdi
	movl	$61, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %rbx
	movb	$0, (%rax)
	incq	%rbx
	jmp	LBB0_8
LBB0_6:
	leaq	L_.str.1(%rip), %rbx
LBB0_8:
	movq	%r15, %rdi
	callq	_quote_identifier
	leaq	L_.str.3(%rip), %rsi
	leaq	-56(%rbp), %rdi
	movq	%rax, %rdx
	callq	_appendStringInfo
	movq	%rbx, %rdi
	callq	_quote_identifier
	leaq	-56(%rbp), %rdi
	movq	%rbx, %rsi
	cmpq	%rbx, %rax
	je	LBB0_10
## %bb.9:
	callq	_simple_quote_literal
	jmp	LBB0_11
LBB0_10:
	callq	_appendStringInfoString
LBB0_11:
	movq	%r15, %rdi
	callq	_pfree
	cmpl	$2, -44(%rbp)
	jl	LBB0_19
## %bb.12:
	movl	$1, %r15d
	leaq	-56(%rbp), %r13
	leaq	L_.str.3(%rip), %r12
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_13 Depth=1
	callq	_simple_quote_literal
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%rbx, %rdi
	callq	_pfree
	incq	%r15
	movslq	-44(%rbp), %rax
	cmpq	%rax, %r15
	jge	LBB0_19
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rax
	movl	(%rax,%r15,4), %edi
	callq	_TextDatumGetCString
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$61, %esi
	callq	_strchr
	leaq	L_.str.1(%rip), %r14
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movb	$0, (%rax)
	incq	%rax
	movq	%rax, %r14
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_appendStringInfoString
	movq	%rbx, %rdi
	callq	_quote_identifier
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_appendStringInfo
	movq	%r14, %rdi
	callq	_quote_identifier
	movq	%r13, %rdi
	movq	%r14, %rsi
	cmpq	%r14, %rax
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	callq	_appendStringInfoString
	jmp	LBB0_18
LBB0_19:
	movq	-56(%rbp), %r14
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
LBB0_20:
	movl	%ebx, %edi
	callq	_ReleaseSysCache
	movq	%r14, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RELOID,4,2                     ## @RELOID
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cache lookup failed for relation %u"

	.comm	_Anum_pg_class_reloptions,4,2   ## @Anum_pg_class_reloptions
	.comm	_TEXTOID,4,2                    ## @TEXTOID
L_.str.1:                               ## @.str.1
	.space	1

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

L_.str.3:                               ## @.str.3
	.asciz	"%s="

	.no_dead_strip	_flatten_reloptions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flatten_reloptions
_flatten_reloptions:                    ; @flatten_reloptions
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x0
Lloh0:
	adrp	x21, _RELOID@GOTPAGE
Lloh1:
	ldr	x21, [x21, _RELOID@GOTPAGEOFF]
	ldr	w19, [x21]
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x19
	bl	_SearchSysCache1
	mov	x19, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_elog
LBB0_2:
	ldr	w0, [x21]
Lloh7:
	adrp	x8, _Anum_pg_class_reloptions@GOTPAGE
Lloh8:
	ldr	x8, [x8, _Anum_pg_class_reloptions@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	add	x3, sp, #28
	mov	x1, x19
	bl	_SysCacheGetAttr
	ldr	w8, [sp, #28]
	cbz	w8, LBB0_4
; %bb.3:
	mov	x20, #0
	b	LBB0_21
LBB0_4:
	mov	x20, x0
	add	x0, sp, #16
	bl	_initStringInfo
	mov	x0, x20
	bl	_DatumGetArrayTypeP
Lloh10:
	adrp	x8, _TEXTOID@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TEXTOID@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	add	x5, sp, #8
	add	x7, sp, #4
	mov	w2, #-1
	mov	w3, #0
	mov	w4, #105
	mov	x6, #0
	bl	_deconstruct_array
	ldr	w8, [sp, #4]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.5:
	ldr	x8, [sp, #8]
	ldr	w0, [x8]
	bl	_TextDatumGetCString
	mov	x20, x0
	mov	w1, #61
	bl	_strchr
	cbz	x0, LBB0_7
; %bb.6:
	mov	x21, x0
	strb	wzr, [x21], #1
	b	LBB0_8
LBB0_7:
Lloh13:
	adrp	x21, l_.str.1@PAGE
Lloh14:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_8:
	mov	x0, x20
	bl	_quote_identifier
	mov	x2, x0
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #16
	bl	_appendStringInfo
	mov	x0, x21
	bl	_quote_identifier
	cmp	x0, x21
	b.eq	LBB0_10
; %bb.9:
	add	x0, sp, #16
	mov	x1, x21
	bl	_simple_quote_literal
	b	LBB0_11
LBB0_10:
	add	x0, sp, #16
	mov	x1, x21
	bl	_appendStringInfoString
LBB0_11:
	mov	x0, x20
	bl	_pfree
	ldr	w8, [sp, #4]
	cmp	w8, #2
	b.lt	LBB0_20
; %bb.12:
	mov	w24, #1
Lloh17:
	adrp	x25, l_.str.1@PAGE
Lloh18:
	add	x25, x25, l_.str.1@PAGEOFF
Lloh19:
	adrp	x20, l_.str.2@PAGE
Lloh20:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh21:
	adrp	x21, l_.str.3@PAGE
Lloh22:
	add	x21, x21, l_.str.3@PAGEOFF
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x0, sp, #16
	mov	x1, x23
	bl	_simple_quote_literal
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x22
	bl	_pfree
	add	x24, x24, #1
	ldrsw	x8, [sp, #4]
	cmp	x24, x8
	b.ge	LBB0_20
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]
	ldr	w0, [x8, x24, lsl #2]
	bl	_TextDatumGetCString
	mov	x22, x0
	mov	w1, #61
	bl	_strchr
	cbz	x0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x23, x0
	strb	wzr, [x23], #1
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x23, x25
LBB0_18:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x0, sp, #16
	mov	x1, x20
	bl	_appendStringInfoString
	mov	x0, x22
	bl	_quote_identifier
	mov	x2, x0
	add	x0, sp, #16
	mov	x1, x21
	bl	_appendStringInfo
	mov	x0, x23
	bl	_quote_identifier
	cmp	x0, x23
	b.ne	LBB0_13
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x0, sp, #16
	mov	x1, x23
	bl	_appendStringInfoString
	b	LBB0_14
LBB0_20:
	ldr	x20, [sp, #16]
LBB0_21:
	mov	x0, x19
	bl	_ReleaseSysCache
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_RELOID,4,2                     ; @RELOID
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cache lookup failed for relation %u"

	.comm	_Anum_pg_class_reloptions,4,2   ; @Anum_pg_class_reloptions
	.comm	_TEXTOID,4,2                    ; @TEXTOID
l_.str.1:                               ; @.str.1
	.space	1

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

l_.str.3:                               ; @.str.3
	.asciz	"%s="

	.no_dead_strip	_flatten_reloptions
.subsections_via_symbols
