	.file	"extr_dmabrg.c_dmabrg_request_irq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	dmabrg_request_irq
	.type	dmabrg_request_irq, @function
dmabrg_request_irq:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	edi, 9
	ja	.L6
	test	rsi, rsi
	je	.L6
	mov	eax, edi
	sal	rax, 4
	add	rax, QWORD PTR dmabrg_handlers[rip]
	cmp	QWORD PTR [rax], 0
	je	.L5
	mov	eax, DWORD PTR EBUSY[rip]
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	mov	eax, DWORD PTR ENOENT[rip]
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdx
	call	dmabrg_enable_irq@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	dmabrg_request_irq, .-dmabrg_request_irq
	.comm	dmabrg_handlers,8,8
	.comm	ENOENT,4,4
	.comm	EBUSY,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_dmabrg.c_dmabrg_request_irq.c"
	.text
	.align	2
	.global	dmabrg_request_irq
	.syntax unified
	.arm
	.fpu softvfp
	.type	dmabrg_request_irq, %function
dmabrg_request_irq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	clz	r3, r1
	lsr	r3, r3, #5
	cmp	r0, #9
	orrhi	r3, r3, #1
	cmp	r3, #0
	bne	.L9
	ldr	r3, .L10
	push	{r4, lr}
	ldr	r3, [r3]
	ldr	r4, [r3, r0, lsl #3]
	add	lr, r3, r0, lsl #3
	cmp	r4, #0
	beq	.L4
	ldr	r3, .L10+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L9:
	ldr	r3, .L10+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L4:
	str	r1, [r3, r0, lsl #3]
	str	r2, [lr, #4]
	bl	dmabrg_enable_irq
	mov	r0, r4
	pop	{r4, pc}
.L11:
	.align	2
.L10:
	.word	dmabrg_handlers
	.word	EBUSY
	.word	ENOENT
	.size	dmabrg_request_irq, .-dmabrg_request_irq
	.comm	dmabrg_handlers,4,4
	.comm	ENOENT,4,4
	.comm	EBUSY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
