	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_resolve_generic_type           ## -- Begin function resolve_generic_type
	.p2align	4, 0x90
_resolve_generic_type:                  ## @resolve_generic_type
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_ANYARRAYOID@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	cmpq	%rbx, %rdi
	jne	LBB0_10
## %bb.1:
	cmpq	%rdx, %rbx
	jne	LBB0_4
## %bb.2:
	movq	%r14, %rdi
	callq	_getBaseType
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_get_element_type
	movq	%rax, %rdi
	callq	_OidIsValid
	testl	%eax, %eax
	jne	LBB0_27
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_DATATYPE_MISMATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	%rbx, %rdi
	callq	_format_type_be
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r14d, %edi
	jmp	LBB0_19
LBB0_10:
	movq	_ANYELEMENTOID@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_ANYNONARRAYOID@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_ANYENUMOID@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	_ANYRANGEOID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rbx, %rcx
	je	LBB0_14
## %bb.11:
	cmpq	%rbx, %rsi
	je	LBB0_14
## %bb.12:
	cmpq	%rbx, %r8
	je	LBB0_14
## %bb.13:
	cmpq	%rbx, %rax
	jne	LBB0_27
LBB0_14:
	cmpq	%rdx, %rdi
	jne	LBB0_20
## %bb.15:
	movq	%r14, %rdi
	callq	_getBaseType
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_get_element_type
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_OidIsValid
	testl	%eax, %eax
	jne	LBB0_27
## %bb.16:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_DATATYPE_MISMATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	%r14, %rdi
	callq	_format_type_be
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_17
LBB0_4:
	movq	_ANYELEMENTOID@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	je	LBB0_8
## %bb.5:
	movq	_ANYNONARRAYOID@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	je	LBB0_8
## %bb.6:
	movq	_ANYENUMOID@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_ANYRANGEOID@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	je	LBB0_8
LBB0_26:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_elog
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_27
LBB0_20:
	cmpq	%rdx, %rax
	jne	LBB0_23
## %bb.21:
	movq	%r14, %rdi
	callq	_getBaseType
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_get_range_subtype
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_OidIsValid
	testl	%eax, %eax
	jne	LBB0_27
## %bb.22:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_DATATYPE_MISMATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	%r14, %rdi
	callq	_format_type_be
	leaq	L_.str.3(%rip), %rdi
	leaq	L_.str.4(%rip), %rsi
LBB0_17:
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_errmsg
	jmp	LBB0_18
LBB0_8:
	movq	%r14, %rdi
	callq	_get_array_type
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_OidIsValid
	testl	%eax, %eax
	jne	LBB0_27
## %bb.9:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_UNDEFINED_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	%r14, %rdi
	callq	_format_type_be
	movslq	%eax, %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
LBB0_18:
	movl	%r15d, %edi
LBB0_19:
	movl	%eax, %esi
	callq	_ereport
LBB0_27:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	%r14, %rbx
	cmpq	%rdx, %rcx
	je	LBB0_27
## %bb.24:
	cmpq	%rdx, %rsi
	je	LBB0_27
## %bb.25:
	cmpq	%rdx, %r8
	jne	LBB0_26
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.comm	_ANYARRAYOID,8,3                ## @ANYARRAYOID
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_DATATYPE_MISMATCH,4,2  ## @ERRCODE_DATATYPE_MISMATCH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"argument declared %s is not an array but type %s"

L_.str.1:                               ## @.str.1
	.asciz	"anyarray"

	.comm	_ANYELEMENTOID,8,3              ## @ANYELEMENTOID
	.comm	_ANYNONARRAYOID,8,3             ## @ANYNONARRAYOID
	.comm	_ANYENUMOID,8,3                 ## @ANYENUMOID
	.comm	_ANYRANGEOID,8,3                ## @ANYRANGEOID
	.comm	_ERRCODE_UNDEFINED_OBJECT,4,2   ## @ERRCODE_UNDEFINED_OBJECT
L_.str.2:                               ## @.str.2
	.asciz	"could not find array type for data type %s"

L_.str.3:                               ## @.str.3
	.asciz	"argument declared %s is not a range type but type %s"

L_.str.4:                               ## @.str.4
	.asciz	"anyrange"

L_.str.5:                               ## @.str.5
	.asciz	"could not determine polymorphic type because context isn't polymorphic"

	.comm	_InvalidOid,8,3                 ## @InvalidOid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_resolve_generic_type           ; -- Begin function resolve_generic_type
	.p2align	2
_resolve_generic_type:                  ; @resolve_generic_type
	.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
Lloh0:
	adrp	x8, _ANYARRAYOID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ANYARRAYOID@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x8]
	cmp	x10, x0
	b.ne	LBB0_4
; %bb.1:
	cmp	x19, x2
	b.ne	LBB0_8
; %bb.2:
	mov	x0, x20
	bl	_getBaseType
	mov	x19, x0
	bl	_get_element_type
	bl	_OidIsValid
	cbnz	w0, LBB0_17
; %bb.3:
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
Lloh6:
	adrp	x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_errcode
	mov	x0, x19
	bl	_format_type_be
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
	b	LBB0_17
LBB0_4:
Lloh13:
	adrp	x8, _ANYELEMENTOID@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ANYELEMENTOID@GOTPAGEOFF]
Lloh15:
	adrp	x11, _ANYNONARRAYOID@GOTPAGE
Lloh16:
	ldr	x11, [x11, _ANYNONARRAYOID@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x8]
Lloh18:
	ldr	x8, [x11]
Lloh19:
	adrp	x11, _ANYENUMOID@GOTPAGE
Lloh20:
	ldr	x11, [x11, _ANYENUMOID@GOTPAGEOFF]
Lloh21:
	adrp	x12, _ANYRANGEOID@GOTPAGE
