	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PLy_output_setup_func          ## -- Begin function PLy_output_setup_func
	.p2align	4, 0x90
_PLy_output_setup_func:                 ## @PLy_output_setup_func
	.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
	movq	%r8, %r14
	movl	%ecx, %r13d
	movl	%edx, %r12d
	movl	%esi, %ebx
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_check_stack_depth
	movl	%r12d, (%r15)
	movl	%r13d, 120(%r15)
	movl	%ebx, 116(%r15)
	movq	_RECORDOID@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_1
## %bb.5:
	movq	_TYPTYPE_COMPOSITE@GOTPCREL(%rip), %rax
	movb	(%rax), %r14b
	movabsq	$-4294967296, %rax              ## imm = 0xFFFFFFFF00000000
	movq	%rax, 4(%r15)
	movb	$100, 12(%r15)
	movq	_TYPTYPE_DOMAIN@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	cmpb	(%rax), %r14b
	je	LBB0_6
	jmp	LBB0_8
LBB0_1:
	movl	%r13d, -60(%rbp)                ## 4-byte Spill
	movq	_TYPECACHE_DOMAIN_BASE_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_lookup_type_cache
	movq	%rax, %r13
	movb	(%rax), %r14b
	movl	4(%rax), %eax
	movl	%eax, 4(%r15)
	movl	8(%r13), %eax
	movl	%eax, 8(%r15)
	movb	12(%r13), %al
	movb	%al, 12(%r15)
	movq	_TYPTYPE_DOMAIN@GOTPCREL(%rip), %rax
	cmpb	(%rax), %r14b
	jne	LBB0_2
LBB0_6:
	movq	_PLyObject_ToDomain@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 112(%r15)
	movq	$0, 104(%r15)
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	movl	$128, %esi
	callq	_MemoryContextAllocZero
	movq	%rax, 96(%r15)
	movl	16(%r13), %edx
	movl	24(%r13), %ecx
	movq	%rax, %rdi
	movl	%ebx, %esi
LBB0_7:
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PLy_output_setup_func          ## TAILCALL
LBB0_2:
	movl	20(%r13), %edi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	cmpl	$-1, 8(%r13)
	je	LBB0_4
LBB0_8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movl	%r12d, %edi
	callq	_get_transform_tosql
	testl	%eax, %eax
	je	LBB0_9
## %bb.18:
	movq	_PLyObject_ToTransform@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 112(%r15)
	addq	$72, %r15
	movl	%eax, %edi
	movq	%r15, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fmgr_info_cxt                  ## TAILCALL
LBB0_9:
	movq	_TYPTYPE_COMPOSITE@GOTPCREL(%rip), %rax
	cmpb	(%rax), %r14b
	jne	LBB0_11
## %bb.10:
	movq	_PLyObject_ToComposite@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 112(%r15)
	movq	$0, 64(%r15)
	movq	%r13, 56(%r15)
	movq	_INVALID_TUPLEDESC_IDENTIFIER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r15)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%r15)
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	jmp	LBB0_17
LBB0_11:
	cmpl	$128, %r12d
	je	LBB0_15
## %bb.12:
	cmpl	$129, %r12d
	jne	LBB0_16
## %bb.13:
	movq	_PLyObject_ToBool@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_4:
	movq	_PLySequence_ToArray@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 112(%r15)
	movl	20(%r13), %edi
	callq	_getBaseType
	movl	%eax, 88(%r15)
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	movl	$128, %esi
	callq	_MemoryContextAllocZero
	movq	%rax, 80(%r15)
	movl	20(%r13), %edx
	movq	%rax, %rdi
	movl	%ebx, %esi
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_7
LBB0_15:
	movq	_PLyObject_ToBytea@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
	movl	%eax, 112(%r15)
	jmp	LBB0_17
