	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_current_history                ## -- Begin function current_history
	.p2align	4, 0x90
_current_history:                       ## @current_history
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_h@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_H_PREV_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_history_offset@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	incq	%rcx
	leaq	-8(%rbp), %rsi
	callq	_history
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_2:
	movl	-8(%rbp), %ecx
	movq	_rl_he@GOTPCREL(%rip), %rax
	movl	%ecx, 8(%rax)
	movq	$0, (%rax)
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_h,4,2                          ## @h
	.comm	_H_PREV_EVENT,4,2               ## @H_PREV_EVENT
	.comm	_history_offset,8,3             ## @history_offset
	.comm	_rl_he,16,3                     ## @rl_he
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_current_history                ; -- Begin function current_history
	.p2align	2
_current_history:                       ; @current_history
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _h@GOTPAGE
Lloh1:
	ldr	x8, [x8, _h@GOTPAGEOFF]
Lloh2:
	adrp	x9, _H_PREV_EVENT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _H_PREV_EVENT@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	ldr	w2, [x9]
Lloh6:
	adrp	x8, _history_offset@GOTPAGE
Lloh7:
	ldr	x8, [x8, _history_offset@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x3, x8, #1
	add	x1, sp, #8
	bl	_history
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, #0
	b	LBB0_3
LBB0_2:
	ldr	w8, [sp, #8]
Lloh9:
	adrp	x0, _rl_he@GOTPAGE
Lloh10:
	ldr	x0, [x0, _rl_he@GOTPAGEOFF]
	str	w8, [x0, #8]
	str	xzr, [x0]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_h,4,2                          ; @h
	.comm	_H_PREV_EVENT,4,2               ; @H_PREV_EVENT
	.comm	_history_offset,8,3             ; @history_offset
	.comm	_rl_he,16,3                     ; @rl_he
.subsections_via_symbols
