	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_replorigin_by_oid              ## -- Begin function replorigin_by_oid
	.p2align	4, 0x90
_replorigin_by_oid:                     ## @replorigin_by_oid
	.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	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %r12
	callq	_OidIsValid
	movl	%eax, %edi
	callq	_Assert
	movq	_InvalidRepOriginId@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	%r12, (%rax)
	setne	%dil
	callq	_Assert
	movq	_DoNotReplicateId@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	%r12, (%rax)
	setne	%dil
	callq	_Assert
	movq	_REPLORIGIDENT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r12d, %edi
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCache1
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	callq	_GETSTRUCT
	movq	%rax, %rdi
	callq	_text_to_cstring
	movq	%rax, (%r14)
	movl	%ebx, %edi
	callq	_ReleaseSysCache
	movl	$1, %r14d
	jmp	LBB0_4
LBB0_2:
	movq	$0, (%r14)
	xorl	%r14d, %r14d
	testl	%r15d, %r15d
	jne	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_UNDEFINED_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_4:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidRepOriginId,8,3         ## @InvalidRepOriginId
	.comm	_DoNotReplicateId,8,3           ## @DoNotReplicateId
	.comm	_REPLORIGIDENT,4,2              ## @REPLORIGIDENT
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_UNDEFINED_OBJECT,4,2   ## @ERRCODE_UNDEFINED_OBJECT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"replication origin with OID %u does not exist"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_replorigin_by_oid              ; -- Begin function replorigin_by_oid
	.p2align	2
_replorigin_by_oid:                     ; @replorigin_by_oid
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	bl	_OidIsValid
	bl	_Assert
Lloh0:
	adrp	x8, _InvalidRepOriginId@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidRepOriginId@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x20
	cset	w0, ne
	bl	_Assert
Lloh3:
	adrp	x8, _DoNotReplicateId@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DoNotReplicateId@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x20
	cset	w0, ne
	bl	_Assert
Lloh6:
	adrp	x8, _REPLORIGIDENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REPLORIGIDENT@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
	mov	x0, x20
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x22
	bl	_SearchSysCache1
	mov	x22, x0
	bl	_HeapTupleIsValid
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_GETSTRUCT
	bl	_text_to_cstring
	str	x0, [x19]
	mov	x0, x22
	bl	_ReleaseSysCache
	mov	w0, #1
	b	LBB0_5
LBB0_2:
	str	xzr, [x19]
	cbnz	w21, LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x8]
Lloh12:
	adrp	x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_errcode
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_4:
	mov	w0, #0
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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidRepOriginId,8,3         ; @InvalidRepOriginId
	.comm	_DoNotReplicateId,8,3           ; @DoNotReplicateId
	.comm	_REPLORIGIDENT,4,2              ; @REPLORIGIDENT
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_UNDEFINED_OBJECT,4,2   ; @ERRCODE_UNDEFINED_OBJECT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"replication origin with OID %u does not exist"

.subsections_via_symbols
