	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Repair
_Repair:                                ## @Repair
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_NeedsRedraw@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_ClearLines
	xorl	%eax, %eax
	callq	_ClearDisp
	movq	$0, (%rbx)
LBB0_2:
	xorl	%eax, %eax
	callq	_Refresh
	movq	_Argument@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_DoingArg@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_curchoice@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	movq	_LastChar@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_InputBuf@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NeedsRedraw,8,3                ## @NeedsRedraw
	.comm	_Argument,4,2                   ## @Argument
	.comm	_DoingArg,8,3                   ## @DoingArg
	.comm	_curchoice,4,2                  ## @curchoice
	.comm	_LastChar,8,3                   ## @LastChar
	.comm	_InputBuf,8,3                   ## @InputBuf
	.no_dead_strip	_Repair
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Repair
_Repair:                                ; @Repair
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _NeedsRedraw@GOTPAGE
Lloh1:
	ldr	x19, [x19, _NeedsRedraw@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_ClearLines
	bl	_ClearDisp
	str	xzr, [x19]
LBB0_2:
	bl	_Refresh
Lloh2:
	adrp	x8, _Argument@GOTPAGE
Lloh3:
	ldr	x8, [x8, _Argument@GOTPAGEOFF]
	mov	w9, #1
Lloh4:
	str	w9, [x8]
Lloh5:
	adrp	x8, _DoingArg@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DoingArg@GOTPAGEOFF]
Lloh7:
	str	xzr, [x8]
Lloh8:
	adrp	x8, _curchoice@GOTPAGE
Lloh9:
	ldr	x8, [x8, _curchoice@GOTPAGEOFF]
	mov	w9, #-1
Lloh10:
	str	w9, [x8]
Lloh11:
	adrp	x8, _LastChar@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LastChar@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _InputBuf@GOTPAGE
Lloh15:
	ldr	x9, [x9, _InputBuf@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	sub	w0, w8, w9
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NeedsRedraw,8,3                ; @NeedsRedraw
	.comm	_Argument,4,2                   ; @Argument
	.comm	_DoingArg,8,3                   ; @DoingArg
	.comm	_curchoice,4,2                  ; @curchoice
	.comm	_LastChar,8,3                   ; @LastChar
	.comm	_InputBuf,8,3                   ; @InputBuf
	.no_dead_strip	_Repair
.subsections_via_symbols
