	.file	"extr_util-print.c_fetch_token.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fetch_token, @function
fetch_token:
.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, 24
	.cfi_def_cfa_offset 80
	mov	QWORD PTR 8[rsp], rcx
	cmp	rdx, rcx
	jge	.L4
	mov	r15, QWORD PTR 8[rsp]
	mov	rbp, rsi
	mov	rbx, rdx
	mov	r13, r8
	mov	r14, r9
	xor	r12d, r12d
	sub	r15, rdx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L40:
	movsx	edi, BYTE PTR 0[rbp+rbx]
	call	isascii@PLT
	test	eax, eax
	je	.L4
	movsx	edi, BYTE PTR 0[rbp+rbx]
	call	isspace@PLT
	test	rax, rax
	jne	.L5
	movsx	edi, BYTE PTR 0[rbp+rbx]
	call	isprint@PLT
	test	eax, eax
	je	.L4
	lea	rax, 2[r12]
	cmp	r14, rax
	jb	.L4
	movzx	eax, BYTE PTR 0[rbp+rbx]
	add	rbx, 1
	mov	BYTE PTR 0[r13+r12], al
	add	r12, 1
	cmp	r12, r15
	je	.L39
.L6:
	movsx	edi, BYTE PTR 0[rbp+rbx]
	call	ND_TTEST@PLT
	test	eax, eax
	jne	.L40
.L4:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
.L5:
	.cfi_restore_state
	test	r12, r12
	je	.L4
	mov	BYTE PTR 0[r13+r12], 0
	cmp	QWORD PTR 8[rsp], rbx
	jg	.L9
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L41:
	movsx	edi, BYTE PTR 0[rbp+rbx]
	cmp	dil, 13
	je	.L8
	cmp	dil, 10
	je	.L8
	call	isascii@PLT
	test	eax, eax
	je	.L8
	movsx	edi, BYTE PTR 0[rbp+rbx]
	call	isprint@PLT
	test	eax, eax
	je	.L8
	movsx	edi, BYTE PTR 0[rbp+rbx]
	call	isspace@PLT
	test	rax, rax
	je	.L8
	add	rbx, 1
	cmp	QWORD PTR 8[rsp], rbx
	je	.L8
.L9:
	movsx	edi, BYTE PTR 0[rbp+rbx]
	call	ND_TTEST@PLT
	test	eax, eax
	jne	.L41
	.p2align 4,,10
	.p2align 3
.L8:
	mov	eax, ebx
.L42:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L39:
	.cfi_restore_state
	mov	BYTE PTR 0[r13+r12], 0
	mov	eax, ebx
	jmp	.L42
	.cfi_endproc
.LFE0:
	.size	fetch_token, .-fetch_token
	.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_util-print.c_fetch_token.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fetch_token, %function
fetch_token:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	cmp	r2, r3
	ldr	r10, [sp, #44]
	bge	.L2
	mov	fp, r3
	ldr	r3, [sp, #40]
	sub	r4, r2, #1
	mov	r6, r2
	mov	r8, r1
	mov	r5, #0
	add	r4, r1, r4
	sub	r7, r3, #1
	sub	r9, fp, r2
	b	.L4
.L37:
	ldrb	r0, [r4]	@ zero_extendqisi2
	bl	isascii
	cmp	r0, #0
	beq	.L2
	ldrb	r0, [r4]	@ zero_extendqisi2
	bl	isspace
	cmp	r0, #0
	bne	.L3
	ldrb	r0, [r4]	@ zero_extendqisi2
	bl	isprint
	cmp	r0, #0
	add	r3, r5, #2
	add	r5, r5, #1
	beq	.L2
	cmp	r10, r3
	bcc	.L2
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r5, r9
	add	r6, r6, #1
	strb	r3, [r7, #1]!
	beq	.L5
.L4:
	ldrb	r0, [r4, #1]!	@ zero_extendqisi2
	bl	ND_TTEST
	cmp	r0, #0
	bne	.L37
.L2:
	mov	r4, #0
.L1:
	mov	r0, r4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L3:
	cmp	r5, #0
	beq	.L2
	mov	r9, r5
.L5:
	mov	r3, #0
	ldr	r2, [sp, #40]
	cmp	fp, r6
	mov	r4, r6
	strb	r3, [r2, r9]
	ble	.L1
	sub	r6, r6, #1
	add	r8, r8, r6
	b	.L7
.L38:
	ldrb	r0, [r8]	@ zero_extendqisi2
	cmp	r0, #10
	cmpne	r0, #13
	beq	.L1
	bl	isascii
	cmp	r0, #0
	beq	.L1
	ldrb	r0, [r8]	@ zero_extendqisi2
	bl	isprint
	cmp	r0, #0
	beq	.L1
	ldrb	r0, [r8]	@ zero_extendqisi2
	bl	isspace
	cmp	r0, #0
	beq	.L1
	add	r4, r4, #1
	cmp	fp, r4
	beq	.L1
.L7:
	ldrb	r0, [r8, #1]!	@ zero_extendqisi2
	bl	ND_TTEST
	cmp	r0, #0
	bne	.L38
	b	.L1
	.size	fetch_token, .-fetch_token
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
