	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ed_InitMaps                    ## -- Begin function ed_InitMaps
	.p2align	4, 0x90
_ed_InitMaps:                           ## @ed_InitMaps
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MapsAreInited@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jne	LBB0_11
## %bb.1:
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	_NT_NUM_KEYS@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movl	(%r12), %edx
	testl	%edx, %edx
	jle	LBB0_10
## %bb.2:
	movq	__toebcdic@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	$128, %r15d
	shlq	$2, %rdx
	movl	$130, %esi
	movq	%r13, %rdi
	callq	_memcpy
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%rax,4), %ecx
	movq	(%rbx,%rax,8), %rdx
	movl	%ecx, 2(%r15,%rdx,4)
	incq	%rax
	movslq	(%r12), %rcx
	cmpq	%rcx, %rax
	jl	LBB0_3
## %bb.4:
	movl	%ecx, %edx
	testl	%edx, %edx
	jle	LBB0_10
## %bb.5:
	shlq	$2, %rdx
	movl	$128, %esi
	movq	%r13, %rdi
	callq	_memcpy
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%rax,4), %ecx
	movq	(%rbx,%rax,8), %rdx
	movl	%ecx, (%r15,%rdx,4)
	incq	%rax
	movslq	(%r12), %rcx
	cmpq	%rcx, %rax
	jl	LBB0_6
## %bb.7:
	movl	%ecx, %edx
	testl	%edx, %edx
	jle	LBB0_10
## %bb.8:
	shlq	$2, %rdx
	movl	$129, %esi
	movq	%r13, %rdi
	callq	_memcpy
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%rax,4), %ecx
	movq	(%rbx,%rax,8), %rdx
	movl	%ecx, 1(%r15,%rdx,4)
	incq	%rax
	movslq	(%r12), %rcx
	cmpq	%rcx, %rax
	jl	LBB0_9
LBB0_10:
	movq	-56(%rbp), %rsp                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_ed_InitEmacsMaps
	movl	$1, (%r14)
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MapsAreInited,4,2              ## @MapsAreInited
	.comm	_NT_NUM_KEYS,4,2                ## @NT_NUM_KEYS
	.comm	__toebcdic,8,3                  ## @_toebcdic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ed_InitMaps                    ; -- Begin function ed_InitMaps
	.p2align	2
_ed_InitMaps:                           ; @ed_InitMaps
	.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, #16
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	x20, _MapsAreInited@GOTPAGE
Lloh4:
	ldr	x20, [x20, _MapsAreInited@GOTPAGEOFF]
	ldr	w8, [x20]
	cbnz	w8, LBB0_11
; %bb.1:
	mov	x21, sp
Lloh5:
	adrp	x22, _NT_NUM_KEYS@GOTPAGE
Lloh6:
	ldr	x22, [x22, _NT_NUM_KEYS@GOTPAGEOFF]
	ldr	w8, [x22]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x19, x9, x8
	mov	sp, x19
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.2:
Lloh9:
	adrp	x9, __toebcdic@GOTPAGE
Lloh10:
	ldr	x9, [x9, __toebcdic@GOTPAGEOFF]
Lloh11:
	ldr	x23, [x9]
	mov	w24, #128
	lsl	x2, x8, #2
	mov	x0, x19
	mov	w1, #130
	bl	_memcpy
	mov	x8, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x19, x8, lsl #2]
	ldr	x10, [x23, x8, lsl #3]
	add	x10, x24, x10, lsl #2
	stur	w9, [x10, #2]
	add	x8, x8, #1
	ldrsw	x9, [x22]
	cmp	x8, x9
	b.lt	LBB0_3
; %bb.4:
	and	x8, x9, #0xffffffff
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.5:
	lsl	x2, x8, #2
	mov	x0, x19
	mov	w1, #128
	bl	_memcpy
	mov	x8, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x19, x8, lsl #2]
	ldr	x10, [x23, x8, lsl #3]
	str	w9, [x24, x10, lsl #2]
	add	x8, x8, #1
	ldrsw	x9, [x22]
	cmp	x8, x9
	b.lt	LBB0_6
; %bb.7:
	and	x8, x9, #0xffffffff
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.8:
	lsl	x2, x8, #2
	mov	x0, x19
	mov	w1, #129
	bl	_memcpy
	mov	x8, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x19, x8, lsl #2]
	ldr	x10, [x23, x8, lsl #3]
	add	x10, x24, x10, lsl #2
	stur	w9, [x10, #1]
	add	x8, x8, #1
	ldrsw	x9, [x22]
	cmp	x8, x9
	b.lt	LBB0_9
LBB0_10:
	mov	sp, x21
	bl	_ed_InitEmacsMaps
	mov	w8, #1
	str	w8, [x20]
LBB0_11:
	ldur	x8, [x29, #-56]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	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_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MapsAreInited,4,2              ; @MapsAreInited
	.comm	_NT_NUM_KEYS,4,2                ; @NT_NUM_KEYS
	.comm	__toebcdic,8,3                  ; @_toebcdic
.subsections_via_symbols
