	.file	"extr_sca3000_core.c_sca3000_query_free_fall_mode.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
	.text
	.p2align 4
	.type	sca3000_query_free_fall_mode, @function
sca3000_query_free_fall_mode:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	dev_get_drvdata@PLT
	mov	rbp, QWORD PTR [rax]
	mov	rdi, rbp
	call	mutex_lock@PLT
	mov	rdi, rbp
	mov	rdx, rsp
	mov	ecx, 1
	mov	esi, DWORD PTR SCA3000_REG_ADDR_MODE[rip]
	call	sca3000_read_data@PLT
	mov	rdi, rbp
	mov	r12d, eax
	call	mutex_unlock@PLT
	test	r12d, r12d
	jne	.L1
	mov	rax, QWORD PTR [rsp]
	xor	edx, edx
	mov	rdi, r13
	lea	rsi, .LC0[rip]
	mov	eax, DWORD PTR 4[rax]
	test	DWORD PTR SCA3000_FREE_FALL_DETECT[rip], eax
	setne	dl
	call	sprintf@PLT
	mov	rdi, QWORD PTR [rsp]
	mov	r12d, eax
	call	kfree@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L6
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	sca3000_query_free_fall_mode, .-sca3000_query_free_fall_mode
	.comm	SCA3000_REG_ADDR_MODE,4,4
	.comm	SCA3000_FREE_FALL_DETECT,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_sca3000_core.c_sca3000_query_free_fall_mode.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sca3000_query_free_fall_mode, %function
sca3000_query_free_fall_mode:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L7
	sub	sp, sp, #8
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r6, r2
	bl	dev_get_drvdata
	ldr	r5, [r0]
	mov	r0, r5
	bl	mutex_lock
	ldr	r3, .L7+4
	mov	r2, sp
	ldr	r1, [r3]
	mov	r0, r5
	mov	r3, #1
	bl	sca3000_read_data
	mov	r4, r0
	mov	r0, r5
	bl	mutex_unlock
	cmp	r4, #0
	bne	.L1
	ldr	r2, [sp]
	ldr	r3, .L7+8
	ldr	r2, [r2, #4]
	ldr	r3, [r3]
	mov	r0, r6
	tst	r2, r3
	movne	r2, #1
	moveq	r2, #0
	ldr	r1, .L7+12
	bl	sprintf
	mov	r4, r0
	ldr	r0, [sp]
	bl	kfree
.L1:
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L6
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L6:
	bl	__stack_chk_fail
.L8:
	.align	2
.L7:
	.word	.LC1
	.word	SCA3000_REG_ADDR_MODE
	.word	SCA3000_FREE_FALL_DETECT
	.word	.LC0
	.size	sca3000_query_free_fall_mode, .-sca3000_query_free_fall_mode
	.comm	SCA3000_REG_ADDR_MODE,4,4
	.comm	SCA3000_FREE_FALL_DETECT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
