	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SetUserProfileData
_SetUserProfileData:                    ## @SetUserProfileData
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r12d
	movq	$0, -48(%rbp)
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %esi
	leaq	-48(%rbp), %rcx
	xorl	%edi, %edi
	movl	$3, %edx
	callq	_NetUserGetInfo
	movq	_IDC_USER_PROFILE_PATH@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	%r12d, %edi
	callq	_GetDlgItem
	movl	%eax, %edi
	callq	_GetWindowTextLength
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%ebx, %r14d
	incl	%r14d
	leal	4(,%rbx,4), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	movq	%rax, %rbx
	movl	(%r15), %esi
	movl	%r12d, %edi
	movq	%rax, %rdx
	movl	%r14d, %ecx
	callq	_GetDlgItemText
	movq	-48(%rbp), %rax
	movq	%rbx, %rcx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, 24(%rax)
	jmp	LBB0_3
LBB0_1:
	movq	-48(%rbp), %rax
	movq	$0, 24(%rax)
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_3:
	movq	_IDC_USER_PROFILE_SCRIPT@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	%r12d, %edi
	callq	_GetDlgItem
	movl	%eax, %edi
	callq	_GetWindowTextLength
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%ebx, %r14d
	incl	%r14d
	leal	4(,%rbx,4), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	movq	%rax, %rbx
	movl	(%r15), %esi
	movl	%r12d, %edi
	movq	%rax, %rdx
	movl	%r14d, %ecx
	callq	_GetDlgItemText
	movq	-48(%rbp), %rax
	movq	%rbx, 16(%rax)
	jmp	LBB0_6
LBB0_4:
	movq	-48(%rbp), %rax
	movq	$0, 16(%rax)
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	_IDC_USER_PROFILE_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_IsDlgButtonChecked
	movq	_BST_CHECKED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.7:
	movq	_IDC_USER_PROFILE_LOCAL_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_GetDlgItem
	movl	%eax, %edi
	callq	_GetWindowTextLength
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movl	%eax, %ebx
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%ebx, %r15d
	incl	%r15d
	leal	4(,%rbx,4), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	movq	%rax, %r13
	movq	_IDC_USER_PROFILE_LOCAL_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	movq	%r13, %rdx
	movl	%r15d, %ecx
	callq	_GetDlgItemText
	movq	-48(%rbp), %rax
	movq	%r13, 8(%rax)
	jmp	LBB0_15
LBB0_10:
	movq	_IDC_USER_PROFILE_REMOTE_PATH@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	%r12d, %edi
	callq	_GetDlgItem
	movl	%eax, %edi
	callq	_GetWindowTextLength
	testl	%eax, %eax
	je	LBB0_11
## %bb.12:
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%ebx, %r14d
	incl	%r14d
	leal	4(,%rbx,4), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	movq	%rax, %r13
	movl	(%r15), %esi
	movl	%r12d, %edi
	movq	%rax, %rdx
	movl	%r14d, %ecx
	callq	_GetDlgItemText
	movq	-48(%rbp), %rax
	movq	%r13, 8(%rax)
	jmp	LBB0_13
LBB0_8:
	movq	-48(%rbp), %rax
	movq	$0, 8(%rax)
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_15
LBB0_11:
	movq	-48(%rbp), %rax
	movq	$0, 8(%rax)
	xorl	%r13d, %r13d
LBB0_13:
	movq	_IDC_USER_PROFILE_DRIVE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	%r12d, %edi
	callq	_GetDlgItem
	movq	_CB_GETCURSEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	xorl	%r14d, %r14d
	movl	%eax, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_SendMessage
	movl	%eax, %r15d
	movq	_CB_ERR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	je	LBB0_15
## %bb.14:
	movl	(%rbx), %esi
	movl	%r12d, %edi
	callq	_GetDlgItem
	movq	_CB_GETLBTEXTLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	callq	_SendMessage
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_GetProcessHeap
	leal	4(,%rbx,4), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	movq	%rax, %r14
	movq	_IDC_USER_PROFILE_DRIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_GetDlgItem
	movq	_CB_GETLBTEXT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	callq	_SendMessage
	movq	-48(%rbp), %rax
	movq	%r14, (%rax)
LBB0_15:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rax), %esi
	movl	-48(%rbp), %ecx
	leaq	-68(%rbp), %r8
	xorl	%edi, %edi
	movl	$3, %edx
	callq	_NetUserSetInfo
	movq	%rax, %r12
	movq	_NERR_Success@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	je	LBB0_17
## %bb.16:
	leaq	L_.str(%rip), %rdi
	callq	__T
	movl	-68(%rbp), %edx
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_DebugPrintf
LBB0_17:
	testq	%rbx, %rbx
	je	LBB0_19
## %bb.18:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_HeapFree
LBB0_19:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_21
## %bb.20:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_HeapFree
LBB0_21:
	testq	%r13, %r13
	je	LBB0_23
## %bb.22:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r13, %rdx
	callq	_HeapFree
LBB0_23:
	testq	%r14, %r14
	je	LBB0_25