LBB0_16:
	movq	_PLyObject_ToScalar@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 112(%r15)
	leaq	16(%r15), %rbx
	addq	$20, %r15
	leaq	-64(%rbp), %rsi
	movl	%r12d, %edi
	movq	%r15, %rdx
	callq	_getTypeInputInfo
	movl	-64(%rbp), %edi
	movq	%rbx, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_fmgr_info_cxt
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RECORDOID,4,2                  ## @RECORDOID
	.comm	_TYPECACHE_DOMAIN_BASE_INFO,4,2 ## @TYPECACHE_DOMAIN_BASE_INFO
	.comm	_TYPTYPE_COMPOSITE,1,0          ## @TYPTYPE_COMPOSITE
	.comm	_TYPTYPE_DOMAIN,1,0             ## @TYPTYPE_DOMAIN
	.comm	_PLyObject_ToDomain,4,2         ## @PLyObject_ToDomain
	.comm	_PLySequence_ToArray,4,2        ## @PLySequence_ToArray
	.comm	_PLyObject_ToTransform,4,2      ## @PLyObject_ToTransform
	.comm	_PLyObject_ToComposite,4,2      ## @PLyObject_ToComposite
	.comm	_INVALID_TUPLEDESC_IDENTIFIER,4,2 ## @INVALID_TUPLEDESC_IDENTIFIER
	.comm	_InvalidOid,4,2                 ## @InvalidOid
	.comm	_PLyObject_ToBool,4,2           ## @PLyObject_ToBool
	.comm	_PLyObject_ToBytea,4,2          ## @PLyObject_ToBytea
	.comm	_PLyObject_ToScalar,4,2         ## @PLyObject_ToScalar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PLy_output_setup_func          ; -- Begin function PLy_output_setup_func
	.p2align	2
