	.file	"extr_io_apic.c_mp_alloc_timer_irq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mp_alloc_timer_irq, @function
mp_alloc_timer_irq:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	mp_ioapic_irqdomain@PLT
	test	rax, rax
	je	.L4
	mov	esi, DWORD PTR NUMA_NO_NODE[rip]
	mov	rbx, rsp
	xor	ecx, ecx
	xor	edx, edx
	mov	rdi, rbx
	mov	rbp, rax
	call	ioapic_set_alloc_attr@PLT
	mov	edi, r12d
	call	mpc_ioapic_id@PLT
	lea	rdi, ioapic_mutex[rip]
	mov	DWORD PTR [rsp], r13d
	mov	DWORD PTR 4[rsp], eax
	call	mutex_lock@PLT
	mov	edx, r12d
	mov	rdi, rbp
	mov	r8, rbx
	mov	ecx, r13d
	xor	esi, esi
	call	alloc_isa_irq_from_domain@PLT
	lea	rdi, ioapic_mutex[rip]
	mov	r12d, eax
	call	mutex_unlock@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.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
.L4:
	.cfi_restore_state
	mov	r12d, -1
	jmp	.L1
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mp_alloc_timer_irq, .-mp_alloc_timer_irq
	.comm	ioapic_mutex,4,4
	.comm	NUMA_NO_NODE,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_io_apic.c_mp_alloc_timer_irq.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mp_alloc_timer_irq, %function
mp_alloc_timer_irq:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L8
	sub	sp, sp, #28
	mov	r6, r1
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r5, r0
	bl	mp_ioapic_irqdomain
	subs	r4, r0, #0
	beq	.L4
	mov	r3, #0
	ldr	r1, .L8+4
	add	r7, sp, #12
	mov	r2, r3
	ldr	r1, [r1]
	mov	r0, r7
	bl	ioapic_set_alloc_attr
	mov	r0, r5
	bl	mpc_ioapic_id
	mov	r3, r0
	ldr	r0, .L8+8
	str	r3, [sp, #16]
	str	r6, [sp, #12]
	bl	mutex_lock
	mov	r0, r4
	mov	r3, r6
	mov	r2, r5
	mov	r1, #0
	str	r7, [sp]
	bl	alloc_isa_irq_from_domain
	mov	r4, r0
	ldr	r0, .L8+8
	bl	mutex_unlock
.L1:
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	mov	r0, r4
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L4:
	mvn	r4, #0
	b	.L1
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	NUMA_NO_NODE
	.word	ioapic_mutex
	.size	mp_alloc_timer_irq, .-mp_alloc_timer_irq
	.comm	ioapic_mutex,4,4
	.comm	NUMA_NO_NODE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
