	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tick
_tick:                                  ## @tick
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_SIGALRM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	_tick(%rip), %rsi
	callq	_signal
	xorl	%eax, %eax
	callq	_periodic_adjust
	movq	_ADJINTERVAL@GOTPCREL(%rip), %r14
	movb	(%r14), %cl
	movl	$1, %eax
	shll	%cl, %eax
	movl	$1, %ebx
	movq	_ticks@GOTPCREL(%rip), %r15
	movslq	(%r15), %rcx
	cltq
	addq	%rcx, %rax
	movq	_last_sync@GOTPCREL(%rip), %rcx
	movq	%rax, %rdx
	subq	(%rcx), %rdx
	movl	%eax, (%r15)
	movq	_MAX_UNSYNC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	jle	LBB0_6
## %bb.1:
	movq	_sync_state@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	_SYNC@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_3
## %bb.2:
	movq	_NO_SYNC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rcx)
	leaq	L_.str(%rip), %rsi
	movq	_LOG_INFO@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	subq	_tick.last_notice(%rip), %rax
	movq	_NOTICE_INTERVAL@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_6
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movq	_LOG_NOTICE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edi
	callq	_syslog
	movslq	(%r15), %rax
	movq	%rax, _tick.last_notice(%rip)
LBB0_6:
	movb	(%r14), %cl
	shll	%cl, %ebx
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_alarm                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_tick.last_notice,8,3 ## @tick.last_notice
	.comm	_SIGALRM,4,2                    ## @SIGALRM
	.comm	_ADJINTERVAL,4,2                ## @ADJINTERVAL
	.comm	_ticks,4,2                      ## @ticks
	.comm	_last_sync,8,3                  ## @last_sync
	.comm	_MAX_UNSYNC,8,3                 ## @MAX_UNSYNC
	.comm	_sync_state,8,3                 ## @sync_state
	.comm	_SYNC,8,3                       ## @SYNC
	.comm	_NO_SYNC,8,3                    ## @NO_SYNC
	.comm	_LOG_INFO,4,2                   ## @LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DCF77 reception lost (timeout)"

	.comm	_NOTICE_INTERVAL,4,2            ## @NOTICE_INTERVAL
	.comm	_LOG_NOTICE,4,2                 ## @LOG_NOTICE
L_.str.1:                               ## @.str.1
	.asciz	"still not synchronized to DCF77 - check receiver/signal"

	.no_dead_strip	_tick
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tick
_tick:                                  ; @tick
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _SIGALRM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIGALRM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, _tick@PAGE
Lloh4:
	add	x1, x1, _tick@PAGEOFF
	bl	_signal
	bl	_periodic_adjust
Lloh5:
	adrp	x19, _ADJINTERVAL@GOTPAGE
Lloh6:
	ldr	x19, [x19, _ADJINTERVAL@GOTPAGEOFF]
	ldr	w8, [x19]
	mov	w20, #1
Lloh7:
	adrp	x21, _ticks@GOTPAGE
Lloh8:
	ldr	x21, [x21, _ticks@GOTPAGEOFF]
	lsl	w8, w20, w8
	ldrsw	x9, [x21]
	add	x8, x9, w8, sxtw
	str	w8, [x21]
Lloh9:
	adrp	x9, _last_sync@GOTPAGE
Lloh10:
	ldr	x9, [x9, _last_sync@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x10, _MAX_UNSYNC@GOTPAGE
Lloh13:
	ldr	x10, [x10, _MAX_UNSYNC@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	sub	x9, x8, x9
	cmp	x9, x10
	b.le	LBB0_6
; %bb.1:
Lloh15:
	adrp	x9, _sync_state@GOTPAGE
Lloh16:
	ldr	x9, [x9, _sync_state@GOTPAGEOFF]
	ldr	x10, [x9]
Lloh17:
	adrp	x11, _SYNC@GOTPAGE
Lloh18:
	ldr	x11, [x11, _SYNC@GOTPAGEOFF]
Lloh19:
	ldr	x11, [x11]
	adrp	x22, _tick.last_notice@PAGE
	cmp	x10, x11
	b.ne	LBB0_3
; %bb.2:
Lloh20:
	adrp	x8, _NO_SYNC@GOTPAGE
Lloh21:
	ldr	x8, [x8, _NO_SYNC@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	str	x8, [x9]
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
Lloh25:
	adrp	x8, _LOG_INFO@GOTPAGE
Lloh26:
	ldr	x8, [x8, _LOG_INFO@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	ldr	x9, [x22, _tick.last_notice@PAGEOFF]
Lloh27:
	adrp	x10, _NOTICE_INTERVAL@GOTPAGE
Lloh28:
	ldr	x10, [x10, _NOTICE_INTERVAL@GOTPAGEOFF]
Lloh29:
	ldrsw	x10, [x10]
	sub	x8, x8, x9
	cmp	x8, x10
	b.ls	LBB0_6
; %bb.4:
Lloh30:
	adrp	x1, l_.str.1@PAGE
Lloh31:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh32:
	adrp	x8, _LOG_NOTICE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _LOG_NOTICE@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	bl	_syslog
	ldrsw	x8, [x21]
	str	x8, [x22, _tick.last_notice@PAGEOFF]
LBB0_6:
	ldr	w8, [x19]
	lsl	w0, w20, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_alarm
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_tick.last_notice,8,3 ; @tick.last_notice
	.comm	_SIGALRM,4,2                    ; @SIGALRM
	.comm	_ADJINTERVAL,4,2                ; @ADJINTERVAL
	.comm	_ticks,4,2                      ; @ticks
	.comm	_last_sync,8,3                  ; @last_sync
	.comm	_MAX_UNSYNC,8,3                 ; @MAX_UNSYNC
	.comm	_sync_state,8,3                 ; @sync_state
	.comm	_SYNC,8,3                       ; @SYNC
	.comm	_NO_SYNC,8,3                    ; @NO_SYNC
	.comm	_LOG_INFO,4,2                   ; @LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DCF77 reception lost (timeout)"

	.comm	_NOTICE_INTERVAL,4,2            ; @NOTICE_INTERVAL
	.comm	_LOG_NOTICE,4,2                 ; @LOG_NOTICE
l_.str.1:                               ; @.str.1
	.asciz	"still not synchronized to DCF77 - check receiver/signal"

	.no_dead_strip	_tick
.subsections_via_symbols
