	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_create_object_cmd
_get_create_object_cmd:                 ## @get_create_object_cmd
	.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
	movq	%rdx, %r12
	movl	%esi, %ebx
	movl	%edi, %r14d
	xorl	%eax, %eax
	callq	_createPQExpBuffer
	movq	%rax, %r13
	cmpl	$131, %r14d
	je	LBB0_4
## %bb.1:
	cmpl	$130, %r14d
	jne	LBB0_7
## %bb.2:
	movq	_pset@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$90399, %eax                    ## imm = 0x1611F
	jle	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_6
LBB0_5:
	cmpl	$90200, %eax                    ## imm = 0x16058
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rsi
	cmovgeq	%rax, %rsi
LBB0_6:
	movq	%r13, %rdi
	movl	%ebx, %edx
	callq	_printfPQExpBuffer
LBB0_7:
	movq	(%r13), %rdi
	callq	_echo_hidden_command
	testl	%eax, %eax
	je	LBB0_15
## %bb.8:
	movq	_pset@GOTPCREL(%rip), %rbx
	movl	8(%rbx), %edi
	movq	(%r13), %rsi
	callq	_PQexec
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_PQresultStatus
	movq	_PGRES_TUPLES_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.9:
	movq	%r15, %rdi
	callq	_PQntuples
	cmpl	$1, %eax
	jne	LBB0_13
## %bb.10:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_resetPQExpBuffer
	cmpl	$130, %r14d
	je	LBB0_17
## %bb.11:
	movl	$1, %r12d
	cmpl	$131, %r14d
	jne	LBB0_30
## %bb.12:
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_PQgetvalue
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_appendPQExpBufferStr
	jmp	LBB0_31
LBB0_13:
	movq	%r15, %rdi
	callq	_minimal_error_message
	xorl	%r12d, %r12d
LBB0_14:
	movq	%r15, %rdi
	callq	_PQclear
	jmp	LBB0_16
LBB0_15:
	xorl	%r12d, %r12d
LBB0_16:
	movq	%r13, %rdi
	callq	_destroyPQExpBuffer
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_PQgetvalue
	movq	%rax, %r12
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_PQgetvalue
	movq	%rax, %r14
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$2, %edx
	callq	_PQgetvalue
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$3, %edx
	callq	_PQgetvalue
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_PQgetvalue
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$5, %edx
	callq	_PQgetvalue
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	L_.str.5(%rip), %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_pg_log_error
	movq	%r12, %rdi
	callq	_fmtId
	leaq	L_.str.6(%rip), %rsi
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%rax, %rdx
	callq	_appendPQExpBuffer
	movq	%r14, %rdi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	callq	_fmtId
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_appendPQExpBufferStr
	testq	%r14, %r14
	je	LBB0_22
## %bb.18:
	movq	%r14, %rdi
	callq	_strlen
	cmpl	$3, %eax
	jl	LBB0_22
## %bb.19:
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdi
	callq	_appendPQExpBufferStr
	movl	4(%rbx), %ebx
	xorl	%eax, %eax
	callq	_standard_strings
	leaq	L_.str.8(%rip), %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_appendReloptionsArray
	testl	%eax, %eax
	jne	LBB0_21
## %bb.20:
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_pg_log_error
LBB0_21:
	movq	%r12, %rdi
	movl	$41, %esi
	callq	_appendPQExpBufferChar
