	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rmi_f12_process_objects
_rmi_f12_process_objects:               ## @rmi_f12_process_objects
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	(%rdi), %rax
	movl	(%rax), %eax
	movq	_F12_DATA1_BYTES_PER_OBJ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %esi
	imull	%eax, %esi
	cmpl	%edx, %esi
	jle	LBB0_2
## %bb.1:
	movl	%edx, %eax
	cltd
	idivl	%ecx
LBB0_2:
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	leaq	8(%rdi), %r12
	movl	%eax, %r14d
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jle	LBB0_13
## %bb.3:
	movl	$20, %r15d
	xorl	%r13d, %r13d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_RMI_2D_OBJECT_UNCLASSIFIED@GOTPCREL(%rip), %rsi
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rdx, %rcx
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rsi), %edx
	movl	%edx, (%rcx)
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	8(%rbx), %ecx
	shll	$8, %ecx
	orl	4(%rbx), %ecx
	movl	%ecx, -20(%rax,%r15)
	movl	16(%rbx), %ecx
	shll	$8, %ecx
	orl	12(%rbx), %ecx
	leaq	(%rax,%r15), %rsi
	addq	$-20, %rsi
	movl	%ecx, -16(%rax,%r15)
	movl	20(%rbx), %ecx
	movl	%ecx, -12(%rax,%r15)
	movl	24(%rbx), %ecx
	movl	%ecx, -8(%rax,%r15)
	movl	28(%rbx), %ecx
	movl	%ecx, -4(%rax,%r15)
	movq	%r12, %rdi
	movl	%r13d, %edx
	callq	_rmi_2d_sensor_abs_process
	movq	_F12_DATA1_BYTES_PER_OBJ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rbx,%rax,4), %rbx
	incq	%r13
	addq	$28, %r15
	cmpq	%r13, %r14
	je	LBB0_13
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	_RMI_2D_OBJECT_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax,%r15)
	movq	_MT_TOOL_FINGER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax,%r15)
	movl	(%rbx), %esi
	addl	$-128, %esi
	cmpl	$3, %esi
	ja	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	(%rax,%r15), %rdx
	leaq	(,%r13,8), %rcx
	addq	%r13, %rcx
	leaq	(%rcx,%rcx,2), %rcx
	addq	%r13, %rcx
	addq	%rax, %rcx
	addq	$24, %rcx
	leaq	LJTI0_0(%rip), %rdi
	movslq	(%rdi,%rsi,4), %rsi
	addq	%rdi, %rsi
	jmpq	*%rsi
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_RMI_2D_OBJECT_STYLUS@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, (%rdx)
	movq	_MT_TOOL_PEN@GOTPCREL(%rip), %rsi
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_RMI_2D_OBJECT_PALM@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, (%rdx)
	movq	_MT_TOOL_PALM@GOTPCREL(%rip), %rsi
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_RMI_2D_OBJECT_FINGER@GOTPCREL(%rip), %rsi
	jmp	LBB0_10
LBB0_13:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 40(%rax)
	je	LBB0_15
## %bb.14:
	movl	32(%rax), %edi
	movl	28(%rax), %esi
	movl	24(%rax), %edx
	movl	16(%rax), %r8d
	movl	20(%rax), %ecx
	callq	_input_mt_assign_slots
LBB0_15:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_18
## %bb.16:
	leaq	(%r14,%r14,8), %rax
	leaq	(%rax,%rax,2), %r15
	addq	%r14, %r15
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rsi
	addq	%rbx, %rsi
	movq	%r12, %rdi
	movl	%r14d, %edx
	callq	_rmi_2d_sensor_abs_report
	incl	%r14d
	addq	$28, %rbx
	cmpq	%rbx, %r15
	jne	LBB0_17
LBB0_18:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_F12_DATA1_BYTES_PER_OBJ,4,2    ## @F12_DATA1_BYTES_PER_OBJ
	.comm	_RMI_2D_OBJECT_NONE,4,2         ## @RMI_2D_OBJECT_NONE
	.comm	_MT_TOOL_FINGER,4,2             ## @MT_TOOL_FINGER
	.comm	_RMI_2D_OBJECT_FINGER,4,2       ## @RMI_2D_OBJECT_FINGER
	.comm	_RMI_2D_OBJECT_STYLUS,4,2       ## @RMI_2D_OBJECT_STYLUS
	.comm	_MT_TOOL_PEN,4,2                ## @MT_TOOL_PEN
	.comm	_RMI_2D_OBJECT_PALM,4,2         ## @RMI_2D_OBJECT_PALM
	.comm	_MT_TOOL_PALM,4,2               ## @MT_TOOL_PALM
	.comm	_RMI_2D_OBJECT_UNCLASSIFIED,4,2 ## @RMI_2D_OBJECT_UNCLASSIFIED
	.no_dead_strip	_rmi_f12_process_objects
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rmi_f12_process_objects
_rmi_f12_process_objects:               ; @rmi_f12_process_objects
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x21, x1
	mov	x19, x0
	str	x0, [sp]                        ; 8-byte Folded Spill
	ldr	x8, [x19], #8
	ldr	w10, [x8]
Lloh0:
	adrp	x24, _F12_DATA1_BYTES_PER_OBJ@GOTPAGE
Lloh1:
	ldr	x24, [x24, _F12_DATA1_BYTES_PER_OBJ@GOTPAGEOFF]
	ldr	w8, [x24]
	mul	w9, w8, w10
	cmp	w9, w2
	b.le	LBB0_2
; %bb.1:
	sdiv	w10, w2, w8
