	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_offsets                 ## -- Begin function update_offsets
	.p2align	4, 0x90
_update_offsets:                        ## @update_offsets
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_now@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_next_day_start@GOTPCREL(%rip), %r14
	cmpl	(%r14), %eax
	jge	LBB0_1
## %bb.20:
	movq	_check_index_mode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_25
## %bb.21:
	movq	_days_log_offset@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_next_check_day@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_25
## %bb.22:
	movq	_log_crc32_complement@GOTPCREL(%rip), %r15
	movq	_days_log_crc32@GOTPCREL(%rip), %r12
	movq	_next_check_day_start@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_log_cur_pos
	movq	(%r14), %rcx
	movq	(%rbx), %rdx
	cmpq	(%rcx,%rdx,8), %rax
	jl	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	xorl	%eax, %eax
	callq	_log_cur_pos
	movq	(%r14), %rcx
	movq	(%rbx), %rdx
	xorl	%edi, %edi
	cmpq	(%rcx,%rdx,8), %rax
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	callq	_relax_log_crc32
	movl	(%r15), %eax
	notl	%eax
	movq	(%r12), %rcx
	movq	(%rbx), %rdx
	xorl	%edi, %edi
	cmpl	%eax, (%rcx,%rdx,4)
	sete	%dil
	callq	_assert
	movq	(%rbx), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, (%rbx)
	imulq	$86400, %rcx, %rcx              ## imm = 0x15180
	movq	%rcx, (%r13)
	movq	(%r14), %rcx
	cmpq	$0, 8(%rcx,%rax,8)
	jne	LBB0_23
	jmp	LBB0_25
LBB0_1:
	movslq	%eax, %rcx
	imulq	$-1037155065, %rcx, %r13        ## imm = 0xC22E4507
	shrq	$32, %r13
	addl	%eax, %r13d
	movl	%r13d, %eax
	shrl	$31, %eax
	sarl	$16, %r13d
	addl	%eax, %r13d
	movq	_log_last_ts@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	testl	%edi, %edi
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_relax_write_log_crc32
	jmp	LBB0_4
LBB0_3:
	xorl	%edi, %edi
	callq	_relax_log_crc32
LBB0_4:
	movq	_last_day@GOTPCREL(%rip), %r10
	movslq	(%r10), %rcx
	cmpl	%r13d, %ecx
	jge	LBB0_19
## %bb.5:
	movq	_log_crc32_complement@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	movq	_log_crc32_pos@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	_days_log_offset@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_days_log_crc32@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_days_log_ts@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rbx
	movslq	%r13d, %rdi
	movq	%rdi, %r11
	subq	%rcx, %r11
	cmpq	$4, %r11
	jb	LBB0_15
## %bb.6:
	leaq	(%rbx,%rcx,4), %r8
	leaq	(%rax,%rcx,4), %rsi
	subq	%rsi, %r8
	cmpq	$16, %r8
	jb	LBB0_15
## %bb.7:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%r11, -56(%rbp)                 ## 8-byte Spill
	andq	$-4, %r11
	movq	%r9, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	movd	%edx, %xmm1
	pshufd	$80, %xmm1, %xmm1               ## xmm1 = xmm1[0,0,1,1]
	movd	%r12d, %xmm2
	pshufd	$80, %xmm2, %xmm2               ## xmm2 = xmm2[0,0,1,1]
	movq	%r11, -48(%rbp)                 ## 8-byte Spill
	leaq	-4(%r11), %rdi
	movq	%rdi, %rsi
	shrq	$2, %rsi
	incq	%rsi
	punpcklqdq	%xmm1, %xmm1            ## xmm1 = xmm1[0,0]
	punpcklqdq	%xmm2, %xmm2            ## xmm2 = xmm2[0,0]
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.9:
	movq	%rsi, %r13
	andq	$-2, %r13
	leaq	(%rbx,%rcx,4), %r14
	addq	$28, %r14
	leaq	(%rax,%rcx,4), %r8
	addq	$28, %r8
	leaq	(%r15,%rcx,8), %r10
	addq	$56, %r10
	xorl	%r11d, %r11d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, -48(%r10,%r11,8)
	movdqu	%xmm0, -32(%r10,%r11,8)
	movdqu	%xmm1, -24(%r8,%r11,4)
	movdqu	%xmm2, -24(%r14,%r11,4)
	movdqu	%xmm0, -16(%r10,%r11,8)
	movdqu	%xmm0, (%r10,%r11,8)
	movdqu	%xmm1, -8(%r8,%r11,4)
	movdqu	%xmm2, -8(%r14,%r11,4)
	addq	$8, %r11
	addq	$-2, %r13
	jne	LBB0_10
	jmp	LBB0_11
LBB0_8:
	xorl	%r11d, %r11d
