	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strnlen                        ## -- Begin function strnlen
	.p2align	4, 0x90
_strnlen:                               ## @strnlen
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%rcx), %rax
	cmpb	$0, (%rdi,%rcx)
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%rsi, %rcx
	movq	%rax, %rcx
	jb	LBB0_1
LBB0_3:
	decq	%rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strnlen                        ; -- Begin function strnlen
	.p2align	2
_strnlen:                               ; @strnlen
	.cfi_startproc
; %bb.0:
	mov	x8, #0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x0, x8]
	add	x9, x8, #1
	cmp	w10, #0
	ccmp	x8, x1, #2, ne
	mov	x8, x9
	b.lo	LBB0_1
; %bb.2:
	sub	x0, x9, #1
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
