	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_time_config             ## -- Begin function update_time_config
	.p2align	4, 0x90
_update_time_config:                    ## @update_time_config
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_time_config_idx@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	decl	%edx
	cmpl	$3, %edx
	ja	LBB0_4
## %bb.1:
	movq	_year_config@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_2:
	movq	_minute_config@GOTPCREL(%rip), %rax
	addl	(%rax), %edi
	movslq	%edi, %rcx
	imulq	$-2004318071, %rcx, %rdx        ## imm = 0x88888889
	shrq	$32, %rdx
	addl	%ecx, %edx
	movl	%edx, %esi
	shrl	$31, %esi
	sarl	$5, %edx
	addl	%esi, %edx
	imull	$60, %edx, %edx
	subl	%edx, %ecx
	movl	%ecx, (%rax)
	jns	LBB0_3
## %bb.14:
	addl	$60, %ecx
	jmp	LBB0_6
LBB0_4:
	movq	_hour_config@GOTPCREL(%rip), %rax
	addl	(%rax), %edi
	movslq	%edi, %rcx
	imulq	$715827883, %rcx, %rdx          ## imm = 0x2AAAAAAB
	movq	%rdx, %rsi
	shrq	$63, %rsi
	shrq	$34, %rdx
	addl	%esi, %edx
	shll	$3, %edx
	leal	(%rdx,%rdx,2), %edx
	subl	%edx, %ecx
	movl	%ecx, (%rax)
	jns	LBB0_3
## %bb.5:
	addl	$24, %ecx
	jmp	LBB0_6
LBB0_7:
	addl	%edi, %eax
	movl	%eax, (%rcx)
	popq	%rbp
	retq
LBB0_8:
	movq	_month_config@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	imulq	$715827883, %rcx, %rdx          ## imm = 0x2AAAAAAB
	movq	%rdx, %rsi
	shrq	$63, %rsi
	shrq	$33, %rdx
	addl	%esi, %edx
	shll	$2, %edx
	leal	(%rdx,%rdx,2), %edx
	subl	%edx, %ecx
	addl	%edi, %ecx
	movl	%ecx, (%rax)
	jg	LBB0_3
## %bb.9:
	addl	$12, %ecx
LBB0_6:
	movl	%ecx, (%rax)
	popq	%rbp
	retq
LBB0_10:
	movq	_month_config@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmpl	$11, %edx
	ja	LBB0_19
## %bb.11:
	movl	$30, %ecx
	movl	$2640, %esi                     ## imm = 0xA50
	btl	%edx, %esi
	jae	LBB0_15
LBB0_12:
	movq	_day_config@GOTPCREL(%rip), %rsi
	movl	(%rsi), %eax
	cltd
	idivl	%ecx
	addl	%edi, %edx
	movl	%edx, (%rsi)
	jle	LBB0_13
LBB0_3:
	popq	%rbp
	retq
LBB0_13:
	addl	%ecx, %edx
	movl	%edx, (%rsi)
	popq	%rbp
	retq
LBB0_15:
	cmpl	$2, %edx
	jne	LBB0_19
## %bb.16:
	movl	$28, %ecx
	testb	$3, %al
	jne	LBB0_12
## %bb.17:
	addl	$1980, %eax                     ## imm = 0x7BC
	imull	$-1030792151, %eax, %eax        ## imm = 0xC28F5C29
	addl	$85899344, %eax                 ## imm = 0x51EB850
	movl	%eax, %edx
	rorl	$2, %edx
	movl	$29, %ecx
	cmpl	$42949672, %edx                 ## imm = 0x28F5C28
	ja	LBB0_12
## %bb.18:
	rorl	$4, %eax
	xorl	%ecx, %ecx
	cmpl	$10737419, %eax                 ## imm = 0xA3D70B
	setb	%cl
	orl	$28, %ecx
	jmp	LBB0_12
LBB0_19:
	movl	$31, %ecx
	jmp	LBB0_12
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_year_config,4,2                ## @year_config
	.comm	_time_config_idx,4,2            ## @time_config_idx
	.comm	_hour_config,4,2                ## @hour_config
	.comm	_minute_config,4,2              ## @minute_config
	.comm	_month_config,4,2               ## @month_config
	.comm	_day_config,4,2                 ## @day_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_time_config             ; -- Begin function update_time_config
	.p2align	2
