	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function OnInitKeySettingsDialog
_OnInitKeySettingsDialog:               ## @OnInitKeySettingsDialog
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	xorl	%eax, %eax
	callq	_ReadKeysSettings
	movq	__KeySettings@GOTPCREL(%rip), %rax
	movq	_KLF_SHIFTLOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rax), %ecx
	movq	_IDC_PRESS_SHIFT_KEY_RB@GOTPCREL(%rip), %rax
	movq	_BST_UNCHECKED@GOTPCREL(%rip), %rbx
	movq	_BST_CHECKED@GOTPCREL(%rip), %rcx
	movq	%rcx, %rdx
	cmoveq	%rbx, %rdx
	movl	(%rax), %esi
	movl	(%rdx), %edx
	cmoveq	%rcx, %rbx
	movl	%r14d, %edi
	callq	_CheckDlgButton
	movq	_IDC_PRESS_CL_KEY_RB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movl	%r14d, %edi
	callq	_CheckDlgButton
	movq	_IDC_KEY_LISTVIEW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_GetDlgItem
	movl	%eax, %ebx
	movq	_LVS_EX_FULLROWSELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_ListView_SetExtendedListViewStyle
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	movl	$24, %esi
	callq	_ZeroMemory
	movq	_LVCF_FMT@GOTPCREL(%rip), %rax
	movq	_LVCF_TEXT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_LVCF_WIDTH@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_LVCF_SUBITEM@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -48(%rbp)
	movq	_LVCFMT_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movl	$0, -44(%rbp)
	leaq	l_.str(%rip), %r15
	movq	%r15, -40(%rbp)
	movl	$210, -32(%rbp)
	movl	%ebx, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_ListView_InsertColumn
	movq	_LVCFMT_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movl	$145, -32(%rbp)
	movl	$1, -44(%rbp)
	movq	%r15, -40(%rbp)
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%r14, %rdx
	callq	_ListView_InsertColumn
	movl	%ebx, %edi
	callq	_UpdateKeySettingsListView
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__KeySettings,4,2               ## @_KeySettings
	.comm	_KLF_SHIFTLOCK,4,2              ## @KLF_SHIFTLOCK
	.comm	_IDC_PRESS_SHIFT_KEY_RB,4,2     ## @IDC_PRESS_SHIFT_KEY_RB
	.comm	_BST_CHECKED,4,2                ## @BST_CHECKED
	.comm	_IDC_PRESS_CL_KEY_RB,4,2        ## @IDC_PRESS_CL_KEY_RB
	.comm	_BST_UNCHECKED,4,2              ## @BST_UNCHECKED
	.comm	_IDC_KEY_LISTVIEW,4,2           ## @IDC_KEY_LISTVIEW
	.comm	_LVS_EX_FULLROWSELECT,4,2       ## @LVS_EX_FULLROWSELECT
	.comm	_LVCF_FMT,4,2                   ## @LVCF_FMT
	.comm	_LVCF_TEXT,4,2                  ## @LVCF_TEXT
	.comm	_LVCF_WIDTH,4,2                 ## @LVCF_WIDTH
	.comm	_LVCF_SUBITEM,4,2               ## @LVCF_SUBITEM
	.comm	_LVCFMT_LEFT,4,2                ## @LVCFMT_LEFT
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.space	4

	.comm	_LVCFMT_RIGHT,4,2               ## @LVCFMT_RIGHT
	.no_dead_strip	_OnInitKeySettingsDialog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function OnInitKeySettingsDialog
_OnInitKeySettingsDialog:               ; @OnInitKeySettingsDialog
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	bl	_ReadKeysSettings
Lloh0:
	adrp	x8, __KeySettings@GOTPAGE
Lloh1:
	ldr	x8, [x8, __KeySettings@GOTPAGEOFF]
Lloh2:
	adrp	x9, _KLF_SHIFTLOCK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _KLF_SHIFTLOCK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _IDC_PRESS_SHIFT_KEY_RB@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IDC_PRESS_SHIFT_KEY_RB@GOTPAGEOFF]
Lloh8:
	adrp	x11, _BST_UNCHECKED@GOTPAGE
