	.file	"extr_ams-delta-fiq.c_deferred_fiq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	deferred_fiq, @function
deferred_fiq:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, DWORD PTR AMS_DELTA_GPIO_PIN_KEYBRD_CLK[rip]
	cmp	r13d, DWORD PTR AMS_DELTA_GPIO_PIN_HOOK_SWITCH[rip]
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	jg	.L2
	movsx	rbx, r13d
	mov	rcx, QWORD PTR irq_counter[rip]
	sal	rbx, 2
	.p2align 4,,10
	.p2align 3
.L8:
	mov	eax, DWORD PTR FIQ_CNT_INT_00[rip]
	mov	rdx, QWORD PTR fiq_buffer[rip]
	add	eax, r13d
	cdqe
	mov	ebp, DWORD PTR [rdx+rax*4]
	cmp	DWORD PTR [rcx+rbx], ebp
	jge	.L3
	mov	rax, QWORD PTR irq_data[rip]
	cmp	DWORD PTR AMS_DELTA_GPIO_PIN_KEYBRD_CLK[rip], r13d
	mov	r14, QWORD PTR [rax+rbx*2]
	mov	r12d, DWORD PTR [r14]
	je	.L5
	mov	rax, QWORD PTR irq_chip[rip]
	xor	edi, edi
	cmp	QWORD PTR [rax], 0
	sete	dil
	call	WARN_ON_ONCE@PLT
	test	eax, eax
	jne	.L6
	mov	rax, QWORD PTR irq_chip[rip]
	mov	rdi, r14
	call	[QWORD PTR [rax]]
.L6:
	mov	rcx, QWORD PTR irq_counter[rip]
	cmp	ebp, DWORD PTR [rcx+rbx]
	jle	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edi, r12d
	call	generic_handle_irq@PLT
	mov	rcx, QWORD PTR irq_counter[rip]
	lea	rdx, [rcx+rbx]
	mov	eax, DWORD PTR [rdx]
	add	eax, 1
	mov	DWORD PTR [rdx], eax
	cmp	eax, ebp
	jl	.L5
.L3:
	add	r13d, 1
	add	rbx, 4
	cmp	DWORD PTR AMS_DELTA_GPIO_PIN_HOOK_SWITCH[rip], r13d
	jge	.L8
.L2:
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	deferred_fiq, .-deferred_fiq
	.comm	irq_data,8,8
	.comm	irq_counter,8,8
	.comm	irq_chip,8,8
	.comm	fiq_buffer,8,8
	.comm	IRQ_HANDLED,4,4
	.comm	FIQ_CNT_INT_00,4,4
	.comm	AMS_DELTA_GPIO_PIN_KEYBRD_CLK,4,4
	.comm	AMS_DELTA_GPIO_PIN_HOOK_SWITCH,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_ams-delta-fiq.c_deferred_fiq.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	deferred_fiq, %function
deferred_fiq:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L14
	ldr	r7, .L14+4
	ldr	r6, [r3]
	ldr	r3, [r7]
	sub	sp, sp, #12
	cmp	r6, r3
	bgt	.L2
	ldr	r9, .L14+8
	ldr	r8, .L14+12
	ldr	fp, .L14+16
.L8:
	ldr	r3, [r9]
	ldr	r1, [r8]
	ldr	r2, [fp]
	add	r3, r6, r3
	ldr	r4, [r1, r3, lsl #2]
	ldr	r3, [r2, r6, lsl #2]
	lsl	r10, r6, #2
	cmp	r3, r4
	bge	.L3
	ldr	r3, .L14+20
	ldr	r2, .L14
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r3, [r3, r6, lsl #2]
	cmp	r2, r6
	ldr	r5, [r3]
	str	r3, [sp, #4]
	beq	.L5
	ldr	r3, .L14+24
	ldr	r2, [r3]
	ldr	r0, [r2]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	WARN_ON_ONCE
	cmp	r0, #0
	bne	.L6
	ldr	r3, .L14+24
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	mov	r0, r3
	ldr	r3, [r2]
	blx	r3
.L6:
	ldr	r3, [fp]
	ldr	r3, [r3, r10]
	cmp	r4, r3
	ble	.L3
.L5:
	mov	r0, r5
	bl	generic_handle_irq
	ldr	r2, [fp]
	ldr	r3, [r2, r10]
	add	r3, r3, #1
	cmp	r3, r4
	str	r3, [r2, r10]
	blt	.L5
.L3:
	ldr	r3, [r7]
	add	r6, r6, #1
	cmp	r3, r6
	bge	.L8
.L2:
	ldr	r3, .L14+28
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	.align	2
.L14:
	.word	AMS_DELTA_GPIO_PIN_KEYBRD_CLK
	.word	AMS_DELTA_GPIO_PIN_HOOK_SWITCH
	.word	FIQ_CNT_INT_00
	.word	fiq_buffer
	.word	irq_counter
	.word	irq_data
	.word	irq_chip
	.word	IRQ_HANDLED
	.size	deferred_fiq, .-deferred_fiq
	.comm	irq_data,4,4
	.comm	irq_counter,4,4
	.comm	irq_chip,4,4
	.comm	fiq_buffer,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	FIQ_CNT_INT_00,4,4
	.comm	AMS_DELTA_GPIO_PIN_KEYBRD_CLK,4,4
	.comm	AMS_DELTA_GPIO_PIN_HOOK_SWITCH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
