	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_strstr                     ## -- Begin function h2o_strstr
	.p2align	4, 0x90
_h2o_strstr:                            ## @h2o_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	%rcx, %rsi
	jb	LBB0_8
## %bb.1:
	movq	%rcx, %r15
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.3:
	movq	%rsi, %r13
	incq	%r13
	cmpq	%r15, %r13
	jne	LBB0_4
LBB0_8:
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_9
LBB0_2:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_4:
	movq	%rdx, %r14
	movq	%rdi, %r12
	subq	%r15, %r13
	leaq	1(%rdx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	decq	%r15
	leaq	1(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	cmpq	%rbx, %r13
	je	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r12,%rbx), %eax
	cmpb	(%r14), %al
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_7
LBB0_9:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIZE_MAX,8,3                   ## @SIZE_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_strstr                     ; -- Begin function h2o_strstr
	.p2align	2
_h2o_strstr:                            ; @h2o_strstr
	.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
	cmp	x1, x3
	b.lo	LBB0_3
; %bb.1:
	cbz	x3, LBB0_4
; %bb.2:
	add	x8, x1, #1
	cmp	x8, x3
	b.ne	LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _SIZE_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIZE_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	b	LBB0_9
LBB0_4:
	mov	x21, #0
	b	LBB0_9
LBB0_5:
	mov	x19, x2
	mov	x20, x0
	mov	x21, #0
	sub	x24, x8, x3
	add	x22, x2, #1
	sub	x23, x3, #1
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x21, x21, #1
	cmp	x24, x21
	b.eq	LBB0_3
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x20, x21]
	ldrb	w9, [x19]
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x8, x20, x21
	add	x0, x8, #1
	mov	x1, x22
	mov	x2, x23
	bl	_memcmp
	cbnz	x0, LBB0_6
LBB0_9:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SIZE_MAX,8,3                   ; @SIZE_MAX
.subsections_via_symbols
