	.file	"extr_db8500_thermal.c_prcmu_high_irq_handler.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"PRCMU set max %ld, min %ld\n"
	.text
	.p2align 4
	.type	prcmu_high_irq_handler, @function
prcmu_high_irq_handler:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rdi, QWORD PTR db8500_thermal_points[rip]
	mov	ebp, DWORD PTR [rsi]
	call	ARRAY_SIZE@PLT
	sub	eax, 1
	cmp	eax, ebp
	ja	.L6
	je	.L7
.L3:
	mov	rdi, QWORD PTR 8[rbx]
	mov	esi, DWORD PTR THERMAL_EVENT_UNSPECIFIED[rip]
	call	thermal_zone_device_update@PLT
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdx, QWORD PTR db8500_thermal_points[rip]
	mov	eax, DWORD PTR [rdx+rax*4]
	add	eax, 1
	mov	DWORD PTR 4[rbx], eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR db8500_thermal_points[rip]
	lea	edx, 1[rbp]
	mov	rdi, rbx
	mov	rsi, rdx
	movsx	r12, DWORD PTR [rax+rdx*4]
	movsx	r13, DWORD PTR [rax+rbp*4]
	mov	edx, DWORD PTR THERMAL_TREND_RAISING[rip]
	mov	rcx, r13
	mov	r8, r12
	call	db8500_thermal_update_config@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	rcx, r13
	mov	rdx, r12
	lea	rsi, .LC0[rip]
	call	dev_info@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	prcmu_high_irq_handler, .-prcmu_high_irq_handler
	.comm	db8500_thermal_points,8,8
	.comm	THERMAL_TREND_RAISING,4,4
	.comm	THERMAL_EVENT_UNSPECIFIED,4,4
	.comm	IRQ_HANDLED,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_db8500_thermal.c_prcmu_high_irq_handler.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"PRCMU set max %ld, min %ld\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	prcmu_high_irq_handler, %function
prcmu_high_irq_handler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, .L7
	sub	sp, sp, #8
	ldr	r0, [r6]
	ldr	r5, [r1]
	mov	r4, r1
	bl	ARRAY_SIZE
	sub	r0, r0, #1
	cmp	r0, r5
	bhi	.L6
	ldreq	r3, [r6]
	ldreq	r3, [r3, r0, lsl #2]
	addeq	r3, r3, #1
	streq	r3, [r4, #4]
.L3:
	ldr	r3, .L7+4
	ldr	r0, [r4, #8]
	ldr	r1, [r3]
	bl	thermal_zone_device_update
	ldr	r3, .L7+8
	ldr	r0, [r3]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L6:
	ldr	r3, [r6]
	add	r1, r5, #1
	ldr	r5, [r3, r1, lsl #2]
	add	r2, r3, r1, lsl #2
	ldr	r6, [r2, #-4]
	ldr	r2, .L7+12
	str	r5, [sp]
	mov	r3, r6
	mov	r0, r4
	ldr	r2, [r2]
	bl	db8500_thermal_update_config
	mov	r3, r6
	mov	r2, r5
	ldr	r1, .L7+16
	ldr	r0, [r4, #8]
	bl	dev_info
	b	.L3
.L8:
	.align	2
.L7:
	.word	db8500_thermal_points
	.word	THERMAL_EVENT_UNSPECIFIED
	.word	IRQ_HANDLED
	.word	THERMAL_TREND_RAISING
	.word	.LC0
	.size	prcmu_high_irq_handler, .-prcmu_high_irq_handler
	.comm	db8500_thermal_points,4,4
	.comm	THERMAL_TREND_RAISING,4,4
	.comm	THERMAL_EVENT_UNSPECIFIED,4,4
	.comm	IRQ_HANDLED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
