	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function AddScreenSavers
_AddScreenSavers:                       ## @AddScreenSavers
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_IDC_SCREENS_LIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetDlgItem
	movl	%eax, %r15d
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	shlq	$2, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	8(%r14), %r13
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r13)
	movq	_hApplet@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IDS_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r13), %rdx
	movl	$2, %ecx
	callq	_LoadString
	movq	_CB_ADDSTRING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %ecx
	movq	_MAX_PATH@GOTPCREL(%rip), %r13
	movl	%r15d, %edi
	xorl	%edx, %edx
	callq	_SendMessage
	movq	_CB_SETITEMDATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%r15d, %edi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_SendMessage
	movl	$1, (%r14)
	movq	_hApplet@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r13), %edx
	movq	%rbx, %rsi
	callq	_GetModuleFileName
	movl	$92, %edi
	callq	__T
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	__tcsrchr
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movb	$0, (%rax)
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_SearchScreenSavers
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_GetSystemDirectory
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	__tcsicmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	%r15d, %edi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_SearchScreenSavers
LBB0_3:
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_GetWindowsDirectory
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	__tcsicmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	%r15d, %edi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_SearchScreenSavers
	jmp	LBB0_5
LBB0_7:
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_GetSystemDirectory
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_GetWindowsDirectory
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.6:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IDC_SCREENS_LIST,4,2           ## @IDC_SCREENS_LIST
	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_hApplet,4,2                    ## @hApplet
	.comm	_IDS_NONE,4,2                   ## @IDS_NONE
	.comm	_CB_ADDSTRING,4,2               ## @CB_ADDSTRING
	.comm	_CB_SETITEMDATA,4,2             ## @CB_SETITEMDATA
	.no_dead_strip	_AddScreenSavers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function AddScreenSavers
_AddScreenSavers:                       ; @AddScreenSavers
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _IDC_SCREENS_LIST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IDC_SCREENS_LIST@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_GetDlgItem
	mov	x20, x0
Lloh6:
	adrp	x23, _MAX_PATH@GOTPAGE
Lloh7:
	ldr	x23, [x23, _MAX_PATH@GOTPAGEOFF]
	ldr	w8, [x23]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x21, x9, x12
	mov	sp, x21
	mov	x9, x8
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x22, x8, x12
	mov	sp, x22
	ldr	x24, [x19, #8]
Lloh12:
	adrp	x8, _FALSE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x25, _hApplet@GOTPAGE
Lloh16:
	ldr	x25, [x25, _hApplet@GOTPAGEOFF]
	str	w8, [x24, #8]
	ldr	w0, [x25]
Lloh17:
	adrp	x8, _IDS_NONE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IDS_NONE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	ldr	x2, [x24]
	mov	w3, #2
	bl	_LoadString
Lloh20:
	adrp	x8, _CB_ADDSTRING@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CB_ADDSTRING@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	ldr	w3, [x24]
	mov	x0, x20
	mov	w2, #0
	bl	_SendMessage
	mov	x2, x0
Lloh23:
	adrp	x8, _CB_SETITEMDATA@GOTPAGE
Lloh24:
	ldr	x8, [x8, _CB_SETITEMDATA@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w3, #0
	bl	_SendMessage
	mov	w8, #1
	str	w8, [x19]
	ldr	w0, [x25]
	ldr	w2, [x23]
	mov	x1, x22
	bl	_GetModuleFileName
	mov	w0, #92
	bl	__T
	mov	x1, x0
	mov	x0, x22
	bl	__tcsrchr
	cbz	x0, LBB0_5
; %bb.1:
	strb	wzr, [x0]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	bl	_SearchScreenSavers
	ldr	w1, [x23]
	mov	x0, x21
	bl	_GetSystemDirectory
	mov	x0, x21
	mov	x1, x22
	bl	__tcsicmp
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_SearchScreenSavers
LBB0_3:
	ldr	w1, [x23]
	mov	x0, x21
	bl	_GetWindowsDirectory
	mov	x0, x21
	mov	x1, x22
	bl	__tcsicmp
	cbz	x0, LBB0_6
; %bb.4:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_SearchScreenSavers
	b	LBB0_6
LBB0_5:
	ldr	w1, [x23]
	mov	x0, x21
	bl	_GetSystemDirectory
	ldr	w1, [x23]
	mov	x0, x21
	bl	_GetWindowsDirectory
LBB0_6:
	ldur	x8, [x29, #-72]
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_8
; %bb.7:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_IDC_SCREENS_LIST,4,2           ; @IDC_SCREENS_LIST
	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_hApplet,4,2                    ; @hApplet
	.comm	_IDS_NONE,4,2                   ; @IDS_NONE
	.comm	_CB_ADDSTRING,4,2               ; @CB_ADDSTRING
	.comm	_CB_SETITEMDATA,4,2             ; @CB_SETITEMDATA
	.no_dead_strip	_AddScreenSavers
.subsections_via_symbols