## %bb.24:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_HeapFree
LBB0_25:
	movq	-48(%rbp), %rdi
	callq	_NetApiBufferFree
	xorl	%eax, %eax
	cmpq	(%r15), %r12
	sete	%al
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDC_USER_PROFILE_PATH,4,2      ## @IDC_USER_PROFILE_PATH
	.comm	_IDC_USER_PROFILE_SCRIPT,4,2    ## @IDC_USER_PROFILE_SCRIPT
	.comm	_IDC_USER_PROFILE_LOCAL,4,2     ## @IDC_USER_PROFILE_LOCAL
	.comm	_BST_CHECKED,8,3                ## @BST_CHECKED
	.comm	_IDC_USER_PROFILE_LOCAL_PATH,4,2 ## @IDC_USER_PROFILE_LOCAL_PATH
	.comm	_IDC_USER_PROFILE_REMOTE_PATH,4,2 ## @IDC_USER_PROFILE_REMOTE_PATH
	.comm	_IDC_USER_PROFILE_DRIVE,4,2     ## @IDC_USER_PROFILE_DRIVE
	.comm	_CB_GETCURSEL,4,2               ## @CB_GETCURSEL
	.comm	_CB_ERR,4,2                     ## @CB_ERR
	.comm	_CB_GETLBTEXTLEN,4,2            ## @CB_GETLBTEXTLEN
	.comm	_CB_GETLBTEXT,4,2               ## @CB_GETLBTEXT
	.comm	_NERR_Success,8,3               ## @NERR_Success
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Status: %lu  Index: %lu"

	.no_dead_strip	_SetUserProfileData
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SetUserProfileData
_SetUserProfileData:                    ; @SetUserProfileData
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x1
	mov	x22, x0
	str	xzr, [sp, #8]
	ldr	w1, [x1]
	add	x3, sp, #8
	mov	x0, #0
	mov	w2, #3
	bl	_NetUserGetInfo
Lloh0:
	adrp	x23, _IDC_USER_PROFILE_PATH@GOTPAGE
Lloh1:
	ldr	x23, [x23, _IDC_USER_PROFILE_PATH@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x22
	bl	_GetDlgItem
	bl	_GetWindowTextLength
	cbz	w0, LBB0_2
; %bb.1:
	mov	x19, x0
	bl	_GetProcessHeap
	add	w21, w19, #1
	lsl	w2, w21, #2
	mov	w1, #0
	bl	_HeapAlloc
	mov	x19, x0
	ldr	w1, [x23]
	mov	x0, x22
	mov	x2, x19
	mov	x3, x21
	bl	_GetDlgItemText
	ldr	x8, [sp, #8]
	str	x19, [x8, #24]
	b	LBB0_3
LBB0_2:
	mov	x19, #0
	ldr	x8, [sp, #8]
	str	xzr, [x8, #24]
LBB0_3:
Lloh2:
	adrp	x24, _IDC_USER_PROFILE_SCRIPT@GOTPAGE
Lloh3:
	ldr	x24, [x24, _IDC_USER_PROFILE_SCRIPT@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x22
	bl	_GetDlgItem
	bl	_GetWindowTextLength
	cbz	w0, LBB0_5
; %bb.4:
	mov	x21, x0
	bl	_GetProcessHeap
	add	w23, w21, #1
	lsl	w2, w23, #2
	mov	w1, #0
	bl	_HeapAlloc
	mov	x21, x0
	ldr	w1, [x24]
	mov	x0, x22
	mov	x2, x21
	mov	x3, x23
	bl	_GetDlgItemText
	ldr	x8, [sp, #8]
	str	x21, [x8, #16]
	b	LBB0_6
LBB0_5:
	mov	x21, #0
	ldr	x8, [sp, #8]
	str	xzr, [x8, #16]
LBB0_6:
Lloh4:
	adrp	x8, _IDC_USER_PROFILE_LOCAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IDC_USER_PROFILE_LOCAL@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_IsDlgButtonChecked
Lloh7:
	adrp	x8, _BST_CHECKED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BST_CHECKED@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.7:
Lloh10:
	adrp	x25, _IDC_USER_PROFILE_LOCAL_PATH@GOTPAGE
Lloh11:
	ldr	x25, [x25, _IDC_USER_PROFILE_LOCAL_PATH@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x22
	bl	_GetDlgItem
	bl	_GetWindowTextLength
	cbz	w0, LBB0_11
; %bb.8:
	mov	x23, x0
	bl	_GetProcessHeap
	add	w24, w23, #1
	lsl	w2, w24, #2
	mov	w1, #0
	bl	_HeapAlloc
	mov	x23, x0
	ldr	w1, [x25]
	mov	x0, x22
	mov	x2, x23
	mov	x3, x24
	bl	_GetDlgItemText
	mov	x24, #0
	ldr	x8, [sp, #8]
	str	x23, [x8, #8]
	b	LBB0_16
LBB0_9:
Lloh12:
	adrp	x25, _IDC_USER_PROFILE_REMOTE_PATH@GOTPAGE
Lloh13:
	ldr	x25, [x25, _IDC_USER_PROFILE_REMOTE_PATH@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x22
	bl	_GetDlgItem
	bl	_GetWindowTextLength
	cbz	w0, LBB0_12
; %bb.10:
	mov	x23, x0
	bl	_GetProcessHeap
	add	w24, w23, #1
	lsl	w2, w24, #2
	mov	w1, #0
	bl	_HeapAlloc
	mov	x23, x0
	ldr	w1, [x25]
	mov	x0, x22
	mov	x2, x23
	mov	x3, x24
	bl	_GetDlgItemText
	ldr	x8, [sp, #8]
	str	x23, [x8, #8]
	b	LBB0_13
LBB0_11:
	mov	x23, #0
	mov	x24, #0
	ldr	x8, [sp, #8]
	str	xzr, [x8, #8]
	b	LBB0_16
LBB0_12:
	mov	x23, #0
	ldr	x8, [sp, #8]
	str	xzr, [x8, #8]
LBB0_13:
Lloh14:
	adrp	x26, _IDC_USER_PROFILE_DRIVE@GOTPAGE
Lloh15:
	ldr	x26, [x26, _IDC_USER_PROFILE_DRIVE@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x22
	bl	_GetDlgItem
Lloh16:
	adrp	x8, _CB_GETCURSEL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CB_GETCURSEL@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	w2, #0
	mov	w3, #0
	bl	_SendMessage
Lloh19:
	adrp	x8, _CB_ERR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CB_ERR@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_15
; %bb.14:
	mov	x24, #0
	b	LBB0_16
LBB0_15:
	mov	x25, x0
	ldr	w1, [x26]
	mov	x0, x22
	bl	_GetDlgItem
Lloh22:
	adrp	x8, _CB_GETLBTEXTLEN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CB_GETLBTEXTLEN@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x2, x25
	mov	w3, #0
	bl	_SendMessage
	mov	x24, x0
	bl	_GetProcessHeap
	lsl	w8, w24, #2
	add	w2, w8, #4
	mov	w1, #0
	bl	_HeapAlloc
	mov	x24, x0
	ldr	w1, [x26]
	mov	x0, x22
	bl	_GetDlgItem
Lloh25:
	adrp	x8, _CB_GETLBTEXT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _CB_GETLBTEXT@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x2, x25
	mov	x3, x24
	bl	_SendMessage
	ldr	x8, [sp, #8]
	str	x24, [x8]
LBB0_16:
	ldr	w1, [x20]
	ldr	w3, [sp, #8]
	add	x4, sp, #4
	mov	x0, #0
	mov	w2, #3
	bl	_NetUserSetInfo
	mov	x20, x0
Lloh28:
	adrp	x22, _NERR_Success@GOTPAGE
Lloh29:
	ldr	x22, [x22, _NERR_Success@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_18
; %bb.17:
Lloh30:
	adrp	x0, l_.str@PAGE
Lloh31:
	add	x0, x0, l_.str@PAGEOFF
	bl	__T
	ldr	w2, [sp, #4]
	mov	x1, x20
	bl	_DebugPrintf
LBB0_18:
	cbz	x19, LBB0_20
; %bb.19:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x19
	bl	_HeapFree
LBB0_20:
	cbz	x21, LBB0_22
; %bb.21:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x21
	bl	_HeapFree
LBB0_22:
	cbz	x23, LBB0_24
; %bb.23:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x23
	bl	_HeapFree
LBB0_24:
	cbz	x24, LBB0_26
; %bb.25:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x24
	bl	_HeapFree
LBB0_26:
	ldr	x0, [sp, #8]
	bl	_NetApiBufferFree
	ldr	x8, [x22]
	cmp	x20, x8
	cset	w0, eq
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_IDC_USER_PROFILE_PATH,4,2      ; @IDC_USER_PROFILE_PATH
	.comm	_IDC_USER_PROFILE_SCRIPT,4,2    ; @IDC_USER_PROFILE_SCRIPT
	.comm	_IDC_USER_PROFILE_LOCAL,4,2     ; @IDC_USER_PROFILE_LOCAL
	.comm	_BST_CHECKED,8,3                ; @BST_CHECKED
	.comm	_IDC_USER_PROFILE_LOCAL_PATH,4,2 ; @IDC_USER_PROFILE_LOCAL_PATH
	.comm	_IDC_USER_PROFILE_REMOTE_PATH,4,2 ; @IDC_USER_PROFILE_REMOTE_PATH
	.comm	_IDC_USER_PROFILE_DRIVE,4,2     ; @IDC_USER_PROFILE_DRIVE
	.comm	_CB_GETCURSEL,4,2               ; @CB_GETCURSEL
	.comm	_CB_ERR,4,2                     ; @CB_ERR
	.comm	_CB_GETLBTEXTLEN,4,2            ; @CB_GETLBTEXTLEN
	.comm	_CB_GETLBTEXT,4,2               ; @CB_GETLBTEXT
	.comm	_NERR_Success,8,3               ; @NERR_Success
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Status: %lu  Index: %lu"

	.no_dead_strip	_SetUserProfileData
.subsections_via_symbols
