	.file	"extr_spapr.c_xive_spapr_setup_queue.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	xive_spapr_setup_queue, @function
xive_spapr_setup_queue:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, QWORD PTR [rsi]
	mov	esi, DWORD PTR xive_queue_shift[rip]
	call	xive_queue_page_alloc@PLT
	mov	rdi, rax
	mov	r12, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L5
	mov	r14d, DWORD PTR xive_queue_shift[rip]
	mov	edi, ebp
	call	get_hard_smp_processor_id@PLT
	lea	rsi, [rbx+r13*4]
	mov	rcx, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	r8d, r14d
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	rdx, r13
	pop	r12
	.cfi_def_cfa_offset 24
	mov	edi, eax
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	xive_spapr_configure_queue@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.cfi_endproc
.LFE0:
	.size	xive_spapr_setup_queue, .-xive_spapr_setup_queue
	.comm	xive_queue_shift,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_spapr.c_xive_spapr_setup_queue.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xive_spapr_setup_queue, %function
xive_spapr_setup_queue:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L6
	ldr	r8, [r1]
	sub	sp, sp, #8
	ldr	r1, [r7]
	mov	r4, r2
	mov	r6, r0
	bl	xive_queue_page_alloc
	mov	r5, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L5
	mov	r0, r6
	bl	get_hard_smp_processor_id
	ldr	r2, [r7]
	mov	r3, r5
	str	r2, [sp]
	add	r1, r8, r4, lsl #2
	mov	r2, r4
	bl	xive_spapr_configure_queue
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	PTR_ERR
.L7:
	.align	2
.L6:
	.word	xive_queue_shift
	.size	xive_spapr_setup_queue, .-xive_spapr_setup_queue
	.comm	xive_queue_shift,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
