	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function OnApply
_OnApply:                               ## @OnApply
	.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	$776, %rsp                      ## imm = 0x308
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpq	$0, (%rsi)
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	_SERVICE_NO_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_IDC_LOGON_SYSTEMACCOUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BM_GETCHECK@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_SendDlgItemMessageW
	movq	_BST_CHECKED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.3:
	leaq	l_.str(%rip), %rsi
	leaq	-304(%rbp), %rdi
	callq	_wcscpy
	leaq	l_.str.1(%rip), %rbx
	leaq	-560(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_wcscpy
	leaq	-816(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_wcscpy
	movq	16(%r14), %rax
	movl	(%rax), %r12d
	movq	_IDC_LOGON_INTERACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movl	%r15d, %edi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_SendDlgItemMessageW
	movq	_SERVICE_INTERACTIVE_PROCESS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	_BST_CHECKED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.4:
	orl	%r12d, %ebx
	jmp	LBB0_11
LBB0_1:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_13
LBB0_5:
	movq	_IDC_LOGON_ACCOUNTNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-304(%rbp), %rdx
	movl	%r15d, %edi
	movl	$64, %ecx
	callq	_GetDlgItemText
	movq	_IDC_LOGON_PASSWORD1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-560(%rbp), %r12
	movl	%r15d, %edi
	movq	%r12, %rdx
	movl	$64, %ecx
	callq	_GetDlgItemText
	movq	_IDC_LOGON_PASSWORD2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-816(%rbp), %r13
	movl	%r15d, %edi
	movq	%r13, %rdx
	movl	$64, %ecx
	callq	_GetDlgItemText
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_wcscmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	xorl	%edi, %edi
	callq	_GetModuleHandle
	movq	_MB_OK@GOTPCREL(%rip), %rcx
	movq	_MB_ICONWARNING@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_IDS_APPNAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_IDS_NOT_SAME_PASSWORD@GOTPCREL(%rip), %rsi
LBB0_7:
	movl	(%rsi), %r8d
	movl	%eax, %edi
	movl	%r15d, %esi
	callq	_ResourceMessageBox
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_13
LBB0_10:
	notl	%ebx
	andl	%r12d, %ebx
	jmp	LBB0_11
LBB0_8:
	movq	_DEFAULT_PASSWORD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	-560(%rbp), %rdi
	callq	_wcscmp
	testq	%rax, %rax
	je	LBB0_9
LBB0_11:
	movq	8(%r14), %rax
	movl	(%rax), %edi
	leaq	-304(%rbp), %rdx
	leaq	-560(%rbp), %rcx
	movl	%ebx, %esi
	callq	_SetServiceAccount
	movq	_TRUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.12:
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%r14)
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_15
## %bb.14:
	addq	$776, %rsp                      ## imm = 0x308
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	xorl	%edi, %edi
	callq	_GetModuleHandle
	movq	_MB_OK@GOTPCREL(%rip), %rcx
	movq	_MB_ICONWARNING@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_IDS_APPNAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_IDS_INVALID_PASSWORD@GOTPCREL(%rip), %rsi
	jmp	LBB0_7
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SERVICE_NO_CHANGE,4,2          ## @SERVICE_NO_CHANGE
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_IDC_LOGON_SYSTEMACCOUNT,4,2    ## @IDC_LOGON_SYSTEMACCOUNT
	.comm	_BM_GETCHECK,4,2                ## @BM_GETCHECK
	.comm	_BST_CHECKED,8,3                ## @BST_CHECKED
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	76                              ## 0x4c
	.long	111                             ## 0x6f
	.long	99                              ## 0x63
	.long	97                              ## 0x61
	.long	108                             ## 0x6c
	.long	83                              ## 0x53
	.long	121                             ## 0x79
	.long	115                             ## 0x73
	.long	116                             ## 0x74
	.long	101                             ## 0x65
	.long	109                             ## 0x6d
	.long	0                               ## 0x0

	.p2align	2                               ## @.str.1
l_.str.1:
	.space	4

	.comm	_IDC_LOGON_INTERACTIVE,4,2      ## @IDC_LOGON_INTERACTIVE
	.comm	_SERVICE_INTERACTIVE_PROCESS,4,2 ## @SERVICE_INTERACTIVE_PROCESS
	.comm	_IDC_LOGON_ACCOUNTNAME,4,2      ## @IDC_LOGON_ACCOUNTNAME
	.comm	_IDC_LOGON_PASSWORD1,4,2        ## @IDC_LOGON_PASSWORD1
	.comm	_IDC_LOGON_PASSWORD2,4,2        ## @IDC_LOGON_PASSWORD2
	.comm	_MB_OK,4,2                      ## @MB_OK
	.comm	_MB_ICONWARNING,4,2             ## @MB_ICONWARNING
	.comm	_IDS_APPNAME,4,2                ## @IDS_APPNAME
	.comm	_IDS_NOT_SAME_PASSWORD,4,2      ## @IDS_NOT_SAME_PASSWORD
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_DEFAULT_PASSWORD,8,3           ## @DEFAULT_PASSWORD
	.comm	_IDS_INVALID_PASSWORD,4,2       ## @IDS_INVALID_PASSWORD
	.no_dead_strip	_OnApply
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function OnApply
_OnApply:                               ; @OnApply
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [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 w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #784
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	x8, [x1]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh3:
	adrp	x8, _SERVICE_NO_CHANGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SERVICE_NO_CHANGE@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
Lloh6:
	adrp	x8, _IDC_LOGON_SYSTEMACCOUNT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IDC_LOGON_SYSTEMACCOUNT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x23, _BM_GETCHECK@GOTPAGE
Lloh10:
	ldr	x23, [x23, _BM_GETCHECK@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	w3, #0
	mov	w4, #0
	bl	_SendDlgItemMessageW
Lloh11:
	adrp	x22, _BST_CHECKED@GOTPAGE
Lloh12:
	ldr	x22, [x22, _BST_CHECKED@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.2:
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #520
	bl	_wcscpy
Lloh15:
	adrp	x21, l_.str.1@PAGE
Lloh16:
	add	x21, x21, l_.str.1@PAGEOFF
	add	x0, sp, #264
	mov	x1, x21
	bl	_wcscpy
	add	x0, sp, #8
	mov	x1, x21
	bl	_wcscpy
	ldr	x8, [x19, #16]
	ldr	w21, [x8]
Lloh17:
	adrp	x8, _IDC_LOGON_INTERACTIVE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IDC_LOGON_INTERACTIVE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	ldr	w2, [x23]
	mov	x0, x20
	mov	w3, #0
	mov	w4, #0
	bl	_SendDlgItemMessageW
Lloh20:
	adrp	x8, _SERVICE_INTERACTIVE_PROCESS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SERVICE_INTERACTIVE_PROCESS@GOTPAGEOFF]
	ldr	x9, [x22]
Lloh22:
	ldr	w8, [x8]
	cmp	x0, x9
	bic	w9, w21, w8
	orr	w8, w8, w21
	csel	w21, w9, w8, ne
LBB0_3:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	add	x2, sp, #520
	add	x3, sp, #264
	mov	x1, x21
	bl	_SetServiceAccount
Lloh23:
	adrp	x8, _TRUE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.4:
Lloh26:
	adrp	x8, _FALSE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	str	x8, [x19]
	b	LBB0_10
LBB0_5:
Lloh29:
	adrp	x8, _TRUE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
Lloh31:
	adrp	x8, _IDC_LOGON_ACCOUNTNAME@GOTPAGE
Lloh32:
	ldr	x8, [x8, _IDC_LOGON_ACCOUNTNAME@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	add	x2, sp, #520
	mov	x0, x20
	mov	w3, #64
	bl	_GetDlgItemText
Lloh34:
	adrp	x8, _IDC_LOGON_PASSWORD1@GOTPAGE
Lloh35:
	ldr	x8, [x8, _IDC_LOGON_PASSWORD1@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	add	x2, sp, #264
	mov	x0, x20
	mov	w3, #64
	bl	_GetDlgItemText
Lloh37:
	adrp	x8, _IDC_LOGON_PASSWORD2@GOTPAGE
Lloh38:
	ldr	x8, [x8, _IDC_LOGON_PASSWORD2@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x20
	mov	w3, #64
	bl	_GetDlgItemText
	add	x0, sp, #264
	add	x1, sp, #8
	bl	_wcscmp
	cbz	x0, LBB0_12
; %bb.7:
	mov	x0, #0
	bl	_GetModuleHandle
Lloh40:
	adrp	x8, _MB_OK@GOTPAGE
Lloh41:
	ldr	x8, [x8, _MB_OK@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
Lloh43:
	adrp	x9, _MB_ICONWARNING@GOTPAGE
Lloh44:
	ldr	x9, [x9, _MB_ICONWARNING@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh46:
	adrp	x8, _IDS_APPNAME@GOTPAGE
Lloh47:
	ldr	x8, [x8, _IDS_APPNAME@GOTPAGEOFF]
Lloh48:
	ldr	w3, [x8]
Lloh49:
	adrp	x8, _IDS_NOT_SAME_PASSWORD@GOTPAGE
Lloh50:
	ldr	x8, [x8, _IDS_NOT_SAME_PASSWORD@GOTPAGEOFF]
LBB0_8:
	ldr	w4, [x8]
	mov	x1, x20
	bl	_ResourceMessageBox
Lloh51:
	adrp	x8, _FALSE@GOTPAGE
Lloh52:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_9:
	ldr	x0, [x8]
LBB0_10:
	ldur	x8, [x29, #-56]
Lloh53:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh54:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh55:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.11:
	add	sp, sp, #784
	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	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
Lloh56:
	adrp	x8, _DEFAULT_PASSWORD@GOTPAGE
Lloh57:
	ldr	x8, [x8, _DEFAULT_PASSWORD@GOTPAGEOFF]
Lloh58:
	ldr	x1, [x8]
	add	x0, sp, #264
	bl	_wcscmp
	cbnz	x0, LBB0_3
; %bb.13:
	bl	_GetModuleHandle
Lloh59:
	adrp	x8, _MB_OK@GOTPAGE
Lloh60:
	ldr	x8, [x8, _MB_OK@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
Lloh62:
	adrp	x9, _MB_ICONWARNING@GOTPAGE
Lloh63:
	ldr	x9, [x9, _MB_ICONWARNING@GOTPAGEOFF]
Lloh64:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh65:
	adrp	x8, _IDS_APPNAME@GOTPAGE
Lloh66:
	ldr	x8, [x8, _IDS_APPNAME@GOTPAGEOFF]
Lloh67:
	ldr	w3, [x8]
Lloh68:
	adrp	x8, _IDS_INVALID_PASSWORD@GOTPAGE
Lloh69:
	ldr	x8, [x8, _IDS_INVALID_PASSWORD@GOTPAGEOFF]
	b	LBB0_8
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.cfi_endproc
                                        ; -- End function
	.comm	_SERVICE_NO_CHANGE,4,2          ; @SERVICE_NO_CHANGE
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_IDC_LOGON_SYSTEMACCOUNT,4,2    ; @IDC_LOGON_SYSTEMACCOUNT
	.comm	_BM_GETCHECK,4,2                ; @BM_GETCHECK
	.comm	_BST_CHECKED,8,3                ; @BST_CHECKED
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	76                              ; 0x4c
	.long	111                             ; 0x6f
	.long	99                              ; 0x63
	.long	97                              ; 0x61
	.long	108                             ; 0x6c
	.long	83                              ; 0x53
	.long	121                             ; 0x79
	.long	115                             ; 0x73
	.long	116                             ; 0x74
	.long	101                             ; 0x65
	.long	109                             ; 0x6d
	.long	0                               ; 0x0

	.p2align	2                               ; @.str.1
l_.str.1:
	.space	4

	.comm	_IDC_LOGON_INTERACTIVE,4,2      ; @IDC_LOGON_INTERACTIVE
	.comm	_SERVICE_INTERACTIVE_PROCESS,4,2 ; @SERVICE_INTERACTIVE_PROCESS
	.comm	_IDC_LOGON_ACCOUNTNAME,4,2      ; @IDC_LOGON_ACCOUNTNAME
	.comm	_IDC_LOGON_PASSWORD1,4,2        ; @IDC_LOGON_PASSWORD1
	.comm	_IDC_LOGON_PASSWORD2,4,2        ; @IDC_LOGON_PASSWORD2
	.comm	_MB_OK,4,2                      ; @MB_OK
	.comm	_MB_ICONWARNING,4,2             ; @MB_ICONWARNING
	.comm	_IDS_APPNAME,4,2                ; @IDS_APPNAME
	.comm	_IDS_NOT_SAME_PASSWORD,4,2      ; @IDS_NOT_SAME_PASSWORD
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_DEFAULT_PASSWORD,8,3           ; @DEFAULT_PASSWORD
	.comm	_IDS_INVALID_PASSWORD,4,2       ; @IDS_INVALID_PASSWORD
	.no_dead_strip	_OnApply
.subsections_via_symbols