LBB0_11:
	testb	$1, %sil
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_13
## %bb.12:
	addq	%rcx, %r11
	movdqu	%xmm0, 8(%r15,%r11,8)
	movdqu	%xmm0, 24(%r15,%r11,8)
	movdqu	%xmm1, 4(%rax,%r11,4)
	movdqu	%xmm2, 4(%rbx,%r11,4)
LBB0_13:
	cmpq	%rsi, -56(%rbp)                 ## 8-byte Folded Reload
	movq	_next_day_start@GOTPCREL(%rip), %r14
	movq	_last_day@GOTPCREL(%rip), %r10
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_19
## %bb.14:
	addq	%rsi, %rcx
LBB0_15:
	movl	%r13d, %esi
	subl	%ecx, %esi
	movq	%rcx, %r8
	notq	%r8
	testb	$1, %sil
	je	LBB0_17
## %bb.16:
	movq	%r9, 8(%r15,%rcx,8)
	movl	%edx, 4(%rax,%rcx,4)
	movl	%r12d, 4(%rbx,%rcx,4)
	incq	%rcx
LBB0_17:
	addq	%rdi, %r8
	je	LBB0_19
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	%r9, 8(%r15,%rcx,8)
	movl	%edx, 4(%rax,%rcx,4)
	movl	%r12d, 4(%rbx,%rcx,4)
	movq	%r9, 16(%r15,%rcx,8)
	movl	%edx, 8(%rax,%rcx,4)
	movl	%r12d, 8(%rbx,%rcx,4)
	leaq	2(%rcx), %rsi
	movq	%rsi, %rcx
	cmpq	%rsi, %rdi
	jne	LBB0_18
LBB0_19:
	movl	%r13d, (%r10)
	imull	$86400, %r13d, %eax             ## imm = 0x15180
	addl	$86400, %eax                    ## imm = 0x15180
	movl	%eax, (%r14)
LBB0_25:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_now,4,2                        ## @now
	.comm	_next_day_start,4,2             ## @next_day_start
	.comm	_log_last_ts,4,2                ## @log_last_ts
	.comm	_log_crc32_complement,4,2       ## @log_crc32_complement
	.comm	_log_crc32_pos,8,3              ## @log_crc32_pos
	.comm	_last_day,4,2                   ## @last_day
	.comm	_days_log_offset,8,3            ## @days_log_offset
	.comm	_days_log_crc32,8,3             ## @days_log_crc32
	.comm	_days_log_ts,8,3                ## @days_log_ts
	.comm	_check_index_mode,8,3           ## @check_index_mode
	.comm	_next_check_day,8,3             ## @next_check_day
	.comm	_next_check_day_start,8,3       ## @next_check_day_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_offsets                 ; -- Begin function update_offsets
	.p2align	2
