	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kxcjk1013_report_motion_event
_kxcjk1013_report_motion_event:         ## @kxcjk1013_report_motion_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_iio_priv
	movq	%rax, %r15
	movq	8(%rax), %rdi
	movq	_KXCJK1013_REG_INT_SRC2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i2c_smbus_read_byte_data
	testl	%eax, %eax
	js	LBB0_13
## %bb.1:
	movl	%eax, %ebx
	movq	_KXCJK1013_REG_INT_SRC2_BIT_XN@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_IIO_ACCEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IIO_MOD_X@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IIO_EV_TYPE_THRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IIO_EV_DIR_FALLING@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	callq	_IIO_MOD_EVENT_CODE
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_iio_push_event
LBB0_3:
	movq	_KXCJK1013_REG_INT_SRC2_BIT_XP@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_IIO_ACCEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IIO_MOD_X@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IIO_EV_TYPE_THRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IIO_EV_DIR_RISING@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	callq	_IIO_MOD_EVENT_CODE
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_iio_push_event
LBB0_5:
	movq	_KXCJK1013_REG_INT_SRC2_BIT_YN@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_7
## %bb.6:
	movq	_IIO_ACCEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IIO_MOD_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IIO_EV_TYPE_THRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IIO_EV_DIR_FALLING@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	callq	_IIO_MOD_EVENT_CODE
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_iio_push_event
LBB0_7:
	movq	_KXCJK1013_REG_INT_SRC2_BIT_YP@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_9
## %bb.8:
	movq	_IIO_ACCEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IIO_MOD_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IIO_EV_TYPE_THRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IIO_EV_DIR_RISING@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	callq	_IIO_MOD_EVENT_CODE
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_iio_push_event
LBB0_9:
	movq	_KXCJK1013_REG_INT_SRC2_BIT_ZN@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_11
## %bb.10:
	movq	_IIO_ACCEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IIO_MOD_Z@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IIO_EV_TYPE_THRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IIO_EV_DIR_FALLING@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	callq	_IIO_MOD_EVENT_CODE
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_iio_push_event
LBB0_11:
	movq	_KXCJK1013_REG_INT_SRC2_BIT_ZP@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_12
