	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AssignTypeArrayOid             ## -- Begin function AssignTypeArrayOid
	.p2align	4, 0x90
_AssignTypeArrayOid:                    ## @AssignTypeArrayOid
	.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	_IsBinaryUpgrade@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.1:
	movq	_binary_upgrade_next_array_pg_type_oid@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_OidIsValid
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_INVALID_PARAMETER_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_3:
	movl	(%rbx), %eax
	movq	_InvalidOid@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rbx)
	jmp	LBB0_4
LBB0_5:
	movq	_TypeRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AccessShareLock@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_table_open
	movl	%eax, %ebx
	movq	_TypeOidIndexId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_Anum_pg_type_oid@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_GetNewOidWithIndex
	movl	%eax, %r14d
	movl	(%r15), %esi
	movl	%ebx, %edi
	callq	_table_close
	movl	%r14d, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IsBinaryUpgrade,8,3            ## @IsBinaryUpgrade
	.comm	_binary_upgrade_next_array_pg_type_oid,4,2 ## @binary_upgrade_next_array_pg_type_oid
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INVALID_PARAMETER_VALUE,4,2 ## @ERRCODE_INVALID_PARAMETER_VALUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pg_type array OID value not set when in binary upgrade mode"

	.comm	_InvalidOid,4,2                 ## @InvalidOid
	.comm	_TypeRelationId,4,2             ## @TypeRelationId
	.comm	_AccessShareLock,4,2            ## @AccessShareLock
	.comm	_TypeOidIndexId,4,2             ## @TypeOidIndexId
	.comm	_Anum_pg_type_oid,4,2           ## @Anum_pg_type_oid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AssignTypeArrayOid             ; -- Begin function AssignTypeArrayOid
	.p2align	2
_AssignTypeArrayOid:                    ; @AssignTypeArrayOid
	.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	x8, _IsBinaryUpgrade@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IsBinaryUpgrade@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
Lloh3:
	adrp	x20, _binary_upgrade_next_array_pg_type_oid@GOTPAGE
Lloh4:
	ldr	x20, [x20, _binary_upgrade_next_array_pg_type_oid@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_OidIsValid
	cbnz	w0, LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
Lloh8:
	adrp	x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_errcode
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_3:
	ldr	w0, [x20]
Lloh13:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh14:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x20]
	b	LBB0_5
LBB0_4:
Lloh16:
	adrp	x8, _TypeRelationId@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TypeRelationId@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x21, _AccessShareLock@GOTPAGE
Lloh20:
	ldr	x21, [x21, _AccessShareLock@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_table_open
	mov	x19, x0
Lloh21:
	adrp	x8, _TypeOidIndexId@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TypeOidIndexId@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x8, _Anum_pg_type_oid@GOTPAGE
Lloh25:
	ldr	x8, [x8, _Anum_pg_type_oid@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	bl	_GetNewOidWithIndex
	mov	x20, x0
	ldr	w1, [x21]
	mov	x0, x19
	bl	_table_close
	mov	x0, x20
LBB0_5:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_IsBinaryUpgrade,8,3            ; @IsBinaryUpgrade
	.comm	_binary_upgrade_next_array_pg_type_oid,4,2 ; @binary_upgrade_next_array_pg_type_oid
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INVALID_PARAMETER_VALUE,4,2 ; @ERRCODE_INVALID_PARAMETER_VALUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pg_type array OID value not set when in binary upgrade mode"

	.comm	_InvalidOid,4,2                 ; @InvalidOid
	.comm	_TypeRelationId,4,2             ; @TypeRelationId
	.comm	_AccessShareLock,4,2            ; @AccessShareLock
	.comm	_TypeOidIndexId,4,2             ; @TypeOidIndexId
	.comm	_Anum_pg_type_oid,4,2           ; @Anum_pg_type_oid
.subsections_via_symbols
