	.file	"extr_loopback_test.c_read_sysfs_float_fd.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"unable to read from %s%s %s\n"
	.text
	.p2align 4
	.globl	read_sysfs_float_fd
	.type	read_sysfs_float_fd, @function
read_sysfs_float_fd:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	mov	r14, rdx
	push	r13
	.cfi_offset 13, -40
	mov	r13, rsi
	push	r12
	.cfi_offset 12, -48
	mov	r12d, edi
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR SYSFS_MAX_INT[rip]
	mov	rcx, rsp
	mov	r8, rax
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L12:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L12
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L13
.L4:
	mov	edx, r8d
	mov	rsi, rsp
	mov	edi, r12d
	mov	r15, rsp
	call	read@PLT
	test	rax, rax
	jns	.L5
	mov	edi, DWORD PTR errno[rip]
	call	strerror@PLT
	mov	edi, DWORD PTR stderr[rip]
	mov	rcx, r14
	mov	rdx, r13
	mov	r8d, eax
	lea	rsi, .LC0[rip]
	call	fprintf@PLT
	mov	edi, r12d
	call	close@PLT
	xor	eax, eax
	call	abort@PLT
.L5:
	mov	rdi, r15
	call	atof@PLT
	mov	rax, QWORD PTR -40[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	lea	rsp, -32[rbp]
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	read_sysfs_float_fd, .-read_sysfs_float_fd
	.comm	stderr,4,4
	.comm	errno,4,4
	.comm	SYSFS_MAX_INT,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_loopback_test.c_read_sysfs_float_fd.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unable to read from %s%s %s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_sysfs_float_fd
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_sysfs_float_fd, %function
read_sysfs_float_fd:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #20
	ldr	r3, .L8
	mov	r4, r1
	ldr	ip, [r3]
	mov	r5, r2
	add	r3, ip, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	add	r7, sp, #8
	ldr	r3, .L8+4
	mov	r2, ip
	mov	r1, r7
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r6, r0
	bl	read
	cmp	r0, #0
	blt	.L6
.L2:
	mov	r0, r7
	bl	atof
	ldr	r3, .L8+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L6:
	ldr	r2, .L8+8
	ldr	r3, .L8+12
	ldr	r0, [r2]
	ldr	r8, [r3]
	bl	strerror
	mov	r2, r0
	mov	r3, r5
	ldr	r1, .L8+16
	str	r2, [sp]
	mov	r0, r8
	mov	r2, r4
	bl	fprintf
	mov	r0, r6
	bl	close
	bl	abort
	b	.L2
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	SYSFS_MAX_INT
	.word	.LC1
	.word	errno
	.word	stderr
	.word	.LC0
	.size	read_sysfs_float_fd, .-read_sysfs_float_fd
	.comm	stderr,4,4
	.comm	errno,4,4
	.comm	SYSFS_MAX_INT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
