	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_preserve                       ## -- Begin function preserve
	.p2align	4, 0x90
_preserve:                              ## @preserve
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_edit@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_2:
	movl	(%rdi), %edx
	xorl	%eax, %eax
	testl	%edx, %edx
	je	LBB0_6
## %bb.3:
	movq	_message@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r10
	addq	$4, %rdi
	movq	_MPRESERVE@GOTPCREL(%rip), %r8
	movq	_MBOX@GOTPCREL(%rip), %r9
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%edx, %rsi
	movl	-4(%r10,%rsi,4), %edx
	orl	(%r8), %edx
	movl	%edx, -4(%r10,%rsi,4)
	movl	(%r9), %ecx
	notl	%ecx
	andl	%edx, %ecx
	movl	%ecx, -4(%r10,%rsi,4)
	movl	(%rdi), %edx
	addq	$4, %rdi
	testl	%edx, %edx
	jne	LBB0_4
## %bb.5:
	leaq	(%r10,%rsi,4), %rcx
	addq	$-4, %rcx
	movq	_dot@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_edit,8,3                       ## @edit
	.comm	_message,8,3                    ## @message
	.comm	_MPRESERVE,4,2                  ## @MPRESERVE
	.comm	_MBOX,4,2                       ## @MBOX
	.comm	_dot,8,3                        ## @dot
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"Cannot \"preserve\" in edit mode"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_preserve                       ; -- Begin function preserve
	.p2align	2
_preserve:                              ; @preserve
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _edit@GOTPAGE
Lloh1:
	ldr	x8, [x8, _edit@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_str@PAGE
Lloh4:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w12, [x0]
	cbz	w12, LBB0_6
; %bb.3:
Lloh5:
	adrp	x8, _message@GOTPAGE
Lloh6:
	ldr	x8, [x8, _message@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	add	x9, x0, #4
Lloh8:
	adrp	x10, _MPRESERVE@GOTPAGE
Lloh9:
	ldr	x10, [x10, _MPRESERVE@GOTPAGEOFF]
Lloh10:
	adrp	x11, _MBOX@GOTPAGE
Lloh11:
	ldr	x11, [x11, _MBOX@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	w12, w12, #1
	add	x13, x8, w12, sxtw #2
	ldr	w12, [x10]
	ldr	w14, [x13]
	orr	w12, w14, w12
	str	w12, [x13]
	ldr	w14, [x11]
	bic	w12, w12, w14
	str	w12, [x13]
	ldr	w12, [x9], #4
	cbnz	w12, LBB0_4
; %bb.5:
	mov	w0, #0
Lloh12:
	adrp	x8, _dot@GOTPAGE
Lloh13:
	ldr	x8, [x8, _dot@GOTPAGEOFF]
Lloh14:
	str	x13, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_edit,8,3                       ; @edit
	.comm	_message,8,3                    ; @message
	.comm	_MPRESERVE,4,2                  ; @MPRESERVE
	.comm	_MBOX,4,2                       ; @MBOX
	.comm	_dot,8,3                        ; @dot
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"Cannot \"preserve\" in edit mode"

.subsections_via_symbols
