	.file	"extr_hid-sensor-temperature.c_temperature_parse_report.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	temperature_parse_report, @function
temperature_parse_report:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	r15, 24[r8]
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	edx, r13d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rdi, rbp
	mov	rbx, r8
	mov	r8, r15
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	ecx, DWORD PTR HID_USAGE_SENSOR_DATA_ENVIRONMENTAL_TEMPERATURE[rip]
	mov	esi, DWORD PTR HID_INPUT_REPORT[rip]
	call	sensor_hub_input_get_attribute_info@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L1
	mov	edx, DWORD PTR 32[rbx]
	xor	esi, esi
	mov	rdi, r14
	call	temperature_adjust_channel_bit_mask@PLT
	lea	rcx, 16[rbx]
	lea	rdx, 20[rbx]
	mov	rsi, r15
	mov	edi, DWORD PTR HID_USAGE_SENSOR_TEMPERATURE[rip]
	call	hid_sensor_format_scale@PLT
	cmp	QWORD PTR [rbx], 0
	mov	DWORD PTR 40[rbx], eax
	js	.L7
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	esi, DWORD PTR HID_FEATURE_REPORT[rip]
	mov	r8, rbx
	mov	edx, r13d
	mov	rdi, rbp
	mov	ecx, DWORD PTR HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_ABS[rip]
	or	ecx, DWORD PTR HID_USAGE_SENSOR_DATA_ENVIRONMENTAL_TEMPERATURE[rip]
	call	sensor_hub_input_get_attribute_info@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	temperature_parse_report, .-temperature_parse_report
	.comm	HID_USAGE_SENSOR_TEMPERATURE,4,4
	.comm	HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_ABS,4,4
	.comm	HID_USAGE_SENSOR_DATA_ENVIRONMENTAL_TEMPERATURE,4,4
	.comm	HID_INPUT_REPORT,4,4
	.comm	HID_FEATURE_REPORT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_hid-sensor-temperature.c_temperature_parse_report.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	temperature_parse_report, %function
temperature_parse_report:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r1
	sub	sp, sp, #8
	ldr	r4, [sp, #40]
	ldr	r9, .L8
	ldr	r1, .L8+4
	add	r8, r4, #16
	str	r8, [sp]
	mov	r7, r3
	mov	r5, r2
	mov	r0, r6
	mov	r2, r3
	ldr	r1, [r1]
	ldr	r3, [r9]
	bl	sensor_hub_input_get_attribute_info
	subs	r10, r0, #0
	blt	.L1
	mov	r1, #0
	ldr	r2, [r4, #20]
	mov	r0, r5
	bl	temperature_adjust_channel_bit_mask
	ldr	r3, .L8+8
	mov	r1, r8
	ldr	r0, [r3]
	add	r2, r4, #12
	add	r3, r4, #8
	bl	hid_sensor_format_scale
	ldr	r3, [r4]
	str	r0, [r4, #24]
	cmp	r3, #0
	blt	.L7
.L1:
	mov	r0, r10
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
	ldr	r2, .L8+12
	ldr	r3, [r9]
	ldr	ip, [r2]
	ldr	r1, .L8+16
	str	r4, [sp]
	mov	r2, r7
	mov	r0, r6
	ldr	r1, [r1]
	orr	r3, ip, r3
	bl	sensor_hub_input_get_attribute_info
	mov	r0, r10
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
	.align	2
.L8:
	.word	HID_USAGE_SENSOR_DATA_ENVIRONMENTAL_TEMPERATURE
	.word	HID_INPUT_REPORT
	.word	HID_USAGE_SENSOR_TEMPERATURE
	.word	HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_ABS
	.word	HID_FEATURE_REPORT
	.size	temperature_parse_report, .-temperature_parse_report
	.comm	HID_USAGE_SENSOR_TEMPERATURE,4,4
	.comm	HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_ABS,4,4
	.comm	HID_USAGE_SENSOR_DATA_ENVIRONMENTAL_TEMPERATURE,4,4
	.comm	HID_INPUT_REPORT,4,4
	.comm	HID_FEATURE_REPORT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
