	.file	"extr_gr_util.c_grmemlen.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	grmemlen, @function
grmemlen:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	test	rdi, rdi
	je	.L12
	mov	rbx, rdi
	mov	rdi, QWORD PTR [rdi]
	mov	rbp, rsi
	mov	r13, rdx
	mov	r12d, 24
	test	rdi, rdi
	je	.L3
	call	strlen@PLT
	lea	r12, 25[rax]
.L3:
	mov	rdi, QWORD PTR 8[rbx]
	test	rdi, rdi
	je	.L4
	call	strlen@PLT
	lea	r12, 1[r12+rax]
.L4:
	mov	r14, QWORD PTR 16[rbx]
	test	r14, r14
	je	.L26
	mov	rdi, QWORD PTR [r14]
	mov	ebx, 1
	test	rdi, rdi
	je	.L26
	.p2align 4,,10
	.p2align 3
.L6:
	call	strlen@PLT
	mov	r15d, ebx
	add	rbx, 1
	mov	rdi, QWORD PTR -8[r14+rbx*8]
	lea	r12, 9[r12+rax]
	test	rdi, rdi
	jne	.L6
	test	rbp, rbp
	je	.L11
	add	r15d, 1
.L8:
	mov	rdi, rbp
	call	strlen@PLT
	lea	r12, 9[r12+rax]
.L11:
	add	r12, 8
.L9:
	mov	DWORD PTR 0[r13], r15d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	mov	r15d, 1
	test	rbp, rbp
	jne	.L8
	xor	r15d, r15d
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L12:
	xor	r12d, r12d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	grmemlen, .-grmemlen
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_gr_util.c_grmemlen.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	grmemlen, %function
grmemlen:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r5, r0, #0
	moveq	r4, r5
	beq	.L1
	ldr	r0, [r5]
	mov	r7, r1
	cmp	r0, #0
	mov	r8, r2
	moveq	r4, #12
	beq	.L3
	bl	strlen
	add	r4, r0, #13
.L3:
	ldr	r0, [r5, #4]
	cmp	r0, #0
	beq	.L4
	bl	strlen
	add	r4, r4, #1
	add	r4, r0, r4
.L4:
	ldr	r6, [r5, #8]
	cmp	r6, #0
	beq	.L24
	ldr	r0, [r6]
	cmp	r0, #0
	movne	r5, #0
	beq	.L24
.L10:
	bl	strlen
	mov	r3, r0
	ldr	r0, [r6, #4]!
	add	r3, r3, #5
	cmp	r0, #0
	add	r4, r4, r3
	mov	r3, r5
	add	r5, r5, #1
	bne	.L10
	cmp	r7, #0
	addne	r5, r3, #2
	beq	.L12
.L8:
	mov	r0, r7
	bl	strlen
	add	r4, r4, #5
	add	r4, r0, r4
.L12:
	add	r4, r4, #4
.L9:
	str	r5, [r8]
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L24:
	cmp	r7, #0
	moveq	r5, r7
	beq	.L9
	mov	r5, #1
	b	.L8
	.size	grmemlen, .-grmemlen
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
