	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_history_search_prefix          ## -- Begin function history_search_prefix
	.p2align	4, 0x90
_history_search_prefix:                 ## @history_search_prefix
	.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	%rdi, %rcx
	movq	_h@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%esi, %esi
	jns	LBB0_1
## %bb.2:
	movq	_H_PREV_STR@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_H_NEXT_STR@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	leaq	-4(%rbp), %rsi
	callq	_history
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_h,4,2                          ## @h
	.comm	_H_PREV_STR,4,2                 ## @H_PREV_STR
	.comm	_H_NEXT_STR,4,2                 ## @H_NEXT_STR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_history_search_prefix          ; -- Begin function history_search_prefix
	.p2align	2
_history_search_prefix:                 ; @history_search_prefix
	.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
	mov	x3, x0
Lloh0:
	adrp	x8, _h@GOTPAGE
Lloh1:
	ldr	x8, [x8, _h@GOTPAGEOFF]
Lloh2:
	adrp	x9, _H_PREV_STR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _H_PREV_STR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _H_NEXT_STR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _H_NEXT_STR@GOTPAGEOFF]
	cmp	w1, #0
	csel	x8, x9, x8, lt
	ldr	w2, [x8]
	sub	x1, x29, #4
	bl	_history
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_h,4,2                          ; @h
	.comm	_H_PREV_STR,4,2                 ; @H_PREV_STR
	.comm	_H_NEXT_STR,4,2                 ; @H_NEXT_STR
.subsections_via_symbols
