	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function report_tp_state
_report_tp_state:                       ## @report_tp_state
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movslq	24(%rdi), %r12
	cmpl	%esi, %r12d
	jg	LBB0_2
## %bb.1:
	subl	%r12d, %esi
	movq	_SIZEOF_FINGER@GOTPCREL(%rip), %rcx
	movl	%esi, %eax
	cltd
	idivl	(%rcx)
	testl	%edx, %edx
	je	LBB0_4
LBB0_2:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rdi, %r13
	movl	%eax, %r15d
	movq	16(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	testl	%r15d, %r15d
	je	LBB0_12
## %bb.5:
	shlq	$2, %r12
	addq	8(%r13), %r12
	movl	(%r12), %edi
	callq	_raw2int
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	16(%r12), %edi
	callq	_raw2int
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	12(%r12), %edi
	callq	_raw2int
	movl	%eax, %ebx
	movl	8(%r12), %edi
	callq	_raw2int
	subq	$8, %rsp
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	movl	$9, %edi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ebx, -84(%rbp)                 ## 4-byte Spill
	movl	%ebx, %r8d
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%eax, %r9d
	xorl	%eax, %eax
	pushq	%r15
	callq	_dprintk
	addq	$16, %rsp
	movq	%r13, %rbx
	addq	$40, %r13
	movq	%r13, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_int2bound
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	4(%r12), %edi
	callq	_raw2int
	movl	%eax, %esi
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	32(%rbx), %rax
	movq	_TYPE2@GOTPCREL(%rip), %rcx
	movl	$0, %edx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	_BUTTON_TYPE2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	movl	%esi, %ebx
	callq	_raw2int
	movl	%ebx, %esi
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
LBB0_7:
	movq	_PRESSURE_LOW@GOTPCREL(%rip), %rcx
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	cmpl	(%rcx), %eax
	jle	LBB0_13
## %bb.8:
	testl	%esi, %esi
	je	LBB0_13
## %bb.9:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	leaq	64(%rbx), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_int2bound
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	leaq	56(%rbx), %rdi
	movl	-84(%rbp), %esi                 ## 4-byte Reload
	subl	56(%rbx), %esi
	callq	_int2bound
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	48(%rbx), %rdi
	movl	52(%rbx), %esi
	subl	-48(%rbp), %esi                 ## 4-byte Folded Reload
	callq	_int2bound
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_raw2int
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_int2bound
	xorl	%ecx, %ecx
	movq	_PRESSURE_LOW@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	setg	%cl
	addl	%ecx, %ebx
	xorl	%ecx, %ecx
	movq	_PRESSURE_HIGH@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	setg	%cl
	addl	%ecx, %r14d
	addq	$20, %r12
	decl	%r15d
	jne	LBB0_10
## %bb.11:
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_15
LBB0_12:
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_14
LBB0_13:
	xorl	%ebx, %ebx
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movq	-64(%rbp), %r13                 ## 8-byte Reload
LBB0_14:
	movq	-72(%rbp), %r15                 ## 8-byte Reload
LBB0_15:
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	(%r13), %edx
	cmpl	%r14d, %edx
	movl	%r14d, %ecx
	cmovgl	%edx, %ecx
	cmpl	%ebx, %ecx
	movl	%ebx, %eax
	cmovll	%ecx, %eax
	cmpl	%r14d, %edx
	jl	LBB0_17
## %bb.16:
	cmpl	%ebx, %ecx
	jle	LBB0_18
LBB0_17:
	movl	%eax, (%r13)
LBB0_18:
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	xorl	%edx, %edx
	testl	%eax, %eax
	setg	%dl
	movq	%r15, %rdi
	callq	_input_report_key
	movq	_BTN_TOOL_FINGER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	cmpl	$1, (%r13)
	sete	%dl
	movq	%r15, %rdi
	callq	_input_report_key
	movq	_BTN_TOOL_DOUBLETAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	cmpl	$2, (%r13)
	sete	%dl
	movq	%r15, %rdi
	callq	_input_report_key
	movq	_BTN_TOOL_TRIPLETAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	cmpl	$3, (%r13)
	sete	%dl
	movq	%r15, %rdi
	callq	_input_report_key
	movq	_BTN_TOOL_QUADTAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	cmpl	$4, (%r13)
	setge	%dl
	movq	%r15, %rdi
	callq	_input_report_key
	movq	_ABS_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	-56(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %edx
	callq	_input_report_abs
	movq	_ABS_TOOL_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_input_report_abs
	testl	%r12d, %r12d
	je	LBB0_20
## %bb.19:
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_input_report_abs
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_input_report_abs
	movl	(%r13), %r10d
	leaq	L_.str.1(%rip), %rsi
	movl	$8, %edi
	movl	%r12d, %edx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	%r10
	pushq	%rbx
	pushq	%r14
	callq	_dprintk
	addq	$32, %rsp
LBB0_20:
	movq	32(%r13), %rax
	movq	_TYPE2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.21:
	movq	_BTN_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_input_report_key
LBB0_22:
	movq	%r15, %rdi
	callq	_input_sync
	xorl	%eax, %eax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_SIZEOF_FINGER,4,2              ## @SIZEOF_FINGER
	.comm	_EIO,4,2                        ## @EIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bcm5974: raw: p: %+05d w: %+05d x: %+05d y: %+05d n: %d\n"

	.comm	_TYPE2,8,3                      ## @TYPE2
	.comm	_BUTTON_TYPE2,8,3               ## @BUTTON_TYPE2
	.comm	_PRESSURE_LOW,4,2               ## @PRESSURE_LOW
	.comm	_PRESSURE_HIGH,4,2              ## @PRESSURE_HIGH
	.comm	_BTN_TOUCH,4,2                  ## @BTN_TOUCH
	.comm	_BTN_TOOL_FINGER,4,2            ## @BTN_TOOL_FINGER
	.comm	_BTN_TOOL_DOUBLETAP,4,2         ## @BTN_TOOL_DOUBLETAP
	.comm	_BTN_TOOL_TRIPLETAP,4,2         ## @BTN_TOOL_TRIPLETAP
	.comm	_BTN_TOOL_QUADTAP,4,2           ## @BTN_TOOL_QUADTAP
	.comm	_ABS_PRESSURE,4,2               ## @ABS_PRESSURE
	.comm	_ABS_TOOL_WIDTH,4,2             ## @ABS_TOOL_WIDTH
	.comm	_ABS_X,4,2                      ## @ABS_X
	.comm	_ABS_Y,4,2                      ## @ABS_Y
L_.str.1:                               ## @.str.1
	.asciz	"bcm5974: abs: p: %+05d w: %+05d x: %+05d y: %+05d nmin: %d nmax: %d n: %d ibt: %d\n"

	.comm	_BTN_LEFT,4,2                   ## @BTN_LEFT
	.no_dead_strip	_report_tp_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function report_tp_state
_report_tp_state:                       ; @report_tp_state
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldrsw	x8, [x0, #24]
	cmp	w8, w1
	b.gt	LBB0_2
; %bb.1:
	sub	w9, w1, w8
Lloh0:
	adrp	x10, _SIZEOF_FINGER@GOTPAGE
Lloh1:
	ldr	x10, [x10, _SIZEOF_FINGER@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	sdiv	w27, w9, w10
	msub	w9, w27, w10, w9
	cbz	w9, LBB0_4
LBB0_2:
Lloh3:
	adrp	x8, _EIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_4:
	mov	x19, x0
	ldr	x20, [x0, #16]
Lloh6:
	adrp	x23, _TYPE2@GOTPAGE
Lloh7:
	ldr	x23, [x23, _TYPE2@GOTPAGEOFF]
	cbz	w27, LBB0_7
; %bb.5:
	ldr	x9, [x19, #8]
	add	x24, x9, x8, lsl #2
	ldr	w0, [x24]
	bl	_raw2int
	mov	x21, x0
	ldr	w0, [x24, #16]
	bl	_raw2int
	mov	x25, x0
	ldr	w0, [x24, #12]
	bl	_raw2int
	mov	x22, x0
	ldr	w0, [x24, #8]
	bl	_raw2int
	mov	x5, x0
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #9
	mov	x2, x21
	mov	x3, x25
	stp	w22, w5, [sp, #32]              ; 8-byte Folded Spill
	mov	x4, x22
	mov	x6, x27
	bl	_dprintk
	add	x28, x19, #40
	mov	x0, x28
	mov	x1, x21
	bl	_int2bound
	mov	x22, x0
	ldr	w0, [x24, #4]
	bl	_raw2int
	mov	x26, x0
	ldr	x8, [x19, #32]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:
	ldr	x8, [x19, #8]
Lloh10:
	adrp	x9, _BUTTON_TYPE2@GOTPAGE
Lloh11:
	ldr	x9, [x9, _BUTTON_TYPE2@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	bl	_raw2int
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	b	LBB0_9
LBB0_7:
	mov	w24, #0
	mov	w25, #0
	mov	w21, #0
	mov	w22, #0
	mov	w26, #0
	mov	w28, #0
	b	LBB0_14
LBB0_8:
	str	xzr, [sp, #40]                  ; 8-byte Folded Spill
LBB0_9:
Lloh13:
	adrp	x23, _PRESSURE_LOW@GOTPAGE
Lloh14:
	ldr	x23, [x23, _PRESSURE_LOW@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w22, w8
	ccmp	w26, #0, #4, gt
	b.ne	LBB0_11
; %bb.10:
	mov	w25, #0
	mov	w21, #0
	mov	w22, #0
	mov	w26, #0
	mov	w27, #0
	mov	w28, #0
Lloh15:
	adrp	x23, _TYPE2@GOTPAGE
Lloh16:
	ldr	x23, [x23, _TYPE2@GOTPAGEOFF]
	ldr	x24, [sp, #40]                  ; 8-byte Folded Reload
	b	LBB0_14
LBB0_11:
	add	x0, x19, #64
	mov	x1, x25
	bl	_int2bound
	str	w0, [sp, #28]                   ; 4-byte Folded Spill
	mov	x26, x19
	ldr	w8, [x26, #56]!
	ldr	w9, [sp, #32]                   ; 4-byte Folded Reload
	sub	w1, w9, w8
	mov	x0, x26
	bl	_int2bound
	str	w0, [sp, #32]                   ; 4-byte Folded Spill
	sub	x0, x26, #8
	ldur	w8, [x26, #-4]
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	sub	w1, w8, w9
	bl	_int2bound
	str	w0, [sp, #36]                   ; 4-byte Folded Spill
	mov	w21, #0
	mov	w25, #0
Lloh17:
	adrp	x26, _PRESSURE_HIGH@GOTPAGE
Lloh18:
	ldr	x26, [x26, _PRESSURE_HIGH@GOTPAGEOFF]
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	sub	w27, w27, #1
	ldr	w0, [x24], #20
	bl	_raw2int
	mov	x1, x0
	mov	x0, x28
	bl	_int2bound
	ldr	w8, [x23]
	cmp	w0, w8
	cinc	w21, w21, gt
	ldr	w8, [x26]
	cmp	w0, w8
	cinc	w25, w25, gt
	cbnz	w27, LBB0_12
; %bb.13:
Lloh19:
	adrp	x23, _TYPE2@GOTPAGE
Lloh20:
	ldr	x23, [x23, _TYPE2@GOTPAGEOFF]
	ldr	x24, [sp, #40]                  ; 8-byte Folded Reload
	ldp	w26, w27, [sp, #28]             ; 8-byte Folded Reload
	ldr	w28, [sp, #36]                  ; 4-byte Folded Reload
LBB0_14:
	ldr	w9, [x19]
	cmp	w9, w25
	csel	w10, w9, w25, gt
	cmp	w10, w21
	csel	w8, w10, w21, lt
	cmp	w9, w25
	ccmp	w10, w21, #0, ge
	b.le	LBB0_16
; %bb.15:
	str	w8, [x19]
LBB0_16:
Lloh21:
	adrp	x9, _BTN_TOUCH@GOTPAGE
Lloh22:
	ldr	x9, [x9, _BTN_TOUCH@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x9]
	cmp	w8, #0
	cset	w2, gt
	mov	x0, x20
	bl	_input_report_key
Lloh24:
	adrp	x8, _BTN_TOOL_FINGER@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BTN_TOOL_FINGER@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	ldr	w8, [x19]
	cmp	w8, #1
	cset	w2, eq
	mov	x0, x20
	bl	_input_report_key
Lloh27:
	adrp	x8, _BTN_TOOL_DOUBLETAP@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BTN_TOOL_DOUBLETAP@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	ldr	w8, [x19]
	cmp	w8, #2
	cset	w2, eq
	mov	x0, x20
	bl	_input_report_key
Lloh30:
	adrp	x8, _BTN_TOOL_TRIPLETAP@GOTPAGE
Lloh31:
	ldr	x8, [x8, _BTN_TOOL_TRIPLETAP@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	ldr	w8, [x19]
	cmp	w8, #3
	cset	w2, eq
	mov	x0, x20
	bl	_input_report_key
Lloh33:
	adrp	x8, _BTN_TOOL_QUADTAP@GOTPAGE
Lloh34:
	ldr	x8, [x8, _BTN_TOOL_QUADTAP@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	ldr	w8, [x19]
	cmp	w8, #3
	cset	w2, gt
	mov	x0, x20
	bl	_input_report_key
Lloh36:
	adrp	x8, _ABS_PRESSURE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ABS_PRESSURE@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x22
	bl	_input_report_abs
Lloh39:
	adrp	x8, _ABS_TOOL_WIDTH@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ABS_TOOL_WIDTH@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x26
	bl	_input_report_abs
	cbz	w22, LBB0_18
; %bb.17:
Lloh42:
	adrp	x8, _ABS_X@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ABS_X@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x27
	bl	_input_report_abs
Lloh45:
	adrp	x8, _ABS_Y@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ABS_Y@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x28
	bl	_input_report_abs
	ldr	w8, [x19]
	stp	x8, x24, [sp, #8]
	str	x21, [sp]
Lloh48:
	adrp	x1, l_.str.1@PAGE
Lloh49:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #8
	mov	x2, x22
	mov	x3, x26
	mov	x4, x27
	mov	x5, x28
	mov	x6, x25
	bl	_dprintk
LBB0_18:
	ldr	x8, [x19, #32]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.19:
Lloh50:
	adrp	x8, _BTN_LEFT@GOTPAGE
Lloh51:
	ldr	x8, [x8, _BTN_LEFT@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x24
	bl	_input_report_key
LBB0_20:
	mov	x0, x20
	bl	_input_sync
	mov	w0, #0
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.comm	_SIZEOF_FINGER,4,2              ; @SIZEOF_FINGER
	.comm	_EIO,4,2                        ; @EIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bcm5974: raw: p: %+05d w: %+05d x: %+05d y: %+05d n: %d\n"

	.comm	_TYPE2,8,3                      ; @TYPE2
	.comm	_BUTTON_TYPE2,8,3               ; @BUTTON_TYPE2
	.comm	_PRESSURE_LOW,4,2               ; @PRESSURE_LOW
	.comm	_PRESSURE_HIGH,4,2              ; @PRESSURE_HIGH
	.comm	_BTN_TOUCH,4,2                  ; @BTN_TOUCH
	.comm	_BTN_TOOL_FINGER,4,2            ; @BTN_TOOL_FINGER
	.comm	_BTN_TOOL_DOUBLETAP,4,2         ; @BTN_TOOL_DOUBLETAP
	.comm	_BTN_TOOL_TRIPLETAP,4,2         ; @BTN_TOOL_TRIPLETAP
	.comm	_BTN_TOOL_QUADTAP,4,2           ; @BTN_TOOL_QUADTAP
	.comm	_ABS_PRESSURE,4,2               ; @ABS_PRESSURE
	.comm	_ABS_TOOL_WIDTH,4,2             ; @ABS_TOOL_WIDTH
	.comm	_ABS_X,4,2                      ; @ABS_X
	.comm	_ABS_Y,4,2                      ; @ABS_Y
l_.str.1:                               ; @.str.1
	.asciz	"bcm5974: abs: p: %+05d w: %+05d x: %+05d y: %+05d nmin: %d nmax: %d n: %d ibt: %d\n"

	.comm	_BTN_LEFT,4,2                   ; @BTN_LEFT
	.no_dead_strip	_report_tp_state
.subsections_via_symbols
