	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_expr_result_tupdesc        ## -- Begin function get_expr_result_tupdesc
	.p2align	4, 0x90
_get_expr_result_tupdesc:               ## @get_expr_result_tupdesc
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	-32(%rbp), %rdx
	xorl	%esi, %esi
	callq	_get_expr_result_type
	movq	_TYPEFUNC_COMPOSITE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_TYPEFUNC_COMPOSITE_DOMAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.3:
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.4:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_2:
	movq	-32(%rbp), %rbx
	jmp	LBB0_9
LBB0_5:
	movq	%rbx, %rdi
	callq	_exprType
	movq	%rax, %rbx
	movq	_RECORDOID@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_WRONG_OBJECT_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	cmpq	%r15, %rbx
	jne	LBB0_6
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_errmsg
	jmp	LBB0_8
LBB0_6:
	movq	%rbx, %rdi
	callq	_format_type_be
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_errmsg
LBB0_8:
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_9:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPEFUNC_COMPOSITE,8,3         ## @TYPEFUNC_COMPOSITE
	.comm	_TYPEFUNC_COMPOSITE_DOMAIN,8,3  ## @TYPEFUNC_COMPOSITE_DOMAIN
	.comm	_RECORDOID,8,3                  ## @RECORDOID
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_WRONG_OBJECT_TYPE,4,2  ## @ERRCODE_WRONG_OBJECT_TYPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"type %s is not composite"

L_.str.1:                               ## @.str.1
	.asciz	"record type has not been registered"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_expr_result_tupdesc        ; -- Begin function get_expr_result_tupdesc
	.p2align	2
_get_expr_result_tupdesc:               ; @get_expr_result_tupdesc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	add	x2, sp, #8
	mov	x1, #0
	bl	_get_expr_result_type
Lloh0:
	adrp	x8, _TYPEFUNC_COMPOSITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TYPEFUNC_COMPOSITE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _TYPEFUNC_COMPOSITE_DOMAIN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TYPEFUNC_COMPOSITE_DOMAIN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.ne	LBB0_2
; %bb.1:
	ldr	x0, [sp, #8]
	b	LBB0_8
LBB0_2:
	cbnz	w20, LBB0_7
; %bb.3:
	mov	x0, x19
	bl	_exprType
	mov	x20, x0
Lloh6:
	adrp	x8, _RECORDOID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RECORDOID@GOTPAGEOFF]
Lloh8:
	ldr	x21, [x8]
Lloh9:
	adrp	x8, _ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x8]
Lloh12:
	adrp	x8, _ERRCODE_WRONG_OBJECT_TYPE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERRCODE_WRONG_OBJECT_TYPE@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_errcode
	cmp	x20, x21
	b.ne	LBB0_5
; %bb.4:
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:
	mov	x0, x20
	bl	_format_type_be
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
LBB0_6:
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_7:
	mov	x0, #0
LBB0_8:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPEFUNC_COMPOSITE,8,3         ; @TYPEFUNC_COMPOSITE
	.comm	_TYPEFUNC_COMPOSITE_DOMAIN,8,3  ; @TYPEFUNC_COMPOSITE_DOMAIN
	.comm	_RECORDOID,8,3                  ; @RECORDOID
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_WRONG_OBJECT_TYPE,4,2  ; @ERRCODE_WRONG_OBJECT_TYPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"type %s is not composite"

l_.str.1:                               ; @.str.1
	.asciz	"record type has not been registered"

.subsections_via_symbols
