	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_record_sys_stats               ## -- Begin function record_sys_stats
	.p2align	4, 0x90
_record_sys_stats:                      ## @record_sys_stats
	.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	_stats_control@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.1:
	leaq	-48(%rbp), %rdi
	callq	_get_systime
	movl	-48(%rbp), %esi
	movq	_sysstats@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_filegen_setup
	movslq	-48(%rbp), %rcx
	movq	_MJD_1900@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	imulq	$-1037155065, %rcx, %rax        ## imm = 0xC22E4507
	shrq	$32, %rax
	addl	%ecx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	sarl	$16, %eax
	addl	%edx, %eax
	imull	$86400, %eax, %edx              ## imm = 0x15180
	subl	%edx, %ecx
	movl	%ecx, -48(%rbp)
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	cltq
	addq	%rax, %r15
	leaq	-48(%rbp), %rdi
	movl	$3, %esi
	callq	_ulfptoa
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_current_time@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	movq	_sys_stattime@GOTPCREL(%rip), %rcx
	subq	(%rcx), %r8
	movq	_sys_received@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	_sys_processed@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_sys_newversion@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_sys_oldversion@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_sys_restricted@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movq	_sys_badlength@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movq	_sys_badauth@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movq	_sys_declined@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r11d
	movq	_sys_limitrejected@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	movq	_sys_kodsent@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	subq	$8, %rsp
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	pushq	%r13
	pushq	%r12
	pushq	%r11
	pushq	%r10
	pushq	%r14
	pushq	%rax
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	callq	_fprintf
	addq	$80, %rsp
	movq	_sysstats@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_fflush
	xorl	%eax, %eax
	callq	_proto_clr_stats
LBB0_3:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stats_control,4,2              ## @stats_control
	.comm	_sysstats,8,3                   ## @sysstats
	.comm	_MJD_1900,8,3                   ## @MJD_1900
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%lu %s %lu %lu %lu %lu %lu %lu %lu %lu %lu %lu %lu\n"

	.comm	_current_time,8,3               ## @current_time
	.comm	_sys_stattime,8,3               ## @sys_stattime
	.comm	_sys_received,4,2               ## @sys_received
	.comm	_sys_processed,4,2              ## @sys_processed
	.comm	_sys_newversion,4,2             ## @sys_newversion
	.comm	_sys_oldversion,4,2             ## @sys_oldversion
	.comm	_sys_restricted,4,2             ## @sys_restricted
	.comm	_sys_badlength,4,2              ## @sys_badlength
	.comm	_sys_badauth,4,2                ## @sys_badauth
	.comm	_sys_declined,4,2               ## @sys_declined
	.comm	_sys_limitrejected,4,2          ## @sys_limitrejected
	.comm	_sys_kodsent,4,2                ## @sys_kodsent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_record_sys_stats               ; -- Begin function record_sys_stats
	.p2align	2
