	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rmi_2d_sensor_abs_process      ## -- Begin function rmi_2d_sensor_abs_process
	.p2align	4, 0x90
_rmi_2d_sensor_abs_process:             ## @rmi_2d_sensor_abs_process
	.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	(%rsi), %rax
	movq	_RMI_2D_OBJECT_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_13
## %bb.1:
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	cmpq	$0, 80(%rdi)
	je	LBB0_3
## %bb.2:
	movq	16(%r15), %rax
	subq	16(%rbx), %rax
	movq	%rax, 16(%rbx)
LBB0_3:
	cmpq	$0, 72(%r15)
	je	LBB0_5
## %bb.4:
	movq	8(%r15), %rax
	subq	8(%rbx), %rax
	movq	%rax, 8(%rbx)
LBB0_5:
	cmpq	$0, 64(%r15)
	je	LBB0_7
## %bb.6:
	movq	8(%rbx), %rsi
	movq	16(%rbx), %rdi
	callq	_swap
LBB0_7:
	movq	16(%rbx), %rsi
	addq	56(%r15), %rsi
	movq	%rsi, 16(%rbx)
	movq	48(%r15), %rax
	addq	%rax, 8(%rbx)
	movl	44(%r15), %edi
	callq	_max
	movq	%rax, 16(%rbx)
	movl	40(%r15), %edi
	movq	8(%rbx), %rsi
	callq	_max
	movq	%rax, 8(%rbx)
	cmpq	$0, 32(%r15)
	je	LBB0_9
## %bb.8:
	movq	16(%r15), %rdi
	movq	16(%rbx), %rsi
	callq	_min
	movq	%rax, 16(%rbx)
LBB0_9:
	cmpq	$0, 24(%r15)
	je	LBB0_10
## %bb.11:
	movq	8(%r15), %rdi
	movq	8(%rbx), %rsi
	callq	_min
	movq	%rax, 8(%rbx)
	jmp	LBB0_12
LBB0_10:
	movq	8(%rbx), %rax
LBB0_12:
	movq	16(%rbx), %rcx
	movq	(%r15), %rdx
	movslq	%r14d, %rsi
	shlq	$4, %rsi
	movq	%rcx, 8(%rdx,%rsi)
	movq	%rax, (%rdx,%rsi)
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RMI_2D_OBJECT_NONE,8,3         ## @RMI_2D_OBJECT_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rmi_2d_sensor_abs_process      ; -- Begin function rmi_2d_sensor_abs_process
	.p2align	2
_rmi_2d_sensor_abs_process:             ; @rmi_2d_sensor_abs_process
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _RMI_2D_OBJECT_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RMI_2D_OBJECT_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_13
; %bb.1:
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x8, [x0, #80]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x20, #16]
	ldr	x9, [x21, #16]
	sub	x8, x8, x9
	str	x8, [x21, #16]
LBB0_3:
	ldr	x8, [x20, #72]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x20, #8]
	ldr	x9, [x21, #8]
	sub	x8, x8, x9
	str	x8, [x21, #8]
LBB0_5:
	ldr	x8, [x20, #64]
	cbz	x8, LBB0_7
; %bb.6:
	ldp	x1, x0, [x21, #8]
	bl	_swap
LBB0_7:
	ldp	x9, x8, [x20, #48]
	ldp	x11, x10, [x21, #8]
	add	x1, x10, x8
	add	x8, x11, x9
	stp	x8, x1, [x21, #8]
	ldr	w0, [x20, #44]
	bl	_max
	str	x0, [x21, #16]
	ldr	w0, [x20, #40]
	ldr	x1, [x21, #8]
	bl	_max
	str	x0, [x21, #8]
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	x0, [x20, #16]
	ldr	x1, [x21, #16]
	bl	_min
	str	x0, [x21, #16]
LBB0_9:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_11
; %bb.10:
	ldr	x0, [x20, #8]
	ldr	x1, [x21, #8]
	bl	_min
	str	x0, [x21, #8]
	b	LBB0_12
LBB0_11:
	ldr	x0, [x21, #8]
LBB0_12:
	ldr	x8, [x21, #16]
	ldr	x9, [x20]
	add	x9, x9, w19, sxtw #4
	stp	x0, x8, [x9]
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RMI_2D_OBJECT_NONE,8,3         ; @RMI_2D_OBJECT_NONE
.subsections_via_symbols
