	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tupledesc_match
_tupledesc_match:                       ## @tupledesc_match
	.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	%rdi, %r15
	movl	(%rdi), %eax
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	cmpl	(%rsi), %eax
	je	LBB0_2
## %bb.1:
	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
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	movl	(%r15), %r8d
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	%ecx, %edx
	callq	_errdetail_plural
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	movl	(%r15), %eax
LBB0_2:
	testl	%eax, %eax
	jle	LBB0_11
## %bb.3:
	movl	$1, %r14d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	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.4(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_errdetail
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	leal	1(%r14), %eax
	cmpl	(%r15), %r14d
	movl	%eax, %r14d
	jge	LBB0_11
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%r14), %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_TupleDescAttr
	movq	%rax, %r13
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_TupleDescAttr
	movq	%rax, %r12
	movl	16(%rax), %edi
	movl	16(%r13), %esi
	callq	_IsBinaryCoercible
	testq	%rax, %rax
	jne	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, 20(%r13)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_ERRCODE_DATATYPE_MISMATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	16(%r12), %edi
	callq	_format_type_be
	movl	%eax, %ebx
	movl	16(%r13), %edi
	callq	_format_type_be
	leaq	L_.str.3(%rip), %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_errdetail
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_ereport
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r13), %rax
	cmpq	(%r12), %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r13), %rax
	cmpq	8(%r12), %rax
	jne	LBB0_9
	jmp	LBB0_10
LBB0_11:
	addq	$24, %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_DATATYPE_MISMATCH,4,2  ## @ERRCODE_DATATYPE_MISMATCH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"function return row and query-specified return row do not match"

L_.str.1:                               ## @.str.1
	.asciz	"Returned row contains %d attribute, but query expects %d."

L_.str.2:                               ## @.str.2
	.asciz	"Returned row contains %d attributes, but query expects %d."

L_.str.3:                               ## @.str.3
	.asciz	"Returned type %s at ordinal position %d, but query expects %s."

L_.str.4:                               ## @.str.4
	.asciz	"Physical storage mismatch on dropped attribute at ordinal position %d."

	.no_dead_strip	_tupledesc_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tupledesc_match
_tupledesc_match:                       ; @tupledesc_match
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x1
	mov	x20, x0
	ldr	w8, [x0]
	ldr	w9, [x1]
Lloh0:
	adrp	x28, _ERROR@GOTPAGE
Lloh1:
	ldr	x28, [x28, _ERROR@GOTPAGEOFF]
Lloh2:
	adrp	x24, _ERRCODE_DATATYPE_MISMATCH@GOTPAGE
Lloh3:
	ldr	x24, [x24, _ERRCODE_DATATYPE_MISMATCH@GOTPAGEOFF]
	cmp	w8, w9
	b.eq	LBB0_2
; %bb.1:
	ldr	w21, [x28]
	ldr	w0, [x24]
	bl	_errcode
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	ldr	w2, [x19]
	ldr	w4, [x20]
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x3, x2
	bl	_errdetail_plural
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
	ldr	w8, [x20]
LBB0_2:
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.3:
	mov	w21, #1
Lloh10:
	adrp	x22, l_.str@PAGE
Lloh11:
	add	x22, x22, l_.str@PAGEOFF
Lloh12:
	adrp	x23, l_.str.4@PAGE
Lloh13:
	add	x23, x23, l_.str.4@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w25, [x28]
	ldr	w0, [x24]
	bl	_errcode
	mov	x0, x22
	bl	_errmsg
	mov	x0, x23
	mov	x1, x21
	bl	_errdetail
	mov	x1, x0
	mov	x0, x25
	bl	_ereport
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x20]
	add	w9, w21, #1
	cmp	w21, w8
	mov	x21, x9
	b.ge	LBB0_11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sub	w26, w21, #1
	mov	x0, x20
	mov	x1, x26
	bl	_TupleDescAttr
	mov	x25, x0
	mov	x0, x19
	mov	x1, x26
	bl	_TupleDescAttr
	mov	x26, x0
	ldr	w0, [x0, #16]
	ldr	w1, [x25, #16]
	bl	_IsBinaryCoercible
	cbnz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x25, #20]
	cbnz	w8, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w27, [x28]
	ldr	w0, [x24]
	bl	_errcode
	mov	x0, x22
	bl	_errmsg
	ldr	w0, [x26, #16]
	bl	_format_type_be
	mov	x23, x22
	mov	x22, x24
	mov	x24, x28
	mov	x28, x0
	ldr	w0, [x25, #16]
	bl	_format_type_be
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp]
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x28
	mov	x28, x24
	mov	x24, x22
	mov	x22, x23
	bl	_errdetail
	mov	x1, x0
	mov	x0, x27
Lloh16:
	adrp	x23, l_.str.4@PAGE
Lloh17:
	add	x23, x23, l_.str.4@PAGEOFF
	bl	_ereport
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x25]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x25, #8]
	ldr	x9, [x26, #8]
	cmp	x8, x9
	b.ne	LBB0_4
	b	LBB0_5
LBB0_11:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.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	"function return row and query-specified return row do not match"

l_.str.1:                               ; @.str.1
	.asciz	"Returned row contains %d attribute, but query expects %d."

l_.str.2:                               ; @.str.2
	.asciz	"Returned row contains %d attributes, but query expects %d."

l_.str.3:                               ; @.str.3
	.asciz	"Returned type %s at ordinal position %d, but query expects %s."

l_.str.4:                               ; @.str.4
	.asciz	"Physical storage mismatch on dropped attribute at ordinal position %d."

	.no_dead_strip	_tupledesc_match
.subsections_via_symbols
