	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GetSyncSetting
_GetSyncSetting:                        ## @GetSyncSetting
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_HKEY_LOCAL_MACHINE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_KEY_QUERY_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	l_.str(%rip), %rsi
	leaq	-68(%rbp), %r8
	xorl	%edx, %edx
	callq	_RegOpenKeyExW
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_7
## %bb.1:
	movl	$32, -72(%rbp)
	movl	-68(%rbp), %edi
	leaq	-64(%rbp), %r8
	leaq	l_.str.1(%rip), %rsi
	leaq	-72(%rbp), %r9
	xorl	%edx, %edx
	xorl	%ecx, %ecx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_RegQueryValueExW
	cmpq	(%rbx), %rax
	jne	LBB0_6
## %bb.2:
	leaq	l_.str.2(%rip), %rsi
	leaq	-64(%rbp), %rdi
	callq	_wcscmp
	movq	_IDC_AUTOSYNC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_BM_SETCHECK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	_BST_CHECKED@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_BST_UNCHECKED@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %ecx
	movl	%r14d, %edi
	xorl	%r8d, %r8d
	callq	_SendDlgItemMessageW
LBB0_6:
	movl	-68(%rbp), %edi
	callq	_RegCloseKey
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HKEY_LOCAL_MACHINE,4,2         ## @HKEY_LOCAL_MACHINE
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	83                              ## 0x53
	.long	89                              ## 0x59
	.long	83                              ## 0x53
	.long	84                              ## 0x54
	.long	69                              ## 0x45
	.long	77                              ## 0x4d
	.long	92                              ## 0x5c
	.long	67                              ## 0x43
	.long	117                             ## 0x75
	.long	114                             ## 0x72
	.long	114                             ## 0x72
	.long	101                             ## 0x65
	.long	110                             ## 0x6e
	.long	116                             ## 0x74
	.long	67                              ## 0x43
	.long	111                             ## 0x6f
	.long	110                             ## 0x6e
	.long	116                             ## 0x74
	.long	114                             ## 0x72
	.long	111                             ## 0x6f
	.long	108                             ## 0x6c
	.long	83                              ## 0x53
	.long	101                             ## 0x65
	.long	116                             ## 0x74
	.long	92                              ## 0x5c
	.long	83                              ## 0x53
	.long	101                             ## 0x65
	.long	114                             ## 0x72
	.long	118                             ## 0x76
	.long	105                             ## 0x69
	.long	99                              ## 0x63
	.long	101                             ## 0x65
	.long	115                             ## 0x73
	.long	92                              ## 0x5c
	.long	87                              ## 0x57
	.long	51                              ## 0x33
	.long	50                              ## 0x32
	.long	84                              ## 0x54
	.long	105                             ## 0x69
	.long	109                             ## 0x6d
	.long	101                             ## 0x65
	.long	92                              ## 0x5c
	.long	80                              ## 0x50
	.long	97                              ## 0x61
	.long	114                             ## 0x72
	.long	97                              ## 0x61
	.long	109                             ## 0x6d
	.long	101                             ## 0x65
	.long	116                             ## 0x74
	.long	101                             ## 0x65
	.long	114                             ## 0x72
	.long	115                             ## 0x73
	.long	0                               ## 0x0

	.comm	_KEY_QUERY_VALUE,4,2            ## @KEY_QUERY_VALUE
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.p2align	2                               ## @.str.1
l_.str.1:
	.long	84                              ## 0x54
	.long	121                             ## 0x79
	.long	112                             ## 0x70
	.long	101                             ## 0x65
	.long	0                               ## 0x0

	.p2align	2                               ## @.str.2
l_.str.2:
	.long	78                              ## 0x4e
	.long	84                              ## 0x54
	.long	80                              ## 0x50
	.long	0                               ## 0x0

	.comm	_IDC_AUTOSYNC,4,2               ## @IDC_AUTOSYNC
	.comm	_BM_SETCHECK,4,2                ## @BM_SETCHECK
	.comm	_BST_CHECKED,4,2                ## @BST_CHECKED
	.comm	_BST_UNCHECKED,4,2              ## @BST_UNCHECKED
	.no_dead_strip	_GetSyncSetting
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GetSyncSetting
_GetSyncSetting:                        ; @GetSyncSetting
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _HKEY_LOCAL_MACHINE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HKEY_LOCAL_MACHINE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _KEY_QUERY_VALUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KEY_QUERY_VALUE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	add	x4, sp, #4
	mov	w2, #0
	bl	_RegOpenKeyExW
