	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function OnInitSettingsPage
_OnInitSettingsPage:                    ## @OnInitSettingsPage
	.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	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	callq	_LayoutList_Create
	xorl	%eax, %eax
	callq	_LocaleList_Create
	xorl	%eax, %eax
	callq	_InputList_Create
	movq	_IDC_KEYLAYOUT_LIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_GetDlgItem
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r15
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	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
	movq	_LVS_EX_FULLROWSELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ListView_SetExtendedListViewStyle
	leaq	-80(%rbp), %rdi
	movl	$32, %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, -80(%rbp)
	movq	_hApplet@GOTPCREL(%rip), %r14
	movl	(%r14), %r13d
	movq	_IDS_LANGUAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%rbx, %rdi
	callq	_ARRAYSIZE
	movl	%r13d, %edi
	movl	%r12d, %esi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_LoadStringW
	movq	_LVCFMT_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movabsq	$751619276800, %rax             ## imm = 0xAF00000000
	movq	%rax, -76(%rbp)
	movq	%rbx, -64(%rbp)
	movq	%r15, %rdi
	xorl	%esi, %esi
	leaq	-80(%rbp), %rdx
	callq	_ListView_InsertColumn
	movl	(%r14), %r12d
	movq	_IDS_LAYOUT@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	_LVCFMT_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movabsq	$665719930881, %rax             ## imm = 0x9B00000001
	movq	%rax, -76(%rbp)
	movq	%rbx, -64(%rbp)
	movq	%r15, %rdi
	movl	$1, %esi
	leaq	-80(%rbp), %rdx
	callq	_ListView_InsertColumn
	movq	_SM_CXSMICON@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetSystemMetrics
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax), %ebx
	movq	_SM_CYSMICON@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetSystemMetrics
	movq	_ILC_COLOR8@GOTPCREL(%rip), %rcx
	movq	_ILC_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_ImageList_Create
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_LVSIL_SMALL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_ListView_SetImageList
	movq	%rax, %rdi
	callq	_ImageList_Destroy
LBB0_3:
	movq	%r15, %rdi
	callq	_UpdateInputListView
	movq	-88(%rbp), %rsp                 ## 8-byte Reload
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
LBB0_4:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_SetControlsState
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IDC_KEYLAYOUT_LIST,4,2         ## @IDC_KEYLAYOUT_LIST
	.comm	_MAX_STR_LEN,4,2                ## @MAX_STR_LEN
	.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	_hApplet,4,2                    ## @hApplet
	.comm	_IDS_LANGUAGE,4,2               ## @IDS_LANGUAGE
	.comm	_LVCFMT_LEFT,4,2                ## @LVCFMT_LEFT
	.comm	_IDS_LAYOUT,4,2                 ## @IDS_LAYOUT
	.comm	_LVCFMT_RIGHT,4,2               ## @LVCFMT_RIGHT
	.comm	_SM_CXSMICON,4,2                ## @SM_CXSMICON
	.comm	_SM_CYSMICON,4,2                ## @SM_CYSMICON
	.comm	_ILC_COLOR8,4,2                 ## @ILC_COLOR8
	.comm	_ILC_MASK,4,2                   ## @ILC_MASK
	.comm	_LVSIL_SMALL,4,2                ## @LVSIL_SMALL
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_OnInitSettingsPage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function OnInitSettingsPage
lCPI0_0:
	.long	0                               ; 0x0
	.long	175                             ; 0xaf
lCPI0_1:
	.long	1                               ; 0x1
	.long	155                             ; 0x9b
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_OnInitSettingsPage:                    ; @OnInitSettingsPage
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #48
	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, #-72]
	bl	_LayoutList_Create
	bl	_LocaleList_Create
	bl	_InputList_Create
Lloh3:
	adrp	x8, _IDC_KEYLAYOUT_LIST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IDC_KEYLAYOUT_LIST@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_GetDlgItem
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	mov	x24, sp
Lloh6:
	adrp	x8, _MAX_STR_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX_STR_LEN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh11:
	adrp	x8, _LVS_EX_FULLROWSELECT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LVS_EX_FULLROWSELECT@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_ListView_SetExtendedListViewStyle
	sub	x0, x29, #104
	mov	w1, #32
	bl	_ZeroMemory
Lloh14:
	adrp	x8, _LVCF_FMT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LVCF_FMT@GOTPAGEOFF]
Lloh16:
	adrp	x9, _LVCF_TEXT@GOTPAGE
