	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LogStandbySnapshot             ## -- Begin function LogStandbySnapshot
	.p2align	4, 0x90
_LogStandbySnapshot:                    ## @LogStandbySnapshot
	.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
	xorl	%eax, %eax
	callq	_XLogStandbyInfoActive
	movl	%eax, %edi
	callq	_Assert
	leaq	-28(%rbp), %rdi
	callq	_GetRunningTransactionLocks
	movq	%rax, %rbx
	movl	-28(%rbp), %edi
	testl	%edi, %edi
	jle	LBB0_2
## %bb.1:
	movq	%rbx, %rsi
	callq	_LogAccessExclusiveLocks
LBB0_2:
	movq	%rbx, %rdi
	callq	_pfree
	xorl	%eax, %eax
	callq	_GetRunningTransactionData
	movl	%eax, %ebx
	movq	_wal_level@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_WAL_LEVEL_LOGICAL@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jge	LBB0_4
## %bb.3:
	movq	_ProcArrayLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LWLockRelease
LBB0_4:
	movl	%ebx, %edi
	callq	_LogCurrentRunningXacts
	movl	%eax, %ebx
	movq	(%r14), %rax
	cmpq	(%r15), %rax
	jl	LBB0_6
## %bb.5:
	movq	_ProcArrayLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LWLockRelease
LBB0_6:
	movq	_XidGenLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LWLockRelease
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wal_level,8,3                  ## @wal_level
	.comm	_WAL_LEVEL_LOGICAL,8,3          ## @WAL_LEVEL_LOGICAL
	.comm	_ProcArrayLock,4,2              ## @ProcArrayLock
	.comm	_XidGenLock,4,2                 ## @XidGenLock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LogStandbySnapshot             ; -- Begin function LogStandbySnapshot
	.p2align	2
_LogStandbySnapshot:                    ; @LogStandbySnapshot
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	bl	_XLogStandbyInfoActive
	bl	_Assert
	add	x0, sp, #12
	bl	_GetRunningTransactionLocks
	mov	x19, x0
	ldr	w0, [sp, #12]
	cmp	w0, #1
	b.lt	LBB0_2
; %bb.1:
	mov	x1, x19
	bl	_LogAccessExclusiveLocks
LBB0_2:
	mov	x0, x19
	bl	_pfree
	bl	_GetRunningTransactionData
	mov	x19, x0
Lloh0:
	adrp	x21, _wal_level@GOTPAGE
Lloh1:
	ldr	x21, [x21, _wal_level@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x22, _WAL_LEVEL_LOGICAL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _WAL_LEVEL_LOGICAL@GOTPAGEOFF]
	ldr	x9, [x22]
Lloh4:
	adrp	x20, _ProcArrayLock@GOTPAGE
Lloh5:
	ldr	x20, [x20, _ProcArrayLock@GOTPAGEOFF]
	cmp	x8, x9
	b.ge	LBB0_4
; %bb.3:
	ldr	w0, [x20]
	bl	_LWLockRelease
LBB0_4:
	mov	x0, x19
	bl	_LogCurrentRunningXacts
	mov	x19, x0
	ldr	x8, [x21]
	ldr	x9, [x22]
	cmp	x8, x9
	b.lt	LBB0_6
; %bb.5:
	ldr	w0, [x20]
	bl	_LWLockRelease
LBB0_6:
Lloh6:
	adrp	x8, _XidGenLock@GOTPAGE
Lloh7:
	ldr	x8, [x8, _XidGenLock@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_LWLockRelease
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_wal_level,8,3                  ; @wal_level
	.comm	_WAL_LEVEL_LOGICAL,8,3          ; @WAL_LEVEL_LOGICAL
	.comm	_ProcArrayLock,4,2              ; @ProcArrayLock
	.comm	_XidGenLock,4,2                 ; @XidGenLock
.subsections_via_symbols
