	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kxtj9_report_acceleration_data
_kxtj9_report_acceleration_data:        ## @kxtj9_report_acceleration_data
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_XOUT_L@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-52(%rbp), %rdx
	movl	$6, %ecx
	callq	_kxtj9_i2c_read
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	movq	56(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
LBB0_2:
	movq	8(%rbx), %rax
	movl	-52(%rbp,%rax,4), %edi
	callq	_le16_to_cpu
	movl	%eax, %r12d
	movq	16(%rbx), %rax
	movl	-52(%rbp,%rax,4), %edi
	callq	_le16_to_cpu
	movl	%eax, %r14d
	movq	24(%rbx), %rax
	movl	-52(%rbp,%rax,4), %edi
	callq	_le16_to_cpu
	movb	(%rbx), %cl
	sarl	%cl, %r12d
	sarl	%cl, %r14d
	movl	%eax, %r15d
	sarl	%cl, %r15d
	movl	4(%rbx), %edi
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edx
	negl	%edx
	cmpq	$0, 48(%rbx)
	cmovel	%r12d, %edx
	callq	_input_report_abs
	movl	4(%rbx), %edi
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edx
	negl	%edx
	cmpq	$0, 40(%rbx)
	cmovel	%r14d, %edx
	callq	_input_report_abs
	movl	4(%rbx), %edi
	movq	_ABS_Z@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edx
	negl	%edx
	cmpq	$0, 32(%rbx)
	cmovel	%r15d, %edx
	callq	_input_report_abs
	movl	4(%rbx), %edi
	callq	_input_sync
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_XOUT_L,4,2                     ## @XOUT_L
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"accelerometer data read failed\n"

	.comm	_ABS_X,4,2                      ## @ABS_X
	.comm	_ABS_Y,4,2                      ## @ABS_Y
	.comm	_ABS_Z,4,2                      ## @ABS_Z
	.no_dead_strip	_kxtj9_report_acceleration_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kxtj9_report_acceleration_data
_kxtj9_report_acceleration_data:        ; @kxtj9_report_acceleration_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, _XOUT_L@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XOUT_L@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x22, sp, #12
	add	x2, sp, #12
	mov	w3, #6
	bl	_kxtj9_i2c_read
	tbz	w0, #31, LBB0_2
; %bb.1:
	ldr	x0, [x19, #56]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_2:
	ldr	x8, [x19, #8]
	ldr	w0, [x22, x8, lsl #2]
	bl	_le16_to_cpu
	mov	x20, x0
	ldr	x8, [x19, #16]
	ldr	w0, [x22, x8, lsl #2]
	bl	_le16_to_cpu
	mov	x21, x0
	ldr	x8, [x19, #24]
	ldr	w0, [x22, x8, lsl #2]
	bl	_le16_to_cpu
	ldp	w9, w8, [x19]
	asr	w10, w20, w9
	asr	w20, w21, w9
	asr	w21, w0, w9
Lloh8:
	adrp	x9, _ABS_X@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ABS_X@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x9]
	ldr	x9, [x19, #48]
	cmp	x9, #0
	cneg	w2, w10, ne
	mov	x0, x8
	bl	_input_report_abs
	ldr	w0, [x19, #4]
Lloh11:
	adrp	x8, _ABS_Y@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ABS_Y@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	x8, [x19, #40]
	cmp	x8, #0
	cneg	w2, w20, ne
	bl	_input_report_abs
	ldr	w0, [x19, #4]
Lloh14:
	adrp	x8, _ABS_Z@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ABS_Z@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	x8, [x19, #32]
	cmp	x8, #0
	cneg	w2, w21, ne
	bl	_input_report_abs
	ldr	w0, [x19, #4]
	bl	_input_sync
	ldr	x8, [sp, #24]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	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
	add	sp, sp, #80
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_XOUT_L,4,2                     ; @XOUT_L
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"accelerometer data read failed\n"

	.comm	_ABS_X,4,2                      ; @ABS_X
	.comm	_ABS_Y,4,2                      ; @ABS_Y
	.comm	_ABS_Z,4,2                      ; @ABS_Z
	.no_dead_strip	_kxtj9_report_acceleration_data
.subsections_via_symbols
