	.file	"extr_kxcjk-1013.c_kxcjk1013_report_motion_event.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Error reading reg_int_src2\n"
	.text
	.p2align 4
	.type	kxcjk1013_report_motion_event, @function
kxcjk1013_report_motion_event:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	iio_priv@PLT
	mov	esi, DWORD PTR KXCJK1013_REG_INT_SRC2[rip]
	mov	rdi, QWORD PTR 8[rax]
	mov	rbp, rax
	call	i2c_smbus_read_byte_data@PLT
	test	eax, eax
	js	.L26
	mov	ebx, eax
	test	DWORD PTR KXCJK1013_REG_INT_SRC2_BIT_XN[rip], eax
	jne	.L27
	test	DWORD PTR KXCJK1013_REG_INT_SRC2_BIT_XP[rip], ebx
	jne	.L28
.L4:
	test	DWORD PTR KXCJK1013_REG_INT_SRC2_BIT_YN[rip], ebx
	jne	.L29
.L5:
	test	DWORD PTR KXCJK1013_REG_INT_SRC2_BIT_YP[rip], ebx
	jne	.L30
.L6:
	test	DWORD PTR KXCJK1013_REG_INT_SRC2_BIT_ZN[rip], ebx
	jne	.L31
.L7:
	test	DWORD PTR KXCJK1013_REG_INT_SRC2_BIT_ZP[rip], ebx
	jne	.L32
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.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
.L27:
	.cfi_restore_state
	mov	edx, DWORD PTR IIO_MOD_X[rip]
	mov	edi, DWORD PTR IIO_ACCEL[rip]
	xor	esi, esi
	mov	r8d, DWORD PTR IIO_EV_DIR_FALLING[rip]
	mov	ecx, DWORD PTR IIO_EV_TYPE_THRESH[rip]
	mov	r13d, DWORD PTR 0[rbp]
	call	IIO_MOD_EVENT_CODE@PLT
	mov	rdi, r12
	mov	esi, eax
	mov	edx, r13d
	call	iio_push_event@PLT
	test	DWORD PTR KXCJK1013_REG_INT_SRC2_BIT_XP[rip], ebx
	je	.L4
.L28:
	mov	edx, DWORD PTR IIO_MOD_X[rip]
	mov	edi, DWORD PTR IIO_ACCEL[rip]
	xor	esi, esi
	mov	r8d, DWORD PTR IIO_EV_DIR_RISING[rip]
	mov	ecx, DWORD PTR IIO_EV_TYPE_THRESH[rip]
	mov	r13d, DWORD PTR 0[rbp]
	call	IIO_MOD_EVENT_CODE@PLT
	mov	rdi, r12
	mov	esi, eax
	mov	edx, r13d
	call	iio_push_event@PLT
	test	DWORD PTR KXCJK1013_REG_INT_SRC2_BIT_YN[rip], ebx
	je	.L5
.L29:
	mov	edx, DWORD PTR IIO_MOD_Y[rip]
	mov	edi, DWORD PTR IIO_ACCEL[rip]
	xor	esi, esi
	mov	r8d, DWORD PTR IIO_EV_DIR_FALLING[rip]
	mov	ecx, DWORD PTR IIO_EV_TYPE_THRESH[rip]
	mov	r13d, DWORD PTR 0[rbp]
	call	IIO_MOD_EVENT_CODE@PLT
	mov	rdi, r12
	mov	esi, eax
	mov	edx, r13d
	call	iio_push_event@PLT
	test	DWORD PTR KXCJK1013_REG_INT_SRC2_BIT_YP[rip], ebx
	je	.L6
.L30:
	mov	edx, DWORD PTR IIO_MOD_Y[rip]
	mov	edi, DWORD PTR IIO_ACCEL[rip]
	xor	esi, esi
	mov	r8d, DWORD PTR IIO_EV_DIR_RISING[rip]
	mov	ecx, DWORD PTR IIO_EV_TYPE_THRESH[rip]
	mov	r13d, DWORD PTR 0[rbp]
	call	IIO_MOD_EVENT_CODE@PLT
	mov	rdi, r12
	mov	esi, eax
	mov	edx, r13d
	call	iio_push_event@PLT
	test	DWORD PTR KXCJK1013_REG_INT_SRC2_BIT_ZN[rip], ebx
	je	.L7
