	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pbuf_strstr                    ## -- Begin function pbuf_strstr
	.p2align	4, 0x90
_pbuf_strstr:                           ## @pbuf_strstr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.1:
	movq	%rsi, %rbx
	cmpb	$0, (%rsi)
	je	LBB0_4
## %bb.2:
	movq	%rdi, %r14
	cmpl	$65535, (%rdi)                  ## imm = 0xFFFF
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_os_strlen
	cmpq	$65534, %rax                    ## imm = 0xFFFE
	jbe	LBB0_5
LBB0_4:
	movl	$65535, %eax                    ## imm = 0xFFFF
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pbuf_memfind                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pbuf_strstr                    ; -- Begin function pbuf_strstr
	.p2align	2
_pbuf_strstr:                           ; @pbuf_strstr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x1, LBB0_4
; %bb.1:
	mov	x19, x1
	ldrb	w8, [x1]
	cbz	w8, LBB0_4
; %bb.2:
	mov	x20, x0
	ldr	w8, [x0]
	mov	w9, #65535
	cmp	w8, w9
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_os_strlen
	mov	w8, #65534
	cmp	x0, x8
	b.ls	LBB0_5
LBB0_4:
	mov	w0, #65535
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	w3, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pbuf_memfind
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
