	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SendFunctionResult
_SendFunctionResult:                    ## @SendFunctionResult
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movl	%edx, %r12d
	movl	%esi, %ebx
	movl	%edi, %r15d
	movq	_FrontendProtocol@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PG_PROTOCOL_MAJOR
	movl	%eax, %r14d
	leaq	-44(%rbp), %rdi
	movl	$86, %esi
	callq	_pq_beginmessage
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.1:
	cmpl	$3, %r14d
	jl	LBB0_12
## %bb.2:
	leaq	-44(%rbp), %rdi
	movl	$-1, %esi
	callq	_pq_sendint32
	jmp	LBB0_13
LBB0_3:
	cmpl	$2, %r14d
	jg	LBB0_5
## %bb.4:
	leaq	-44(%rbp), %rdi
	movl	$71, %esi
	callq	_pq_sendbyte
LBB0_5:
	cmpl	$1, %r13d
	je	LBB0_9
## %bb.6:
	testl	%r13d, %r13d
	jne	LBB0_10
## %bb.7:
	leaq	-48(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	movl	%r12d, %edi
	callq	_getTypeOutputInfo
	movl	-48(%rbp), %edi
	movl	%r15d, %esi
	callq	_OidOutputFunctionCall
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_strlen
	leaq	-44(%rbp), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_pq_sendcountedtext
	jmp	LBB0_8
LBB0_9:
	leaq	-48(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	movl	%r12d, %edi
	callq	_getTypeBinaryOutputInfo
	movl	-48(%rbp), %edi
	movl	%r15d, %esi
	callq	_OidSendFunctionCall
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_VARSIZE
	movq	_VARHDRSZ@GOTPCREL(%rip), %r13
	subl	(%r13), %eax
	leaq	-44(%rbp), %r15
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_pq_sendint32
	movq	%rbx, %rdi
	callq	_VARDATA
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_VARSIZE
	subl	(%r13), %eax
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_pq_sendbytes
LBB0_8:
	movq	%rbx, %rdi
	callq	_pfree
	cmpl	$2, %r14d
	jg	LBB0_13
LBB0_12:
	leaq	-44(%rbp), %rdi
	movl	$48, %esi
	callq	_pq_sendbyte
LBB0_13:
	leaq	-44(%rbp), %rdi
	callq	_pq_endmessage
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_INVALID_PARAMETER_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	movl	%r13d, %esi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	cmpl	$2, %r14d
	jle	LBB0_12
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_FrontendProtocol,4,2           ## @FrontendProtocol
	.comm	_VARHDRSZ,4,2                   ## @VARHDRSZ
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INVALID_PARAMETER_VALUE,4,2 ## @ERRCODE_INVALID_PARAMETER_VALUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported format code: %d"

	.no_dead_strip	_SendFunctionResult
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SendFunctionResult
_SendFunctionResult:                    ; @SendFunctionResult
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x3
	mov	x21, x2
	mov	x23, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _FrontendProtocol@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FrontendProtocol@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_PG_PROTOCOL_MAJOR
	mov	x19, x0
	add	x0, sp, #12
	mov	w1, #86
	bl	_pq_beginmessage
	cbz	w23, LBB0_3
; %bb.1:
	cmp	w19, #3
	b.lt	LBB0_10
; %bb.2:
	add	x0, sp, #12
	mov	w1, #-1
	bl	_pq_sendint32
	b	LBB0_11
LBB0_3:
	cmp	w19, #2
	b.gt	LBB0_5
; %bb.4:
	add	x0, sp, #12
	mov	w1, #71
	bl	_pq_sendbyte
LBB0_5:
	cmp	w22, #1
	b.eq	LBB0_8
; %bb.6:
	cbnz	w22, LBB0_12
; %bb.7:
	add	x1, sp, #8
	add	x2, sp, #4
	mov	x0, x21
	bl	_getTypeOutputInfo
	ldr	w0, [sp, #8]
	mov	x1, x20
	bl	_OidOutputFunctionCall
	mov	x20, x0
	bl	_strlen
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x20
	mov	w3, #0
	bl	_pq_sendcountedtext
	b	LBB0_9
LBB0_8:
	add	x1, sp, #8
	add	x2, sp, #4
	mov	x0, x21
	bl	_getTypeBinaryOutputInfo
	ldr	w0, [sp, #8]
	mov	x1, x20
	bl	_OidSendFunctionCall
	mov	x20, x0
	bl	_VARSIZE
Lloh3:
	adrp	x22, _VARHDRSZ@GOTPAGE
Lloh4:
	ldr	x22, [x22, _VARHDRSZ@GOTPAGEOFF]
	ldr	w8, [x22]
	sub	w1, w0, w8
	add	x0, sp, #12
	bl	_pq_sendint32
	mov	x0, x20
	bl	_VARDATA
	mov	x21, x0
	mov	x0, x20
	bl	_VARSIZE
	ldr	w8, [x22]
	sub	w2, w0, w8
	add	x0, sp, #12
	mov	x1, x21
	bl	_pq_sendbytes
LBB0_9:
	mov	x0, x20
	bl	_pfree
	cmp	w19, #2
	b.gt	LBB0_11
LBB0_10:
	add	x0, sp, #12
	mov	w1, #48
	bl	_pq_sendbyte
LBB0_11:
	add	x0, sp, #12
	bl	_pq_endmessage
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_12:
Lloh5:
	adrp	x8, _ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
Lloh8:
	adrp	x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_errcode
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
	cmp	w19, #2
	b.le	LBB0_10
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_FrontendProtocol,4,2           ; @FrontendProtocol
	.comm	_VARHDRSZ,4,2                   ; @VARHDRSZ
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INVALID_PARAMETER_VALUE,4,2 ; @ERRCODE_INVALID_PARAMETER_VALUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported format code: %d"

	.no_dead_strip	_SendFunctionResult
.subsections_via_symbols