.L31:
	mov	edx, DWORD PTR IIO_MOD_Z[rip]
	mov	edi, DWORD PTR IIO_ACCEL[rip]
	xor	esi, esi
	mov	r8d, DWORD PTR IIO_EV_DIR_FALLING[rip]
	mov	ecx, DWORD PTR IIO_EV_TYPE_THRESH[rip]
	mov	r13d, DWORD PTR 0[rbp]
	call	IIO_MOD_EVENT_CODE@PLT
	mov	rdi, r12
	mov	esi, eax
	mov	edx, r13d
	call	iio_push_event@PLT
	test	DWORD PTR KXCJK1013_REG_INT_SRC2_BIT_ZP[rip], ebx
	je	.L1
.L32:
	mov	edx, DWORD PTR IIO_MOD_Z[rip]
	mov	edi, DWORD PTR IIO_ACCEL[rip]
	xor	esi, esi
	mov	r8d, DWORD PTR IIO_EV_DIR_RISING[rip]
	mov	ecx, DWORD PTR IIO_EV_TYPE_THRESH[rip]
	mov	r13d, DWORD PTR 0[rbp]
	call	IIO_MOD_EVENT_CODE@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	mov	edx, r13d
	pop	rbp
	.cfi_def_cfa_offset 24
	mov	esi, eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	iio_push_event@PLT
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rbp]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	lea	rsi, .LC0[rip]
	pop	rbx
	.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
	jmp	dev_err@PLT
	.cfi_endproc
.LFE0:
	.size	kxcjk1013_report_motion_event, .-kxcjk1013_report_motion_event
	.comm	KXCJK1013_REG_INT_SRC2_BIT_ZP,4,4
	.comm	KXCJK1013_REG_INT_SRC2_BIT_ZN,4,4
	.comm	KXCJK1013_REG_INT_SRC2_BIT_YP,4,4
	.comm	KXCJK1013_REG_INT_SRC2_BIT_YN,4,4
	.comm	KXCJK1013_REG_INT_SRC2_BIT_XP,4,4
	.comm	KXCJK1013_REG_INT_SRC2_BIT_XN,4,4
	.comm	KXCJK1013_REG_INT_SRC2,4,4
	.comm	IIO_MOD_Z,4,4
	.comm	IIO_MOD_Y,4,4
	.comm	IIO_MOD_X,4,4
	.comm	IIO_EV_TYPE_THRESH,4,4
	.comm	IIO_EV_DIR_RISING,4,4
	.comm	IIO_EV_DIR_FALLING,4,4
	.comm	IIO_ACCEL,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_kxcjk-1013.c_kxcjk1013_report_motion_event.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Error reading reg_int_src2\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	kxcjk1013_report_motion_event, %function
