	.file	"extr_xics.c_xics_get_irq_lpar.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	xics_get_irq_lpar, @function
xics_get_irq_lpar:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	eax, eax
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	call	lpar_xirr_info_get@PLT
	mov	edi, eax
	mov	r12d, eax
	call	xics_xirr_vector@PLT
	cmp	DWORD PTR XICS_IRQ_SPURIOUS[rip], eax
	je	.L5
	mov	edi, DWORD PTR xics_host[rip]
	mov	esi, eax
	mov	ebp, eax
	call	irq_radix_revmap_lookup@PLT
	xor	edi, edi
	cmp	DWORD PTR NO_IRQ[rip], eax
	setne	dil
	mov	r13d, eax
	call	likely@PLT
	test	rax, rax
	je	.L7
	mov	eax, r13d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edi, ebp
	call	xics_mask_unknown_vec@PLT
	mov	edi, r12d
	call	lpar_xirr_info_set@PLT
.L5:
	mov	r13d, DWORD PTR NO_IRQ[rip]
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	mov	eax, r13d
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	xics_get_irq_lpar, .-xics_get_irq_lpar
	.comm	xics_host,4,4
	.comm	XICS_IRQ_SPURIOUS,4,4
	.comm	NO_IRQ,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_xics.c_xics_get_irq_lpar.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xics_get_irq_lpar, %function
xics_get_irq_lpar:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	bl	lpar_xirr_info_get
	mov	r6, r0
	bl	xics_xirr_vector
	ldr	r3, .L8
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L6
	ldr	r3, .L8+4
	mov	r1, r0
	mov	r4, r0
	ldr	r0, [r3]
	bl	irq_radix_revmap_lookup
	mov	r5, r0
	ldr	r7, .L8+8
	ldr	r0, [r7]
	subs	r0, r0, r5
	movne	r0, #1
	bl	likely
	cmp	r0, #0
	beq	.L7
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mov	r0, r4
	bl	xics_mask_unknown_vec
	mov	r0, r6
	bl	lpar_xirr_info_set
	ldr	r5, [r7]
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	ldr	r3, .L8+8
	ldr	r5, [r3]
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	XICS_IRQ_SPURIOUS
	.word	xics_host
	.word	NO_IRQ
	.size	xics_get_irq_lpar, .-xics_get_irq_lpar
	.comm	xics_host,4,4
	.comm	XICS_IRQ_SPURIOUS,4,4
	.comm	NO_IRQ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