LBB0_2:
	str	w10, [sp, #12]                  ; 4-byte Folded Spill
	cmp	w10, #1
	b.lt	LBB0_12
; %bb.3:
	mov	x25, #0
	mov	x22, #0
	mov	w26, #28
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	umull	x27, w8, w26
Lloh2:
	adrp	x28, _RMI_2D_OBJECT_NONE@GOTPAGE
Lloh3:
	ldr	x28, [x28, _RMI_2D_OBJECT_NONE@GOTPAGEOFF]
Lloh4:
	adrp	x23, _MT_TOOL_FINGER@GOTPAGE
Lloh5:
	ldr	x23, [x23, _MT_TOOL_FINGER@GOTPAGEOFF]
Lloh6:
	adrp	x20, lJTI0_0@PAGE
Lloh7:
	add	x20, x20, lJTI0_0@PAGEOFF
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
Lloh8:
	adrp	x10, _RMI_2D_OBJECT_UNCLASSIFIED@GOTPAGE
Lloh9:
	ldr	x10, [x10, _RMI_2D_OBJECT_UNCLASSIFIED@GOTPAGEOFF]
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w9, [x10]
	str	w9, [x8]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldp	w9, w8, [x21, #4]
	orr	w8, w9, w8, lsl #8
	str	w8, [x1]
	ldp	w9, w8, [x21, #12]
	orr	w8, w9, w8, lsl #8
	str	w8, [x1, #4]
	ldr	w8, [x21, #20]
	str	w8, [x1, #8]
	ldr	w8, [x21, #24]
	str	w8, [x1, #12]
	ldr	w8, [x21, #28]
	str	w8, [x1, #16]
	mov	x0, x19
	mov	x2, x22
	bl	_rmi_2d_sensor_abs_process
	ldrsw	x8, [x24]
	add	x21, x21, x8, lsl #2
	add	x22, x22, #1
	add	x25, x25, #28
	cmp	x27, x25
	b.eq	LBB0_12
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19]
	add	x1, x9, x25
	ldr	w10, [x28]
	mov	x8, x1
	str	w10, [x8, #20]!
	ldr	w10, [x23]
	str	w10, [x1, #24]
	ldr	w10, [x21]
	sub	w10, w10, #128
	cmp	w10, #3
	b.hi	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	madd	x9, x22, x26, x9
	add	x9, x9, #24
	adr	x11, LBB0_4
	ldrb	w12, [x20, x10]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
Lloh10:
	adrp	x10, _RMI_2D_OBJECT_STYLUS@GOTPAGE
Lloh11:
	ldr	x10, [x10, _RMI_2D_OBJECT_STYLUS@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	str	w10, [x8]
Lloh13:
	adrp	x10, _MT_TOOL_PEN@GOTPAGE
Lloh14:
	ldr	x10, [x10, _MT_TOOL_PEN@GOTPAGEOFF]
	mov	x8, x9
	b	LBB0_5
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh15:
	adrp	x10, _RMI_2D_OBJECT_PALM@GOTPAGE
Lloh16:
	ldr	x10, [x10, _RMI_2D_OBJECT_PALM@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	str	w10, [x8]
Lloh18:
	adrp	x10, _MT_TOOL_PALM@GOTPAGE
Lloh19:
	ldr	x10, [x10, _MT_TOOL_PALM@GOTPAGEOFF]
	mov	x8, x9
	b	LBB0_5
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh20:
	adrp	x10, _RMI_2D_OBJECT_FINGER@GOTPAGE
Lloh21:
	ldr	x10, [x10, _RMI_2D_OBJECT_FINGER@GOTPAGEOFF]
	b	LBB0_5
LBB0_12:
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	ldr	x8, [x9, #40]
	cbz	x8, LBB0_14
; %bb.13:
	ldp	w1, w0, [x9, #28]
	ldp	w3, w2, [x9, #20]
	ldr	w4, [x9, #16]
	bl	_input_mt_assign_slots
LBB0_14:
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w9, #1
	b.lt	LBB0_17
; %bb.15:
	mov	x21, #0
	mov	w20, #0
	mov	w8, #28
	umull	x22, w9, w8
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	add	x1, x8, x21
	mov	x0, x19
	mov	x2, x20
	bl	_rmi_2d_sensor_abs_report
	add	w20, w20, #1
	add	x21, x21, #28
	cmp	x22, x21
	b.ne	LBB0_16
LBB0_17:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
                                        ; -- End function
	.comm	_F12_DATA1_BYTES_PER_OBJ,4,2    ; @F12_DATA1_BYTES_PER_OBJ
	.comm	_RMI_2D_OBJECT_NONE,4,2         ; @RMI_2D_OBJECT_NONE
	.comm	_MT_TOOL_FINGER,4,2             ; @MT_TOOL_FINGER
	.comm	_RMI_2D_OBJECT_FINGER,4,2       ; @RMI_2D_OBJECT_FINGER
	.comm	_RMI_2D_OBJECT_STYLUS,4,2       ; @RMI_2D_OBJECT_STYLUS
	.comm	_MT_TOOL_PEN,4,2                ; @MT_TOOL_PEN
	.comm	_RMI_2D_OBJECT_PALM,4,2         ; @RMI_2D_OBJECT_PALM
	.comm	_MT_TOOL_PALM,4,2               ; @MT_TOOL_PALM
	.comm	_RMI_2D_OBJECT_UNCLASSIFIED,4,2 ; @RMI_2D_OBJECT_UNCLASSIFIED
	.no_dead_strip	_rmi_f12_process_objects
.subsections_via_symbols