Lloh22:
	ldr	x12, [x12, _ANYRANGEOID@GOTPAGEOFF]
Lloh23:
	ldr	x11, [x11]
Lloh24:
	ldr	x12, [x12]
	cmp	x9, x19
	ccmp	x8, x19, #4, ne
	ccmp	x11, x19, #4, ne
	ccmp	x12, x19, #4, ne
	b.ne	LBB0_17
; %bb.5:
	cmp	x10, x2
	b.ne	LBB0_11
; %bb.6:
	mov	x0, x20
	bl	_getBaseType
	mov	x20, x0
	bl	_get_element_type
	mov	x19, x0
	bl	_OidIsValid
	cbnz	w0, LBB0_17
; %bb.7:
Lloh25:
	adrp	x8, _ERROR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh27:
	ldr	w21, [x8]
Lloh28:
	adrp	x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	bl	_errcode
	mov	x0, x20
	bl	_format_type_be
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh31:
	adrp	x0, l_.str@PAGE
Lloh32:
	add	x0, x0, l_.str@PAGEOFF
Lloh33:
	adrp	x1, l_.str.1@PAGE
Lloh34:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_14
LBB0_8:
Lloh35:
	adrp	x8, _ANYELEMENTOID@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ANYELEMENTOID@GOTPAGEOFF]
Lloh37:
	adrp	x9, _ANYNONARRAYOID@GOTPAGE
Lloh38:
	ldr	x9, [x9, _ANYNONARRAYOID@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8]
Lloh40:
	ldr	x9, [x9]
Lloh41:
	adrp	x10, _ANYENUMOID@GOTPAGE
Lloh42:
	ldr	x10, [x10, _ANYENUMOID@GOTPAGEOFF]
Lloh43:
	adrp	x11, _ANYRANGEOID@GOTPAGE
Lloh44:
	ldr	x11, [x11, _ANYRANGEOID@GOTPAGEOFF]
Lloh45:
	ldr	x10, [x10]
Lloh46:
	ldr	x11, [x11]
	cmp	x8, x2
	ccmp	x9, x2, #4, ne
	ccmp	x10, x2, #4, ne
	ccmp	x11, x2, #4, ne
	b.ne	LBB0_16
; %bb.9:
	mov	x0, x20
	bl	_get_array_type
	mov	x19, x0
	bl	_OidIsValid
	cbnz	w0, LBB0_17
; %bb.10:
Lloh47:
	adrp	x8, _ERROR@GOTPAGE
Lloh48:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh49:
	ldr	w21, [x8]
Lloh50:
	adrp	x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGE
Lloh51:
	ldr	x8, [x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGEOFF]
Lloh52:
	ldr	w0, [x8]
	bl	_errcode
	mov	x0, x20
	bl	_format_type_be
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x1, w0
Lloh53:
	adrp	x0, l_.str.2@PAGE
Lloh54:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_14
LBB0_11:
	cmp	x12, x2
	b.ne	LBB0_15
; %bb.12:
	mov	x0, x20
	bl	_getBaseType
	mov	x20, x0
	bl	_get_range_subtype
	mov	x19, x0
	bl	_OidIsValid
	cbnz	w0, LBB0_17
; %bb.13:
Lloh55:
	adrp	x8, _ERROR@GOTPAGE
Lloh56:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh57:
	ldr	w21, [x8]
Lloh58:
	adrp	x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGE
Lloh59:
	ldr	x8, [x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGEOFF]
Lloh60:
	ldr	w0, [x8]
	bl	_errcode
	mov	x0, x20
	bl	_format_type_be
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh61:
	adrp	x0, l_.str.3@PAGE
Lloh62:
	add	x0, x0, l_.str.3@PAGEOFF
Lloh63:
	adrp	x1, l_.str.4@PAGE
Lloh64:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_14:
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
	b	LBB0_17
LBB0_15:
	cmp	x9, x2
	ccmp	x8, x2, #4, ne
	ccmp	x11, x2, #4, ne
	mov	x19, x20
	b.eq	LBB0_17
LBB0_16:
Lloh65:
	adrp	x8, _ERROR@GOTPAGE
Lloh66:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh67:
	ldr	w0, [x8]
Lloh68:
	adrp	x1, l_.str.5@PAGE
Lloh69:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_elog
Lloh70:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh71:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh72:
	ldr	x19, [x8]
LBB0_17:
	mov	x0, x19
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh23
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh17
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh45
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh39
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.cfi_endproc
                                        ; -- End function
	.comm	_ANYARRAYOID,8,3                ; @ANYARRAYOID
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_DATATYPE_MISMATCH,4,2  ; @ERRCODE_DATATYPE_MISMATCH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"argument declared %s is not an array but type %s"

l_.str.1:                               ; @.str.1
	.asciz	"anyarray"

	.comm	_ANYELEMENTOID,8,3              ; @ANYELEMENTOID
	.comm	_ANYNONARRAYOID,8,3             ; @ANYNONARRAYOID
	.comm	_ANYENUMOID,8,3                 ; @ANYENUMOID
	.comm	_ANYRANGEOID,8,3                ; @ANYRANGEOID
	.comm	_ERRCODE_UNDEFINED_OBJECT,4,2   ; @ERRCODE_UNDEFINED_OBJECT
l_.str.2:                               ; @.str.2
	.asciz	"could not find array type for data type %s"

l_.str.3:                               ; @.str.3
	.asciz	"argument declared %s is not a range type but type %s"

l_.str.4:                               ; @.str.4
	.asciz	"anyrange"

l_.str.5:                               ; @.str.5
	.asciz	"could not determine polymorphic type because context isn't polymorphic"

	.comm	_InvalidOid,8,3                 ; @InvalidOid
.subsections_via_symbols
