	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CheckAccountName               ## -- Begin function CheckAccountName
	.p2align	4, 0x90
_CheckAccountName:                      ## @CheckAccountName
	.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	%r12
	pushq	%rbx
	subq	$1040, %rsp                     ## imm = 0x410
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	__tcslen
	jmp	LBB0_3
LBB0_2:
	leaq	-1072(%rbp), %rdx
	movl	%r14d, %edi
	movl	$256, %ecx                      ## imm = 0x100
	callq	_GetDlgItemText
LBB0_3:
	movq	_TRUE@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	jle	LBB0_6
## %bb.4:
	testq	%r15, %r15
	leaq	-1072(%rbp), %rbx
	cmovneq	%r15, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_TEXT
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	__tcspbrk
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	callq	_TEXT
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	_TEXT
	movq	_MB_OK@GOTPCREL(%rip), %rdx
	movq	_MB_ICONERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_MessageBox
	movq	_FALSE@GOTPCREL(%rip), %r12
LBB0_6:
	movl	(%r12), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	addq	$1040, %rsp                     ## imm = 0x410
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\"*+,/\\:;<=>?[]|"

L_.str.1:                               ## @.str.1
	.asciz	"The account name you entered is invalid! An account name must not contain the following characters: *+,/:;<=>?[\\]|"

L_.str.2:                               ## @.str.2
	.asciz	"ERROR"

	.comm	_MB_OK,4,2                      ## @MB_OK
	.comm	_MB_ICONERROR,4,2               ## @MB_ICONERROR
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CheckAccountName               ; -- Begin function CheckAccountName
	.p2align	2
_CheckAccountName:                      ; @CheckAccountName
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w27, -40
	.cfi_offset w28, -48
	sub	sp, sp, #1040
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	cbz	x2, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	__tcslen
	cmp	x0, #1
	b.ge	LBB0_3
	b	LBB0_5
LBB0_2:
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #256
	bl	_GetDlgItemText
	cmp	x0, #1
	b.lt	LBB0_5
LBB0_3:
	add	x8, sp, #8
	cmp	x20, #0
	csel	x20, x8, x20, eq
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TEXT
	mov	x1, x0
	mov	x0, x20
	bl	__tcspbrk
	cbz	x0, LBB0_5
; %bb.4:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TEXT
	mov	x20, x0
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_TEXT
	mov	x2, x0
Lloh9:
	adrp	x8, _MB_OK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MB_OK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _MB_ICONERROR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MB_ICONERROR@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w3, w9, w8
	mov	x0, x19
	mov	x1, x20
	bl	_MessageBox
Lloh15:
	adrp	x8, _FALSE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh17:
	adrp	x8, _TRUE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldur	x8, [x29, #-40]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	add	sp, sp, #1040
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\"*+,/\\:;<=>?[]|"

l_.str.1:                               ; @.str.1
	.asciz	"The account name you entered is invalid! An account name must not contain the following characters: *+,/:;<=>?[\\]|"

l_.str.2:                               ; @.str.2
	.asciz	"ERROR"

	.comm	_MB_OK,4,2                      ; @MB_OK
	.comm	_MB_ICONERROR,4,2               ; @MB_ICONERROR
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