Lloh11:
	adrp	x20, _ERROR_SUCCESS@GOTPAGE
Lloh12:
	ldr	x20, [x20, _ERROR_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
	mov	w8, #32
	str	w8, [sp]
	ldr	w0, [sp, #4]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x4, sp, #8
	mov	x5, sp
	mov	x2, #0
	mov	x3, #0
	bl	_RegQueryValueExW
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #8
	bl	_wcscmp
Lloh17:
	adrp	x8, _IDC_AUTOSYNC@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IDC_AUTOSYNC@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _BM_SETCHECK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BM_SETCHECK@GOTPAGEOFF]
Lloh22:
	adrp	x9, _BST_CHECKED@GOTPAGE
Lloh23:
	ldr	x9, [x9, _BST_CHECKED@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
Lloh25:
	adrp	x8, _BST_UNCHECKED@GOTPAGE
Lloh26:
	ldr	x8, [x8, _BST_UNCHECKED@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	w3, [x8]
	mov	x0, x19
	mov	w4, #0
	bl	_SendDlgItemMessageW
LBB0_3:
	ldr	w0, [sp, #4]
	bl	_RegCloseKey
LBB0_4:
	ldur	x8, [x29, #-24]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh24
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_HKEY_LOCAL_MACHINE,4,2         ; @HKEY_LOCAL_MACHINE
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	83                              ; 0x53
	.long	89                              ; 0x59
	.long	83                              ; 0x53
	.long	84                              ; 0x54
	.long	69                              ; 0x45
	.long	77                              ; 0x4d
	.long	92                              ; 0x5c
	.long	67                              ; 0x43
	.long	117                             ; 0x75
	.long	114                             ; 0x72
	.long	114                             ; 0x72
	.long	101                             ; 0x65
	.long	110                             ; 0x6e
	.long	116                             ; 0x74
	.long	67                              ; 0x43
	.long	111                             ; 0x6f
	.long	110                             ; 0x6e
	.long	116                             ; 0x74
	.long	114                             ; 0x72
	.long	111                             ; 0x6f
	.long	108                             ; 0x6c
	.long	83                              ; 0x53
	.long	101                             ; 0x65
	.long	116                             ; 0x74
	.long	92                              ; 0x5c
	.long	83                              ; 0x53
	.long	101                             ; 0x65
	.long	114                             ; 0x72
	.long	118                             ; 0x76
	.long	105                             ; 0x69
	.long	99                              ; 0x63
	.long	101                             ; 0x65
	.long	115                             ; 0x73
	.long	92                              ; 0x5c
	.long	87                              ; 0x57
	.long	51                              ; 0x33
	.long	50                              ; 0x32
	.long	84                              ; 0x54
	.long	105                             ; 0x69
	.long	109                             ; 0x6d
	.long	101                             ; 0x65
	.long	92                              ; 0x5c
	.long	80                              ; 0x50
	.long	97                              ; 0x61
	.long	114                             ; 0x72
	.long	97                              ; 0x61
	.long	109                             ; 0x6d
	.long	101                             ; 0x65
	.long	116                             ; 0x74
	.long	101                             ; 0x65
	.long	114                             ; 0x72
	.long	115                             ; 0x73
	.long	0                               ; 0x0

	.comm	_KEY_QUERY_VALUE,4,2            ; @KEY_QUERY_VALUE
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.p2align	2                               ; @.str.1
l_.str.1:
	.long	84                              ; 0x54
	.long	121                             ; 0x79
	.long	112                             ; 0x70
	.long	101                             ; 0x65
	.long	0                               ; 0x0

	.p2align	2                               ; @.str.2
l_.str.2:
	.long	78                              ; 0x4e
	.long	84                              ; 0x54
	.long	80                              ; 0x50
	.long	0                               ; 0x0

	.comm	_IDC_AUTOSYNC,4,2               ; @IDC_AUTOSYNC
	.comm	_BM_SETCHECK,4,2                ; @BM_SETCHECK
	.comm	_BST_CHECKED,4,2                ; @BST_CHECKED
	.comm	_BST_UNCHECKED,4,2              ; @BST_UNCHECKED
	.no_dead_strip	_GetSyncSetting
.subsections_via_symbols
