	.file	"extr_max8925-core.c_max8925_tsc_irq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	max8925_tsc_irq, @function
max8925_tsc_irq:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, -1
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	xor	ebx, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rdi, QWORD PTR max8925_irqs[rip]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	cmp	rax, QWORD PTR FLAGS_ADC[rip]
	je	.L13
	mov	rdi, QWORD PTR 8[r14]
.L5:
	mov	r15d, DWORD PTR 8[rbp]
	cmp	r15d, r13d
	je	.L7
	mov	esi, r15d
	call	max8925_reg_read@PLT
	mov	r12d, eax
.L7:
	test	DWORD PTR 12[rbp], r12d
	jne	.L8
.L11:
	mov	rdi, QWORD PTR max8925_irqs[rip]
	mov	r13d, r15d
.L3:
	add	rbx, 1
.L2:
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	jle	.L14
	mov	rdi, QWORD PTR max8925_irqs[rip]
	lea	rax, [rbx+rbx*2]
	lea	rbp, [rdi+rax*8]
	mov	eax, DWORD PTR 16[rbp]
	test	eax, eax
	je	.L3
	mov	rax, QWORD PTR 0[rbp]
	cmp	rax, QWORD PTR FLAGS_RTC[rip]
	jne	.L4
	mov	rdi, QWORD PTR 24[r14]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdi, QWORD PTR [r14]
	add	rdi, rbx
	call	handle_nested_irq@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rdi, QWORD PTR 16[r14]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L14:
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 56
	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
	.cfi_endproc
.LFE0:
	.size	max8925_tsc_irq, .-max8925_tsc_irq
	.comm	max8925_irqs,8,8
	.comm	IRQ_HANDLED,4,4
	.comm	FLAGS_RTC,8,8
	.comm	FLAGS_ADC,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_max8925-core.c_max8925_tsc_irq.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	max8925_tsc_irq, %function
max8925_tsc_irq:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, #0
	ldr	r5, .L17
	mov	r8, r1
	mov	r6, r4
	mvn	r7, #0
	ldr	r0, [r5]
	ldr	r9, .L17+4
	ldr	r10, .L17+8
	sub	sp, sp, #12
	b	.L2
.L14:
	ldr	r0, [r5]
.L3:
	add	r4, r4, #1
.L2:
	bl	ARRAY_SIZE
	cmp	r0, r4
	ble	.L16
	ldr	r0, [r5]
	add	fp, r0, r4, lsl #4
	ldr	r3, [fp, #12]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [r0, r4, lsl #4]
	ldr	r2, [r9]
	cmp	r3, r2
	ldreq	r0, [r8, #12]
	beq	.L5
	ldr	r2, [r10]
	cmp	r3, r2
	ldreq	r0, [r8, #8]
	ldrne	r0, [r8, #4]
.L5:
	ldr	r1, [fp, #4]
	cmp	r1, r7
	beq	.L7
	str	r1, [sp, #4]
	bl	max8925_reg_read
	mov	r6, r0
	ldr	r1, [sp, #4]
.L7:
	ldr	r3, [fp, #8]
	mov	r7, r1
	tst	r6, r3
	beq	.L14
	ldr	r0, [r8]
	add	r0, r4, r0
	bl	handle_nested_irq
	b	.L14
.L16:
	ldr	r3, .L17+12
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L18:
	.align	2
.L17:
	.word	max8925_irqs
	.word	FLAGS_RTC
	.word	FLAGS_ADC
	.word	IRQ_HANDLED
	.size	max8925_tsc_irq, .-max8925_tsc_irq
	.comm	max8925_irqs,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	FLAGS_RTC,4,4
	.comm	FLAGS_ADC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
