	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitControl                    ## -- Begin function InitControl
	.p2align	4, 0x90
_InitControl:                           ## @InitControl
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, %r14
	movq	%rcx, %rbx
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movl	%esi, -68(%rbp)                 ## 4-byte Spill
	movl	%edi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_KEY_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	shlq	$3, %r13
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r8
	movq	%r13, -88(%rbp)
	movq	$0, -80(%rbp)
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	-80(%rbp), %rcx
	leaq	-88(%rbp), %r9
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	xorl	%edx, %edx
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_RegQueryValueExW
	testq	%r12, %r12
	je	LBB0_9
## %bb.1:
	addq	$8, %rbx
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	addq	$16, %rbx
	cmpq	%r13, %r12
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_CB_ADDSTRING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %r8d
	movl	%r15d, %edi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_SendDlgItemMessageW
	cmpq	$0, -88(%rbp)
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rax
	movq	_REG_DWORD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	cmpq	-8(%rbx), %rcx
	je	LBB0_7
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_REG_SZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_wcscmp
	testl	%eax, %eax
	jne	LBB0_8
	jmp	LBB0_7
LBB0_9:
	movq	_CB_SETCURSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	movq	%r14, %rsi
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	xorl	%r8d, %r8d
	callq	_SendDlgItemMessageW
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_KEY_LENGTH,4,2             ## @MAX_KEY_LENGTH
	.comm	_CB_ADDSTRING,4,2               ## @CB_ADDSTRING
	.comm	_REG_DWORD,8,3                  ## @REG_DWORD
	.comm	_REG_SZ,8,3                     ## @REG_SZ
	.comm	_CB_SETCURSEL,4,2               ## @CB_SETCURSEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitControl                    ; -- Begin function InitControl
	.p2align	2
_InitControl:                           ; @InitControl
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x21, x5
	mov	x19, x4
	mov	x24, x3
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAX_KEY_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_KEY_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x10, x10, #0xffffffff0
	sub	x22, x9, x10
	mov	sp, x22
	stp	xzr, x8, [x29, #-104]
	sub	x3, x29, #104
	sub	x5, x29, #96
	mov	x0, x1
	mov	x1, x2
	mov	x2, #0
	mov	x4, x22
	bl	_RegQueryValueExW
	mov	x23, #0
	cbz	x21, LBB0_9
; %bb.1:
	mov	x25, #0
	add	x24, x24, #8
Lloh8:
	adrp	x26, _CB_ADDSTRING@GOTPAGE
Lloh9:
	ldr	x26, [x26, _CB_ADDSTRING@GOTPAGEOFF]
Lloh10:
	adrp	x27, _REG_DWORD@GOTPAGE
Lloh11:
	ldr	x27, [x27, _REG_DWORD@GOTPAGEOFF]
Lloh12:
	adrp	x28, _REG_SZ@GOTPAGE
Lloh13:
	ldr	x28, [x28, _REG_SZ@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x25
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	add	x24, x24, #16
	cmp	x21, x25
	b.eq	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x26]
	ldr	w4, [x24]
	mov	x0, x20
	mov	x1, x19
	mov	x3, #0
	bl	_SendDlgItemMessageW
	ldur	x8, [x29, #-96]
	cbz	x8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	x8, [x29, #-104]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x22]
	ldur	x10, [x24, #-8]
	cmp	x9, x10
	b.eq	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x28]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x24]
	mov	x0, x22
	bl	_wcscmp
	cbnz	w0, LBB0_3
	b	LBB0_2
LBB0_9:
Lloh14:
	adrp	x8, _CB_SETCURSEL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CB_SETCURSEL@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	x3, x23
	mov	w4, #0
	bl	_SendDlgItemMessageW
	ldur	x8, [x29, #-88]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_KEY_LENGTH,4,2             ; @MAX_KEY_LENGTH
	.comm	_CB_ADDSTRING,4,2               ; @CB_ADDSTRING
	.comm	_REG_DWORD,8,3                  ; @REG_DWORD
	.comm	_REG_SZ,8,3                     ; @REG_SZ
	.comm	_CB_SETCURSEL,4,2               ; @CB_SETCURSEL
.subsections_via_symbols