LBB0_22:
	leaq	L_.str.10(%rip), %rsi
	movq	%r12, %rdi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_appendPQExpBuffer
	movl	8(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_25
## %bb.23:
	movq	(%r12), %rcx
	decl	%eax
	cmpb	$59, (%rcx,%rax)
	jne	LBB0_25
## %bb.24:
	movl	%eax, 8(%r12)
	movb	$0, (%rcx,%rax)
LBB0_25:
	xorl	%r12d, %r12d
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	je	LBB0_30
## %bb.26:
	cmpb	$0, (%rdx)
	je	LBB0_30
## %bb.27:
	leaq	L_.str.11(%rip), %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_appendPQExpBuffer
	jmp	LBB0_31
LBB0_30:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_31:
	movl	8(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_14
## %bb.32:
	movq	(%rbx), %rcx
	decl	%eax
	cmpb	$10, (%rcx,%rax)
	je	LBB0_14
## %bb.33:
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_appendPQExpBufferChar
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SELECT pg_catalog.pg_get_functiondef(%u)"

	.comm	_pset,12,2                      ## @pset
L_.str.1:                               ## @.str.1
	.asciz	"SELECT nspname, relname, relkind, pg_catalog.pg_get_viewdef(c.oid, true), pg_catalog.array_remove(pg_catalog.array_remove(c.reloptions,'check_option=local'),'check_option=cascaded') AS reloptions, CASE WHEN 'check_option=local' = ANY (c.reloptions) THEN 'LOCAL'::text WHEN 'check_option=cascaded' = ANY (c.reloptions) THEN 'CASCADED'::text ELSE NULL END AS checkoption FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE c.oid = %u"

L_.str.2:                               ## @.str.2
	.asciz	"SELECT nspname, relname, relkind, pg_catalog.pg_get_viewdef(c.oid, true), c.reloptions AS reloptions, NULL AS checkoption FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE c.oid = %u"

L_.str.3:                               ## @.str.3
	.asciz	"SELECT nspname, relname, relkind, pg_catalog.pg_get_viewdef(c.oid, true), NULL AS reloptions, NULL AS checkoption FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE c.oid = %u"

	.comm	_PGRES_TUPLES_OK,8,3            ## @PGRES_TUPLES_OK
L_.str.5:                               ## @.str.5
	.asciz	"\"%s.%s\" is not a view"

L_.str.6:                               ## @.str.6
	.asciz	"%s."

L_.str.7:                               ## @.str.7
	.asciz	"\n WITH ("

L_.str.8:                               ## @.str.8
	.space	1

L_.str.9:                               ## @.str.9
	.asciz	"could not parse reloptions array"

L_.str.10:                              ## @.str.10
	.asciz	" AS\n%s"

L_.str.11:                              ## @.str.11
	.asciz	"\n WITH %s CHECK OPTION"

	.no_dead_strip	_get_create_object_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_create_object_cmd
_get_create_object_cmd:                 ; @get_create_object_cmd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_createPQExpBuffer
	mov	x19, x0
	cmp	w22, #131
	b.eq	LBB0_4
; %bb.1:
	cmp	w22, #130
	b.ne	LBB0_7
; %bb.2:
	mov	w8, #24663
	movk	w8, #1, lsl #16
Lloh0:
	adrp	x9, _pset@GOTPAGE
Lloh1:
	ldr	x9, [x9, _pset@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	add	w10, w8, #200
	cmp	w9, w10
	b.le	LBB0_5
; %bb.3:
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_4:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh7:
	adrp	x10, l_.str.3@PAGE
Lloh8:
	add	x10, x10, l_.str.3@PAGEOFF
Lloh9:
	adrp	x11, l_.str.2@PAGE
Lloh10:
	add	x11, x11, l_.str.2@PAGEOFF
	cmp	w9, w8
	csel	x1, x11, x10, gt
LBB0_6:
	mov	x0, x19
	mov	x2, x21
	bl	_printfPQExpBuffer
LBB0_7:
	ldr	x0, [x19]
	bl	_echo_hidden_command
	cbz	w0, LBB0_16
; %bb.8:
Lloh11:
	adrp	x27, _pset@GOTPAGE
Lloh12:
	ldr	x27, [x27, _pset@GOTPAGEOFF]
	ldr	w0, [x27, #8]
	ldr	x1, [x19]
	bl	_PQexec
	mov	x21, x0
	bl	_PQresultStatus
Lloh13:
	adrp	x8, _PGRES_TUPLES_OK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PGRES_TUPLES_OK@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.9:
	mov	x0, x21
	bl	_PQntuples
	cmp	w0, #1
	b.ne	LBB0_14
; %bb.10:
	mov	x0, x20
	bl	_resetPQExpBuffer
	cmp	w22, #130
	b.eq	LBB0_18
; %bb.11:
	cmp	w22, #131
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x21
	mov	w1, #0
	mov	w2, #0
	bl	_PQgetvalue
	mov	x1, x0
	mov	x0, x20
	bl	_appendPQExpBufferStr
LBB0_13:
	mov	w22, #1
	b	LBB0_30
LBB0_14:
	mov	x0, x21
	bl	_minimal_error_message
	mov	w22, #0
LBB0_15:
	mov	x0, x21
	bl	_PQclear
	b	LBB0_17
LBB0_16:
	mov	w22, #0
LBB0_17:
	mov	x0, x19
	bl	_destroyPQExpBuffer
	mov	x0, x22
	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
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_18:
	mov	x0, x21
	mov	w1, #0
	mov	w2, #0
	bl	_PQgetvalue
	mov	x25, x0
	mov	x0, x21
	mov	w1, #0
	mov	w2, #1
	bl	_PQgetvalue
	mov	x26, x0
	mov	x0, x21
	mov	w1, #0
	mov	w2, #2
	bl	_PQgetvalue
	mov	x0, x21
	mov	w1, #0
	mov	w2, #3
	bl	_PQgetvalue
	mov	x23, x0
	mov	x0, x21
	mov	w1, #0
	mov	w2, #4
	bl	_PQgetvalue
	mov	x24, x0
	mov	x0, x21
	mov	w1, #0
	mov	w2, #5
	bl	_PQgetvalue
	mov	x22, x0
	stp	x25, x26, [sp]
Lloh16:
	adrp	x0, l_.str.5@PAGE
Lloh17:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pg_log_error
	mov	x0, x25
	bl	_fmtId
	mov	x2, x0
Lloh18:
	adrp	x1, l_.str.6@PAGE
Lloh19:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_appendPQExpBuffer
	mov	x0, x26
	bl	_fmtId
	mov	x1, x0
	mov	x0, x20
	bl	_appendPQExpBufferStr
	cbz	x24, LBB0_23
; %bb.19:
	mov	x0, x24
	bl	_strlen
	cmp	w0, #3
	b.lt	LBB0_23
; %bb.20:
Lloh20:
	adrp	x1, l_.str.7@PAGE
Lloh21:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_appendPQExpBufferStr
	ldr	w25, [x27, #4]
	bl	_standard_strings
	mov	x4, x0
Lloh22:
	adrp	x2, l_.str.8@PAGE
Lloh23:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x0, x20
	mov	x1, x24
	mov	x3, x25
	bl	_appendReloptionsArray
	cbnz	w0, LBB0_22
; %bb.21:
Lloh24:
	adrp	x0, l_.str.9@PAGE
Lloh25:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_pg_log_error
LBB0_22:
	mov	x0, x20
	mov	w1, #41
	bl	_appendPQExpBufferChar
LBB0_23:
Lloh26:
	adrp	x1, l_.str.10@PAGE
Lloh27:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	bl	_appendPQExpBuffer
	ldr	w8, [x20, #8]
	subs	w8, w8, #1
	b.lt	LBB0_26
; %bb.24:
	ldr	x9, [x20]
	ldrb	w10, [x9, x8]
	cmp	w10, #59
	b.ne	LBB0_26
; %bb.25:
	str	w8, [x20, #8]
	strb	wzr, [x9, x8]
LBB0_26:
	cbz	x22, LBB0_30
; %bb.27:
	ldrb	w8, [x22]
	cbz	w8, LBB0_29
; %bb.28:
Lloh28:
	adrp	x1, l_.str.11@PAGE
Lloh29:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_appendPQExpBuffer
LBB0_29:
	mov	w22, #0
LBB0_30:
	ldr	w8, [x20, #8]
	subs	w8, w8, #1
	b.lt	LBB0_15
; %bb.31:
	ldr	x9, [x20]
	ldrb	w8, [x9, w8, uxtw]
	cmp	w8, #10
	b.eq	LBB0_15
; %bb.32:
	mov	x0, x20
	mov	w1, #10
	bl	_appendPQExpBufferChar
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SELECT pg_catalog.pg_get_functiondef(%u)"

	.comm	_pset,12,2                      ; @pset
l_.str.1:                               ; @.str.1
	.asciz	"SELECT nspname, relname, relkind, pg_catalog.pg_get_viewdef(c.oid, true), pg_catalog.array_remove(pg_catalog.array_remove(c.reloptions,'check_option=local'),'check_option=cascaded') AS reloptions, CASE WHEN 'check_option=local' = ANY (c.reloptions) THEN 'LOCAL'::text WHEN 'check_option=cascaded' = ANY (c.reloptions) THEN 'CASCADED'::text ELSE NULL END AS checkoption FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE c.oid = %u"

l_.str.2:                               ; @.str.2
	.asciz	"SELECT nspname, relname, relkind, pg_catalog.pg_get_viewdef(c.oid, true), c.reloptions AS reloptions, NULL AS checkoption FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE c.oid = %u"

l_.str.3:                               ; @.str.3
	.asciz	"SELECT nspname, relname, relkind, pg_catalog.pg_get_viewdef(c.oid, true), NULL AS reloptions, NULL AS checkoption FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid WHERE c.oid = %u"

	.comm	_PGRES_TUPLES_OK,8,3            ; @PGRES_TUPLES_OK
l_.str.5:                               ; @.str.5
	.asciz	"\"%s.%s\" is not a view"

l_.str.6:                               ; @.str.6
	.asciz	"%s."

l_.str.7:                               ; @.str.7
	.asciz	"\n WITH ("

l_.str.8:                               ; @.str.8
	.space	1

l_.str.9:                               ; @.str.9
	.asciz	"could not parse reloptions array"

l_.str.10:                              ; @.str.10
	.asciz	" AS\n%s"

l_.str.11:                              ; @.str.11
	.asciz	"\n WITH %s CHECK OPTION"

	.no_dead_strip	_get_create_object_cmd
.subsections_via_symbols
