	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetDefaultOpClass              ## -- Begin function GetDefaultOpClass
	.p2align	4, 0x90
_GetDefaultOpClass:                     ## @GetDefaultOpClass
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	callq	_getBaseType
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_TypeCategory
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	_OperatorClassRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movl	%eax, %r12d
	movq	_Anum_pg_opclass_opcmethod@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_F_OIDEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_ObjectIdGetDatum
	leaq	-76(%rbp), %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	movl	%eax, %r8d
	callq	_ScanKeyInit
	movq	_OpclassAmNameNspIndexId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, -68(%rbp)                ## 4-byte Spill
	movl	%r12d, %edi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	leaq	-76(%rbp), %r9
	callq	_systable_beginscan
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_systable_getnext
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	xorl	%r15d, %r15d
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	testl	%r15d, %r15d
	je	LBB0_7
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r14d, %edi
	callq	_systable_getnext
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testq	%rax, %rax
	je	LBB0_15
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	callq	_GETSTRUCT
	movslq	%eax, %rbx
	cmpl	$0, 16(%rbx)
	je	LBB0_14
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rsi
	cmpq	%r13, %rsi
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	%r15d
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_14
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	callq	_IsBinaryCoercible
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rsi
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	callq	_IsPreferredType
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_13
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	incl	-52(%rbp)                       ## 4-byte Folded Spill
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_1:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	xorl	%r15d, %r15d
LBB0_15:
	movl	%r14d, %edi
	callq	_systable_endscan
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	callq	_table_close
	cmpl	$2, %r15d
	jl	LBB0_17
## %bb.16:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_DUPLICATE_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	%r13, %rdi
	callq	_format_type_be
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_17:
	cmpl	$1, %r15d
	je	LBB0_18
## %bb.19:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$1, %ecx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_22
## %bb.20:
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	xorl	$1, %edx
	orl	%edx, %ecx
	je	LBB0_22
## %bb.21:
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_22
LBB0_18:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
LBB0_22:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidOid,8,3                 ## @InvalidOid
	.comm	_OperatorClassRelationId,4,2    ## @OperatorClassRelationId
	.comm	_AccessShareLock,4,2            ## @AccessShareLock
	.comm	_Anum_pg_opclass_opcmethod,4,2  ## @Anum_pg_opclass_opcmethod
	.comm	_BTEqualStrategyNumber,4,2      ## @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ## @F_OIDEQ
	.comm	_OpclassAmNameNspIndexId,4,2    ## @OpclassAmNameNspIndexId
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_DUPLICATE_OBJECT,4,2   ## @ERRCODE_DUPLICATE_OBJECT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"there are multiple default operator classes for data type %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetDefaultOpClass              ; -- Begin function GetDefaultOpClass
	.p2align	2
_GetDefaultOpClass:                     ; @GetDefaultOpClass
	.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	x23, x1
Lloh0:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	bl	_getBaseType
	mov	x20, x0
	bl	_TypeCategory
	mov	x22, x0
Lloh3:
	adrp	x8, _OperatorClassRelationId@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OperatorClassRelationId@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x28, _AccessShareLock@GOTPAGE
Lloh7:
	ldr	x28, [x28, _AccessShareLock@GOTPAGEOFF]
	ldr	w1, [x28]
	bl	_table_open
	mov	x21, x0
Lloh8:
	adrp	x8, _Anum_pg_opclass_opcmethod@GOTPAGE
Lloh9:
	ldr	x8, [x8, _Anum_pg_opclass_opcmethod@GOTPAGEOFF]
Lloh10:
	ldr	w24, [x8]
Lloh11:
	adrp	x8, _BTEqualStrategyNumber@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BTEqualStrategyNumber@GOTPAGEOFF]
Lloh13:
	ldr	w25, [x8]
Lloh14:
	adrp	x8, _F_OIDEQ@GOTPAGE
Lloh15:
	ldr	x8, [x8, _F_OIDEQ@GOTPAGEOFF]
Lloh16:
	ldr	w26, [x8]
	mov	x0, x23
	bl	_ObjectIdGetDatum
	mov	x4, x0
	add	x0, sp, #12
	mov	x1, x24
	mov	x2, x25
	mov	x3, x26
	bl	_ScanKeyInit
Lloh17:
	adrp	x8, _OpclassAmNameNspIndexId@GOTPAGE
Lloh18:
	ldr	x8, [x8, _OpclassAmNameNspIndexId@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	add	x5, sp, #12
	mov	x0, x21
	mov	w2, #1
	mov	x3, #0
	mov	w4, #1
	bl	_systable_beginscan
	mov	x23, x0
	bl	_systable_getnext
	mov	x24, x0
	bl	_HeapTupleIsValid
	cbz	x0, LBB0_14
; %bb.1:
	mov	w27, #0
	mov	w26, #0
	mov	w25, #0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbz	w27, LBB0_8
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_systable_getnext
	mov	x24, x0
	bl	_HeapTupleIsValid
	cbz	x0, LBB0_15
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	bl	_GETSTRUCT
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x24, w0
	ldr	w8, [x24, #16]
	cbz	w8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x24]
	cmp	x1, x20
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w27, w27, #1
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x19, [x24, #8]
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_IsBinaryCoercible
	cbz	x0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x24]
	mov	x0, x22
	bl	_IsPreferredType
	mov	w27, #0
	cbz	x0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	add	w25, w25, #1
	b	LBB0_7
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w27, #0
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w25, LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	add	w26, w26, #1
	b	LBB0_7
LBB0_14:
	mov	w25, #0
	mov	w26, #0
	mov	w27, #0
LBB0_15:
	mov	x0, x23
	bl	_systable_endscan
	ldr	w1, [x28]
	mov	x0, x21
	bl	_table_close
	cmp	w27, #2
	b.lt	LBB0_17
; %bb.16:
Lloh20:
	adrp	x8, _ERROR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh22:
	ldr	w21, [x8]
Lloh23:
	adrp	x8, _ERRCODE_DUPLICATE_OBJECT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ERRCODE_DUPLICATE_OBJECT@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_errcode
	mov	x0, x20
	bl	_format_type_be
	mov	x1, x0
Lloh26:
	adrp	x0, l_.str@PAGE
Lloh27:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_17:
	cmp	w27, #1
	b.eq	LBB0_20
; %bb.18:
	cmp	w25, #1
	b.eq	LBB0_20
; %bb.19:
	cmp	w26, #1
	ccmp	w25, #0, #0, eq
Lloh28:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh29:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	csel	x19, x19, x8, eq
LBB0_20:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidOid,8,3                 ; @InvalidOid
	.comm	_OperatorClassRelationId,4,2    ; @OperatorClassRelationId
	.comm	_AccessShareLock,4,2            ; @AccessShareLock
	.comm	_Anum_pg_opclass_opcmethod,4,2  ; @Anum_pg_opclass_opcmethod
	.comm	_BTEqualStrategyNumber,4,2      ; @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ; @F_OIDEQ
	.comm	_OpclassAmNameNspIndexId,4,2    ; @OpclassAmNameNspIndexId
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_DUPLICATE_OBJECT,4,2   ; @ERRCODE_DUPLICATE_OBJECT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"there are multiple default operator classes for data type %s"

.subsections_via_symbols
