	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compatCrosstabTupleDescs
_compatCrosstabTupleDescs:              ## @compatCrosstabTupleDescs
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	cmpl	$2, (%rdi)
	jl	LBB0_10
## %bb.1:
	movq	%rsi, %r14
	cmpl	$3, (%rsi)
	jl	LBB0_10
## %bb.2:
	movq	%rdi, %r15
	xorl	%esi, %esi
	callq	_TupleDescAttr
	movq	(%rax), %rbx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_TupleDescAttr
	cmpq	(%rax), %rbx
	je	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_DATATYPE_MISMATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	leaq	L_.str.1(%rip), %rdi
	callq	_errdetail
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_4:
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_TupleDescAttr
	movq	%rax, %r14
	movl	$1, %eax
	cmpl	$2, (%r15)
	jl	LBB0_10
## %bb.5:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_TupleDescAttr
	movq	(%rax), %rax
	cmpq	(%r14), %rax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incl	%ebx
	cmpl	(%r15), %ebx
	jl	LBB0_6
## %bb.8:
	movl	$1, %eax
	jmp	LBB0_10
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_DATATYPE_MISMATCH,4,2  ## @ERRCODE_DATATYPE_MISMATCH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid return type"

L_.str.1:                               ## @.str.1
	.asciz	"SQL rowid datatype does not match return rowid datatype."

	.no_dead_strip	_compatCrosstabTupleDescs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compatCrosstabTupleDescs
_compatCrosstabTupleDescs:              ; @compatCrosstabTupleDescs
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	w8, [x0]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
	mov	x20, x1
	ldr	w8, [x1]
	cmp	w8, #3
	b.ge	LBB0_4
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x19, x0
	mov	w1, #0
	bl	_TupleDescAttr
	ldr	x21, [x0]
	mov	x0, x20
	mov	w1, #0
	bl	_TupleDescAttr
	ldr	x8, [x0]
	cmp	x21, x8
	b.eq	LBB0_6
; %bb.5:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_errcode
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errdetail
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_6:
	mov	x0, x20
	mov	w1, #2
	bl	_TupleDescAttr
	ldr	w8, [x19]
	cmp	w8, #2
	b.lt	LBB0_10
; %bb.7:
	mov	x20, x0
	mov	w21, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_TupleDescAttr
	ldr	x8, [x0]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	w21, w21, #1
	ldr	w8, [x19]
	cmp	w21, w8
	b.lt	LBB0_8
LBB0_10:
	mov	w0, #1
	b	LBB0_3
	.loh AdrpAdd	Lloh8, Lloh9
	.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_DATATYPE_MISMATCH,4,2  ; @ERRCODE_DATATYPE_MISMATCH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid return type"

l_.str.1:                               ; @.str.1
	.asciz	"SQL rowid datatype does not match return rowid datatype."

	.no_dead_strip	_compatCrosstabTupleDescs
.subsections_via_symbols