_record_sys_stats:                      ; @record_sys_stats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x8, _stats_control@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stats_control@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
	add	x0, sp, #40
	bl	_get_systime
	ldr	w1, [sp, #40]
Lloh3:
	adrp	x19, _sysstats@GOTPAGE
Lloh4:
	ldr	x19, [x19, _sysstats@GOTPAGEOFF]
	mov	x0, x19
	bl	_filegen_setup
Lloh5:
	adrp	x8, _MJD_1900@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MJD_1900@GOTPAGEOFF]
	ldr	w10, [sp, #40]
Lloh7:
	ldr	x8, [x8]
	mov	w9, #17671
	movk	w9, #49710, lsl #16
	smull	x9, w10, w9
	lsr	x9, x9, #32
	add	w9, w9, w10
	asr	w11, w9, #16
	add	w9, w11, w9, lsr #31
	mov	w11, #20864
	movk	w11, #1, lsl #16
	msub	w10, w9, w11, w10
	str	w10, [sp, #40]
	ldr	x20, [x19]
	cbz	x20, LBB0_3
; %bb.2:
	add	x21, x8, w9, sxtw
	add	x0, sp, #40
	mov	w1, #3
	bl	_ulfptoa
	mov	x3, x0
Lloh8:
	adrp	x8, _current_time@GOTPAGE
Lloh9:
	ldr	x8, [x8, _current_time@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _sys_stattime@GOTPAGE
Lloh12:
	ldr	x9, [x9, _sys_stattime@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	sub	x4, x8, x9
Lloh14:
	adrp	x8, _sys_received@GOTPAGE
Lloh15:
	ldr	x8, [x8, _sys_received@GOTPAGEOFF]
Lloh16:
	ldr	w5, [x8]
Lloh17:
	adrp	x8, _sys_processed@GOTPAGE
Lloh18:
	ldr	x8, [x8, _sys_processed@GOTPAGEOFF]
Lloh19:
	ldr	w6, [x8]
Lloh20:
	adrp	x8, _sys_newversion@GOTPAGE
Lloh21:
	ldr	x8, [x8, _sys_newversion@GOTPAGEOFF]
Lloh22:
	ldr	w7, [x8]
Lloh23:
	adrp	x8, _sys_oldversion@GOTPAGE
Lloh24:
	ldr	x8, [x8, _sys_oldversion@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _sys_restricted@GOTPAGE
Lloh27:
	ldr	x9, [x9, _sys_restricted@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
Lloh29:
	adrp	x10, _sys_badlength@GOTPAGE
Lloh30:
	ldr	x10, [x10, _sys_badlength@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
Lloh32:
	adrp	x11, _sys_badauth@GOTPAGE
Lloh33:
	ldr	x11, [x11, _sys_badauth@GOTPAGEOFF]
Lloh34:
	ldr	w11, [x11]
Lloh35:
	adrp	x12, _sys_declined@GOTPAGE
Lloh36:
	ldr	x12, [x12, _sys_declined@GOTPAGEOFF]
Lloh37:
	ldr	w12, [x12]
Lloh38:
	adrp	x13, _sys_limitrejected@GOTPAGE
Lloh39:
	ldr	x13, [x13, _sys_limitrejected@GOTPAGEOFF]
Lloh40:
	ldr	w13, [x13]
Lloh41:
	adrp	x14, _sys_kodsent@GOTPAGE
Lloh42:
	ldr	x14, [x14, _sys_kodsent@GOTPAGEOFF]
Lloh43:
	ldr	w14, [x14]
	stp	w13, w14, [sp, #20]
	stp	w11, w12, [sp, #12]
	stp	w9, w10, [sp, #4]
Lloh44:
	adrp	x1, l_.str@PAGE
Lloh45:
	add	x1, x1, l_.str@PAGEOFF
	str	w8, [sp]
	mov	x0, x20
	mov	x2, x21
	bl	_fprintf
	ldr	x0, [x19]
	bl	_fflush
	bl	_proto_clr_stats
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.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
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_stats_control,4,2              ; @stats_control
	.comm	_sysstats,8,3                   ; @sysstats
	.comm	_MJD_1900,8,3                   ; @MJD_1900
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%lu %s %lu %lu %lu %lu %lu %lu %lu %lu %lu %lu %lu\n"

	.comm	_current_time,8,3               ; @current_time
	.comm	_sys_stattime,8,3               ; @sys_stattime
	.comm	_sys_received,4,2               ; @sys_received
	.comm	_sys_processed,4,2              ; @sys_processed
	.comm	_sys_newversion,4,2             ; @sys_newversion
	.comm	_sys_oldversion,4,2             ; @sys_oldversion
	.comm	_sys_restricted,4,2             ; @sys_restricted
	.comm	_sys_badlength,4,2              ; @sys_badlength
	.comm	_sys_badauth,4,2                ; @sys_badauth
	.comm	_sys_declined,4,2               ; @sys_declined
	.comm	_sys_limitrejected,4,2          ; @sys_limitrejected
	.comm	_sys_kodsent,4,2                ; @sys_kodsent
.subsections_via_symbols
