	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_search_prompt                  ## -- Begin function search_prompt
	.p2align	4, 0x90
_search_prompt:                         ## @search_prompt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_srch_str@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_free
LBB0_2:
	movq	_u_srch_str@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.3:
	cmpb	$0, (%rdi)
	je	LBB0_5
## %bb.4:
	callq	_free
LBB0_5:
	movq	_search_prompt_str@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FALSE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_get_string
	movq	%rax, %r14
	movq	%rax, (%r12)
	movl	(%rbx), %eax
	movq	_gold@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_srch_3@GOTPCREL(%rip), %r12
	movq	%r14, (%r12)
	movq	%r14, %rdi
	callq	_strlen
	leaq	1(%rax), %rdi
	callq	_malloc
	movq	%rax, (%r15)
	movq	_srch_1@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	movb	(%r14), %cl
	testb	%cl, %cl
	je	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%cl, %edi
	callq	_toupper
	movq	(%rbx), %rcx
	movb	%al, (%rcx)
	movq	(%rbx), %rax
	incq	%rax
	movq	%rax, (%rbx)
	movq	(%r12), %rcx
	leaq	1(%rcx), %rdx
	movq	%rdx, (%r12)
	movzbl	1(%rcx), %ecx
	testb	%cl, %cl
	jne	LBB0_6
LBB0_8:
	movb	$0, (%rax)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_search                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_srch_str,8,3                   ## @srch_str
	.comm	_u_srch_str,8,3                 ## @u_srch_str
	.comm	_search_prompt_str,4,2          ## @search_prompt_str
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_gold,4,2                       ## @gold
	.comm	_srch_3,8,3                     ## @srch_3
	.comm	_srch_1,8,3                     ## @srch_1
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_search_prompt                  ; -- Begin function search_prompt
	.p2align	2
_search_prompt:                         ; @search_prompt
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x21, _srch_str@GOTPAGE
Lloh1:
	ldr	x21, [x21, _srch_str@GOTPAGEOFF]
	ldr	x0, [x21]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_free
LBB0_2:
Lloh2:
	adrp	x20, _u_srch_str@GOTPAGE
Lloh3:
	ldr	x20, [x20, _u_srch_str@GOTPAGEOFF]
	ldr	x0, [x20]
	cbz	x0, LBB0_5
; %bb.3:
	ldrb	w8, [x0]
	cbz	w8, LBB0_5
; %bb.4:
	bl	_free
LBB0_5:
Lloh4:
	adrp	x8, _search_prompt_str@GOTPAGE
Lloh5:
	ldr	x8, [x8, _search_prompt_str@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x22, _FALSE@GOTPAGE
Lloh8:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_get_string
	mov	x19, x0
	str	x0, [x21]
	ldr	w8, [x22]
Lloh9:
	adrp	x9, _gold@GOTPAGE
Lloh10:
	ldr	x9, [x9, _gold@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
Lloh12:
	adrp	x21, _srch_3@GOTPAGE
Lloh13:
	ldr	x21, [x21, _srch_3@GOTPAGEOFF]
	str	x0, [x21]
	bl	_strlen
	add	x0, x0, #1
	bl	_malloc
	str	x0, [x20]
Lloh14:
	adrp	x20, _srch_1@GOTPAGE
Lloh15:
	ldr	x20, [x20, _srch_1@GOTPAGEOFF]
	str	x0, [x20]
	ldrb	w8, [x19]
	cbz	w8, LBB0_7
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_toupper
	ldr	x8, [x20]
	strb	w0, [x8]
	ldr	x8, [x20]
	add	x0, x8, #1
	str	x0, [x20]
	ldr	x8, [x21]
	add	x9, x8, #1
	str	x9, [x21]
	ldrb	w8, [x8, #1]
	cbnz	w8, LBB0_6
LBB0_7:
	strb	wzr, [x0]
Lloh16:
	adrp	x8, _TRUE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_search
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_srch_str,8,3                   ; @srch_str
	.comm	_u_srch_str,8,3                 ; @u_srch_str
	.comm	_search_prompt_str,4,2          ; @search_prompt_str
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_gold,4,2                       ; @gold
	.comm	_srch_3,8,3                     ; @srch_3
	.comm	_srch_1,8,3                     ; @srch_1
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