_update_time_config:                    ; @update_time_config
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _time_config_idx@GOTPAGE
Lloh1:
	ldr	x8, [x8, _time_config_idx@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w9, w8, #1
	cmp	w9, #3
	b.hi	LBB0_4
; %bb.1:
Lloh3:
	adrp	x10, _year_config@GOTPAGE
Lloh4:
	ldr	x10, [x10, _year_config@GOTPAGEOFF]
	ldr	w8, [x10]
Lloh5:
	adrp	x11, lJTI0_0@PAGE
Lloh6:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_2
	ldrb	w13, [x11, x9]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_2:
Lloh7:
	adrp	x8, _minute_config@GOTPAGE
Lloh8:
	ldr	x8, [x8, _minute_config@GOTPAGEOFF]
	ldr	w9, [x8]
	mov	w10, #34953
	movk	w10, #34952, lsl #16
	add	w9, w9, w0
	smull	x10, w9, w10
	lsr	x10, x10, #32
	add	w10, w10, w9
	asr	w11, w10, #5
	add	w10, w11, w10, lsr #31
	mov	w11, #60
	msub	w9, w10, w11, w9
	str	w9, [x8]
	tbnz	w9, #31, LBB0_14
LBB0_3:
	ret
LBB0_4:
Lloh9:
	adrp	x8, _hour_config@GOTPAGE
Lloh10:
	ldr	x8, [x8, _hour_config@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, w0
	mov	w10, #43691
	movk	w10, #10922, lsl #16
	smull	x10, w9, w10
	lsr	x11, x10, #63
	asr	x10, x10, #34
	add	w10, w10, w11
	mov	w11, #24
	msub	w9, w10, w11, w9
	str	w9, [x8]
	tbz	w9, #31, LBB0_3
; %bb.5:
	add	w9, w9, #24
	str	w9, [x8]
	ret
LBB0_6:
	add	w8, w8, w0
	str	w8, [x10]
	ret
LBB0_7:
Lloh11:
	adrp	x8, _month_config@GOTPAGE
Lloh12:
	ldr	x8, [x8, _month_config@GOTPAGEOFF]
	ldrsw	x9, [x8]
	mov	w10, #43691
	movk	w10, #10922, lsl #16
	mul	x10, x9, x10
	lsr	x11, x10, #63
	asr	x10, x10, #33
	add	w10, w10, w11
	mov	w11, #12
	msub	w9, w10, w11, w9
	add	w9, w9, w0
	str	w9, [x8]
	cmp	w9, #0
	b.gt	LBB0_3
; %bb.8:
	add	w9, w9, #12
	str	w9, [x8]
	ret
LBB0_9:
Lloh13:
	adrp	x9, _month_config@GOTPAGE
Lloh14:
	ldr	x9, [x9, _month_config@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	cmp	w9, #11
	b.hi	LBB0_18
; %bb.10:
	mov	w10, #1
	lsl	w10, w10, w9
	mov	w11, #2640
	tst	w10, w11
	b.eq	LBB0_15
; %bb.11:
	mov	w8, #30
LBB0_12:
Lloh16:
	adrp	x9, _day_config@GOTPAGE
Lloh17:
	ldr	x9, [x9, _day_config@GOTPAGEOFF]
	ldr	w10, [x9]
	sdiv	w11, w10, w8
	msub	w10, w11, w8, w10
	add	w10, w10, w0
	str	w10, [x9]
	cmp	w10, #0
	b.gt	LBB0_3
; %bb.13:
	add	w8, w10, w8
	str	w8, [x9]
	ret
LBB0_14:
	add	w9, w9, #60
	str	w9, [x8]
	ret
LBB0_15:
	cmp	w9, #2
	b.ne	LBB0_18
; %bb.16:
	tst	w8, #0x3
	b.eq	LBB0_19
; %bb.17:
	mov	w8, #28
	b	LBB0_12
LBB0_18:
	mov	w8, #31
	b	LBB0_12
LBB0_19:
	add	w8, w8, #1980
	mov	w9, #23593
	movk	w9, #49807, lsl #16
	mov	w10, #47184
	movk	w10, #1310, lsl #16
	madd	w8, w8, w9, w10
	ror	w9, w8, #2
	mov	w10, #23592
	movk	w10, #655, lsl #16
	cmp	w9, w10
	b.ls	LBB0_21
; %bb.20:
	mov	w8, #29
	b	LBB0_12
LBB0_21:
	ror	w8, w8, #4
	mov	w9, #55051
	movk	w9, #163, lsl #16
	cmp	w8, w9
	mov	w8, #28
	cinc	w8, w8, lo
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.comm	_year_config,4,2                ; @year_config
	.comm	_time_config_idx,4,2            ; @time_config_idx
	.comm	_hour_config,4,2                ; @hour_config
	.comm	_minute_config,4,2              ; @minute_config
	.comm	_month_config,4,2               ; @month_config
	.comm	_day_config,4,2                 ; @day_config
.subsections_via_symbols
