	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FS_ShiftedStrStr               ## -- Begin function FS_ShiftedStrStr
	.p2align	4, 0x90
_FS_ShiftedStrStr:                      ## @FS_ShiftedStrStr
	.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
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_MAX_STRING_TOKENS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rsi
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_1
## %bb.2:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	addb	%r15b, %al
	movb	%al, (%rsi,%rcx)
	movzbl	1(%rbx,%rcx), %eax
	incq	%rcx
	testb	%al, %al
	jne	LBB0_3
## %bb.4:
	movl	%ecx, %eax
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
LBB0_5:
	movb	$0, (%rsi,%rax)
	movq	%r14, %rdi
	callq	_strstr
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_7
## %bb.6:
	leaq	-24(%rbp), %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_STRING_TOKENS,4,2          ## @MAX_STRING_TOKENS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FS_ShiftedStrStr               ; -- Begin function FS_ShiftedStrStr
	.p2align	2
_FS_ShiftedStrStr:                      ; @FS_ShiftedStrStr
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sub	sp, sp, #16
	mov	x8, x1
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-8]
Lloh3:
	adrp	x9, _MAX_STRING_TOKENS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAX_STRING_TOKENS@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x9]
	mov	x9, x12
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x12, #15
	and	x10, x10, #0x1fffffff0
	sub	x1, x9, x10
	mov	sp, x1
	ldrb	w9, [x8]
	cbz	w9, LBB0_4
; %bb.1:
	mov	x10, #0
	add	x8, x8, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w9, w9, w2
	strb	w9, [x1, x10]
	add	x11, x10, #1
	ldrb	w9, [x8, x10]
	mov	x10, x11
	cbnz	w9, LBB0_2
; %bb.3:
	and	x8, x11, #0xffffffff
	b	LBB0_5
LBB0_4:
	mov	x8, #0
LBB0_5:
	strb	wzr, [x1, x8]
	bl	_strstr
	ldur	x8, [x29, #-8]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	mov	sp, x29
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_STRING_TOKENS,4,2          ; @MAX_STRING_TOKENS
.subsections_via_symbols
