	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_post_encoder_mode_change       ## -- Begin function post_encoder_mode_change
	.p2align	4, 0x90
_post_encoder_mode_change:              ## @post_encoder_mode_change
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_encoder_mode@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENC_MODE_CLOCK_SET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_last_minute@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	_hour_config@GOTPCREL(%rip), %rcx
	imulq	$-2004318071, %rax, %rdx        ## imm = 0x88888889
	shrq	$32, %rdx
	addl	%eax, %edx
	movl	%edx, %esi
	shrl	$31, %esi
	sarl	$5, %edx
	addl	%esi, %edx
	movl	%edx, (%rcx)
	imull	$60, %edx, %ecx
	subl	%ecx, %eax
	movq	_minute_config@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_last_timespec@GOTPCREL(%rip), %rax
	movl	8(%rax), %ecx
	movq	_year_config@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movl	(%rax), %ecx
	movl	4(%rax), %eax
	movq	_month_config@GOTPCREL(%rip), %rdx
	movl	%eax, (%rdx)
	movq	_day_config@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	movq	_time_config_idx@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_encoder_mode,8,3               ## @encoder_mode
	.comm	_ENC_MODE_CLOCK_SET,8,3         ## @ENC_MODE_CLOCK_SET
	.comm	_last_minute,4,2                ## @last_minute
	.comm	_hour_config,4,2                ## @hour_config
	.comm	_minute_config,4,2              ## @minute_config
	.comm	_last_timespec,12,2             ## @last_timespec
	.comm	_year_config,4,2                ## @year_config
	.comm	_month_config,4,2               ## @month_config
	.comm	_day_config,4,2                 ## @day_config
	.comm	_time_config_idx,8,3            ## @time_config_idx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_post_encoder_mode_change       ; -- Begin function post_encoder_mode_change
	.p2align	2
_post_encoder_mode_change:              ; @post_encoder_mode_change
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _encoder_mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _encoder_mode@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _ENC_MODE_CLOCK_SET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ENC_MODE_CLOCK_SET@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _last_minute@GOTPAGE
Lloh7:
	ldr	x8, [x8, _last_minute@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	mov	w9, #34953
	movk	w9, #34952, lsl #16
	smull	x9, w8, w9
	lsr	x9, x9, #32
	add	w9, w9, w8
	asr	w10, w9, #5
Lloh9:
	adrp	x11, _hour_config@GOTPAGE
Lloh10:
	ldr	x11, [x11, _hour_config@GOTPAGEOFF]
	add	w9, w10, w9, lsr #31
Lloh11:
	str	w9, [x11]
	mov	w10, #60
	msub	w8, w9, w10, w8
Lloh12:
	adrp	x9, _minute_config@GOTPAGE
Lloh13:
	ldr	x9, [x9, _minute_config@GOTPAGEOFF]
Lloh14:
	str	w8, [x9]
Lloh15:
	adrp	x8, _last_timespec@GOTPAGE
Lloh16:
	ldr	x8, [x8, _last_timespec@GOTPAGEOFF]
	ldr	w9, [x8, #8]
Lloh17:
	adrp	x10, _year_config@GOTPAGE
Lloh18:
	ldr	x10, [x10, _year_config@GOTPAGEOFF]
Lloh19:
	str	w9, [x10]
Lloh20:
	adrp	x9, _month_config@GOTPAGE
Lloh21:
	ldr	x9, [x9, _month_config@GOTPAGEOFF]
	ldp	w8, w10, [x8]
Lloh22:
	str	w10, [x9]
Lloh23:
	adrp	x9, _day_config@GOTPAGE
Lloh24:
	ldr	x9, [x9, _day_config@GOTPAGEOFF]
Lloh25:
	str	w8, [x9]
Lloh26:
	adrp	x8, _time_config_idx@GOTPAGE
Lloh27:
	ldr	x8, [x8, _time_config_idx@GOTPAGEOFF]
Lloh28:
	str	xzr, [x8]
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_encoder_mode,8,3               ; @encoder_mode
	.comm	_ENC_MODE_CLOCK_SET,8,3         ; @ENC_MODE_CLOCK_SET
	.comm	_last_minute,4,2                ; @last_minute
	.comm	_hour_config,4,2                ; @hour_config
	.comm	_minute_config,4,2              ; @minute_config
	.comm	_last_timespec,12,2             ; @last_timespec
	.comm	_year_config,4,2                ; @year_config
	.comm	_month_config,4,2               ; @month_config
	.comm	_day_config,4,2                 ; @day_config
	.comm	_time_config_idx,8,3            ; @time_config_idx
.subsections_via_symbols
