	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_base_element_type          ## -- Begin function get_base_element_type
	.p2align	4, 0x90
_get_base_element_type:                 ## @get_base_element_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_TYPEOID@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCache1
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	movq	_TYPTYPE_DOMAIN@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_GETSTRUCT
	movq	(%rax), %rcx
	cmpq	(%r12), %rcx
	jne	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	12(%rax), %r14d
	movl	%ebx, %edi
	callq	_ReleaseSysCache
	movl	(%r15), %ebx
	movl	%r14d, %edi
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCache1
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_2
LBB0_8:
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_9
LBB0_3:
	cmpl	$-1, 8(%rax)
	je	LBB0_4
## %bb.5:
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	addq	$16, %rax
LBB0_6:
	movl	(%rax), %r14d
	movl	%ebx, %edi
	callq	_ReleaseSysCache
LBB0_9:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPEOID,4,2                    ## @TYPEOID
	.comm	_TYPTYPE_DOMAIN,8,3             ## @TYPTYPE_DOMAIN
	.comm	_InvalidOid,4,2                 ## @InvalidOid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_base_element_type          ; -- Begin function get_base_element_type
	.p2align	2
_get_base_element_type:                 ; @get_base_element_type
	.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
Lloh0:
	adrp	x21, _TYPEOID@GOTPAGE
Lloh1:
	ldr	x21, [x21, _TYPEOID@GOTPAGEOFF]
	ldr	w19, [x21]
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x19
	bl	_SearchSysCache1
	mov	x19, x0
	bl	_HeapTupleIsValid
	cbz	w0, LBB0_4
; %bb.1:
Lloh2:
	adrp	x22, _TYPTYPE_DOMAIN@GOTPAGE
Lloh3:
	ldr	x22, [x22, _TYPTYPE_DOMAIN@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_GETSTRUCT
	ldr	x8, [x0]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w20, [x0, #12]
	mov	x0, x19
	bl	_ReleaseSysCache
	ldr	w19, [x21]
	mov	x0, x20
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x19
	bl	_SearchSysCache1
	mov	x19, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_2
LBB0_4:
Lloh4:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh5:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh6:
	ldr	w20, [x8]
	b	LBB0_6
LBB0_5:
	ldr	w8, [x0, #8]
	add	x9, x0, #16
Lloh7:
	adrp	x10, _InvalidOid@GOTPAGE
Lloh8:
	ldr	x10, [x10, _InvalidOid@GOTPAGEOFF]
	cmn	w8, #1
	csel	x8, x9, x10, eq
	ldr	w20, [x8]
	mov	x0, x19
	bl	_ReleaseSysCache
LBB0_6:
	mov	x0, x20
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPEOID,4,2                    ; @TYPEOID
	.comm	_TYPTYPE_DOMAIN,8,3             ; @TYPTYPE_DOMAIN
	.comm	_InvalidOid,4,2                 ; @InvalidOid
.subsections_via_symbols