Lloh9:
	ldr	x11, [x11, _BST_UNCHECKED@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x10]
Lloh11:
	adrp	x10, _BST_CHECKED@GOTPAGE
Lloh12:
	ldr	x10, [x10, _BST_CHECKED@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x11, x10, eq
	ldr	w2, [x8]
	csel	x20, x10, x11, eq
	mov	x0, x19
	bl	_CheckDlgButton
Lloh13:
	adrp	x8, _IDC_PRESS_CL_KEY_RB@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IDC_PRESS_CL_KEY_RB@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_CheckDlgButton
Lloh16:
	adrp	x8, _IDC_KEY_LISTVIEW@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IDC_KEY_LISTVIEW@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_GetDlgItem
	mov	x19, x0
Lloh19:
	adrp	x8, _LVS_EX_FULLROWSELECT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _LVS_EX_FULLROWSELECT@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_ListView_SetExtendedListViewStyle
	add	x0, sp, #8
	mov	w1, #24
	bl	_ZeroMemory
Lloh22:
	adrp	x8, _LVCF_FMT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _LVCF_FMT@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _LVCF_TEXT@GOTPAGE
Lloh26:
	ldr	x9, [x9, _LVCF_TEXT@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
Lloh28:
	adrp	x10, _LVCF_WIDTH@GOTPAGE
Lloh29:
	ldr	x10, [x10, _LVCF_WIDTH@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh30:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh31:
	adrp	x9, _LVCF_SUBITEM@GOTPAGE
Lloh32:
	ldr	x9, [x9, _LVCF_SUBITEM@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh34:
	adrp	x9, _LVCFMT_LEFT@GOTPAGE
Lloh35:
	ldr	x9, [x9, _LVCFMT_LEFT@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	stp	w8, wzr, [sp, #8]
Lloh37:
	adrp	x20, l_.str@PAGE
Lloh38:
	add	x20, x20, l_.str@PAGEOFF
	str	x20, [sp, #16]
	mov	w8, #210
	stp	w8, w9, [sp, #24]
	add	x2, sp, #8
	mov	x0, x19
	mov	w1, #0
	bl	_ListView_InsertColumn
Lloh39:
	adrp	x8, _LVCFMT_RIGHT@GOTPAGE
Lloh40:
	ldr	x8, [x8, _LVCFMT_RIGHT@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	mov	w9, #145
	stp	w9, w8, [sp, #24]
	mov	w8, #1
	str	w8, [sp, #12]
	str	x20, [sp, #16]
	add	x2, sp, #8
	mov	x0, x19
	mov	w1, #1
	bl	_ListView_InsertColumn
	mov	x0, x19
	bl	_UpdateKeySettingsListView
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	__KeySettings,4,2               ; @_KeySettings
	.comm	_KLF_SHIFTLOCK,4,2              ; @KLF_SHIFTLOCK
	.comm	_IDC_PRESS_SHIFT_KEY_RB,4,2     ; @IDC_PRESS_SHIFT_KEY_RB
	.comm	_BST_CHECKED,4,2                ; @BST_CHECKED
	.comm	_IDC_PRESS_CL_KEY_RB,4,2        ; @IDC_PRESS_CL_KEY_RB
	.comm	_BST_UNCHECKED,4,2              ; @BST_UNCHECKED
	.comm	_IDC_KEY_LISTVIEW,4,2           ; @IDC_KEY_LISTVIEW
	.comm	_LVS_EX_FULLROWSELECT,4,2       ; @LVS_EX_FULLROWSELECT
	.comm	_LVCF_FMT,4,2                   ; @LVCF_FMT
	.comm	_LVCF_TEXT,4,2                  ; @LVCF_TEXT
	.comm	_LVCF_WIDTH,4,2                 ; @LVCF_WIDTH
	.comm	_LVCF_SUBITEM,4,2               ; @LVCF_SUBITEM
	.comm	_LVCFMT_LEFT,4,2                ; @LVCFMT_LEFT
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.space	4

	.comm	_LVCFMT_RIGHT,4,2               ; @LVCFMT_RIGHT
	.no_dead_strip	_OnInitKeySettingsDialog
.subsections_via_symbols
