	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_StrLen                    ## -- Begin function HPDF_StrLen
	.p2align	4, 0x90
_HPDF_StrLen:                           ## @HPDF_StrLen
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpb	$0, (%rdi)
	je	LBB0_8
## %bb.2:
	xorl	%ecx, %ecx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	leaq	1(%rcx), %rax
	cmpb	$0, 1(%rdi,%rcx)
	movq	%rax, %rcx
	je	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rsi, %rsi
	js	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rsi, %rcx
	jl	LBB0_3
## %bb.6:
	movq	%rcx, %rax
LBB0_9:
	popq	%rbp
                                        ## kill: def $eax killed $eax killed $rax
	retq
LBB0_7:
	xorl	%eax, %eax
                                        ## kill: def $eax killed $eax killed $rax
	retq
LBB0_8:
	xorl	%eax, %eax
	popq	%rbp
                                        ## kill: def $eax killed $eax killed $rax
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_StrLen                    ; -- Begin function HPDF_StrLen
	.p2align	2
_HPDF_StrLen:                           ; @HPDF_StrLen
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_7
; %bb.1:
	ldrb	w8, [x0]
	cbz	w8, LBB0_8
; %bb.2:
	mov	x8, #0
	add	x9, x0, #1
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x8, #1
	ldrb	w10, [x9, x8]
	mov	x8, x0
	cbz	w10, LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	tbnz	x1, #63, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x8, x1
	b.lt	LBB0_3
; %bb.6:
	mov	x0, x8
LBB0_7:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_8:
	mov	x0, #0
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
