	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function AtEOXact_cleanup
_AtEOXact_cleanup:                      ## @AtEOXact_cleanup
	.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	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	_InvalidSubTransactionId@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	cmpq	%rcx, %rax
	je	LBB0_5
## %bb.1:
	testl	%esi, %esi
	je	LBB0_3
## %bb.2:
	movq	%rcx, 8(%rbx)
	movq	%rcx, %rax
LBB0_5:
	movq	%rax, 16(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %rdi
	callq	_RelationHasReferenceCountZero
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RelationClearRelation          ## TAILCALL
LBB0_4:
	movq	(%r15), %rax
	movq	%rax, 8(%rbx)
	movq	_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_RelationGetRelationName
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	callq	_elog
	movq	(%r15), %rax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidSubTransactionId,8,3    ## @InvalidSubTransactionId
	.comm	_WARNING,4,2                    ## @WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot remove relcache entry for \"%s\" because it has nonzero refcount"

	.no_dead_strip	_AtEOXact_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function AtEOXact_cleanup
_AtEOXact_cleanup:                      ; @AtEOXact_cleanup
	.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, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x21, _InvalidSubTransactionId@GOTPAGE
Lloh1:
	ldr	x21, [x21, _InvalidSubTransactionId@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.1:
	cbz	w1, LBB0_4
; %bb.2:
	str	x9, [x19, #8]
	mov	x8, x9
LBB0_3:
	str	x8, [x19, #16]
	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
LBB0_4:
	mov	x0, x19
	bl	_RelationHasReferenceCountZero
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	w1, #0
	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
	b	_RelationClearRelation
LBB0_6:
	ldr	x8, [x21]
	str	x8, [x19, #8]
Lloh2:
	adrp	x8, _WARNING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WARNING@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_RelationGetRelationName
	mov	x2, x0
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_elog
	ldr	x8, [x21]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidSubTransactionId,8,3    ; @InvalidSubTransactionId
	.comm	_WARNING,4,2                    ; @WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot remove relcache entry for \"%s\" because it has nonzero refcount"

	.no_dead_strip	_AtEOXact_cleanup
.subsections_via_symbols
