	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exec_command_sf_sv
_exec_command_sf_sv:                    ## @exec_command_sf_sv
	.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
	movl	%edi, %r13d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PSQL_CMD_SKIP_LINE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%esi, %esi
	je	LBB0_18
## %bb.1:
	movl	%ecx, %r15d
	movq	%rdx, %rdi
	movl	$43, %esi
	callq	_strchr
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -84(%rbp)
	testl	%r15d, %r15d
	movq	_EditableFunction@GOTPCREL(%rip), %rax
	cmoveq	_EditableView@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	$70400, %eax                    ## imm = 0x11300
	movl	$80400, %r12d                   ## imm = 0x13A10
	cmovel	%eax, %r12d
	xorl	%eax, %eax
	callq	_createPQExpBuffer
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_OT_WHOLE_LINE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_psql_scan_slash_option
	movq	_pset@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	cmpl	%r12d, %edi
	jge	LBB0_3
## %bb.2:
	leaq	-80(%rbp), %rbx
	xorl	%esi, %esi
	movq	%rbx, %rdx
	movl	$32, %ecx
	movq	%rax, %r14
	callq	_formatPGVersionNumber
	testl	%r15d, %r15d
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %rdi
	cmoveq	%rax, %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_pg_log_error
	movq	_PSQL_CMD_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	testq	%r14, %r14
	jne	LBB0_16
	jmp	LBB0_17
LBB0_18:
	movl	%r13d, %edi
	callq	_ignore_slash_whole_line
	jmp	LBB0_19
LBB0_3:
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	leaq	-84(%rbp), %rdx
	movl	%r14d, %edi
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, %rsi
	callq	_lookup_object_oid
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	-84(%rbp), %esi
	movl	%r14d, %edi
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	callq	_get_create_object_cmd
	testl	%eax, %eax
	je	LBB0_6
## %bb.8:
	movq	8(%r13), %r12
	movq	_stdout@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r12, %r14
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	cmpq	%rax, %r12
	jne	LBB0_10
## %bb.9:
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_count_lines_in_buf
	addq	$16, %r13
	movl	%eax, %edi
	movq	%r13, %rsi
	callq	_PageOutput
	movq	%rax, %r14
LBB0_10:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %esi
	cmpq	$0, -120(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_12
## %bb.11:
	xorl	%edx, %edx
	testl	%r15d, %r15d
	leaq	L_.str.4(%rip), %rax
	cmovneq	%rax, %rdx
	movq	%r14, %rdi
	callq	_print_with_linenumbers
	jmp	LBB0_13
LBB0_6:
	movq	_PSQL_CMD_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_15:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_4:
	testl	%r15d, %r15d
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %rdi
	cmoveq	%rax, %rdi
	xorl	%eax, %eax
	callq	_pg_log_error
	movq	_PSQL_CMD_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_17
LBB0_12:
	movl	%esi, %edi
	movq	%r14, %rsi
	callq	_fputs
LBB0_13:
	cmpq	-112(%rbp), %r12                ## 8-byte Folded Reload
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_14
LBB0_16:
	callq	_free
LBB0_17:
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_destroyPQExpBuffer
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	movl	%ebx, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	%r14, %rdi
	callq	_ClosePager
	jmp	LBB0_15
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PSQL_CMD_SKIP_LINE,4,2         ## @PSQL_CMD_SKIP_LINE
	.comm	_InvalidOid,4,2                 ## @InvalidOid
	.comm	_EditableFunction,4,2           ## @EditableFunction
	.comm	_EditableView,4,2               ## @EditableView
	.comm	_OT_WHOLE_LINE,4,2              ## @OT_WHOLE_LINE
	.comm	_pset,24,3                      ## @pset
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"The server (version %s) does not support showing function source."

L_.str.1:                               ## @.str.1
	.asciz	"The server (version %s) does not support showing view definitions."

	.comm	_PSQL_CMD_ERROR,4,2             ## @PSQL_CMD_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"function name is required"

L_.str.3:                               ## @.str.3
	.asciz	"view name is required"

	.comm	_stdout,8,3                     ## @stdout
L_.str.4:                               ## @.str.4
	.asciz	"AS "

	.no_dead_strip	_exec_command_sf_sv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exec_command_sf_sv
_exec_command_sf_sv:                    ; @exec_command_sf_sv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
Lloh3:
	adrp	x8, _PSQL_CMD_SKIP_LINE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PSQL_CMD_SKIP_LINE@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	cbz	w1, LBB0_3
; %bb.1:
	mov	x22, x3
	mov	x0, x2
	mov	w1, #43
	bl	_strchr
	mov	x23, x0
Lloh6:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh7:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _EditableFunction@GOTPAGE
Lloh10:
	ldr	x9, [x9, _EditableFunction@GOTPAGEOFF]
	str	w8, [sp, #20]
Lloh11:
	adrp	x8, _EditableView@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EditableView@GOTPAGEOFF]
	cmp	w22, #0
	csel	x8, x8, x9, eq
	ldr	w24, [x8]
	mov	w8, #14864
	movk	w8, #1, lsl #16
	mov	w9, #4864
	movk	w9, #1, lsl #16
	csel	w25, w9, w8, eq
	bl	_createPQExpBuffer
	mov	x20, x0
Lloh13:
	adrp	x8, _OT_WHOLE_LINE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _OT_WHOLE_LINE@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, #0
	mov	w3, #1
	bl	_psql_scan_slash_option
	mov	x21, x0
Lloh16:
	adrp	x26, _pset@GOTPAGE
Lloh17:
	ldr	x26, [x26, _pset@GOTPAGEOFF]
	ldr	w0, [x26]
	cmp	w0, w25
	b.ge	LBB0_4
; %bb.2:
	add	x19, sp, #24
	add	x2, sp, #24
	mov	w1, #0
	mov	w3, #32
	bl	_formatPGVersionNumber
Lloh18:
	adrp	x8, l_.str@PAGE
Lloh19:
	add	x8, x8, l_.str@PAGEOFF
Lloh20:
	adrp	x9, l_.str.1@PAGE
Lloh21:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	w22, #0
	csel	x0, x9, x8, eq
	str	x19, [sp]
	bl	_pg_log_error
Lloh22:
	adrp	x8, _PSQL_CMD_ERROR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PSQL_CMD_ERROR@GOTPAGEOFF]
