	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function OnInitDialog
_OnInitDialog:                          ## @OnInitDialog
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_IDC_SCREENS_LIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetDlgItem
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	_HEAP_ZERO_MEMORY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	movl	$4, %edx
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %r12
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	_DWLP_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	movl	%r12d, %edx
	callq	_SetWindowLongPtr
	movl	$-1, (%r12)
	movq	_IDC_SCREENS_TIME@GOTPCREL(%rip), %r15
	movl	(%r15), %r13d
	movq	_UDM_SETRANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$240, %edi
	movl	$1, %esi
	callq	_MAKELONG
	movl	%r14d, %edi
	movl	%r13d, %esi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	_SendDlgItemMessage
	movl	%r14d, %edi
	movq	%r12, %rsi
	callq	_AddScreenSavers
	movl	%r14d, %edi
	callq	_CheckRegScreenSaverIsSecure
	leaq	L_.str(%rip), %rdi
	callq	__T
	movl	%eax, %edi
	callq	_GetCurrentScreenSaverValue
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	%rax, %r13
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MAX_SCREENSAVERS@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_9
## %bb.3:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movl	$8, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movl	(%rax,%r14), %esi
	movq	%r13, %rdi
	callq	__tcscmp
	testl	%eax, %eax
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	addq	$16, %r14
	cmpq	(%r15), %rbx
	jb	LBB0_4
## %bb.6:
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movq	_IDC_SCREENS_TIME@GOTPCREL(%rip), %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	jne	LBB0_11
LBB0_13:
	xorl	%edx, %edx
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_14
LBB0_7:
	movl	%r14d, %edi
	movl	$-1, %esi
	callq	_EndDialog
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_8:
	movq	_CB_SETCURSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_SendMessage
	jmp	LBB0_16
LBB0_9:
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_12:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-48(%rbp), %r14d                ## 4-byte Reload
LBB0_10:
	movq	_IDC_SCREENS_TIME@GOTPCREL(%rip), %r15
	testq	%rax, %rax
	je	LBB0_13
LBB0_11:
	movq	_CB_FINDSTRINGEXACT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r12), %rax
	shlq	$4, %rbx
	movl	(%rax,%rbx), %ecx
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	movq	$-1, %rdx
	callq	_SendMessage
	movq	%rax, %rdx
	movq	_CB_ERR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	je	LBB0_15
LBB0_14:
	movq	_CB_SETCURSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	xorl	%ecx, %ecx
	callq	_SendMessage
LBB0_15:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r13, %rdx
	callq	_HeapFree
LBB0_16:
	leaq	L_.str.1(%rip), %rdi
	callq	__T
	movl	%eax, %edi
	callq	_GetCurrentScreenSaverValue
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	__ttoi
	movslq	%eax, %r8
	imulq	$-2004318071, %r8, %rax         ## imm = 0x88888889
	shrq	$32, %rax
	addl	%eax, %r8d
	movl	%r8d, %eax
	shrl	$31, %eax
	sarl	$5, %r8d
	addl	%eax, %r8d
	movl	(%r15), %esi
	movq	_UDM_SETPOS32@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	xorl	%ecx, %ecx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_SendDlgItemMessage
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_HeapFree
LBB0_18:
	movl	%r14d, %edi
	movq	%r12, %rsi
	callq	_SelectionChanged
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_19:
	movq	(%rax), %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDC_SCREENS_LIST,4,2           ## @IDC_SCREENS_LIST
	.comm	_HEAP_ZERO_MEMORY,4,2           ## @HEAP_ZERO_MEMORY
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_DWLP_USER,4,2                  ## @DWLP_USER
	.comm	_IDC_SCREENS_TIME,4,2           ## @IDC_SCREENS_TIME
	.comm	_UDM_SETRANGE,4,2               ## @UDM_SETRANGE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SCRNSAVE.EXE"

	.comm	_MAX_SCREENSAVERS,8,3           ## @MAX_SCREENSAVERS
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_CB_FINDSTRINGEXACT,4,2         ## @CB_FINDSTRINGEXACT
	.comm	_CB_ERR,8,3                     ## @CB_ERR
	.comm	_CB_SETCURSEL,4,2               ## @CB_SETCURSEL
L_.str.1:                               ## @.str.1
	.asciz	"ScreenSaveTimeOut"

	.comm	_UDM_SETPOS32,4,2               ## @UDM_SETPOS32
	.no_dead_strip	_OnInitDialog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function OnInitDialog
_OnInitDialog:                          ; @OnInitDialog
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, _IDC_SCREENS_LIST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDC_SCREENS_LIST@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_GetDlgItem
	mov	x21, x0
	bl	_GetProcessHeap
Lloh3:
	adrp	x8, _HEAP_ZERO_MEMORY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HEAP_ZERO_MEMORY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_HeapAlloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
Lloh6:
	adrp	x8, _DWLP_USER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DWLP_USER@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_SetWindowLongPtr
	mov	w8, #-1
	str	w8, [x20]
Lloh9:
	adrp	x24, _IDC_SCREENS_TIME@GOTPAGE
