	.file	"extr_rdb.c_rdbLoadDoubleValue.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lg"
	.text
	.p2align 4
	.globl	rdbLoadDoubleValue
	.type	rdbLoadDoubleValue, @function
rdbLoadDoubleValue:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	edx, 1
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	sub	rsp, 288
	.cfi_def_cfa_offset 320
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 280[rsp], rax
	xor	eax, eax
	lea	rsi, 15[rsp]
	call	rioRead@PLT
	test	rax, rax
	je	.L8
	movzx	edx, BYTE PTR 15[rsp]
	cmp	dl, -2
	je	.L4
	cmp	dl, -1
	je	.L5
	cmp	dl, -3
	je	.L16
	lea	r13, 16[rsp]
	xor	eax, eax
	mov	rdi, rbp
	mov	rsi, r13
	call	rioRead@PLT
	test	rax, rax
	je	.L8
	movzx	eax, BYTE PTR 15[rsp]
	mov	rdx, r12
	lea	rsi, .LC0[rip]
	mov	rdi, r13
	mov	BYTE PTR 16[rsp+rax], 0
	call	sscanf@PLT
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 280[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L17
	add	rsp, 288
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	movsd	xmm0, QWORD PTR R_PosInf[rip]
	xor	eax, eax
	movsd	QWORD PTR [r12], xmm0
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	movsd	xmm0, QWORD PTR R_Nan[rip]
	xor	eax, eax
	movsd	QWORD PTR [r12], xmm0
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	movsd	xmm0, QWORD PTR R_NegInf[rip]
	xor	eax, eax
	movsd	QWORD PTR [r12], xmm0
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	eax, -1
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	rdbLoadDoubleValue, .-rdbLoadDoubleValue
	.comm	R_PosInf,8,8
	.comm	R_NegInf,8,8
	.comm	R_Nan,8,8
	.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_rdb.c_rdbLoadDoubleValue.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%lg\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	rdbLoadDoubleValue
	.syntax unified
	.arm
	.fpu softvfp
	.type	rdbLoadDoubleValue, %function
rdbLoadDoubleValue:
	@ args = 0, pretend = 0, frame = 264
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L18
	sub	sp, sp, #268
	mov	r5, r1
	mov	r2, #1
	add	r1, sp, #3
	ldr	r3, [r3]
	str	r3, [sp, #260]
	mov	r3,#0
	mov	r4, r0
	bl	rioRead
	cmp	r0, #0
	beq	.L8
	ldrb	r2, [sp, #3]	@ zero_extendqisi2
	cmp	r2, #254
	beq	.L4
	cmp	r2, #255
	beq	.L5
	cmp	r2, #253
	beq	.L16
	mov	r0, r4
	add	r1, sp, #4
	bl	rioRead
	cmp	r0, #0
	beq	.L8
	mov	r4, #0
	ldrb	r3, [sp, #3]	@ zero_extendqisi2
	add	r1, sp, #264
	add	r3, r1, r3
	mov	r2, r5
	ldr	r1, .L18+4
	add	r0, sp, #4
	strb	r4, [r3, #-260]
	bl	sscanf
	mov	r0, r4
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #260]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #268
	@ sp needed
	pop	{r4, r5, pc}
.L4:
	ldr	r3, .L18+8
	mov	r0, #0
	ldmia	r3, {r2-r3}
	stm	r5, {r2-r3}
	b	.L1
.L16:
	ldr	r3, .L18+12
	mov	r0, #0
	ldmia	r3, {r2-r3}
	stm	r5, {r2-r3}
	b	.L1
.L5:
	ldr	r3, .L18+16
	mov	r0, #0
	ldmia	r3, {r2-r3}
	stm	r5, {r2-r3}
	b	.L1
.L8:
	mvn	r0, #0
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC1
	.word	.LC0
	.word	R_PosInf
	.word	R_Nan
	.word	R_NegInf
	.size	rdbLoadDoubleValue, .-rdbLoadDoubleValue
	.comm	R_PosInf,8,8
	.comm	R_NegInf,8,8
	.comm	R_Nan,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