_PLy_output_setup_func:                 ; @PLy_output_setup_func
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x4
	mov	x24, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	bl	_check_stack_depth
	str	w23, [x20]
	stp	w19, w24, [x20, #116]
Lloh0:
	adrp	x8, _RECORDOID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RECORDOID@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w23
	b.ne	LBB0_2
; %bb.1:
	mov	x22, #0
Lloh3:
	adrp	x8, _TYPTYPE_COMPOSITE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TYPTYPE_COMPOSITE@GOTPAGEOFF]
	ldrb	w25, [x8]
	movi	d0, #0xffffffff00000000
	stur	d0, [x20, #4]
	mov	w8, #100
	strb	w8, [x20, #12]
Lloh5:
	adrp	x8, _TYPTYPE_DOMAIN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TYPTYPE_DOMAIN@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w25, w8
	b.eq	LBB0_3
	b	LBB0_7
LBB0_2:
Lloh7:
	adrp	x8, _TYPECACHE_DOMAIN_BASE_INFO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TYPECACHE_DOMAIN_BASE_INFO@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_lookup_type_cache
	mov	x22, x0
	ldrb	w25, [x0]
	ldur	d0, [x0, #4]
	stur	d0, [x20, #4]
	ldrb	w8, [x0, #12]
	strb	w8, [x20, #12]
Lloh10:
	adrp	x8, _TYPTYPE_DOMAIN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TYPTYPE_DOMAIN@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w25, w8
	b.ne	LBB0_5
LBB0_3:
Lloh12:
	adrp	x8, _PLyObject_ToDomain@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PLyObject_ToDomain@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x20, #112]
	str	xzr, [x20, #104]
	mov	x0, x19
	mov	w1, #128
	bl	_MemoryContextAllocZero
	str	x0, [x20, #96]
	ldr	w2, [x22, #16]
	ldr	w3, [x22, #24]
	mov	x1, x19
LBB0_4:
	mov	x4, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_PLy_output_setup_func
LBB0_5:
	ldr	w0, [x22, #20]
	bl	_OidIsValid
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w8, [x22, #8]
	cmn	w8, #1
	b.eq	LBB0_14
LBB0_7:
	ldp	w2, w1, [x21]
	mov	x0, x23
	bl	_get_transform_tosql
	cbz	w0, LBB0_9
; %bb.8:
Lloh15:
	adrp	x8, _PLyObject_ToTransform@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PLyObject_ToTransform@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x20, #112]
	add	x1, x20, #72
	mov	x2, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_fmgr_info_cxt
LBB0_9:
Lloh18:
	adrp	x8, _TYPTYPE_COMPOSITE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TYPTYPE_COMPOSITE@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w25, w8
	b.ne	LBB0_11
; %bb.10:
Lloh20:
	adrp	x8, _PLyObject_ToComposite@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PLyObject_ToComposite@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [x20, #112]
	stp	x22, xzr, [x20, #56]
Lloh23:
	adrp	x8, _INVALID_TUPLEDESC_IDENTIFIER@GOTPAGE
Lloh24:
	ldr	x8, [x8, _INVALID_TUPLEDESC_IDENTIFIER@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	str	w8, [x20, #48]
	stp	xzr, xzr, [x20, #32]
Lloh26:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh27:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	str	w8, [x20, #24]
	b	LBB0_18
LBB0_11:
	cmp	w23, #128
	b.eq	LBB0_15
; %bb.12:
	cmp	w23, #129
	b.ne	LBB0_17
; %bb.13:
Lloh29:
	adrp	x8, _PLyObject_ToBool@GOTPAGE
Lloh30:
	ldr	x8, [x8, _PLyObject_ToBool@GOTPAGEOFF]
	b	LBB0_16
LBB0_14:
Lloh31:
	adrp	x8, _PLySequence_ToArray@GOTPAGE
Lloh32:
	ldr	x8, [x8, _PLySequence_ToArray@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	str	w8, [x20, #112]
	ldr	w0, [x22, #20]
	bl	_getBaseType
	str	w0, [x20, #88]
	mov	x0, x19
	mov	w1, #128
	bl	_MemoryContextAllocZero
	str	x0, [x20, #80]
	ldr	w2, [x22, #20]
	mov	x1, x19
	mov	x3, x24
	b	LBB0_4
LBB0_15:
Lloh34:
	adrp	x8, _PLyObject_ToBytea@GOTPAGE
Lloh35:
	ldr	x8, [x8, _PLyObject_ToBytea@GOTPAGEOFF]
LBB0_16:
	ldr	w8, [x8]
	str	w8, [x20, #112]
	b	LBB0_18
LBB0_17:
Lloh36:
	adrp	x8, _PLyObject_ToScalar@GOTPAGE
Lloh37:
	ldr	x8, [x8, _PLyObject_ToScalar@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	str	w8, [x20, #112]
	add	x21, x20, #16
	add	x2, x20, #20
	add	x1, sp, #12
	mov	x0, x23
	bl	_getTypeInputInfo
	ldr	w0, [sp, #12]
	mov	x1, x21
	mov	x2, x19
	bl	_fmgr_info_cxt
LBB0_18:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_RECORDOID,4,2                  ; @RECORDOID
	.comm	_TYPECACHE_DOMAIN_BASE_INFO,4,2 ; @TYPECACHE_DOMAIN_BASE_INFO
	.comm	_TYPTYPE_COMPOSITE,1,0          ; @TYPTYPE_COMPOSITE
	.comm	_TYPTYPE_DOMAIN,1,0             ; @TYPTYPE_DOMAIN
	.comm	_PLyObject_ToDomain,4,2         ; @PLyObject_ToDomain
	.comm	_PLySequence_ToArray,4,2        ; @PLySequence_ToArray
	.comm	_PLyObject_ToTransform,4,2      ; @PLyObject_ToTransform
	.comm	_PLyObject_ToComposite,4,2      ; @PLyObject_ToComposite
	.comm	_INVALID_TUPLEDESC_IDENTIFIER,4,2 ; @INVALID_TUPLEDESC_IDENTIFIER
	.comm	_InvalidOid,4,2                 ; @InvalidOid
	.comm	_PLyObject_ToBool,4,2           ; @PLyObject_ToBool
	.comm	_PLyObject_ToBytea,4,2          ; @PLyObject_ToBytea
	.comm	_PLyObject_ToScalar,4,2         ; @PLyObject_ToScalar
.subsections_via_symbols
