	.file	"extr_exynos5_pad.c_ext_intr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ext_intr, @function
ext_intr:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rcx, QWORD PTR [rdi]
	mov	ebp, DWORD PTR [rcx]
	cmp	ebp, -1
	je	.L1
	mov	r12, rdi
	mov	rax, rcx
	xor	r14d, r14d
	xor	r13d, r13d
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	add	r13, 24
	lea	rax, [rcx+r13]
	mov	ebp, DWORD PTR [rax]
	cmp	ebp, -1
	je	.L1
.L2:
	mov	rdx, QWORD PTR 8[rax]
	mov	r15d, r14d
	add	r14d, ebp
	test	rdx, rdx
	je	.L4
	mov	esi, DWORD PTR 16[rax]
	mov	rdi, r12
	call	READ4@PLT
	mov	r8d, eax
	test	ebp, ebp
	jle	.L24
	xor	ebx, ebx
	xor	esi, esi
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L12:
	mov	esi, edx
.L6:
	add	ebx, 1
	cmp	ebx, ebp
	je	.L26
.L7:
	mov	edx, r8d
	mov	ecx, ebx
	sar	edx, cl
	and	edx, 1
	je	.L6
	lea	ecx, [rbx+r15]
	mov	rax, QWORD PTR intr_map[rip]
	movsx	rcx, ecx
	lea	rcx, [rcx+rcx*2]
	lea	rax, [rax+rcx*8]
	mov	esi, DWORD PTR [rax]
	cmp	esi, 1
	jne	.L12
	add	ebx, 1
	mov	DWORD PTR 12[rsp], r8d
	mov	rdi, QWORD PTR 16[rax]
	mov	DWORD PTR 8[rsp], esi
	call	[QWORD PTR 8[rax]]
	mov	esi, DWORD PTR 8[rsp]
	mov	r8d, DWORD PTR 12[rsp]
	cmp	ebx, ebp
	jne	.L7
	.p2align 4,,10
	.p2align 3
.L26:
	mov	rcx, QWORD PTR [r12]
	test	esi, esi
	je	.L4
	add	rcx, r13
	mov	rdi, r12
	mov	rdx, QWORD PTR 8[rcx]
	mov	esi, DWORD PTR 16[rcx]
	mov	ecx, r8d
	call	WRITE4@PLT
.L24:
	mov	rcx, QWORD PTR [r12]
	add	r13, 24
	lea	rax, [rcx+r13]
	mov	ebp, DWORD PTR [rax]
	cmp	ebp, -1
	jne	.L2
.L1:
	add	rsp, 24
	.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	ext_intr, .-ext_intr
	.comm	intr_map,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_exynos5_pad.c_ext_intr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ext_intr, %function
ext_intr:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r1, [r0]
	sub	sp, sp, #12
	ldr	r5, [r1]
	cmn	r5, #1
	beq	.L1
	mov	r7, #0
	mov	r8, r0
	mov	r3, r1
	mov	r6, r7
	ldr	r9, .L25
	b	.L2
.L4:
	add	r6, r6, #12
	ldr	r5, [r1, r6]
	add	r3, r1, r6
	cmn	r5, #1
	beq	.L1
.L2:
	ldr	r2, [r3, #4]
	mov	r10, r7
	cmp	r2, #0
	add	r7, r7, r5
	beq	.L4
	ldr	r1, [r3, #8]
	mov	r0, r8
	bl	READ4
	cmp	r5, #0
	mov	r3, r0
	ble	.L23
	mov	r4, #0
	mov	fp, r4
.L7:
	asr	r1, r3, r4
	add	r2, r4, r10
	ands	r1, r1, #1
	add	r2, r2, r2, lsl #1
	beq	.L6
	ldr	r0, [r9]
	ldr	fp, [r0, r2, lsl #2]
	add	r2, r0, r2, lsl #2
	cmp	fp, #1
	movne	fp, r1
	bne	.L6
	ldr	r1, [r2, #4]
	ldr	r0, [r2, #8]
	str	r3, [sp, #4]
	blx	r1
	ldr	r3, [sp, #4]
.L6:
	add	r4, r4, #1
	cmp	r4, r5
	bne	.L7
	cmp	fp, #0
	ldr	r1, [r8]
	beq	.L4
	add	r1, r1, r6
	ldr	r2, [r1, #4]
	mov	r0, r8
	ldr	r1, [r1, #8]
	bl	WRITE4
.L23:
	ldr	r1, [r8]
	b	.L4
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L26:
	.align	2
.L25:
	.word	intr_map
	.size	ext_intr, .-ext_intr
	.comm	intr_map,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
