	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function history_use
_history_use:                           ## @history_use
	.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
	xorl	%eax, %eax
	callq	_edit_clear_line
	movq	_history_curr@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_os_strlen
	movq	_cmdbuf_pos@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_cmdbuf_len@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_cmdbuf@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	(%rbx), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edx
	callq	_os_memcpy
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_edit_redraw                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_history_curr,8,3               ## @history_curr
	.comm	_cmdbuf_pos,4,2                 ## @cmdbuf_pos
	.comm	_cmdbuf_len,4,2                 ## @cmdbuf_len
	.comm	_cmdbuf,4,2                     ## @cmdbuf
	.no_dead_strip	_history_use
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function history_use
_history_use:                           ; @history_use
	.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
	bl	_edit_clear_line
Lloh0:
	adrp	x19, _history_curr@GOTPAGE
Lloh1:
	ldr	x19, [x19, _history_curr@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_os_strlen
	mov	x2, x0
Lloh2:
	adrp	x8, _cmdbuf_pos@GOTPAGE
Lloh3:
	ldr	x8, [x8, _cmdbuf_pos@GOTPAGEOFF]
Lloh4:
	str	w0, [x8]
Lloh5:
	adrp	x8, _cmdbuf_len@GOTPAGE
Lloh6:
	ldr	x8, [x8, _cmdbuf_len@GOTPAGEOFF]
Lloh7:
	str	w0, [x8]
Lloh8:
	adrp	x8, _cmdbuf@GOTPAGE
Lloh9:
	ldr	x8, [x8, _cmdbuf@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	x8, [x19]
	ldr	w1, [x8]
	bl	_os_memcpy
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_edit_redraw
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_history_curr,8,3               ; @history_curr
	.comm	_cmdbuf_pos,4,2                 ; @cmdbuf_pos
	.comm	_cmdbuf_len,4,2                 ; @cmdbuf_len
	.comm	_cmdbuf,4,2                     ; @cmdbuf
	.no_dead_strip	_history_use
.subsections_via_symbols
