	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _zip_memmem
__zip_memmem:                           ## @_zip_memmem
	.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
	leaq	-1(%rcx), %r13
	cmpq	%rsi, %r13
	jae	LBB0_6
## %bb.1:
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rdi, %rbx
	leaq	(%rsi,%rdi), %rax
	incq	%rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	decq	%rbx
	leaq	1(%rdx), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r14), %esi
	leaq	(%rbx,%r12), %rax
	incq	%rax
	incq	%rbx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	subq	%rax, %rdx
	movq	%rbx, %rdi
	callq	_memchr
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	incq	%rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_2
## %bb.4:
	movq	%rbx, %rax
	jmp	LBB0_7
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	__zip_memmem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _zip_memmem
__zip_memmem:                           ; @_zip_memmem
	.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
	sub	x21, x3, #1
	cmp	x21, x1
	b.hs	LBB0_4
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	sub	x22, x0, #1
	add	x8, x1, x0
	add	x24, x8, #1
	add	x23, x2, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x22, #1
	ldrb	w1, [x20]
	add	x8, x0, x19
	sub	x2, x24, x8
	bl	_memchr
	mov	x22, x0
	cbz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x22, #1
	mov	x1, x23
	mov	x2, x21
	bl	_memcmp
	cbnz	x0, LBB0_2
	b	LBB0_5
LBB0_4:
	mov	x22, #0
LBB0_5:
	mov	x0, x22
	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	__zip_memmem
.subsections_via_symbols
