	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function InitRadioButtons
_InitRadioButtons:                      ## @InitRadioButtons
	.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
	subq	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_HKEY_CURRENT_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	__T
	movq	_KEY_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	-292(%rbp), %r8
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_RegOpenKeyEx
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_9
## %bb.1:
	movl	$64, -296(%rbp)
	movl	-292(%rbp), %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	__T
	leaq	-288(%rbp), %r8
	leaq	-296(%rbp), %r9
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_RegQueryValueEx
	movq	_IDC_WITHOUTREBOOT_RB@GOTPCREL(%rip), %rbx
	cmpq	(%r15), %rax
	jne	LBB0_7
## %bb.2:
	leaq	-288(%rbp), %rdi
	callq	__ttoi
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	cmpl	$3, %eax
	je	LBB0_6
## %bb.5:
	cmpl	$1, %eax
	je	LBB0_7
	jmp	LBB0_8
LBB0_9:
	movq	_IDC_WITHOUTREBOOT_RB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BM_SETCHECK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	movl	$1, %ecx
	movl	$1, %r8d
	callq	_SendDlgItemMessage
	jmp	LBB0_10
LBB0_3:
	movq	_IDC_RESTART_RB@GOTPCREL(%rip), %rbx
	jmp	LBB0_7
LBB0_6:
	movq	_IDC_ASKME_RB@GOTPCREL(%rip), %rbx
LBB0_7:
	movl	(%rbx), %esi
	movq	_BM_SETCHECK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	movl	$1, %ecx
	movl	$1, %r8d
	callq	_SendDlgItemMessage
LBB0_8:
	movl	-292(%rbp), %edi
	callq	_RegCloseKey
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HKEY_CURRENT_USER,4,2          ## @HKEY_CURRENT_USER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Controls Folder\\Display"

	.comm	_KEY_READ,4,2                   ## @KEY_READ
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
L_.str.1:                               ## @.str.1
	.asciz	"DynaSettingsChange"

	.comm	_IDC_RESTART_RB,4,2             ## @IDC_RESTART_RB
	.comm	_BM_SETCHECK,4,2                ## @BM_SETCHECK
	.comm	_IDC_WITHOUTREBOOT_RB,4,2       ## @IDC_WITHOUTREBOOT_RB
	.comm	_IDC_ASKME_RB,4,2               ## @IDC_ASKME_RB
	.no_dead_strip	_InitRadioButtons
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function InitRadioButtons
_InitRadioButtons:                      ; @InitRadioButtons
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #320
	.cfi_def_cfa_offset 320
	stp	x22, x21, [sp, #272]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #288]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #304]            ; 16-byte Folded Spill
	add	x29, sp, #304
	.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
	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, #-40]
Lloh3:
	adrp	x8, _HKEY_CURRENT_USER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HKEY_CURRENT_USER@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	__T
	mov	x1, x0
Lloh8:
	adrp	x8, _KEY_READ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _KEY_READ@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	add	x4, sp, #4
	mov	x0, x20
	mov	w2, #0
	bl	_RegOpenKeyEx
Lloh11:
	adrp	x21, _ERROR_SUCCESS@GOTPAGE
Lloh12:
	ldr	x21, [x21, _ERROR_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.1:
	mov	w8, #64
	str	w8, [sp]
	ldr	w20, [sp, #4]
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__T
	mov	x1, x0
	add	x4, sp, #8
	mov	x5, sp
	mov	x0, x20
	mov	w2, #0
	mov	x3, #0
	bl	_RegQueryValueEx
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.2:
	add	x0, sp, #8
	bl	__ttoi
	cbz	w0, LBB0_11
; %bb.3:
	cmp	w0, #3
	b.eq	LBB0_12
; %bb.4:
	cmp	w0, #1
	b.ne	LBB0_7
LBB0_5:
Lloh15:
	adrp	x8, _IDC_WITHOUTREBOOT_RB@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IDC_WITHOUTREBOOT_RB@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _BM_SETCHECK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _BM_SETCHECK@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	mov	w4, #1
	bl	_SendDlgItemMessage
LBB0_7:
	ldr	w0, [sp, #4]
	bl	_RegCloseKey
	b	LBB0_9
LBB0_8:
Lloh20:
	adrp	x8, _IDC_WITHOUTREBOOT_RB@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IDC_WITHOUTREBOOT_RB@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x8, _BM_SETCHECK@GOTPAGE
Lloh24:
	ldr	x8, [x8, _BM_SETCHECK@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	mov	w4, #1
	bl	_SendDlgItemMessage
LBB0_9:
	ldur	x8, [x29, #-40]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.10:
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #320
	ret
LBB0_11:
Lloh29:
	adrp	x8, _IDC_RESTART_RB@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IDC_RESTART_RB@GOTPAGEOFF]
	b	LBB0_6
LBB0_12:
Lloh31:
	adrp	x8, _IDC_ASKME_RB@GOTPAGE
Lloh32:
	ldr	x8, [x8, _IDC_ASKME_RB@GOTPAGEOFF]
	b	LBB0_6
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_HKEY_CURRENT_USER,4,2          ; @HKEY_CURRENT_USER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Controls Folder\\Display"

	.comm	_KEY_READ,4,2                   ; @KEY_READ
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
l_.str.1:                               ; @.str.1
	.asciz	"DynaSettingsChange"

	.comm	_IDC_RESTART_RB,4,2             ; @IDC_RESTART_RB
	.comm	_BM_SETCHECK,4,2                ; @BM_SETCHECK
	.comm	_IDC_WITHOUTREBOOT_RB,4,2       ; @IDC_WITHOUTREBOOT_RB
	.comm	_IDC_ASKME_RB,4,2               ; @IDC_ASKME_RB
	.no_dead_strip	_InitRadioButtons
.subsections_via_symbols
