	.file	"extr_bdflib.c__bdf_atol.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	_bdf_atol, @function
_bdf_atol:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	test	rdi, rdi
	je	.L8
	movsx	esi, BYTE PTR [rdi]
	mov	rbp, rdi
	xor	r12d, r12d
	test	sil, sil
	je	.L1
	xor	ebx, ebx
	cmp	sil, 45
	je	.L16
.L3:
	xor	r12d, r12d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L7:
	mov	ecx, DWORD PTR FT_LONG_MAX[rip]
	lea	edx, -9[rcx]
	movsx	rax, edx
	sar	edx, 31
	imul	rax, rax, 1717986919
	sar	rax, 34
	sub	eax, edx
	cdqe
	cmp	rax, r12
	jle	.L5
	movsx	rcx, BYTE PTR 0[rbp]
	lea	rdx, [r12+r12*4]
	movsx	esi, BYTE PTR 1[rbp]
	add	rbp, 1
	mov	rax, QWORD PTR a2i[rip]
	mov	rax, QWORD PTR [rax+rcx*8]
	lea	r12, [rax+rdx*2]
.L4:
	mov	edi, DWORD PTR ddigits[rip]
	call	sbitset@PLT
	test	rax, rax
	jne	.L7
.L6:
	mov	rax, r12
	neg	rax
	test	rbx, rbx
	cmovne	r12, rax
.L1:
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	movsx	r12, ecx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L16:
	movsx	esi, BYTE PTR 1[rdi]
	add	rbp, 1
	mov	ebx, 1
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L8:
	xor	r12d, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	_bdf_atol, .-_bdf_atol
	.comm	ddigits,4,4
	.comm	a2i,8,8
	.comm	FT_LONG_MAX,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_bdflib.c__bdf_atol.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_bdf_atol, %function
_bdf_atol:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	subs	r10, r0, #0
	moveq	r9, r10
	beq	.L1
	ldrb	r1, [r10]	@ zero_extendqisi2
	cmp	r1, #0
	beq	.L8
	cmp	r1, #45
	moveq	r8, #1
	ldrbeq	r1, [r10, #1]	@ zero_extendqisi2
	movne	r8, #0
	mov	r9, #0
	ldr	r4, .L16
	ldr	r6, .L16+4
	ldr	r5, .L16+8
	ldr	r7, .L16+12
	addeq	r10, r10, r8
	b	.L4
.L6:
	ldr	r2, [r6]
	add	r0, r9, r9, lsl #2
	sub	r3, r2, #9
	smull	ip, r1, r5, r3
	asr	r3, r3, #31
	rsb	r3, r3, r1, asr #2
	cmp	r3, r9
	ble	.L10
	ldrb	r2, [r10]	@ zero_extendqisi2
	ldr	r3, [r7]
	ldrb	r1, [r10, #1]!	@ zero_extendqisi2
	ldr	r9, [r3, r2, lsl #2]
	add	r9, r9, r0, lsl #1
.L4:
	ldr	r0, [r4]
	bl	sbitset
	cmp	r0, #0
	bne	.L6
.L5:
	cmp	r8, #0
	rsbne	r9, r9, #0
.L1:
	mov	r0, r9
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	mov	r9, r1
	mov	r0, r9
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	mov	r9, r2
	b	.L5
.L17:
	.align	2
.L16:
	.word	ddigits
	.word	FT_LONG_MAX
	.word	1717986919
	.word	a2i
	.size	_bdf_atol, .-_bdf_atol
	.comm	ddigits,4,4
	.comm	a2i,4,4
	.comm	FT_LONG_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
