	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PortalSetResultFormat          ## -- Begin function PortalSetResultFormat
	.p2align	4, 0x90
_PortalSetResultFormat:                 ## @PortalSetResultFormat
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_20
## %bb.1:
	movq	%rdx, %r14
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movl	(%rax), %r15d
	movl	8(%rdi), %edi
	leal	(,%r15,8), %r12d
	movl	%r12d, %esi
	callq	_MemoryContextAlloc
	movq	%rax, (%rbx)
	cmpl	$2, %r13d
	jl	LBB0_5
## %bb.2:
	cmpl	%r13d, %r15d
	je	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_ERRCODE_PROTOCOL_VIOLATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	movl	%r13d, %esi
	movl	%r15d, %edx
	callq	_errmsg
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_ereport
	movq	(%rbx), %rax
LBB0_4:
	movq	%rax, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
LBB0_5:
	cmpl	$1, %r13d
	jne	LBB0_6
## %bb.8:
	testl	%r15d, %r15d
	jle	LBB0_20
## %bb.9:
	movq	(%r14), %rcx
	cmpl	$4, %r15d
	jae	LBB0_11
## %bb.10:
	xorl	%edx, %edx
	jmp	LBB0_19
LBB0_6:
	testl	%r15d, %r15d
	jle	LBB0_20
## %bb.7:
	shlq	$3, %r15
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	___bzero
	jmp	LBB0_20
LBB0_11:
	movl	%r15d, %edx
	andl	$-4, %edx
	movq	%rcx, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	leaq	-4(%rdx), %rbx
	movq	%rbx, %rdi
	shrq	$2, %rdi
	incq	%rdi
	movl	%edi, %esi
	andl	$7, %esi
	cmpq	$28, %rbx
	jae	LBB0_13
## %bb.12:
	xorl	%ebx, %ebx
	jmp	LBB0_15
LBB0_13:
	andq	$-8, %rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, (%rax,%rbx,8)
	movdqu	%xmm0, 16(%rax,%rbx,8)
	movdqu	%xmm0, 32(%rax,%rbx,8)
	movdqu	%xmm0, 48(%rax,%rbx,8)
	movdqu	%xmm0, 64(%rax,%rbx,8)
	movdqu	%xmm0, 80(%rax,%rbx,8)
	movdqu	%xmm0, 96(%rax,%rbx,8)
	movdqu	%xmm0, 112(%rax,%rbx,8)
	movdqu	%xmm0, 128(%rax,%rbx,8)
	movdqu	%xmm0, 144(%rax,%rbx,8)
	movdqu	%xmm0, 160(%rax,%rbx,8)
	movdqu	%xmm0, 176(%rax,%rbx,8)
	movdqu	%xmm0, 192(%rax,%rbx,8)
	movdqu	%xmm0, 208(%rax,%rbx,8)
	movdqu	%xmm0, 224(%rax,%rbx,8)
	movdqu	%xmm0, 240(%rax,%rbx,8)
	addq	$32, %rbx
	addq	$-8, %rdi
	jne	LBB0_14
LBB0_15:
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.16:
	leaq	(%rax,%rbx,8), %rdi
	addq	$16, %rdi
	shlq	$5, %rsi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, -16(%rdi,%rbx)
	movdqu	%xmm0, (%rdi,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %rsi
	jne	LBB0_17
LBB0_18:
	cmpq	%r15, %rdx
	je	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	%rcx, (%rax,%rdx,8)
	incq	%rdx
	cmpq	%rdx, %r15
	jne	LBB0_19
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_PROTOCOL_VIOLATION,4,2 ## @ERRCODE_PROTOCOL_VIOLATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bind message has %d result formats but query has %d columns"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PortalSetResultFormat          ; -- Begin function PortalSetResultFormat
	.p2align	2
_PortalSetResultFormat:                 ; @PortalSetResultFormat
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_16
; %bb.1:
	mov	x20, x2
	mov	x23, x1
	mov	x21, x0
	ldr	w19, [x8]
	ldr	w0, [x0, #8]
	lsl	w22, w19, #3
	mov	x1, x22
	bl	_MemoryContextAlloc
	str	x0, [x21]
	cmp	w23, #2
	b.lt	LBB0_5
; %bb.2:
	cmp	w19, w23
	b.eq	LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
Lloh3:
	adrp	x8, _ERRCODE_PROTOCOL_VIOLATION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERRCODE_PROTOCOL_VIOLATION@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_errcode
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x23
	mov	x2, x19
	bl	_errmsg
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
	ldr	x0, [x21]
LBB0_4:
	mov	x1, x20
	mov	x2, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_memcpy
LBB0_5:
	cmp	w23, #1
	b.ne	LBB0_9
; %bb.6:
	cmp	w19, #1
	b.lt	LBB0_16
; %bb.7:
	ldr	x8, [x20]
	cmp	w19, #8
	b.hs	LBB0_11
; %bb.8:
	mov	x9, #0
	b	LBB0_14
LBB0_9:
	cmp	w19, #1
	b.lt	LBB0_16
; %bb.10:
	lsl	x1, x19, #3
	bl	_bzero
	b	LBB0_16
LBB0_11:
	and	x9, x19, #0xfffffff8
	dup.2d	v0, x8
	add	x10, x0, #32
	mov	x11, x9
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x10, #-32]
	stp	q0, q0, [x10], #64
	subs	x11, x11, #8
	b.ne	LBB0_12
; %bb.13:
	cmp	x9, x19
	b.eq	LBB0_16
LBB0_14:
	add	x10, x0, x9, lsl #3
	sub	x9, x19, x9
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	str	x8, [x10], #8
	subs	x9, x9, #1
	b.ne	LBB0_15
LBB0_16:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_PROTOCOL_VIOLATION,4,2 ; @ERRCODE_PROTOCOL_VIOLATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bind message has %d result formats but query has %d columns"

.subsections_via_symbols
