	.file	"extr_intel_irq_remapping.c_intel_ir_set_affinity.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	intel_ir_set_affinity, @function
intel_ir_set_affinity:
.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
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	r15, QWORD PTR 8[rdi]
	mov	rbp, rdi
	call	irqd_cfg@PLT
	mov	edx, r13d
	mov	rsi, r12
	mov	rdi, r15
	mov	r14, rax
	mov	rax, QWORD PTR [r15]
	call	[QWORD PTR [rax]]
	test	eax, eax
	js	.L1
	cmp	DWORD PTR IRQ_SET_MASK_OK_DONE[rip], eax
	je	.L1
	xor	esi, esi
	mov	rdi, rbp
	call	intel_ir_reconfigure_irte@PLT
	mov	rdi, r14
	call	send_cleanup_vector@PLT
	mov	eax, DWORD PTR IRQ_SET_MASK_OK_DONE[rip]
.L1:
	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	intel_ir_set_affinity, .-intel_ir_set_affinity
	.comm	IRQ_SET_MASK_OK_DONE,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_intel_irq_remapping.c_intel_ir_set_affinity.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	intel_ir_set_affinity, %function
intel_ir_set_affinity:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r6, r2
	ldr	r7, [r0, #4]
	mov	r4, r0
	bl	irqd_cfg
	mov	r3, r0
	ldr	r0, [r7]
	mov	r2, r6
	mov	r1, r5
	ldr	r6, [r0]
	mov	r0, r7
	mov	r5, r3
	blx	r6
	cmp	r0, #0
	poplt	{r4, r5, r6, r7, r8, pc}
	ldr	r6, .L5
	ldr	r3, [r6]
	cmp	r3, r0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r1, #0
	mov	r0, r4
	bl	intel_ir_reconfigure_irte
	mov	r0, r5
	bl	send_cleanup_vector
	ldr	r0, [r6]
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	.align	2
.L5:
	.word	IRQ_SET_MASK_OK_DONE
	.size	intel_ir_set_affinity, .-intel_ir_set_affinity
	.comm	IRQ_SET_MASK_OK_DONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
