	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function OnInitPopupMenu
_OnInitPopupMenu:                       ## @OnInitPopupMenu
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movl	%edi, %ebx
	movq	_IDC_EDITOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetDlgItem
	movl	%eax, %r13d
	movq	_IDC_STATUSBAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_GetDlgItem
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	_hEditorWnd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EM_GETSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	leaq	-44(%rbp), %rcx
                                        ## kill: def $edx killed $edx killed $rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_SendMessageW
	movq	_ID_EDIT_COPY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-48(%rbp), %eax
	cmpl	-44(%rbp), %eax
	movq	_MF_GRAYED@GOTPCREL(%rip), %rcx
	movq	_MF_ENABLED@GOTPCREL(%rip), %rdx
	movq	%rdx, %rax
	movq	%rdx, %r14
	cmoveq	%rcx, %rax
	movq	%rcx, %rbx
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_EnableMenuItem
	movq	_ID_EDIT_CUT@GOTPCREL(%rip), %rax
	movl	-48(%rbp), %ecx
	cmpl	-44(%rbp), %ecx
	movl	(%rax), %esi
	movq	%r14, %rax
	cmoveq	%rbx, %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	movl	%r15d, %ebx
	callq	_EnableMenuItem
	movl	$24, -88(%rbp)
	movq	_EM_GETPARAFORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-88(%rbp), %rcx
	xorl	%r15d, %r15d
	movl	%r13d, %edi
	xorl	%edx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_SendMessageW
	movq	_ID_EDIT_READONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_GWL_STYLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	callq	_GetWindowLongW
	movq	_ES_READONLY@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_MF_CHECKED@GOTPCREL(%rip), %r12
	movq	%r12, %rax
	cmoveq	_MF_UNCHECKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_CheckMenuItem
	movq	_ID_EDIT_MODIFIED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_EM_GETMODIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_SendMessageW
	testq	%rax, %rax
	movq	%r12, %rax
	movq	_MF_UNCHECKED@GOTPCREL(%rip), %r13
	cmoveq	%r13, %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_CheckMenuItem
	movq	_PFM_ALIGNMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-84(%rbp), %eax
	cmpl	$1, %eax
	sbbl	%r15d, %r15d
	orl	-80(%rbp), %r15d
	movq	_ID_ALIGN_LEFT@GOTPCREL(%rip), %rax
	movq	_PFA_LEFT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r15d
	movl	(%rax), %esi
	movq	%r13, %rax
	cmoveq	%r12, %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_CheckMenuItem
	movq	_ID_ALIGN_CENTER@GOTPCREL(%rip), %rax
	movq	_PFA_CENTER@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r15d
	movl	(%rax), %esi
	movq	%r13, %rax
	cmoveq	%r12, %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_CheckMenuItem
	movq	_ID_ALIGN_RIGHT@GOTPCREL(%rip), %rax
	movq	_PFA_RIGHT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r15d
	movl	(%rax), %esi
	movq	%r13, %rax
	cmoveq	%r12, %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_CheckMenuItem
	movq	_ID_BULLET@GOTPCREL(%rip), %rax
	movq	-72(%rbp), %rcx
	movq	_PFN_BULLET@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	movl	(%rax), %esi
	movq	%r13, %rax
	cmoveq	%r12, %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_CheckMenuItem
	movq	_ID_EDIT_UNDO@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_EM_CANUNDO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_SendMessageW
	testq	%rax, %rax
	movq	_MF_ENABLED@GOTPCREL(%rip), %rax
	movq	_MF_GRAYED@GOTPCREL(%rip), %r15
	cmoveq	%r15, %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movl	%r13d, %esi
	callq	_EnableMenuItem
	movq	_ID_EDIT_REDO@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_EM_CANREDO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_SendMessageW
	testq	%rax, %rax
	movq	_MF_ENABLED@GOTPCREL(%rip), %r14
	movq	%r14, %rax
	cmoveq	%r15, %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movl	%r13d, %esi
	callq	_EnableMenuItem
	movq	_ID_TOGGLE_TOOLBAR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_BANDID_TOOLBAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_is_bar_visible
	testq	%rax, %rax
	movq	%r12, %rax
	movq	_MF_UNCHECKED@GOTPCREL(%rip), %r15
	cmoveq	%r15, %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movl	%r13d, %esi
	callq	_CheckMenuItem
	movq	_ID_TOGGLE_FORMATBAR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_BANDID_FORMATBAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_is_bar_visible
	testq	%rax, %rax
	movq	%r12, %rax
	cmoveq	%r15, %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movl	%r13d, %esi
	callq	_CheckMenuItem
	movq	_ID_TOGGLE_STATUSBAR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	callq	_IsWindowVisible
	testq	%rax, %rax
	movq	%r12, %rax
	cmoveq	%r15, %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movl	%r13d, %esi
	callq	_CheckMenuItem
	movq	_ID_TOGGLE_RULER@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_BANDID_RULER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_is_bar_visible
	testq	%rax, %rax
	cmoveq	%r15, %r12
	movl	(%r12), %edx
	movl	%ebx, %edi
	movl	%ebx, %r12d
	movl	%r13d, %esi
	callq	_CheckMenuItem
	movq	_GTL_NUMCHARS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movl	$1200, -64(%rbp)                ## imm = 0x4B0
	movq	_hEditorWnd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EM_GETTEXTLENGTHEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdx
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%ecx, %ecx
	callq	_SendMessageW
	movq	%rax, %r15
	movq	_ID_FIND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testq	%r15, %r15
	movq	%r14, %rbx
	movq	_MF_GRAYED@GOTPCREL(%rip), %r14
	cmoveq	%r14, %rbx
	movl	(%rbx), %edx
	movl	%r12d, %edi
	callq	_EnableMenuItem
	movl	$24, -112(%rbp)
	movq	_MIIM_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)
	movq	_ID_FIND_NEXT@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-112(%rbp), %rcx
	movl	%r12d, %edi
	callq	_GetMenuItemInfoW
	cmpq	$0, -104(%rbp)
	movq	_MF_ENABLED@GOTPCREL(%rip), %rcx
	cmoveq	%r14, %rcx
	testq	%r15, %r15
	movl	(%r13), %esi
	cmoveq	%r14, %rcx
	movl	(%rcx), %edx
	movl	%r12d, %edi
	callq	_EnableMenuItem
	movq	_ID_REPLACE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movl	%r12d, %edi
	callq	_EnableMenuItem
	xorl	%eax, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDC_EDITOR,4,2                 ## @IDC_EDITOR
	.comm	_IDC_STATUSBAR,4,2              ## @IDC_STATUSBAR
	.comm	_hEditorWnd,4,2                 ## @hEditorWnd
	.comm	_EM_GETSEL,4,2                  ## @EM_GETSEL
	.comm	_ID_EDIT_COPY,4,2               ## @ID_EDIT_COPY
	.comm	_MF_GRAYED,4,2                  ## @MF_GRAYED
	.comm	_MF_ENABLED,4,2                 ## @MF_ENABLED
	.comm	_ID_EDIT_CUT,4,2                ## @ID_EDIT_CUT
	.comm	_EM_GETPARAFORMAT,4,2           ## @EM_GETPARAFORMAT
	.comm	_ID_EDIT_READONLY,4,2           ## @ID_EDIT_READONLY
	.comm	_GWL_STYLE,4,2                  ## @GWL_STYLE
	.comm	_ES_READONLY,4,2                ## @ES_READONLY
	.comm	_MF_CHECKED,4,2                 ## @MF_CHECKED
	.comm	_MF_UNCHECKED,4,2               ## @MF_UNCHECKED
	.comm	_ID_EDIT_MODIFIED,4,2           ## @ID_EDIT_MODIFIED
	.comm	_EM_GETMODIFY,4,2               ## @EM_GETMODIFY
	.comm	_PFM_ALIGNMENT,4,2              ## @PFM_ALIGNMENT
	.comm	_ID_ALIGN_LEFT,4,2              ## @ID_ALIGN_LEFT
	.comm	_PFA_LEFT,4,2                   ## @PFA_LEFT
	.comm	_ID_ALIGN_CENTER,4,2            ## @ID_ALIGN_CENTER
	.comm	_PFA_CENTER,4,2                 ## @PFA_CENTER
	.comm	_ID_ALIGN_RIGHT,4,2             ## @ID_ALIGN_RIGHT
	.comm	_PFA_RIGHT,4,2                  ## @PFA_RIGHT
	.comm	_ID_BULLET,4,2                  ## @ID_BULLET
	.comm	_PFN_BULLET,8,3                 ## @PFN_BULLET
	.comm	_ID_EDIT_UNDO,4,2               ## @ID_EDIT_UNDO
	.comm	_EM_CANUNDO,4,2                 ## @EM_CANUNDO
	.comm	_ID_EDIT_REDO,4,2               ## @ID_EDIT_REDO
	.comm	_EM_CANREDO,4,2                 ## @EM_CANREDO
	.comm	_ID_TOGGLE_TOOLBAR,4,2          ## @ID_TOGGLE_TOOLBAR
	.comm	_BANDID_TOOLBAR,4,2             ## @BANDID_TOOLBAR
	.comm	_ID_TOGGLE_FORMATBAR,4,2        ## @ID_TOGGLE_FORMATBAR
	.comm	_BANDID_FORMATBAR,4,2           ## @BANDID_FORMATBAR
	.comm	_ID_TOGGLE_STATUSBAR,4,2        ## @ID_TOGGLE_STATUSBAR
	.comm	_ID_TOGGLE_RULER,4,2            ## @ID_TOGGLE_RULER
	.comm	_BANDID_RULER,4,2               ## @BANDID_RULER
	.comm	_GTL_NUMCHARS,4,2               ## @GTL_NUMCHARS
	.comm	_EM_GETTEXTLENGTHEX,4,2         ## @EM_GETTEXTLENGTHEX
	.comm	_ID_FIND,4,2                    ## @ID_FIND
	.comm	_MIIM_DATA,4,2                  ## @MIIM_DATA
	.comm	_ID_FIND_NEXT,4,2               ## @ID_FIND_NEXT
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_ID_REPLACE,4,2                 ## @ID_REPLACE
	.no_dead_strip	_OnInitPopupMenu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function OnInitPopupMenu