kxcjk1013_report_motion_event:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	sub	sp, sp, #8
	mov	r6, r0
	bl	iio_priv
	ldr	r3, .L33
	mov	r5, r0
	ldr	r1, [r3]
	ldr	r0, [r0, #4]
	bl	i2c_smbus_read_byte_data
	subs	r4, r0, #0
	blt	.L26
	ldr	r3, .L33+4
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L27
	ldr	r3, .L33+8
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L28
.L4:
	ldr	r3, .L33+12
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L29
.L5:
	ldr	r3, .L33+16
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L30
.L6:
	ldr	r3, .L33+20
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L31
.L7:
	ldr	r3, .L33+24
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L32
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L27:
	ldr	r2, .L33+28
	ldr	r1, .L33+32
	ldr	r0, [r2]
	ldr	r3, .L33+36
	ldr	r2, .L33+40
	str	r0, [sp]
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r0, [r1]
	mov	r1, #0
	bl	IIO_MOD_EVENT_CODE
	ldr	r2, [r5]
	mov	r1, r0
	mov	r0, r6
	bl	iio_push_event
	ldr	r3, .L33+8
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L4
.L28:
	ldr	r2, .L33+44
	ldr	r1, .L33+32
	ldr	r0, [r2]
	ldr	r3, .L33+36
	ldr	r2, .L33+40
	str	r0, [sp]
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r0, [r1]
	mov	r1, #0
	bl	IIO_MOD_EVENT_CODE
	ldr	r2, [r5]
	mov	r1, r0
	mov	r0, r6
	bl	iio_push_event
	ldr	r3, .L33+12
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L5
.L29:
	ldr	r2, .L33+28
	ldr	r1, .L33+32
	ldr	r0, [r2]
	ldr	r3, .L33+36
	ldr	r2, .L33+48
	str	r0, [sp]
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r0, [r1]
	mov	r1, #0
	bl	IIO_MOD_EVENT_CODE
	ldr	r2, [r5]
	mov	r1, r0
	mov	r0, r6
	bl	iio_push_event
	ldr	r3, .L33+16
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L6
.L30:
	ldr	r2, .L33+44
	ldr	r1, .L33+32
	ldr	r0, [r2]
	ldr	r3, .L33+36
	ldr	r2, .L33+48
	str	r0, [sp]
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r0, [r1]
	mov	r1, #0
	bl	IIO_MOD_EVENT_CODE
	ldr	r2, [r5]
	mov	r1, r0
	mov	r0, r6
	bl	iio_push_event
	ldr	r3, .L33+20
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L7
.L31:
	ldr	r2, .L33+28
	ldr	r1, .L33+32
	ldr	r0, [r2]
	ldr	r3, .L33+36
	ldr	r2, .L33+52
	str	r0, [sp]
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r0, [r1]
	mov	r1, #0
	bl	IIO_MOD_EVENT_CODE
	ldr	r2, [r5]
	mov	r1, r0
	mov	r0, r6
	bl	iio_push_event
	ldr	r3, .L33+24
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L1
.L32:
	ldr	r2, .L33+44
	ldr	r1, .L33+32
	ldr	r0, [r2]
	ldr	r3, .L33+36
	ldr	r2, .L33+52
	str	r0, [sp]
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r0, [r1]
	mov	r1, #0
	bl	IIO_MOD_EVENT_CODE
	mov	r1, r0
	mov	r0, r6
	ldr	r2, [r5]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	iio_push_event
.L26:
	ldr	r0, [r5, #4]
	ldr	r1, .L33+56
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	dev_err
.L34:
	.align	2
.L33:
	.word	KXCJK1013_REG_INT_SRC2
	.word	KXCJK1013_REG_INT_SRC2_BIT_XN
	.word	KXCJK1013_REG_INT_SRC2_BIT_XP
	.word	KXCJK1013_REG_INT_SRC2_BIT_YN
	.word	KXCJK1013_REG_INT_SRC2_BIT_YP
	.word	KXCJK1013_REG_INT_SRC2_BIT_ZN
	.word	KXCJK1013_REG_INT_SRC2_BIT_ZP
	.word	IIO_EV_DIR_FALLING
	.word	IIO_ACCEL
	.word	IIO_EV_TYPE_THRESH
	.word	IIO_MOD_X
	.word	IIO_EV_DIR_RISING
	.word	IIO_MOD_Y
	.word	IIO_MOD_Z
	.word	.LC0
	.size	kxcjk1013_report_motion_event, .-kxcjk1013_report_motion_event
	.comm	KXCJK1013_REG_INT_SRC2_BIT_ZP,4,4
	.comm	KXCJK1013_REG_INT_SRC2_BIT_ZN,4,4
	.comm	KXCJK1013_REG_INT_SRC2_BIT_YP,4,4
	.comm	KXCJK1013_REG_INT_SRC2_BIT_YN,4,4
	.comm	KXCJK1013_REG_INT_SRC2_BIT_XP,4,4
	.comm	KXCJK1013_REG_INT_SRC2_BIT_XN,4,4
	.comm	KXCJK1013_REG_INT_SRC2,4,4
	.comm	IIO_MOD_Z,4,4
	.comm	IIO_MOD_Y,4,4
	.comm	IIO_MOD_X,4,4
	.comm	IIO_EV_TYPE_THRESH,4,4
	.comm	IIO_EV_DIR_RISING,4,4
	.comm	IIO_EV_DIR_FALLING,4,4
	.comm	IIO_ACCEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
