	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_p2ps_substr
_find_p2ps_substr:                      ## @find_p2ps_substr
	.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
	movl	$1, %eax
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.1:
	movq	%rdx, %r12
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.2:
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.3:
	movq	%rbx, %rdi
	callq	_os_strlen
	cmpq	%r12, %rax
	jae	LBB0_6
LBB0_12:
	xorl	%eax, %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%rax, %r15
	leaq	-1(%rax), %r13
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_os_memcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpq	%r14, %r15
	jbe	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%r14
	leaq	-1(%r13), %rcx
	addq	$4, %rbx
	cmpq	%r12, %r13
	movq	%rcx, %r13
	jae	LBB0_7
	jmp	LBB0_12
LBB0_11:
	movl	$1, %eax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_find_p2ps_substr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_p2ps_substr
_find_p2ps_substr:                      ; @find_p2ps_substr
	.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
	mov	x8, x0
	mov	w0, #1
	cbz	x1, LBB0_10
; %bb.1:
	mov	x19, x2
	cbz	x2, LBB0_10
; %bb.2:
	ldr	x21, [x8]
	cbz	x21, LBB0_4
; %bb.3:
	mov	x20, x1
	mov	x0, x21
	bl	_os_strlen
	cmp	x0, x19
	b.hs	LBB0_5
LBB0_4:
	mov	w0, #0
	b	LBB0_10
LBB0_5:
	mov	x22, x0
	sub	x24, x0, #1
	mov	w23, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_os_memcmp
	cbz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #0
	cmp	x22, x23
	b.ls	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #1
	sub	x8, x24, #1
	add	x21, x21, #4
	cmp	x24, x19
	mov	x24, x8
	b.hs	LBB0_6
	b	LBB0_10
LBB0_9:
	mov	w0, #1
LBB0_10:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_find_p2ps_substr
.subsections_via_symbols