Lloh10:
	ldr	x24, [x24, _IDC_SCREENS_TIME@GOTPAGEOFF]
	ldr	w22, [x24]
Lloh11:
	adrp	x8, _UDM_SETRANGE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _UDM_SETRANGE@GOTPAGEOFF]
Lloh13:
	ldr	w23, [x8]
	mov	w0, #240
	mov	w1, #1
	bl	_MAKELONG
	mov	x4, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	mov	w3, #0
	bl	_SendDlgItemMessage
	mov	x0, x19
	mov	x1, x20
	bl	_AddScreenSavers
	mov	x0, x19
	bl	_CheckRegScreenSaverIsSecure
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	__T
	bl	_GetCurrentScreenSaverValue
	cbz	x0, LBB0_7
; %bb.2:
	mov	x22, x0
Lloh16:
	adrp	x8, _FALSE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh18:
	ldr	x23, [x8]
Lloh19:
	adrp	x26, _MAX_SCREENSAVERS@GOTPAGE
Lloh20:
	ldr	x26, [x26, _MAX_SCREENSAVERS@GOTPAGEOFF]
	ldr	x8, [x26]
	cbz	x8, LBB0_8
; %bb.3:
	mov	x25, #0
	mov	w27, #8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	w1, [x8, x27]
	mov	x0, x22
	bl	__tcscmp
	cbz	w0, LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	ldr	x8, [x26]
	add	x27, x27, #16
	cmp	x25, x8
	b.lo	LBB0_4
	b	LBB0_9
LBB0_6:
	mov	x0, x19
	mov	w1, #-1
	bl	_EndDialog
Lloh21:
	adrp	x8, _FALSE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_18
LBB0_7:
Lloh23:
	adrp	x8, _CB_SETCURSEL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _CB_SETCURSEL@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, #0
	mov	w3, #0
	bl	_SendMessage
	b	LBB0_15
LBB0_8:
	mov	x25, #0
LBB0_9:
	cbz	x23, LBB0_12
LBB0_10:
Lloh26:
	adrp	x8, _CB_FINDSTRINGEXACT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _CB_FINDSTRINGEXACT@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	ldr	x8, [x20, #8]
	lsl	x9, x25, #4
	ldr	w3, [x8, x9]
	mov	x0, x21
	mov	x2, #-1
	bl	_SendMessage
	mov	x2, x0
Lloh29:
	adrp	x8, _CB_ERR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CB_ERR@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_13
	b	LBB0_14
LBB0_11:
Lloh32:
	adrp	x8, _TRUE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh34:
	ldr	x23, [x8]
	cbnz	x23, LBB0_10
LBB0_12:
	mov	x2, #0
LBB0_13:
Lloh35:
	adrp	x8, _CB_SETCURSEL@GOTPAGE
Lloh36:
	ldr	x8, [x8, _CB_SETCURSEL@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w3, #0
	bl	_SendMessage
LBB0_14:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x22
	bl	_HeapFree
LBB0_15:
Lloh38:
	adrp	x0, l_.str.1@PAGE
Lloh39:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__T
	bl	_GetCurrentScreenSaverValue
	cbz	x0, LBB0_17
; %bb.16:
	mov	x21, x0
	bl	__ttoi
	mov	w8, #34953
	movk	w8, #34952, lsl #16
	smull	x8, w0, w8
	lsr	x8, x8, #32
	add	w8, w8, w0
	asr	w9, w8, #5
	add	w4, w9, w8, lsr #31
	ldr	w1, [x24]
Lloh40:
	adrp	x8, _UDM_SETPOS32@GOTPAGE
Lloh41:
	ldr	x8, [x8, _UDM_SETPOS32@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_SendDlgItemMessage
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x21
	bl	_HeapFree
LBB0_17:
	mov	x0, x19
	mov	x1, x20
	bl	_SelectionChanged
Lloh43:
	adrp	x8, _TRUE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_18:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_IDC_SCREENS_LIST,4,2           ; @IDC_SCREENS_LIST
	.comm	_HEAP_ZERO_MEMORY,4,2           ; @HEAP_ZERO_MEMORY
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_DWLP_USER,4,2                  ; @DWLP_USER
	.comm	_IDC_SCREENS_TIME,4,2           ; @IDC_SCREENS_TIME
	.comm	_UDM_SETRANGE,4,2               ; @UDM_SETRANGE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SCRNSAVE.EXE"

	.comm	_MAX_SCREENSAVERS,8,3           ; @MAX_SCREENSAVERS
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_CB_FINDSTRINGEXACT,4,2         ; @CB_FINDSTRINGEXACT
	.comm	_CB_ERR,8,3                     ; @CB_ERR
	.comm	_CB_SETCURSEL,4,2               ; @CB_SETCURSEL
l_.str.1:                               ; @.str.1
	.asciz	"ScreenSaveTimeOut"

	.comm	_UDM_SETPOS32,4,2               ; @UDM_SETPOS32
	.no_dead_strip	_OnInitDialog
.subsections_via_symbols
