	.file	"extr_pcwd_pci.c_pcipcwd_get_temperature.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"temperature is: %d F\n"
	.text
	.p2align 4
	.type	pcipcwd_get_temperature, @function
pcipcwd_get_temperature:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	DWORD PTR [rdi], 0
	mov	eax, DWORD PTR pcipcwd_private[rip+8]
	test	eax, eax
	jne	.L2
	mov	r12d, DWORD PTR ENODEV[rip]
	neg	r12d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rbx, rdi
	lea	rdi, pcipcwd_private[rip]
	xor	r12d, r12d
	call	spin_lock@PLT
	mov	edi, DWORD PTR pcipcwd_private[rip+4]
	call	inb_p@PLT
	lea	rdi, pcipcwd_private[rip]
	mov	DWORD PTR [rbx], eax
	call	spin_unlock@PLT
	mov	eax, DWORD PTR [rbx]
	lea	eax, [rax+rax*8]
	movsx	rsi, eax
	sar	eax, 31
	imul	rsi, rsi, 1717986919
	sar	rsi, 33
	sub	esi, eax
	mov	rax, QWORD PTR DEBUG[rip]
	add	esi, 32
	cmp	QWORD PTR debug[rip], rax
	mov	DWORD PTR [rbx], esi
	jl	.L1
	lea	rdi, .LC0[rip]
	call	pr_debug@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	pcipcwd_get_temperature, .-pcipcwd_get_temperature
	.comm	pcipcwd_private,12,8
	.comm	debug,8,8
	.comm	ENODEV,4,4
	.comm	DEBUG,8,8
	.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_pcwd_pci.c_pcipcwd_get_temperature.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"temperature is: %d F\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pcipcwd_get_temperature, %function
pcipcwd_get_temperature:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, #0
	ldr	r6, .L8
	str	r4, [r0]
	ldr	r3, [r6, #8]
	cmp	r3, r4
	bne	.L2
	ldr	r3, .L8+4
	ldr	r4, [r3]
	rsb	r0, r4, #0
	pop	{r4, r5, r6, pc}
.L2:
	mov	r5, r0
	mov	r0, r6
	bl	spin_lock
	ldr	r0, [r6, #4]
	bl	inb_p
	mov	r3, r0
	mov	r0, r6
	str	r3, [r5]
	bl	spin_unlock
	ldr	r3, [r5]
	ldr	r1, .L8+8
	add	r3, r3, r3, lsl #3
	smull	r0, r2, r1, r3
	ldr	ip, .L8+12
	ldr	r0, .L8+16
	asr	r1, r3, #31
	ldr	r0, [r0]
	ldr	r3, [ip]
	rsb	r1, r1, r2, asr #1
	add	r1, r1, #32
	cmp	r0, r3
	str	r1, [r5]
	bge	.L7
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r0, .L8+20
	bl	pr_debug
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L9:
	.align	2
.L8:
	.word	pcipcwd_private
	.word	ENODEV
	.word	1717986919
	.word	DEBUG
	.word	debug
	.word	.LC0
	.size	pcipcwd_get_temperature, .-pcipcwd_get_temperature
	.comm	pcipcwd_private,12,4
	.comm	debug,4,4
	.comm	ENODEV,4,4
	.comm	DEBUG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
