	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pg_stop_backup_callback
_pg_stop_backup_callback:               ## @pg_stop_backup_callback
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %edi
	callq	_DatumGetBool
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_WALInsertLockAcquireExclusive
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movq	_XLogCtl@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	_EXCLUSIVE_BACKUP_STOPPING@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	movq	_EXCLUSIVE_BACKUP_IN_PROGRESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx), %rcx
	movq	%rax, (%rcx)
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_WALInsertLockRelease           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XLogCtl,8,3                    ## @XLogCtl
	.comm	_EXCLUSIVE_BACKUP_STOPPING,8,3  ## @EXCLUSIVE_BACKUP_STOPPING
	.comm	_EXCLUSIVE_BACKUP_IN_PROGRESS,8,3 ## @EXCLUSIVE_BACKUP_IN_PROGRESS
	.no_dead_strip	_pg_stop_backup_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pg_stop_backup_callback
_pg_stop_backup_callback:               ; @pg_stop_backup_callback
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x0, x1
	bl	_DatumGetBool
	mov	x19, x0
	bl	_WALInsertLockAcquireExclusive
	cbz	w19, LBB0_2
; %bb.1:
Lloh0:
	adrp	x19, _XLogCtl@GOTPAGE
Lloh1:
	ldr	x19, [x19, _XLogCtl@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x8, [x8]
Lloh2:
	adrp	x9, _EXCLUSIVE_BACKUP_STOPPING@GOTPAGE
Lloh3:
	ldr	x9, [x9, _EXCLUSIVE_BACKUP_STOPPING@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
Lloh5:
	adrp	x8, _EXCLUSIVE_BACKUP_IN_PROGRESS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EXCLUSIVE_BACKUP_IN_PROGRESS@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x19]
	str	x8, [x9]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_WALInsertLockRelease
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_XLogCtl,8,3                    ; @XLogCtl
	.comm	_EXCLUSIVE_BACKUP_STOPPING,8,3  ; @EXCLUSIVE_BACKUP_STOPPING
	.comm	_EXCLUSIVE_BACKUP_IN_PROGRESS,8,3 ; @EXCLUSIVE_BACKUP_IN_PROGRESS
	.no_dead_strip	_pg_stop_backup_callback
.subsections_via_symbols
