	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dev_rot_parse_report
_dev_rot_parse_report:                  ## @dev_rot_parse_report
	.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	%r8, %r13
	movl	%ecx, %ebx
	movq	%rdx, %r12
	movq	%rsi, %rdx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	_HID_INPUT_REPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HID_USAGE_SENSOR_ORIENT_QUATERNION@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	20(%r8), %r14
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rdi
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edx
	movq	%r14, %r8
	callq	_sensor_hub_input_get_attribute_info
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movl	20(%r13), %eax
	leal	3(%rax), %esi
	testl	%eax, %eax
	cmovnsl	%eax, %esi
	sarl	$2, %esi
	movq	%r12, %rdi
	callq	_dev_rot_adjust_channel_bit_mask
	movl	24(%r13), %ecx
	movl	28(%r13), %edx
	leaq	L_.str(%rip), %rsi
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	20(%r13), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	leaq	16(%r13), %rdx
	leaq	12(%r13), %rcx
	movq	%r14, %rsi
	callq	_hid_sensor_format_scale
	movl	%eax, 32(%r13)
	cmpl	$0, 8(%r13)
	jns	LBB0_3
## %bb.2:
	movq	_HID_FEATURE_REPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_ABS@GOTPCREL(%rip), %rax
	movq	_HID_USAGE_SENSOR_DATA_ORIENTATION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r13, %r8
	callq	_sensor_hub_input_get_attribute_info
	movl	4(%r13), %ecx
	movl	8(%r13), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_3:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HID_INPUT_REPORT,4,2           ## @HID_INPUT_REPORT
	.comm	_HID_USAGE_SENSOR_ORIENT_QUATERNION,4,2 ## @HID_USAGE_SENSOR_ORIENT_QUATERNION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dev_rot %x:%x\n"

L_.str.1:                               ## @.str.1
	.asciz	"dev_rot: attrib size %d\n"

	.comm	_HID_FEATURE_REPORT,4,2         ## @HID_FEATURE_REPORT
	.comm	_HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_ABS,4,2 ## @HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_ABS
	.comm	_HID_USAGE_SENSOR_DATA_ORIENTATION,4,2 ## @HID_USAGE_SENSOR_DATA_ORIENTATION
L_.str.2:                               ## @.str.2
	.asciz	"Sensitivity index:report %d:%d\n"

	.no_dead_strip	_dev_rot_parse_report
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dev_rot_parse_report
_dev_rot_parse_report:                  ; @dev_rot_parse_report
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x4
	mov	x22, x3
	mov	x25, x2
	mov	x23, x1
	mov	x19, x0
	add	x24, x4, #20
Lloh0:
	adrp	x8, _HID_INPUT_REPORT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HID_INPUT_REPORT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _HID_USAGE_SENSOR_ORIENT_QUATERNION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HID_USAGE_SENSOR_ORIENT_QUATERNION@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x23
	mov	x2, x22
	mov	x4, x24
	bl	_sensor_hub_input_get_attribute_info
	mov	x21, x0
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	w8, [x20, #20]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w1, w8, #2
	mov	x0, x25
	bl	_dev_rot_adjust_channel_bit_mask
	ldp	w8, w2, [x20, #24]
	str	x8, [sp]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	w2, [x20, #20]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	w0, [x23]
	add	x2, x20, #16
	add	x3, x20, #12
	mov	x1, x24
	bl	_hid_sensor_format_scale
	str	w0, [x20, #32]
	ldr	w8, [x20, #8]
	tbz	w8, #31, LBB0_3
; %bb.2:
Lloh10:
	adrp	x8, _HID_FEATURE_REPORT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HID_FEATURE_REPORT@GOTPAGEOFF]
Lloh12:
	adrp	x9, _HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_ABS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_ABS@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	ldr	w8, [x9]
Lloh16:
	adrp	x9, _HID_USAGE_SENSOR_DATA_ORIENTATION@GOTPAGE
Lloh17:
	ldr	x9, [x9, _HID_USAGE_SENSOR_DATA_ORIENTATION@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w3, w9, w8
	mov	x0, x23
	mov	x2, x22
	mov	x4, x20
	bl	_sensor_hub_input_get_attribute_info
	ldp	w8, w2, [x20, #4]
	str	x8, [sp]
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
LBB0_3:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_HID_INPUT_REPORT,4,2           ; @HID_INPUT_REPORT
	.comm	_HID_USAGE_SENSOR_ORIENT_QUATERNION,4,2 ; @HID_USAGE_SENSOR_ORIENT_QUATERNION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dev_rot %x:%x\n"

l_.str.1:                               ; @.str.1
	.asciz	"dev_rot: attrib size %d\n"

	.comm	_HID_FEATURE_REPORT,4,2         ; @HID_FEATURE_REPORT
	.comm	_HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_ABS,4,2 ; @HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_ABS
	.comm	_HID_USAGE_SENSOR_DATA_ORIENTATION,4,2 ; @HID_USAGE_SENSOR_DATA_ORIENTATION
l_.str.2:                               ; @.str.2
	.asciz	"Sensitivity index:report %d:%d\n"

	.no_dead_strip	_dev_rot_parse_report
.subsections_via_symbols
