	.file	"extr_rsparser.c_irq_flags.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	irq_flags, @function
irq_flags:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	DWORD PTR ACPI_LEVEL_SENSITIVE[rip], edi
	mov	eax, DWORD PTR ACPI_ACTIVE_LOW[rip]
	je	.L8
	cmp	esi, eax
	mov	eax, DWORD PTR IORESOURCE_IRQ_LOWEDGE[rip]
	cmovne	eax, DWORD PTR IORESOURCE_IRQ_HIGHEDGE[rip]
.L4:
	cmp	DWORD PTR ACPI_SHARED[rip], edx
	je	.L9
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	or	eax, DWORD PTR IORESOURCE_IRQ_SHAREABLE[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	cmp	esi, eax
	mov	eax, DWORD PTR IORESOURCE_IRQ_LOWLEVEL[rip]
	cmovne	eax, DWORD PTR IORESOURCE_IRQ_HIGHLEVEL[rip]
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	irq_flags, .-irq_flags
	.comm	IORESOURCE_IRQ_SHAREABLE,4,4
	.comm	IORESOURCE_IRQ_LOWLEVEL,4,4
	.comm	IORESOURCE_IRQ_LOWEDGE,4,4
	.comm	IORESOURCE_IRQ_HIGHLEVEL,4,4
	.comm	IORESOURCE_IRQ_HIGHEDGE,4,4
	.comm	ACPI_SHARED,4,4
	.comm	ACPI_LEVEL_SENSITIVE,4,4
	.comm	ACPI_ACTIVE_LOW,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_rsparser.c_irq_flags.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	irq_flags, %function
irq_flags:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	ip, .L9
	ldr	r3, .L9+4
	ldr	ip, [ip]
	ldr	r3, [r3]
	cmp	ip, r0
	beq	.L8
	cmp	r1, r3
	ldreq	r3, .L9+8
	ldrne	r3, .L9+12
	ldr	r0, [r3]
.L4:
	ldr	r3, .L9+16
	ldr	r3, [r3]
	cmp	r3, r2
	ldreq	r3, .L9+20
	ldreq	r3, [r3]
	orreq	r0, r0, r3
	bx	lr
.L8:
	cmp	r1, r3
	ldreq	r3, .L9+24
	ldrne	r3, .L9+28
	ldr	r0, [r3]
	b	.L4
.L10:
	.align	2
.L9:
	.word	ACPI_LEVEL_SENSITIVE
	.word	ACPI_ACTIVE_LOW
	.word	IORESOURCE_IRQ_LOWEDGE
	.word	IORESOURCE_IRQ_HIGHEDGE
	.word	ACPI_SHARED
	.word	IORESOURCE_IRQ_SHAREABLE
	.word	IORESOURCE_IRQ_LOWLEVEL
	.word	IORESOURCE_IRQ_HIGHLEVEL
	.size	irq_flags, .-irq_flags
	.comm	IORESOURCE_IRQ_SHAREABLE,4,4
	.comm	IORESOURCE_IRQ_LOWLEVEL,4,4
	.comm	IORESOURCE_IRQ_LOWEDGE,4,4
	.comm	IORESOURCE_IRQ_HIGHLEVEL,4,4
	.comm	IORESOURCE_IRQ_HIGHEDGE,4,4
	.comm	ACPI_SHARED,4,4
	.comm	ACPI_LEVEL_SENSITIVE,4,4
	.comm	ACPI_ACTIVE_LOW,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