Lloh17:
	ldr	x9, [x9, _LVCF_TEXT@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh20:
	adrp	x9, _LVCF_WIDTH@GOTPAGE
Lloh21:
	ldr	x9, [x9, _LVCF_WIDTH@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh23:
	adrp	x9, _LVCF_SUBITEM@GOTPAGE
Lloh24:
	ldr	x9, [x9, _LVCF_SUBITEM@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w8, w9
	stur	w8, [x29, #-104]
Lloh26:
	adrp	x25, _hApplet@GOTPAGE
Lloh27:
	ldr	x25, [x25, _hApplet@GOTPAGEOFF]
	ldr	w22, [x25]
Lloh28:
	adrp	x8, _IDS_LANGUAGE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _IDS_LANGUAGE@GOTPAGEOFF]
Lloh30:
	ldr	w23, [x8]
	mov	x0, x21
	bl	_ARRAYSIZE
	mov	x3, x0
	mov	x0, x22
	mov	x1, x23
	mov	x2, x21
	bl	_LoadStringW
Lloh31:
	adrp	x8, _LVCFMT_LEFT@GOTPAGE
Lloh32:
	ldr	x8, [x8, _LVCFMT_LEFT@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	stur	w8, [x29, #-80]
	stur	x21, [x29, #-88]
Lloh34:
	adrp	x8, lCPI0_0@PAGE
Lloh35:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x29, #-100]
	sub	x2, x29, #104
	mov	x0, x20
	mov	w1, #0
	bl	_ListView_InsertColumn
	ldr	w22, [x25]
Lloh36:
	adrp	x8, _IDS_LAYOUT@GOTPAGE
Lloh37:
	ldr	x8, [x8, _IDS_LAYOUT@GOTPAGEOFF]
Lloh38:
	ldr	w23, [x8]
	mov	x0, x21
	bl	_ARRAYSIZE
	mov	x3, x0
	mov	x0, x22
	mov	x1, x23
	mov	x2, x21
	bl	_LoadStringW
Lloh39:
	adrp	x8, _LVCFMT_RIGHT@GOTPAGE
Lloh40:
	ldr	x8, [x8, _LVCFMT_RIGHT@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	stur	w8, [x29, #-80]
Lloh42:
	adrp	x8, lCPI0_1@PAGE
Lloh43:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	stur	d0, [x29, #-100]
	stur	x21, [x29, #-88]
	sub	x2, x29, #104
	mov	x0, x20
	mov	w1, #1
	bl	_ListView_InsertColumn
Lloh44:
	adrp	x8, _SM_CXSMICON@GOTPAGE
Lloh45:
	ldr	x8, [x8, _SM_CXSMICON@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	bl	_GetSystemMetrics
	lsl	w21, w0, #1
Lloh47:
	adrp	x8, _SM_CYSMICON@GOTPAGE
Lloh48:
	ldr	x8, [x8, _SM_CYSMICON@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
	bl	_GetSystemMetrics
	mov	x1, x0
Lloh50:
	adrp	x8, _ILC_COLOR8@GOTPAGE
Lloh51:
	ldr	x8, [x8, _ILC_COLOR8@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
Lloh53:
	adrp	x9, _ILC_MASK@GOTPAGE
Lloh54:
	ldr	x9, [x9, _ILC_MASK@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x21
	mov	w3, #0
	mov	w4, #0
	bl	_ImageList_Create
	cbz	x0, LBB0_3
; %bb.2:
	mov	x1, x0
Lloh56:
	adrp	x8, _LVSIL_SMALL@GOTPAGE
Lloh57:
	ldr	x8, [x8, _LVSIL_SMALL@GOTPAGEOFF]
Lloh58:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_ListView_SetImageList
	bl	_ImageList_Destroy
LBB0_3:
	mov	x0, x20
	bl	_UpdateInputListView
	mov	sp, x24
LBB0_4:
Lloh59:
	adrp	x8, _FALSE@GOTPAGE
Lloh60:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_SetControlsState
	ldur	x8, [x29, #-72]
Lloh62:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh63:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh64:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdr	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdr	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh18
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.cfi_endproc
                                        ; -- End function
	.comm	_IDC_KEYLAYOUT_LIST,4,2         ; @IDC_KEYLAYOUT_LIST
	.comm	_MAX_STR_LEN,4,2                ; @MAX_STR_LEN
	.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	_hApplet,4,2                    ; @hApplet
	.comm	_IDS_LANGUAGE,4,2               ; @IDS_LANGUAGE
	.comm	_LVCFMT_LEFT,4,2                ; @LVCFMT_LEFT
	.comm	_IDS_LAYOUT,4,2                 ; @IDS_LAYOUT
	.comm	_LVCFMT_RIGHT,4,2               ; @LVCFMT_RIGHT
	.comm	_SM_CXSMICON,4,2                ; @SM_CXSMICON
	.comm	_SM_CYSMICON,4,2                ; @SM_CYSMICON
	.comm	_ILC_COLOR8,4,2                 ; @ILC_COLOR8
	.comm	_ILC_MASK,4,2                   ; @ILC_MASK
	.comm	_LVSIL_SMALL,4,2                ; @LVSIL_SMALL
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_OnInitSettingsPage
.subsections_via_symbols
