	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_clear_history                  ## -- Begin function clear_history
	.p2align	4, 0x90
_clear_history:                         ## @clear_history
	.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	_h@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	_e@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_3
LBB0_2:
	xorl	%eax, %eax
	callq	_rl_initialize
	movq	(%rbx), %rdi
LBB0_3:
	movq	_H_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-12(%rbp), %rsi
	callq	_history
	movq	_history_length@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_history_offset@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_h,8,3                          ## @h
	.comm	_e,8,3                          ## @e
	.comm	_H_CLEAR,4,2                    ## @H_CLEAR
	.comm	_history_length,8,3             ## @history_length
	.comm	_history_offset,8,3             ## @history_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_clear_history                  ; -- Begin function clear_history
	.p2align	2
_clear_history:                         ; @clear_history
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _h@GOTPAGE
Lloh1:
	ldr	x19, [x19, _h@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh2:
	adrp	x8, _e@GOTPAGE
Lloh3:
	ldr	x8, [x8, _e@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, #0
	ccmp	x8, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
	bl	_rl_initialize
	ldr	x0, [x19]
LBB0_2:
Lloh5:
	adrp	x8, _H_CLEAR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _H_CLEAR@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	add	x1, sp, #12
	bl	_history
Lloh8:
	adrp	x8, _history_length@GOTPAGE
Lloh9:
	ldr	x8, [x8, _history_length@GOTPAGEOFF]
Lloh10:
	str	xzr, [x8]
Lloh11:
	adrp	x8, _history_offset@GOTPAGE
Lloh12:
	ldr	x8, [x8, _history_offset@GOTPAGEOFF]
Lloh13:
	str	xzr, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_h,8,3                          ; @h
	.comm	_e,8,3                          ; @e
	.comm	_H_CLEAR,4,2                    ; @H_CLEAR
	.comm	_history_length,8,3             ; @history_length
	.comm	_history_offset,8,3             ; @history_offset
.subsections_via_symbols
