	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UpdateKeySettingsListView
_UpdateKeySettingsListView:             ## @UpdateKeySettingsListView
	.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, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_STR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movl	%r14d, %edi
	callq	_ListView_DeleteAllItems
	leaq	-72(%rbp), %r15
	movq	%r15, %rdi
	movl	$24, %esi
	callq	_ZeroMemory
	movq	_hApplet@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_IDS_SWITCH_BET_INLANG@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%rbx, %rdi
	callq	_ARRAYSIZE
	movl	%r12d, %edi
	movl	%r13d, %esi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_LoadStringW
	movq	_LVIF_TEXT@GOTPCREL(%rip), %rax
	movq	_LVIF_PARAM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_LVIF_STATE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -72(%rbp)
	movq	%rbx, -56(%rbp)
	movq	$0, -64(%rbp)
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	_ListView_InsertItem
	movl	%eax, %r15d
	movq	__KeySettings@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpl	$2, %ecx
	jne	LBB0_1
## %bb.2:
	movq	_IDS_CTRL_SHIFT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_IDS_NONE@GOTPCREL(%rip), %rax
LBB0_3:
	movq	_hApplet@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r12d
	cmpl	$1, %ecx
	jne	LBB0_5
## %bb.4:
	movq	_IDS_LEFT_ALT_SHIFT@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %r13d
	movq	%rbx, %rdi
	callq	_ARRAYSIZE
	movl	%r12d, %edi
	movl	%r13d, %esi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_LoadStringW
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	$1, %edx
	movq	%rbx, %rcx
	callq	_ListView_SetItemText
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_STR_LEN,4,2                ## @MAX_STR_LEN
	.comm	_hApplet,4,2                    ## @hApplet
	.comm	_IDS_SWITCH_BET_INLANG,4,2      ## @IDS_SWITCH_BET_INLANG
	.comm	_LVIF_TEXT,4,2                  ## @LVIF_TEXT
	.comm	_LVIF_PARAM,4,2                 ## @LVIF_PARAM
	.comm	_LVIF_STATE,4,2                 ## @LVIF_STATE
	.comm	__KeySettings,4,2               ## @_KeySettings
	.comm	_IDS_LEFT_ALT_SHIFT,4,2         ## @IDS_LEFT_ALT_SHIFT
	.comm	_IDS_CTRL_SHIFT,4,2             ## @IDS_CTRL_SHIFT
	.comm	_IDS_NONE,4,2                   ## @IDS_NONE
	.no_dead_strip	_UpdateKeySettingsListView
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UpdateKeySettingsListView
_UpdateKeySettingsListView:             ; @UpdateKeySettingsListView
	.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, #32
	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, #-56]
Lloh3:
	adrp	x8, _MAX_STR_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_STR_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	bl	_ListView_DeleteAllItems
	sub	x0, x29, #80
	mov	w1, #24
	bl	_ZeroMemory
Lloh8:
	adrp	x23, _hApplet@GOTPAGE
Lloh9:
	ldr	x23, [x23, _hApplet@GOTPAGEOFF]
	ldr	w21, [x23]
Lloh10:
	adrp	x8, _IDS_SWITCH_BET_INLANG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IDS_SWITCH_BET_INLANG@GOTPAGEOFF]
Lloh12:
	ldr	w22, [x8]
	mov	x0, x20
	bl	_ARRAYSIZE
	mov	x3, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	bl	_LoadStringW
Lloh13:
	adrp	x8, _LVIF_TEXT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LVIF_TEXT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _LVIF_PARAM@GOTPAGE
Lloh17:
	ldr	x9, [x9, _LVIF_PARAM@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
Lloh19:
	adrp	x10, _LVIF_STATE@GOTPAGE
Lloh20:
	ldr	x10, [x10, _LVIF_STATE@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh21:
	ldr	w9, [x10]
	orr	w8, w8, w9
	stur	w8, [x29, #-80]
	stp	xzr, x20, [x29, #-72]
	sub	x1, x29, #80
	mov	x0, x19
	bl	_ListView_InsertItem
	mov	x21, x0
Lloh22:
	adrp	x8, __KeySettings@GOTPAGE
Lloh23:
	ldr	x8, [x8, __KeySettings@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _IDS_LEFT_ALT_SHIFT@GOTPAGE
Lloh26:
	ldr	x9, [x9, _IDS_LEFT_ALT_SHIFT@GOTPAGEOFF]
Lloh27:
	adrp	x10, _IDS_CTRL_SHIFT@GOTPAGE
Lloh28:
	ldr	x10, [x10, _IDS_CTRL_SHIFT@GOTPAGEOFF]
Lloh29:
	adrp	x11, _IDS_NONE@GOTPAGE
Lloh30:
	ldr	x11, [x11, _IDS_NONE@GOTPAGEOFF]
	ldr	w22, [x23]
	cmp	w8, #2
	csel	x10, x10, x11, eq
	cmp	w8, #1
	csel	x8, x9, x10, eq
	ldr	w23, [x8]
	mov	x0, x20
	bl	_ARRAYSIZE
	mov	x3, x0
	mov	x0, x22
	mov	x1, x23
	mov	x2, x20
	bl	_LoadStringW
	mov	x0, x19
	mov	x1, x21
	mov	w2, #1
	mov	x3, x20
	bl	_ListView_SetItemText
	ldur	x8, [x29, #-56]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	sub	sp, x29, #48
	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_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_STR_LEN,4,2                ; @MAX_STR_LEN
	.comm	_hApplet,4,2                    ; @hApplet
	.comm	_IDS_SWITCH_BET_INLANG,4,2      ; @IDS_SWITCH_BET_INLANG
	.comm	_LVIF_TEXT,4,2                  ; @LVIF_TEXT
	.comm	_LVIF_PARAM,4,2                 ; @LVIF_PARAM
	.comm	_LVIF_STATE,4,2                 ; @LVIF_STATE
	.comm	__KeySettings,4,2               ; @_KeySettings
	.comm	_IDS_LEFT_ALT_SHIFT,4,2         ; @IDS_LEFT_ALT_SHIFT
	.comm	_IDS_CTRL_SHIFT,4,2             ; @IDS_CTRL_SHIFT
	.comm	_IDS_NONE,4,2                   ; @IDS_NONE
	.no_dead_strip	_UpdateKeySettingsListView
.subsections_via_symbols
