	.file	"extr_noa1305.c_noa1305_scale.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	noa1305_scale, @function
noa1305_scale:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdx
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR NOA1305_REG_INTEGRATION_TIME[rip]
	mov	edi, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	rdx, 4[rsp]
	call	regmap_read@PLT
	test	eax, eax
	js	.L1
	mov	eax, DWORD PTR 4[rsp]
	add	eax, -128
	cmp	eax, 7
	ja	.L3
	lea	rdx, .L5[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L5:
	.long	.L12-.L5
	.long	.L11-.L5
	.long	.L10-.L5
	.long	.L9-.L5
	.long	.L8-.L5
	.long	.L7-.L5
	.long	.L6-.L5
	.long	.L4-.L5
	.text
	.p2align 4,,10
	.p2align 3
.L6:
	mov	DWORD PTR 0[rbp], 100000
	mov	DWORD PTR [rbx], 9625
	.p2align 4,,10
	.p2align 3
.L13:
	mov	eax, DWORD PTR IIO_VAL_FRACTIONAL[rip]
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L17
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	DWORD PTR 0[rbp], 100
	mov	DWORD PTR [rbx], 77
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L12:
	mov	DWORD PTR 0[rbp], 100
	mov	DWORD PTR [rbx], 616
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L11:
	mov	DWORD PTR 0[rbp], 1000000
	mov	DWORD PTR [rbx], 48125
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L10:
	mov	DWORD PTR 0[rbp], 1000
	mov	DWORD PTR [rbx], 385
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L9:
	mov	DWORD PTR 0[rbp], 100
	mov	DWORD PTR [rbx], 308
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L8:
	mov	DWORD PTR 0[rbp], 10000
	mov	DWORD PTR [rbx], 1925
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L7:
	mov	DWORD PTR 0[rbp], 100
	mov	DWORD PTR [rbx], 154
	jmp	.L13
.L3:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	noa1305_scale, .-noa1305_scale
	.comm	NOA1305_REG_INTEGRATION_TIME,4,4
	.comm	IIO_VAL_FRACTIONAL,4,4
	.comm	EINVAL,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_noa1305.c_noa1305_scale.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	noa1305_scale, %function
noa1305_scale:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r2
	ldr	r2, .L18
	sub	sp, sp, #12
	ldr	r3, .L18+4
	mov	r5, r1
	ldr	r0, [r0]
	ldr	r1, [r2]
	mov	r2, sp
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	regmap_read
	cmp	r0, #0
	blt	.L1
	ldr	r3, [sp]
	sub	r3, r3, #128
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L3
.L5:
	.word	.L12
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L4
.L4:
	mov	r2, #100
	mov	r3, #77
	str	r2, [r5]
	str	r3, [r4]
.L13:
	ldr	r3, .L18+8
	ldr	r0, [r3]
.L1:
	ldr	r3, .L18+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L12:
	mov	r2, #100
	mov	r3, #616
	str	r2, [r5]
	str	r3, [r4]
	b	.L13
.L11:
	ldr	r2, .L18+12
	ldr	r3, .L18+16
	str	r2, [r5]
	str	r3, [r4]
	b	.L13
.L10:
	mov	r2, #1000
	ldr	r3, .L18+20
	str	r2, [r5]
	str	r3, [r4]
	b	.L13
.L9:
	mov	r2, #100
	mov	r3, #308
	str	r2, [r5]
	str	r3, [r4]
	b	.L13
.L8:
	ldr	r2, .L18+24
	ldr	r3, .L18+28
	str	r2, [r5]
	str	r3, [r4]
	b	.L13
.L7:
	mov	r2, #100
	mov	r3, #154
	str	r2, [r5]
	str	r3, [r4]
	b	.L13
.L6:
	ldr	r2, .L18+32
	ldr	r3, .L18+36
	str	r2, [r5]
	str	r3, [r4]
	b	.L13
.L17:
	bl	__stack_chk_fail
.L3:
	ldr	r3, .L18+40
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L19:
	.align	2
.L18:
	.word	NOA1305_REG_INTEGRATION_TIME
	.word	.LC0
	.word	IIO_VAL_FRACTIONAL
	.word	1000000
	.word	48125
	.word	385
	.word	10000
	.word	1925
	.word	100000
	.word	9625
	.word	EINVAL
	.size	noa1305_scale, .-noa1305_scale
	.comm	NOA1305_REG_INTEGRATION_TIME,4,4
	.comm	IIO_VAL_FRACTIONAL,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