## %bb.14:
	movq	_IIO_ACCEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IIO_MOD_Z@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IIO_EV_TYPE_THRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IIO_EV_DIR_RISING@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	callq	_IIO_MOD_EVENT_CODE
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iio_push_event                 ## TAILCALL
LBB0_13:
	movq	8(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KXCJK1013_REG_INT_SRC2,4,2     ## @KXCJK1013_REG_INT_SRC2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error reading reg_int_src2\n"

	.comm	_KXCJK1013_REG_INT_SRC2_BIT_XN,4,2 ## @KXCJK1013_REG_INT_SRC2_BIT_XN
	.comm	_IIO_ACCEL,4,2                  ## @IIO_ACCEL
	.comm	_IIO_MOD_X,4,2                  ## @IIO_MOD_X
	.comm	_IIO_EV_TYPE_THRESH,4,2         ## @IIO_EV_TYPE_THRESH
	.comm	_IIO_EV_DIR_FALLING,4,2         ## @IIO_EV_DIR_FALLING
	.comm	_KXCJK1013_REG_INT_SRC2_BIT_XP,4,2 ## @KXCJK1013_REG_INT_SRC2_BIT_XP
	.comm	_IIO_EV_DIR_RISING,4,2          ## @IIO_EV_DIR_RISING
	.comm	_KXCJK1013_REG_INT_SRC2_BIT_YN,4,2 ## @KXCJK1013_REG_INT_SRC2_BIT_YN
	.comm	_IIO_MOD_Y,4,2                  ## @IIO_MOD_Y
	.comm	_KXCJK1013_REG_INT_SRC2_BIT_YP,4,2 ## @KXCJK1013_REG_INT_SRC2_BIT_YP
	.comm	_KXCJK1013_REG_INT_SRC2_BIT_ZN,4,2 ## @KXCJK1013_REG_INT_SRC2_BIT_ZN
	.comm	_IIO_MOD_Z,4,2                  ## @IIO_MOD_Z
	.comm	_KXCJK1013_REG_INT_SRC2_BIT_ZP,4,2 ## @KXCJK1013_REG_INT_SRC2_BIT_ZP
	.no_dead_strip	_kxcjk1013_report_motion_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kxcjk1013_report_motion_event
_kxcjk1013_report_motion_event:         ; @kxcjk1013_report_motion_event
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	bl	_iio_priv
	mov	x20, x0
	ldr	x0, [x0, #8]
Lloh0:
	adrp	x8, _KXCJK1013_REG_INT_SRC2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KXCJK1013_REG_INT_SRC2@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_13
; %bb.1:
	mov	x21, x0
Lloh3:
	adrp	x8, _KXCJK1013_REG_INT_SRC2_BIT_XN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KXCJK1013_REG_INT_SRC2_BIT_XN@GOTPAGEOFF]
Lloh5:
	adrp	x22, _IIO_ACCEL@GOTPAGE
Lloh6:
	ldr	x22, [x22, _IIO_ACCEL@GOTPAGEOFF]
Lloh7:
	adrp	x26, _IIO_MOD_X@GOTPAGE
Lloh8:
	ldr	x26, [x26, _IIO_MOD_X@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x23, _IIO_EV_TYPE_THRESH@GOTPAGE
Lloh11:
	ldr	x23, [x23, _IIO_EV_TYPE_THRESH@GOTPAGEOFF]
Lloh12:
	adrp	x24, _IIO_EV_DIR_FALLING@GOTPAGE
Lloh13:
	ldr	x24, [x24, _IIO_EV_DIR_FALLING@GOTPAGEOFF]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
	ldr	w0, [x22]
	ldr	w2, [x26]
	ldr	w3, [x23]
	ldr	w4, [x24]
	mov	w1, #0
	bl	_IIO_MOD_EVENT_CODE
	mov	x1, x0
	ldr	w2, [x20]
	mov	x0, x19
	bl	_iio_push_event
LBB0_3:
Lloh14:
	adrp	x8, _KXCJK1013_REG_INT_SRC2_BIT_XP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _KXCJK1013_REG_INT_SRC2_BIT_XP@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x25, _IIO_EV_DIR_RISING@GOTPAGE
Lloh18:
	ldr	x25, [x25, _IIO_EV_DIR_RISING@GOTPAGEOFF]
	tst	w8, w21
	b.eq	LBB0_5
; %bb.4:
	ldr	w0, [x22]
	ldr	w2, [x26]
	ldr	w3, [x23]
	ldr	w4, [x25]
	mov	w1, #0
	bl	_IIO_MOD_EVENT_CODE
	mov	x1, x0
	ldr	w2, [x20]
	mov	x0, x19
	bl	_iio_push_event
LBB0_5:
Lloh19:
	adrp	x8, _KXCJK1013_REG_INT_SRC2_BIT_YN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _KXCJK1013_REG_INT_SRC2_BIT_YN@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x26, _IIO_MOD_Y@GOTPAGE
Lloh23:
	ldr	x26, [x26, _IIO_MOD_Y@GOTPAGEOFF]
	tst	w8, w21
	b.eq	LBB0_7
; %bb.6:
	ldr	w0, [x22]
	ldr	w2, [x26]
	ldr	w3, [x23]
	ldr	w4, [x24]
	mov	w1, #0
	bl	_IIO_MOD_EVENT_CODE
	mov	x1, x0
	ldr	w2, [x20]
	mov	x0, x19
	bl	_iio_push_event
LBB0_7:
Lloh24:
	adrp	x8, _KXCJK1013_REG_INT_SRC2_BIT_YP@GOTPAGE
Lloh25:
	ldr	x8, [x8, _KXCJK1013_REG_INT_SRC2_BIT_YP@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_9
; %bb.8:
	ldr	w0, [x22]
	ldr	w2, [x26]
	ldr	w3, [x23]
	ldr	w4, [x25]
	mov	w1, #0
	bl	_IIO_MOD_EVENT_CODE
	mov	x1, x0
	ldr	w2, [x20]
	mov	x0, x19
	bl	_iio_push_event
LBB0_9:
Lloh27:
	adrp	x8, _KXCJK1013_REG_INT_SRC2_BIT_ZN@GOTPAGE
Lloh28:
	ldr	x8, [x8, _KXCJK1013_REG_INT_SRC2_BIT_ZN@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x26, _IIO_MOD_Z@GOTPAGE
Lloh31:
	ldr	x26, [x26, _IIO_MOD_Z@GOTPAGEOFF]
	tst	w8, w21
	b.eq	LBB0_11
; %bb.10:
	ldr	w0, [x22]
	ldr	w2, [x26]
	ldr	w3, [x23]
	ldr	w4, [x24]
	mov	w1, #0
	bl	_IIO_MOD_EVENT_CODE
	mov	x1, x0
	ldr	w2, [x20]
	mov	x0, x19
	bl	_iio_push_event
LBB0_11:
Lloh32:
	adrp	x8, _KXCJK1013_REG_INT_SRC2_BIT_ZP@GOTPAGE
Lloh33:
	ldr	x8, [x8, _KXCJK1013_REG_INT_SRC2_BIT_ZP@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_14
; %bb.12:
	ldr	w0, [x22]
	ldr	w2, [x26]
	ldr	w3, [x23]
	ldr	w4, [x25]
	mov	w1, #0
	bl	_IIO_MOD_EVENT_CODE
	mov	x1, x0
	ldr	w2, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_iio_push_event
LBB0_13:
	ldr	x0, [x20, #8]
Lloh35:
	adrp	x1, l_.str@PAGE
Lloh36:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_dev_err
LBB0_14:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh9
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_KXCJK1013_REG_INT_SRC2,4,2     ; @KXCJK1013_REG_INT_SRC2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error reading reg_int_src2\n"

	.comm	_KXCJK1013_REG_INT_SRC2_BIT_XN,4,2 ; @KXCJK1013_REG_INT_SRC2_BIT_XN
	.comm	_IIO_ACCEL,4,2                  ; @IIO_ACCEL
	.comm	_IIO_MOD_X,4,2                  ; @IIO_MOD_X
	.comm	_IIO_EV_TYPE_THRESH,4,2         ; @IIO_EV_TYPE_THRESH
	.comm	_IIO_EV_DIR_FALLING,4,2         ; @IIO_EV_DIR_FALLING
	.comm	_KXCJK1013_REG_INT_SRC2_BIT_XP,4,2 ; @KXCJK1013_REG_INT_SRC2_BIT_XP
	.comm	_IIO_EV_DIR_RISING,4,2          ; @IIO_EV_DIR_RISING
	.comm	_KXCJK1013_REG_INT_SRC2_BIT_YN,4,2 ; @KXCJK1013_REG_INT_SRC2_BIT_YN
	.comm	_IIO_MOD_Y,4,2                  ; @IIO_MOD_Y
	.comm	_KXCJK1013_REG_INT_SRC2_BIT_YP,4,2 ; @KXCJK1013_REG_INT_SRC2_BIT_YP
	.comm	_KXCJK1013_REG_INT_SRC2_BIT_ZN,4,2 ; @KXCJK1013_REG_INT_SRC2_BIT_ZN
	.comm	_IIO_MOD_Z,4,2                  ; @IIO_MOD_Z
	.comm	_KXCJK1013_REG_INT_SRC2_BIT_ZP,4,2 ; @KXCJK1013_REG_INT_SRC2_BIT_ZP
	.no_dead_strip	_kxcjk1013_report_motion_event
.subsections_via_symbols
