	.file	"extr_roff.c_roff_getregn.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	roff_getregn, @function
roff_getregn:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	cmp	BYTE PTR [rsi], 46
	jne	.L7
	cmp	rdx, 2
	je	.L2
.L7:
	mov	rbx, QWORD PTR 0[r13]
	test	rbx, rbx
	jne	.L4
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rbx, QWORD PTR 24[rbx]
	test	rbx, rbx
	je	.L5
.L4:
	cmp	QWORD PTR 8[rbx], r12
	jne	.L8
	mov	esi, DWORD PTR 16[rbx]
	mov	rdx, r12
	mov	rdi, rbp
	call	strncmp@PLT
	test	rax, rax
	jne	.L8
	mov	eax, DWORD PTR [rbx]
	cmp	r14b, 43
	je	.L9
	cmp	r14b, 45
	jne	.L1
	sub	eax, DWORD PTR 4[rbx]
	mov	DWORD PTR [rbx], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	r9d, DWORD PTR INT_MIN[rip]
	xor	r8d, r8d
	xor	ecx, ecx
	mov	rdx, r12
	mov	rsi, rbp
	mov	rdi, r13
	call	roff_setregn@PLT
	xor	eax, eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	lea	rsi, 1[rsi]
	call	roff_getregro@PLT
	cmp	eax, -1
	jne	.L1
	jmp	.L7
.L9:
	add	eax, DWORD PTR 4[rbx]
	mov	DWORD PTR [rbx], eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	roff_getregn, .-roff_getregn
	.comm	INT_MIN,4,4
	.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_roff.c_roff_getregn.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	roff_getregn, %function
roff_getregn:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r2
	ldrb	r2, [r1]	@ zero_extendqisi2
	mov	r6, r1
	cmp	r2, #46
	cmpeq	r5, #2
	mov	r8, r3
	mov	r7, r0
	sub	sp, sp, #8
	beq	.L2
.L6:
	ldr	r4, [r7]
	cmp	r4, #0
	bne	.L3
	b	.L4
.L7:
	ldr	r4, [r4, #16]
	cmp	r4, #0
	beq	.L4
.L3:
	ldr	ip, [r4, #8]
	cmp	ip, r5
	bne	.L7
	mov	r2, r5
	mov	r0, r6
	ldr	r1, [r4, #12]
	bl	strncmp
	cmp	r0, #0
	bne	.L7
	cmp	r8, #43
	ldr	r0, [r4]
	beq	.L8
	cmp	r8, #45
	ldreq	r3, [r4, #4]
	subeq	r0, r0, r3
	streq	r0, [r4]
	b	.L1
.L4:
	mov	r4, #0
	ldr	r3, .L15
	mov	r2, r5
	ldr	r3, [r3]
	mov	r1, r6
	str	r3, [sp, #4]
	mov	r0, r7
	mov	r3, r4
	str	r4, [sp]
	bl	roff_setregn
	mov	r0, r4
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	add	r1, r1, #1
	bl	roff_getregro
	cmn	r0, #1
	bne	.L1
	b	.L6
.L8:
	ldr	r3, [r4, #4]
	add	r0, r0, r3
	str	r0, [r4]
	b	.L1
.L16:
	.align	2
.L15:
	.word	INT_MIN
	.size	roff_getregn, .-roff_getregn
	.comm	INT_MIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
