	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prox_parse_report
_prox_parse_report:                     ## @prox_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movl	%ecx, %r14d
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_HID_INPUT_REPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HID_USAGE_SENSOR_HUMAN_PRESENCE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	addq	$16, %r8
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_sensor_hub_input_get_attribute_info
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	movq	_CHANNEL_SCAN_INDEX_PRESENCE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	28(%rbx), %edx
	movq	%r13, %rdi
	callq	_prox_adjust_channel_bit_mask
	movq	16(%rbx), %rdx
	movl	24(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_dbg
	cmpq	$0, (%rbx)
	jns	LBB0_4
## %bb.2:
	movq	_HID_FEATURE_REPORT@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_ABS@GOTPCREL(%rip), %rdx
	movq	_HID_USAGE_SENSOR_DATA_PRESENCE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	orl	(%rdx), %ecx
	movq	%r15, %rdi
	movl	%r14d, %edx
	movq	%rbx, %r8
	callq	_sensor_hub_input_get_attribute_info
	movq	(%rbx), %rdx
	movl	8(%rbx), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_dbg
	cmpq	$0, (%rbx)
	jns	LBB0_4
## %bb.3:
	movl	(%r13), %esi
	movq	_HID_USAGE_SENSOR_HUMAN_PRESENCE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_ABS@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%r14d, %edx
	movq	%rbx, %r8
	callq	_sensor_hub_input_get_attribute_info
LBB0_4:
	movl	%r12d, %eax
	addq	$8, %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_HUMAN_PRESENCE,4,2 ## @HID_USAGE_SENSOR_HUMAN_PRESENCE
	.comm	_CHANNEL_SCAN_INDEX_PRESENCE,4,2 ## @CHANNEL_SCAN_INDEX_PRESENCE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"prox %x:%x\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_PRESENCE,4,2 ## @HID_USAGE_SENSOR_DATA_PRESENCE
L_.str.1:                               ## @.str.1
	.asciz	"Sensitivity index:report %d:%d\n"

	.no_dead_strip	_prox_parse_report
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prox_parse_report
_prox_parse_report:                     ; @prox_parse_report
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x4
	mov	x20, x3
	mov	x24, x2
	mov	x21, x1
	mov	x23, x0
	add	x4, x4, #16
Lloh0:
	adrp	x8, _HID_INPUT_REPORT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HID_INPUT_REPORT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x25, _HID_USAGE_SENSOR_HUMAN_PRESENCE@GOTPAGE
Lloh4:
	ldr	x25, [x25, _HID_USAGE_SENSOR_HUMAN_PRESENCE@GOTPAGEOFF]
	ldr	w3, [x25]
	mov	x0, x21
	mov	x2, x20
	bl	_sensor_hub_input_get_attribute_info
	mov	x22, x0
	tbnz	w0, #31, LBB0_4
; %bb.1:
Lloh5:
	adrp	x8, _CHANNEL_SCAN_INDEX_PRESENCE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CHANNEL_SCAN_INDEX_PRESENCE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w2, [x19, #28]
	mov	x0, x24
	bl	_prox_adjust_channel_bit_mask
	ldr	x2, [x19, #16]
	ldr	w3, [x19, #24]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	bl	_dev_dbg
	ldr	x8, [x19]
	tbz	x8, #63, LBB0_4
; %bb.2:
Lloh10:
	adrp	x24, _HID_FEATURE_REPORT@GOTPAGE
Lloh11:
	ldr	x24, [x24, _HID_FEATURE_REPORT@GOTPAGEOFF]
Lloh12:
	adrp	x26, _HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_ABS@GOTPAGE
Lloh13:
	ldr	x26, [x26, _HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_ABS@GOTPAGEOFF]
	ldr	w1, [x24]
	ldr	w8, [x26]
Lloh14:
	adrp	x9, _HID_USAGE_SENSOR_DATA_PRESENCE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _HID_USAGE_SENSOR_DATA_PRESENCE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w3, w9, w8
	mov	x0, x21
	mov	x2, x20
	mov	x4, x19
	bl	_sensor_hub_input_get_attribute_info
	ldr	x2, [x19]
	ldr	w3, [x19, #8]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_dev_dbg
	ldr	x8, [x19]
	tbz	x8, #63, LBB0_4
; %bb.3:
	ldr	w1, [x24]
	ldr	w8, [x26]
	ldr	w9, [x25]
	orr	w3, w9, w8
	mov	x0, x21
	mov	x2, x20
	mov	x4, x19
	bl	_sensor_hub_input_get_attribute_info
LBB0_4:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_HID_INPUT_REPORT,4,2           ; @HID_INPUT_REPORT
	.comm	_HID_USAGE_SENSOR_HUMAN_PRESENCE,4,2 ; @HID_USAGE_SENSOR_HUMAN_PRESENCE
	.comm	_CHANNEL_SCAN_INDEX_PRESENCE,4,2 ; @CHANNEL_SCAN_INDEX_PRESENCE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"prox %x:%x\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_PRESENCE,4,2 ; @HID_USAGE_SENSOR_DATA_PRESENCE
l_.str.1:                               ; @.str.1
	.asciz	"Sensitivity index:report %d:%d\n"

	.no_dead_strip	_prox_parse_report
.subsections_via_symbols
