	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function RewriteControlFile
LCPI0_0:
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	100                             ## 0x64
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_RewriteControlFile:                    ## @RewriteControlFile
	.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
	movq	_newXlogSegNo@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SizeOfXLogLongPHD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WalSegSz@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ControlFile@GOTPCREL(%rip), %rbx
	movl	80(%rbx), %ecx
	callq	_XLogSegNoOffsetToRecPtr
	xorl	%edi, %edi
	callq	_time
	movq	%rax, 88(%rbx)
	movq	_DB_SHUTDOWNED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 112(%rbx)
	xorl	%edi, %edi
	callq	_time
	movq	%rax, 104(%rbx)
	movl	80(%rbx), %eax
	movl	%eax, 96(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%rbx)
	movups	%xmm0, 64(%rbx)
	movq	_WAL_LEVEL_MINIMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,0,0,100]
	movups	%xmm0, (%rbx)
	movabsq	$34359738378, %rax              ## imm = 0x80000000A
	movq	%rax, 16(%rbx)
	movq	$0, 32(%rbx)
	movl	$64, 24(%rbx)
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_update_controlfile             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_newXlogSegNo,4,2               ## @newXlogSegNo
	.comm	_SizeOfXLogLongPHD,4,2          ## @SizeOfXLogLongPHD
	.comm	_WalSegSz,4,2                   ## @WalSegSz
	.comm	_ControlFile,120,3              ## @ControlFile
	.comm	_DB_SHUTDOWNED,4,2              ## @DB_SHUTDOWNED
	.comm	_WAL_LEVEL_MINIMAL,4,2          ## @WAL_LEVEL_MINIMAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"."

	.no_dead_strip	_RewriteControlFile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function RewriteControlFile
lCPI0_0:
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	100                             ; 0x64
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_1:
	.long	10                              ; 0xa
	.long	8                               ; 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_RewriteControlFile:                    ; @RewriteControlFile
	.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
Lloh0:
	adrp	x8, _newXlogSegNo@GOTPAGE
Lloh1:
	ldr	x8, [x8, _newXlogSegNo@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SizeOfXLogLongPHD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SizeOfXLogLongPHD@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _WalSegSz@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WalSegSz@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x19, _ControlFile@GOTPAGE
Lloh10:
	ldr	x19, [x19, _ControlFile@GOTPAGEOFF]
	ldr	w3, [x19, #80]
	bl	_XLogSegNoOffsetToRecPtr
	mov	x0, #0
	bl	_time
	str	x0, [x19, #88]
Lloh11:
	adrp	x8, _DB_SHUTDOWNED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DB_SHUTDOWNED@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x19, #112]
	mov	x0, #0
	bl	_time
	str	x0, [x19, #104]
	ldr	w8, [x19, #80]
	str	w8, [x19, #96]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19, #48]
Lloh14:
	adrp	x8, _WAL_LEVEL_MINIMAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WAL_LEVEL_MINIMAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x19, #40]
Lloh17:
	adrp	x8, lCPI0_0@PAGE
Lloh18:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [x19]
Lloh19:
	adrp	x8, lCPI0_1@PAGE
Lloh20:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	str	d0, [x19, #16]
	str	xzr, [x19, #32]
	mov	w8, #64
	str	w8, [x19, #24]
Lloh21:
	adrp	x0, l_.str@PAGE
Lloh22:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	w2, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_update_controlfile
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdr	Lloh19, Lloh20
	.loh AdrpAdrp	Lloh17, Lloh19
	.loh AdrpLdr	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_newXlogSegNo,4,2               ; @newXlogSegNo
	.comm	_SizeOfXLogLongPHD,4,2          ; @SizeOfXLogLongPHD
	.comm	_WalSegSz,4,2                   ; @WalSegSz
	.comm	_ControlFile,120,3              ; @ControlFile
	.comm	_DB_SHUTDOWNED,4,2              ; @DB_SHUTDOWNED
	.comm	_WAL_LEVEL_MINIMAL,4,2          ; @WAL_LEVEL_MINIMAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"."

	.no_dead_strip	_RewriteControlFile
.subsections_via_symbols
