	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function search_string
_search_string:                         ## @search_string
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	%rdx, %rdi
	callq	_strlen
	movl	%eax, %r10d
	subl	%eax, %r15d
	movl	$-1, %eax
	testl	%r15d, %r15d
	jle	LBB0_9
## %bb.1:
	decl	%r10d
	movl	%r15d, %r9d
	xorl	%edi, %edi
	movq	%r10, %r8
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	(%rbx,%rsi), %edx
	movsbl	(%r14,%rsi), %ecx
	cmpb	%cl, %dl
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	addl	$-32, %ecx
	cmpl	%edx, %ecx
	jne	LBB0_8
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=2
	cmpq	%rsi, %r10
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=2
	leaq	(%rdi,%rsi), %rcx
	incq	%rcx
	incq	%rsi
	cmpq	%r9, %rcx
	jb	LBB0_3
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdi
	incq	%r8
	incq	%rbx
	cmpq	%r9, %rdi
	jne	LBB0_2
	jmp	LBB0_9
LBB0_6:
	incl	%r8d
	movl	%r8d, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_search_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function search_string
_search_string:                         ; @search_string
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x2
	bl	_strlen
	sub	w8, w21, w0
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x9, #0
	sub	w10, w0, #1
	mov	x11, x10
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	mov	x12, #0
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w13, [x20, x12]
	ldrsb	w14, [x19, x12]
	sxtb	w15, w13
	sub	w16, w14, #32
	cmp	w13, w14, uxtb
	ccmp	w16, w15, #4, ne
	b.ne	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=2
	cmp	x10, x12
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=2
	add	x12, x12, #1
	add	x13, x9, x12
	cmp	x13, x8
	b.lo	LBB0_3
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #1
	add	x11, x11, #1
	add	x20, x20, #1
	cmp	x9, x8
	b.ne	LBB0_2
LBB0_7:
	mov	w0, #-1
	b	LBB0_9
LBB0_8:
	add	w0, w11, #1
LBB0_9:
	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
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_search_string
.subsections_via_symbols