_OnInitPopupMenu:                       ; @OnInitPopupMenu
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _IDC_EDITOR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDC_EDITOR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_GetDlgItem
	mov	x21, x0
Lloh3:
	adrp	x8, _IDC_STATUSBAR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IDC_STATUSBAR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_GetDlgItem
	mov	x20, x0
Lloh6:
	adrp	x25, _hEditorWnd@GOTPAGE
Lloh7:
	ldr	x25, [x25, _hEditorWnd@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh8:
	adrp	x8, _EM_GETSEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EM_GETSEL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x2, sp, #36
	add	x3, sp, #32
	bl	_SendMessageW
Lloh11:
	adrp	x8, _ID_EDIT_COPY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ID_EDIT_COPY@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldp	w9, w8, [sp, #32]
Lloh14:
	adrp	x23, _MF_GRAYED@GOTPAGE
Lloh15:
	ldr	x23, [x23, _MF_GRAYED@GOTPAGEOFF]
Lloh16:
	adrp	x24, _MF_ENABLED@GOTPAGE
Lloh17:
	ldr	x24, [x24, _MF_ENABLED@GOTPAGEOFF]
	cmp	w8, w9
	csel	x8, x23, x24, eq
	ldr	w2, [x8]
	mov	x0, x19
	bl	_EnableMenuItem
Lloh18:
	adrp	x8, _ID_EDIT_CUT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ID_EDIT_CUT@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldp	w9, w8, [sp, #32]
	cmp	w8, w9
	csel	x8, x23, x24, eq
	ldr	w2, [x8]
	mov	x0, x19
	bl	_EnableMenuItem
	mov	w26, #24
	str	w26, [sp, #40]
Lloh21:
	adrp	x8, _EM_GETPARAFORMAT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EM_GETPARAFORMAT@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	add	x3, sp, #40
	mov	x0, x21
	mov	w2, #0
	bl	_SendMessageW
Lloh24:
	adrp	x8, _ID_EDIT_READONLY@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ID_EDIT_READONLY@GOTPAGEOFF]
Lloh26:
	ldr	w22, [x8]
Lloh27:
	adrp	x8, _GWL_STYLE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _GWL_STYLE@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_GetWindowLongW
Lloh30:
	adrp	x8, _ES_READONLY@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ES_READONLY@GOTPAGEOFF]
Lloh32:
	adrp	x27, _MF_CHECKED@GOTPAGE
Lloh33:
	ldr	x27, [x27, _MF_CHECKED@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	adrp	x28, _MF_UNCHECKED@GOTPAGE
Lloh36:
	ldr	x28, [x28, _MF_UNCHECKED@GOTPAGEOFF]
	tst	w8, w0
	csel	x8, x28, x27, eq
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x22
	bl	_CheckMenuItem
Lloh37:
	adrp	x8, _ID_EDIT_MODIFIED@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ID_EDIT_MODIFIED@GOTPAGEOFF]
Lloh39:
	ldr	w22, [x8]
Lloh40:
	adrp	x8, _EM_GETMODIFY@GOTPAGE
Lloh41:
	ldr	x8, [x8, _EM_GETMODIFY@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	mov	w3, #0
	bl	_SendMessageW
	cmp	x0, #0
	csel	x8, x28, x27, eq
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x22
	bl	_CheckMenuItem
Lloh43:
	adrp	x8, _PFM_ALIGNMENT@GOTPAGE
Lloh44:
	ldr	x8, [x8, _PFM_ALIGNMENT@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	ldp	w9, w10, [sp, #44]
	tst	w8, w9
	csinv	w22, w10, wzr, ne
Lloh46:
	adrp	x8, _ID_ALIGN_LEFT@GOTPAGE
Lloh47:
	ldr	x8, [x8, _ID_ALIGN_LEFT@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
Lloh49:
	adrp	x8, _PFA_LEFT@GOTPAGE
Lloh50:
	ldr	x8, [x8, _PFA_LEFT@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	cmp	w22, w8
	csel	x8, x27, x28, eq
	ldr	w2, [x8]
	mov	x0, x19
	bl	_CheckMenuItem
Lloh52:
	adrp	x8, _ID_ALIGN_CENTER@GOTPAGE
Lloh53:
	ldr	x8, [x8, _ID_ALIGN_CENTER@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
Lloh55:
	adrp	x8, _PFA_CENTER@GOTPAGE
Lloh56:
	ldr	x8, [x8, _PFA_CENTER@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
	cmp	w22, w8
	csel	x8, x27, x28, eq
	ldr	w2, [x8]
	mov	x0, x19
	bl	_CheckMenuItem
Lloh58:
	adrp	x8, _ID_ALIGN_RIGHT@GOTPAGE
Lloh59:
	ldr	x8, [x8, _ID_ALIGN_RIGHT@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
Lloh61:
	adrp	x8, _PFA_RIGHT@GOTPAGE
Lloh62:
	ldr	x8, [x8, _PFA_RIGHT@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
	cmp	w22, w8
	csel	x8, x27, x28, eq
	ldr	w2, [x8]
	mov	x0, x19
	bl	_CheckMenuItem
Lloh64:
	adrp	x8, _ID_BULLET@GOTPAGE
Lloh65:
	ldr	x8, [x8, _ID_BULLET@GOTPAGEOFF]
Lloh66:
	ldr	w1, [x8]
	ldr	x8, [sp, #56]
Lloh67:
	adrp	x9, _PFN_BULLET@GOTPAGE
Lloh68:
	ldr	x9, [x9, _PFN_BULLET@GOTPAGEOFF]
Lloh69:
	ldr	x9, [x9]
	cmp	x8, x9
	csel	x8, x27, x28, eq
	ldr	w2, [x8]
	mov	x0, x19
	bl	_CheckMenuItem
Lloh70:
	adrp	x8, _ID_EDIT_UNDO@GOTPAGE
Lloh71:
	ldr	x8, [x8, _ID_EDIT_UNDO@GOTPAGEOFF]
Lloh72:
	ldr	w22, [x8]
Lloh73:
	adrp	x8, _EM_CANUNDO@GOTPAGE
Lloh74:
	ldr	x8, [x8, _EM_CANUNDO@GOTPAGEOFF]
Lloh75:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	mov	w3, #0
	bl	_SendMessageW
	cmp	x0, #0
	csel	x8, x23, x24, eq
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x22
	bl	_EnableMenuItem
Lloh76:
	adrp	x8, _ID_EDIT_REDO@GOTPAGE
Lloh77:
	ldr	x8, [x8, _ID_EDIT_REDO@GOTPAGEOFF]
Lloh78:
	ldr	w22, [x8]
Lloh79:
	adrp	x8, _EM_CANREDO@GOTPAGE
Lloh80:
	ldr	x8, [x8, _EM_CANREDO@GOTPAGEOFF]
Lloh81:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	mov	w3, #0
	bl	_SendMessageW
	cmp	x0, #0
	csel	x8, x23, x24, eq
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x22
	bl	_EnableMenuItem
Lloh82:
	adrp	x8, _ID_TOGGLE_TOOLBAR@GOTPAGE
Lloh83:
	ldr	x8, [x8, _ID_TOGGLE_TOOLBAR@GOTPAGEOFF]
Lloh84:
	ldr	w21, [x8]
Lloh85:
	adrp	x8, _BANDID_TOOLBAR@GOTPAGE
Lloh86:
	ldr	x8, [x8, _BANDID_TOOLBAR@GOTPAGEOFF]
Lloh87:
	ldr	w0, [x8]
	bl	_is_bar_visible
	cmp	x0, #0
	csel	x8, x28, x27, eq
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_CheckMenuItem
Lloh88:
	adrp	x8, _ID_TOGGLE_FORMATBAR@GOTPAGE
Lloh89:
	ldr	x8, [x8, _ID_TOGGLE_FORMATBAR@GOTPAGEOFF]
Lloh90:
	ldr	w21, [x8]
Lloh91:
	adrp	x8, _BANDID_FORMATBAR@GOTPAGE
Lloh92:
	ldr	x8, [x8, _BANDID_FORMATBAR@GOTPAGEOFF]
Lloh93:
	ldr	w0, [x8]
	bl	_is_bar_visible
	cmp	x0, #0
	csel	x8, x28, x27, eq
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_CheckMenuItem
Lloh94:
	adrp	x8, _ID_TOGGLE_STATUSBAR@GOTPAGE
Lloh95:
	ldr	x8, [x8, _ID_TOGGLE_STATUSBAR@GOTPAGEOFF]
Lloh96:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_IsWindowVisible
	cmp	x0, #0
	csel	x8, x28, x27, eq
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_CheckMenuItem
Lloh97:
	adrp	x8, _ID_TOGGLE_RULER@GOTPAGE
Lloh98:
	ldr	x8, [x8, _ID_TOGGLE_RULER@GOTPAGEOFF]
Lloh99:
	ldr	w20, [x8]
Lloh100:
	adrp	x8, _BANDID_RULER@GOTPAGE
Lloh101:
	ldr	x8, [x8, _BANDID_RULER@GOTPAGEOFF]
Lloh102:
	ldr	w0, [x8]
	bl	_is_bar_visible
	cmp	x0, #0
	csel	x8, x28, x27, eq
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_CheckMenuItem
Lloh103:
	adrp	x8, _GTL_NUMCHARS@GOTPAGE
Lloh104:
	ldr	x8, [x8, _GTL_NUMCHARS@GOTPAGEOFF]
Lloh105:
	ldr	w8, [x8]
	mov	w9, #1200
	stp	w9, w8, [sp, #24]
	ldr	w0, [x25]
Lloh106:
	adrp	x8, _EM_GETTEXTLENGTHEX@GOTPAGE
Lloh107:
	ldr	x8, [x8, _EM_GETTEXTLENGTHEX@GOTPAGEOFF]
Lloh108:
	ldr	w1, [x8]
	add	x2, sp, #24
	mov	w3, #0
	bl	_SendMessageW
	mov	x20, x0
Lloh109:
	adrp	x8, _ID_FIND@GOTPAGE
Lloh110:
	ldr	x8, [x8, _ID_FIND@GOTPAGEOFF]
Lloh111:
	ldr	w1, [x8]
	cmp	x0, #0
	csel	x21, x24, x23, ne
	ldr	w2, [x21]
	mov	x0, x19
	bl	_EnableMenuItem
Lloh112:
	adrp	x8, _MIIM_DATA@GOTPAGE
Lloh113:
	ldr	x8, [x8, _MIIM_DATA@GOTPAGEOFF]
Lloh114:
	ldr	w8, [x8]
	str	w26, [sp]
	str	w8, [sp, #16]
Lloh115:
	adrp	x22, _ID_FIND_NEXT@GOTPAGE
Lloh116:
	ldr	x22, [x22, _ID_FIND_NEXT@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh117:
	adrp	x8, _FALSE@GOTPAGE
Lloh118:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh119:
	ldr	w2, [x8]
	mov	x3, sp
	mov	x0, x19
	bl	_GetMenuItemInfoW
	ldr	x8, [sp, #8]
	cmp	x8, #0
	ccmp	x20, #0, #4, ne
	ldr	w1, [x22]
	csel	x8, x24, x23, ne
	ldr	w2, [x8]
	mov	x0, x19
	bl	_EnableMenuItem
Lloh120:
	adrp	x8, _ID_REPLACE@GOTPAGE
Lloh121:
	ldr	x8, [x8, _ID_REPLACE@GOTPAGEOFF]
Lloh122:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_EnableMenuItem
	mov	x0, #0
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.loh AdrpLdrGot	Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh34
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IDC_EDITOR,4,2                 ; @IDC_EDITOR
	.comm	_IDC_STATUSBAR,4,2              ; @IDC_STATUSBAR
	.comm	_hEditorWnd,4,2                 ; @hEditorWnd
	.comm	_EM_GETSEL,4,2                  ; @EM_GETSEL
	.comm	_ID_EDIT_COPY,4,2               ; @ID_EDIT_COPY
	.comm	_MF_GRAYED,4,2                  ; @MF_GRAYED
	.comm	_MF_ENABLED,4,2                 ; @MF_ENABLED
	.comm	_ID_EDIT_CUT,4,2                ; @ID_EDIT_CUT
	.comm	_EM_GETPARAFORMAT,4,2           ; @EM_GETPARAFORMAT
	.comm	_ID_EDIT_READONLY,4,2           ; @ID_EDIT_READONLY
	.comm	_GWL_STYLE,4,2                  ; @GWL_STYLE
	.comm	_ES_READONLY,4,2                ; @ES_READONLY
	.comm	_MF_CHECKED,4,2                 ; @MF_CHECKED
	.comm	_MF_UNCHECKED,4,2               ; @MF_UNCHECKED
	.comm	_ID_EDIT_MODIFIED,4,2           ; @ID_EDIT_MODIFIED
	.comm	_EM_GETMODIFY,4,2               ; @EM_GETMODIFY
	.comm	_PFM_ALIGNMENT,4,2              ; @PFM_ALIGNMENT
	.comm	_ID_ALIGN_LEFT,4,2              ; @ID_ALIGN_LEFT
	.comm	_PFA_LEFT,4,2                   ; @PFA_LEFT
	.comm	_ID_ALIGN_CENTER,4,2            ; @ID_ALIGN_CENTER
	.comm	_PFA_CENTER,4,2                 ; @PFA_CENTER
	.comm	_ID_ALIGN_RIGHT,4,2             ; @ID_ALIGN_RIGHT
	.comm	_PFA_RIGHT,4,2                  ; @PFA_RIGHT
	.comm	_ID_BULLET,4,2                  ; @ID_BULLET
	.comm	_PFN_BULLET,8,3                 ; @PFN_BULLET
	.comm	_ID_EDIT_UNDO,4,2               ; @ID_EDIT_UNDO
	.comm	_EM_CANUNDO,4,2                 ; @EM_CANUNDO
	.comm	_ID_EDIT_REDO,4,2               ; @ID_EDIT_REDO
	.comm	_EM_CANREDO,4,2                 ; @EM_CANREDO
	.comm	_ID_TOGGLE_TOOLBAR,4,2          ; @ID_TOGGLE_TOOLBAR
	.comm	_BANDID_TOOLBAR,4,2             ; @BANDID_TOOLBAR
	.comm	_ID_TOGGLE_FORMATBAR,4,2        ; @ID_TOGGLE_FORMATBAR
	.comm	_BANDID_FORMATBAR,4,2           ; @BANDID_FORMATBAR
	.comm	_ID_TOGGLE_STATUSBAR,4,2        ; @ID_TOGGLE_STATUSBAR
	.comm	_ID_TOGGLE_RULER,4,2            ; @ID_TOGGLE_RULER
	.comm	_BANDID_RULER,4,2               ; @BANDID_RULER
	.comm	_GTL_NUMCHARS,4,2               ; @GTL_NUMCHARS
	.comm	_EM_GETTEXTLENGTHEX,4,2         ; @EM_GETTEXTLENGTHEX
	.comm	_ID_FIND,4,2                    ; @ID_FIND
	.comm	_MIIM_DATA,4,2                  ; @MIIM_DATA
	.comm	_ID_FIND_NEXT,4,2               ; @ID_FIND_NEXT
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_ID_REPLACE,4,2                 ; @ID_REPLACE
	.no_dead_strip	_OnInitPopupMenu
.subsections_via_symbols
