	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function synaptics_i2c_get_input
_synaptics_i2c_get_input:               ## @synaptics_i2c_get_input
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	movl	(%rdi), %edi
	callq	_synaptics_i2c_check_error
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	movq	_DATA_REG0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_synaptics_i2c_reg_get
	movq	_GESTURE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%r14d, %r14d
	btl	%ecx, %eax
	setb	%r14b
	movl	(%rbx), %edi
	movq	_REL_X_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_synaptics_i2c_word_get
	movzwl	%ax, %r13d
	movq	_REGISTER_LENGTH@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%r13d, %edx
	shrl	%cl, %edx
	movzbl	%al, %r12d
	movzbl	%dl, %ebx
	movq	_BTN_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_input_report_key
	movq	_REL_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r12d, %edx
	callq	_input_report_rel
	movq	_REL_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	negl	%ebx
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_input_report_rel
	movq	%r15, %rdi
	callq	_input_sync
	xorl	%eax, %eax
	orl	%r14d, %r13d
	setne	%al
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DATA_REG0,4,2                  ## @DATA_REG0
	.comm	_GESTURE,4,2                    ## @GESTURE
	.comm	_REL_X_REG,4,2                  ## @REL_X_REG
	.comm	_REGISTER_LENGTH,4,2            ## @REGISTER_LENGTH
	.comm	_BTN_LEFT,4,2                   ## @BTN_LEFT
	.comm	_REL_X,4,2                      ## @REL_X
	.comm	_REL_Y,4,2                      ## @REL_Y
	.no_dead_strip	_synaptics_i2c_get_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function synaptics_i2c_get_input
_synaptics_i2c_get_input:               ; @synaptics_i2c_get_input
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x0
	ldr	x19, [x0, #8]
	ldr	w0, [x0]
	bl	_synaptics_i2c_check_error
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	ldr	w0, [x20]
Lloh0:
	adrp	x8, _DATA_REG0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DATA_REG0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_synaptics_i2c_reg_get
Lloh3:
	adrp	x8, _GESTURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GESTURE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsr	w8, w0, w8
	and	w21, w8, #0x1
	ldr	w0, [x20]
Lloh6:
	adrp	x8, _REL_X_REG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REL_X_REG@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_synaptics_i2c_word_get
	and	w22, w0, #0xffff
Lloh9:
	adrp	x8, _REGISTER_LENGTH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REGISTER_LENGTH@GOTPAGEOFF]
	and	w20, w0, #0xff
Lloh11:
	ldr	w8, [x8]
	lsr	w23, w22, w8
Lloh12:
	adrp	x8, _BTN_LEFT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BTN_LEFT@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_input_report_key
Lloh15:
	adrp	x8, _REL_X@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REL_X@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_input_report_rel
	mov	w8, #0
Lloh18:
	adrp	x9, _REL_Y@GOTPAGE
Lloh19:
	ldr	x9, [x9, _REL_Y@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x9]
	sub	w2, w8, w23, uxtb
	mov	x0, x19
	bl	_input_report_rel
	mov	x0, x19
	bl	_input_sync
	orr	w8, w22, w21
	cmp	w8, #0
	cset	w0, ne
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DATA_REG0,4,2                  ; @DATA_REG0
	.comm	_GESTURE,4,2                    ; @GESTURE
	.comm	_REL_X_REG,4,2                  ; @REL_X_REG
	.comm	_REGISTER_LENGTH,4,2            ; @REGISTER_LENGTH
	.comm	_BTN_LEFT,4,2                   ; @BTN_LEFT
	.comm	_REL_X,4,2                      ; @REL_X
	.comm	_REL_Y,4,2                      ; @REL_Y
	.no_dead_strip	_synaptics_i2c_get_input
.subsections_via_symbols
