	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function grmemlen
_grmemlen:                              ## @grmemlen
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	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
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.4:
	callq	_strlen
	movq	%rax, %r13
	addq	$25, %r13
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
	retq
LBB0_3:
	movl	$24, %r13d
LBB0_5:
	movq	8(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_strlen
	addq	%rax, %r13
	incq	%r13
LBB0_7:
	movq	16(%r12), %r12
	xorl	%ebx, %ebx
	testq	%r12, %r12
	je	LBB0_11
## %bb.8:
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.9:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	callq	_strlen
	addq	%rax, %r13
	addq	$9, %r13
	movq	8(%r12,%rbx,8), %rdi
	incq	%rbx
	testq	%rdi, %rdi
	jne	LBB0_10
LBB0_11:
	testq	%r15, %r15
	je	LBB0_13
## %bb.12:
	incl	%ebx
	movq	%r15, %rdi
	callq	_strlen
	addq	%rax, %r13
	addq	$9, %r13
LBB0_13:
	leaq	8(%r13), %rax
	testl	%ebx, %ebx
	cmoveq	%r13, %rax
	movl	%ebx, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_grmemlen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function grmemlen
_grmemlen:                              ; @grmemlen
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_13
; %bb.1:
	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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_8
; %bb.2:
	bl	_strlen
	add	x22, x0, #25
	ldr	x0, [x21, #8]
	cbz	x0, LBB0_4
LBB0_3:
	bl	_strlen
	add	x8, x22, x0
	add	x22, x8, #1
LBB0_4:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_9
; %bb.5:
	ldr	x0, [x8]
	cbz	x0, LBB0_14
; %bb.6:
	mov	x21, #0
	add	x23, x8, #8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x24, x21
	bl	_strlen
	add	x8, x22, x0
	add	x22, x8, #9
	add	x21, x21, #1
	ldr	x0, [x23, x24, lsl #3]
	cbnz	x0, LBB0_7
	b	LBB0_10
LBB0_8:
	mov	w22, #24
	ldr	x0, [x21, #8]
	cbnz	x0, LBB0_3
	b	LBB0_4
LBB0_9:
	mov	w21, #0
LBB0_10:
	cbz	x20, LBB0_12
LBB0_11:
	add	w21, w21, #1
	mov	x0, x20
	bl	_strlen
	add	x8, x22, x0
	add	x22, x8, #9
LBB0_12:
	add	x8, x22, #8
	cmp	w21, #0
	csel	x0, x22, x8, eq
	str	w21, [x19]
	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
LBB0_13:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	ret
LBB0_14:
	mov	w21, #0
	cbnz	x20, LBB0_11
	b	LBB0_12
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_grmemlen
.subsections_via_symbols
