	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_srchx                          ## -- Begin function srchx
	.p2align	4, 0x90
_srchx:                                 ## @srchx
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_inheredoc@GOTPCREL(%rip), %rax
	movl	$-1, %r14d
	cmpq	$0, (%rax)
	je	LBB0_1
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_nsrchn@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	testl	%r12d, %r12d
	jle	LBB0_10
## %bb.2:
	movq	%rdi, %r15
	movq	_srchn@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	shlq	$4, %r12
	addq	%r13, %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	$16, %rbx
	movq	%rbx, %r13
	cmpq	%r12, %r13
	jae	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rbx
	subq	%r13, %rbx
	sarq	$5, %rbx
	shlq	$4, %rbx
	movl	(%r15), %eax
	movq	(%r13,%rbx), %rdi
	subl	(%rdi), %eax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	callq	_str2short
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_Strcmp
	testl	%eax, %eax
	je	LBB0_5
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	%r13, %rbx
	testl	%eax, %eax
	jns	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %r12
	cmpq	%r12, %r13
	jb	LBB0_3
	jmp	LBB0_10
LBB0_5:
	movl	8(%r13,%rbx), %r14d
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_inheredoc,8,3                  ## @inheredoc
	.comm	_srchn,8,3                      ## @srchn
	.comm	_nsrchn,4,2                     ## @nsrchn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_srchx                          ; -- Begin function srchx
	.p2align	2
_srchx:                                 ; @srchx
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, _inheredoc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _inheredoc@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
LBB0_1:
	mov	w0, #-1
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh3:
	adrp	x8, _nsrchn@GOTPAGE
Lloh4:
	ldr	x8, [x8, _nsrchn@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_1
; %bb.4:
	mov	x19, x0
Lloh6:
	adrp	x9, _srchn@GOTPAGE
Lloh7:
	ldr	x9, [x9, _srchn@GOTPAGEOFF]
Lloh8:
	ldr	x20, [x9]
	add	x21, x20, x8, lsl #4
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x22, #16
	cmp	w0, #0
	csel	x20, x20, x8, lt
	csel	x21, x22, x21, lt
	cmp	x20, x21
	b.hs	LBB0_1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sub	x8, x21, x20
	asr	x23, x8, #5
	add	x22, x20, x23, lsl #4
	ldr	w9, [x19]
	ldr	x8, [x22]
	ldr	w10, [x8]
	subs	w0, w9, w10
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x8
	bl	_str2short
	mov	x1, x0
	mov	x0, x19
	bl	_Strcmp
	cbnz	w0, LBB0_5
; %bb.8:
	add	x8, x20, x23, lsl #4
	ldr	w0, [x8, #8]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_inheredoc,8,3                  ; @inheredoc
	.comm	_srchn,8,3                      ; @srchn
	.comm	_nsrchn,4,2                     ; @nsrchn
.subsections_via_symbols