Lloh24:
	ldr	w19, [x8]
	cbnz	x21, LBB0_12
	b	LBB0_14
LBB0_3:
	mov	x0, x21
	bl	_ignore_slash_whole_line
	b	LBB0_15
LBB0_4:
	cbz	x21, LBB0_13
; %bb.5:
	add	x2, sp, #20
	mov	x0, x24
	mov	x1, x21
	bl	_lookup_object_oid
	cbz	w0, LBB0_11
; %bb.6:
	ldr	w1, [sp, #20]
	mov	x0, x24
	mov	x2, x20
	bl	_get_create_object_cmd
	cbz	w0, LBB0_11
; %bb.7:
	ldr	x25, [x26, #8]
Lloh25:
	adrp	x8, _stdout@GOTPAGE
Lloh26:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh27:
	ldr	x27, [x8]
	mov	x24, x25
	cmp	x25, x27
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x20
	bl	_count_lines_in_buf
	add	x1, x26, #16
	bl	_PageOutput
	mov	x24, x0
LBB0_9:
	ldr	w1, [x20]
	cbz	x23, LBB0_17
; %bb.10:
Lloh28:
	adrp	x8, l_.str.4@PAGE
Lloh29:
	add	x8, x8, l_.str.4@PAGEOFF
	cmp	w22, #0
	csel	x2, xzr, x8, eq
	mov	x0, x24
	bl	_print_with_linenumbers
	cmp	x25, x27
	b.ne	LBB0_12
	b	LBB0_18
LBB0_11:
Lloh30:
	adrp	x8, _PSQL_CMD_ERROR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PSQL_CMD_ERROR@GOTPAGEOFF]
Lloh32:
	ldr	w19, [x8]
LBB0_12:
	mov	x0, x21
	bl	_free
	b	LBB0_14
LBB0_13:
Lloh33:
	adrp	x8, l_.str.2@PAGE
Lloh34:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh35:
	adrp	x9, l_.str.3@PAGE
Lloh36:
	add	x9, x9, l_.str.3@PAGEOFF
	cmp	w22, #0
	csel	x0, x9, x8, eq
	bl	_pg_log_error
Lloh37:
	adrp	x8, _PSQL_CMD_ERROR@GOTPAGE
Lloh38:
	ldr	x8, [x8, _PSQL_CMD_ERROR@GOTPAGEOFF]
Lloh39:
	ldr	w19, [x8]
LBB0_14:
	mov	x0, x20
	bl	_destroyPQExpBuffer
LBB0_15:
	ldr	x8, [sp, #56]
Lloh40:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh41:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.16:
	mov	x0, x19
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_17:
	mov	x0, x1
	mov	x1, x24
	bl	_fputs
	cmp	x25, x27
	b.ne	LBB0_12
LBB0_18:
	mov	x0, x24
	bl	_ClosePager
	b	LBB0_12
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_PSQL_CMD_SKIP_LINE,4,2         ; @PSQL_CMD_SKIP_LINE
	.comm	_InvalidOid,4,2                 ; @InvalidOid
	.comm	_EditableFunction,4,2           ; @EditableFunction
	.comm	_EditableView,4,2               ; @EditableView
	.comm	_OT_WHOLE_LINE,4,2              ; @OT_WHOLE_LINE
	.comm	_pset,24,3                      ; @pset
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"The server (version %s) does not support showing function source."

l_.str.1:                               ; @.str.1
	.asciz	"The server (version %s) does not support showing view definitions."

	.comm	_PSQL_CMD_ERROR,4,2             ; @PSQL_CMD_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"function name is required"

l_.str.3:                               ; @.str.3
	.asciz	"view name is required"

	.comm	_stdout,8,3                     ; @stdout
l_.str.4:                               ; @.str.4
	.asciz	"AS "

	.no_dead_strip	_exec_command_sf_sv
.subsections_via_symbols
