	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function SetScreenSaverPreviewBox
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_SetScreenSaverPreviewBox:              ## @SetScreenSaverPreviewBox
	.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
	movl	$8264, %eax                     ## imm = 0x2048
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_IDC_SCREENS_PREVIEW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetDlgItem
	movq	%rax, %r14
	leaq	16(%rbx), %r13
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	xorl	%esi, %esi
	callq	_TerminateProcess
	movq	16(%rbx), %rdi
	callq	_CloseHandle
	movq	24(%rbx), %rdi
	callq	_CloseHandle
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r13)
LBB0_2:
	cmpq	$0, (%rbx)
	je	LBB0_5
## %bb.3:
	leaq	8(%rbx), %r15
	leaq	L_.str(%rip), %rdi
	callq	__T
	movq	(%rbx), %rcx
	movq	32(%rbx), %rdx
	movl	(%rdx,%rcx,4), %edx
	leaq	-8240(%rbp), %r12
	movq	%r12, %rdi
	movl	%eax, %esi
	movl	%r14d, %ecx
	callq	__stprintf
	leaq	-8264(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$24, %esi
	callq	_ZeroMemory
	movl	$24, -8264(%rbp)
	movq	%r15, %rdi
	movl	$24, %esi
	callq	_ZeroMemory
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, 24(%rsp)
	movq	%rbx, 16(%rsp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	xorl	%edi, %edi
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	callq	_CreateProcess
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r13)
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	addq	$8264, %rsp                     ## imm = 0x2048
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IDC_SCREENS_PREVIEW,4,2        ## @IDC_SCREENS_PREVIEW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s /p %Iu"

	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_SetScreenSaverPreviewBox
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SetScreenSaverPreviewBox
_SetScreenSaverPreviewBox:              ; @SetScreenSaverPreviewBox
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 w27, -56
	.cfi_offset w28, -64
	mov	w9, #8240
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #2, lsl #12             ; =8192
	sub	sp, sp, #48
	mov	x19, x1
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh5:
	adrp	x8, _IDC_SCREENS_PREVIEW@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IDC_SCREENS_PREVIEW@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_GetDlgItem
	mov	x20, x0
	mov	x22, x19
	ldr	x0, [x22, #16]!
	cbz	x0, LBB0_2
; %bb.1:
	mov	w1, #0
	bl	_TerminateProcess
	ldr	x0, [x19, #16]
	bl	_CloseHandle
	ldr	x0, [x19, #24]
	bl	_CloseHandle
	stp	xzr, xzr, [x22]
LBB0_2:
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.3:
	sub	x21, x22, #8
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	__T
	mov	x1, x0
	ldr	x8, [x19, #32]
	ldr	x9, [x19]
	ldr	w2, [x8, x9, lsl #2]
	add	x0, sp, #40
	mov	x3, x20
	bl	__stprintf
	add	x19, sp, #16
	mov	w20, #24
	add	x0, sp, #16
	mov	w1, #24
	bl	_ZeroMemory
	str	w20, [sp, #16]
	mov	x0, x21
	mov	w1, #24
	bl	_ZeroMemory
Lloh10:
	adrp	x8, _FALSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh12:
	ldr	w4, [x8]
	stp	x19, x21, [sp]
	add	x1, sp, #40
	mov	x0, #0
	mov	x2, #0
	mov	x3, #0
	mov	w5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_CreateProcess
	cbnz	w0, LBB0_5
; %bb.4:
	stp	xzr, xzr, [x22]
LBB0_5:
	ldur	x8, [x29, #-56]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	add	sp, sp, #2, lsl #12             ; =8192
	add	sp, sp, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_IDC_SCREENS_PREVIEW,4,2        ; @IDC_SCREENS_PREVIEW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s /p %Iu"

	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_SetScreenSaverPreviewBox
.subsections_via_symbols