_update_offsets:                        ; @update_offsets
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, _now@GOTPAGE
Lloh1:
	ldr	x8, [x8, _now@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x19, _next_day_start@GOTPAGE
Lloh4:
	ldr	x19, [x19, _next_day_start@GOTPAGEOFF]
	ldr	w9, [x19]
	cmp	w8, w9
	b.ge	LBB0_6
; %bb.1:
Lloh5:
	adrp	x8, _check_index_mode@GOTPAGE
Lloh6:
	ldr	x8, [x8, _check_index_mode@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cbz	x8, LBB0_18
; %bb.2:
Lloh8:
	adrp	x19, _days_log_offset@GOTPAGE
Lloh9:
	ldr	x19, [x19, _days_log_offset@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh10:
	adrp	x20, _next_check_day@GOTPAGE
Lloh11:
	ldr	x20, [x20, _next_check_day@GOTPAGEOFF]
	ldr	x9, [x20]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_18
; %bb.3:
Lloh12:
	adrp	x21, _log_crc32_complement@GOTPAGE
Lloh13:
	ldr	x21, [x21, _log_crc32_complement@GOTPAGEOFF]
Lloh14:
	adrp	x22, _days_log_crc32@GOTPAGE
Lloh15:
	ldr	x22, [x22, _days_log_crc32@GOTPAGEOFF]
	mov	w23, #20864
	movk	w23, #1, lsl #16
Lloh16:
	adrp	x24, _next_check_day_start@GOTPAGE
Lloh17:
	ldr	x24, [x24, _next_check_day_start@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	bl	_log_cur_pos
	ldr	x8, [x19]
	ldr	x9, [x20]
	ldr	x8, [x8, x9, lsl #3]
	cmp	x0, x8
	b.lt	LBB0_18
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_log_cur_pos
	ldr	x8, [x19]
	ldr	x9, [x20]
	ldr	x8, [x8, x9, lsl #3]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	mov	w0, #0
	bl	_relax_log_crc32
	ldr	w8, [x21]
	mvn	w8, w8
	ldr	x9, [x22]
	ldr	x10, [x20]
	ldr	w9, [x9, x10, lsl #2]
	cmp	w9, w8
	cset	w0, eq
	bl	_assert
	ldr	x8, [x20]
	add	x8, x8, #1
	str	x8, [x20]
	mul	x9, x8, x23
	str	x9, [x24]
	ldr	x9, [x19]
	ldr	x8, [x9, x8, lsl #3]
	cbnz	x8, LBB0_4
	b	LBB0_18
LBB0_6:
	mov	w9, #17671
	movk	w9, #49710, lsl #16
	smull	x9, w8, w9
	lsr	x9, x9, #32
	add	w8, w9, w8
	asr	w9, w8, #16
	add	w20, w9, w8, lsr #31
Lloh18:
	adrp	x8, _log_last_ts@GOTPAGE
Lloh19:
	ldr	x8, [x8, _log_last_ts@GOTPAGEOFF]
Lloh20:
	ldr	w21, [x8]
	cbz	w0, LBB0_8
; %bb.7:
	bl	_relax_write_log_crc32
	b	LBB0_9
LBB0_8:
	bl	_relax_log_crc32
LBB0_9:
	mov	w8, #20864
	movk	w8, #1, lsl #16
Lloh21:
	adrp	x9, _last_day@GOTPAGE
Lloh22:
	ldr	x9, [x9, _last_day@GOTPAGEOFF]
	ldrsw	x17, [x9]
	cmp	w17, w20
	b.ge	LBB0_17
; %bb.10:
Lloh23:
	adrp	x10, _log_crc32_complement@GOTPAGE
Lloh24:
	ldr	x10, [x10, _log_crc32_complement@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	mvn	w10, w10
Lloh26:
	adrp	x11, _log_crc32_pos@GOTPAGE
Lloh27:
	ldr	x11, [x11, _log_crc32_pos@GOTPAGEOFF]
Lloh28:
	ldr	x11, [x11]
Lloh29:
	adrp	x12, _days_log_offset@GOTPAGE
Lloh30:
	ldr	x12, [x12, _days_log_offset@GOTPAGEOFF]
Lloh31:
	ldr	x14, [x12]
Lloh32:
	adrp	x12, _days_log_crc32@GOTPAGE
Lloh33:
	ldr	x12, [x12, _days_log_crc32@GOTPAGEOFF]
Lloh34:
	ldr	x12, [x12]
Lloh35:
	adrp	x13, _days_log_ts@GOTPAGE
Lloh36:
	ldr	x13, [x13, _days_log_ts@GOTPAGEOFF]
Lloh37:
	ldr	x13, [x13]
	sxtw	x15, w20
	sub	x16, x15, x17
	cmp	x16, #8
	b.lo	LBB0_15
; %bb.11:
	lsl	x0, x17, #2
	add	x1, x0, x13
	add	x0, x0, x12
	sub	x0, x1, x0
	cmp	x0, #32
	b.lo	LBB0_15
; %bb.12:
	and	x0, x16, #0xfffffffffffffff8
	add	x1, x0, x17
	dup.2d	v0, x11
	dup.2s	v1, w10
	dup.2s	v2, w21
	add	x2, x17, #5
	add	x17, x14, x2, lsl #3
	lsl	x3, x2, #2
	add	x2, x12, x3
	add	x3, x13, x3
	mov	x4, x0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x17, #-32]
	stp	q0, q0, [x17], #64
	stp	d1, d1, [x2, #-16]
	stp	d1, d1, [x2], #32
	stp	d2, d2, [x3, #-16]
	stp	d2, d2, [x3], #32
	subs	x4, x4, #8
	b.ne	LBB0_13
; %bb.14:
	mov	x17, x1
	cmp	x16, x0
	b.eq	LBB0_17
LBB0_15:
	sub	x15, x15, x17
	add	x16, x17, #1
	add	x14, x14, x16, lsl #3
	lsl	x16, x16, #2
	add	x12, x12, x16
	add	x13, x13, x16
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	str	x11, [x14], #8
	str	w10, [x12], #4
	str	w21, [x13], #4
	subs	x15, x15, #1
	b.ne	LBB0_16
LBB0_17:
	str	w20, [x9]
	madd	w8, w20, w8, w8
	str	w8, [x19]
LBB0_18:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_now,4,2                        ; @now
	.comm	_next_day_start,4,2             ; @next_day_start
	.comm	_log_last_ts,4,2                ; @log_last_ts
	.comm	_log_crc32_complement,4,2       ; @log_crc32_complement
	.comm	_log_crc32_pos,8,3              ; @log_crc32_pos
	.comm	_last_day,4,2                   ; @last_day
	.comm	_days_log_offset,8,3            ; @days_log_offset
	.comm	_days_log_crc32,8,3             ; @days_log_crc32
	.comm	_days_log_ts,8,3                ; @days_log_ts
	.comm	_check_index_mode,8,3           ; @check_index_mode
	.comm	_next_check_day,8,3             ; @next_check_day
	.comm	_next_check_day_start,8,3       ; @next_check_day_start
.subsections_via_symbols
