	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitRecoveryTransactionEnvironment ## -- Begin function InitRecoveryTransactionEnvironment
	.p2align	4, 0x90
_InitRecoveryTransactionEnvironment:    ## @InitRecoveryTransactionEnvironment
	.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
	leaq	-16(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movabsq	$17179869188, %rax              ## imm = 0x400000004
	movq	%rax, -16(%rbp)
	movq	_HASH_ELEM@GOTPCREL(%rip), %rax
	movq	_HASH_BLOBS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	leaq	L_.str(%rip), %rdi
	movl	$64, %esi
	movq	%rbx, %rdx
	callq	_hash_create
	movq	_RecoveryLockLists@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$1, %edi
	callq	_SharedInvalBackendInit
	movq	_MyBackendId@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_GetNextLocalTransactionId
	shlq	$32, %rbx
	movl	%eax, %edi
	orq	%rbx, %rdi
	callq	_VirtualXactLockTableInsert
	movq	_STANDBY_INITIALIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_standbyState@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RecoveryLockLists"

	.comm	_HASH_ELEM,4,2                  ## @HASH_ELEM
	.comm	_HASH_BLOBS,4,2                 ## @HASH_BLOBS
	.comm	_RecoveryLockLists,4,2          ## @RecoveryLockLists
	.comm	_MyBackendId,4,2                ## @MyBackendId
	.comm	_STANDBY_INITIALIZED,4,2        ## @STANDBY_INITIALIZED
	.comm	_standbyState,4,2               ## @standbyState
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitRecoveryTransactionEnvironment ; -- Begin function InitRecoveryTransactionEnvironment
	.p2align	2
_InitRecoveryTransactionEnvironment:    ; @InitRecoveryTransactionEnvironment
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	movi.2s	v0, #4
Lloh0:
	adrp	x8, _HASH_ELEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HASH_ELEM@GOTPAGEOFF]
	str	d0, [sp, #8]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _HASH_BLOBS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HASH_BLOBS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w3, w9, w8
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	w1, #64
	bl	_hash_create
Lloh8:
	adrp	x8, _RecoveryLockLists@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RecoveryLockLists@GOTPAGEOFF]
Lloh10:
	str	w0, [x8]
	mov	w0, #1
	bl	_SharedInvalBackendInit
Lloh11:
	adrp	x8, _MyBackendId@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MyBackendId@GOTPAGEOFF]
Lloh13:
	ldr	w19, [x8]
	bl	_GetNextLocalTransactionId
	mov	w0, w0
	bfi	x0, x19, #32, #32
	bl	_VirtualXactLockTableInsert
Lloh14:
	adrp	x8, _STANDBY_INITIALIZED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _STANDBY_INITIALIZED@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _standbyState@GOTPAGE
Lloh18:
	ldr	x9, [x9, _standbyState@GOTPAGEOFF]
Lloh19:
	str	w8, [x9]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RecoveryLockLists"

	.comm	_HASH_ELEM,4,2                  ; @HASH_ELEM
	.comm	_HASH_BLOBS,4,2                 ; @HASH_BLOBS
	.comm	_RecoveryLockLists,4,2          ; @RecoveryLockLists
	.comm	_MyBackendId,4,2                ; @MyBackendId
	.comm	_STANDBY_INITIALIZED,4,2        ; @STANDBY_INITIALIZED
	.comm	_standbyState,4,2               ; @standbyState
.subsections_via_symbols
