	.file	"extr_common.c_occ_show_freq_1.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%u\n"
	.text
	.p2align 4
	.type	occ_show_freq_1, @function
occ_show_freq_1:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	dev_get_drvdata@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	to_sensor_dev_attr_2@PLT
	mov	rdi, rbx
	mov	rbp, rax
	call	occ_update_response@PLT
	test	eax, eax
	jne	.L1
	mov	rax, QWORD PTR [rbx]
	movsx	rdx, DWORD PTR 0[rbp]
	lea	rdi, [rax+rdx*8]
	mov	eax, DWORD PTR 4[rbp]
	test	eax, eax
	je	.L3
	cmp	eax, 1
	jne	.L10
	call	get_unaligned_be16@PLT
	mov	ecx, eax
.L6:
	mov	rax, QWORD PTR PAGE_SIZE[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, r12
	lea	rdx, .LC0[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	lea	rsi, -1[rax]
	jmp	snprintf@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	add	rdi, 4
	call	get_unaligned_be16@PLT
	mov	ecx, eax
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	occ_show_freq_1, .-occ_show_freq_1
	.comm	PAGE_SIZE,8,8
	.comm	EINVAL,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_common.c_occ_show_freq_1.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%u\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	occ_show_freq_1, %function
occ_show_freq_1:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r6, r2
	bl	dev_get_drvdata
	mov	r4, r0
	mov	r0, r5
	bl	to_sensor_dev_attr_2
	mov	r5, r0
	mov	r0, r4
	bl	occ_update_response
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
	ldr	r3, [r5, #4]
	ldr	r0, [r4]
	ldr	r2, [r5]
	cmp	r3, #0
	add	r0, r0, r2, lsl #3
	beq	.L3
	cmp	r3, #1
	bne	.L10
	bl	get_unaligned_be16
	mov	r3, r0
.L6:
	ldr	r2, .L11
	mov	r0, r6
	pop	{r4, r5, r6, lr}
	ldr	r1, [r2]
	ldr	r2, .L11+4
	sub	r1, r1, #1
	b	snprintf
.L10:
	ldr	r3, .L11+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L3:
	add	r0, r0, #4
	bl	get_unaligned_be16
	mov	r3, r0
	b	.L6
.L12:
	.align	2
.L11:
	.word	PAGE_SIZE
	.word	.LC0
	.word	EINVAL
	.size	occ_show_freq_1, .-occ_show_freq_1
	.comm	PAGE_SIZE,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
