	.file	"extr_visorchipset.c_parahotplug_process_message.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	parahotplug_process_message, @function
parahotplug_process_message:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	call	parahotplug_request_create@PLT
	mov	r13d, DWORD PTR ENOMEM[rip]
	neg	r13d
	test	rax, rax
	je	.L1
	cmp	QWORD PTR [r12], 0
	mov	rbp, rax
	je	.L4
	mov	rdi, rax
	call	parahotplug_request_kickoff@PLT
	lea	rdi, 8[r12]
	mov	r13d, eax
	test	eax, eax
	je	.L11
.L5:
	mov	rdx, r12
	mov	esi, r13d
	call	controlvm_respond@PLT
.L1:
	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
.L4:
	.cfi_restore_state
	lea	rdi, parahotplug_request_list_lock[rip]
	call	spin_lock@PLT
	lea	rsi, parahotplug_request_list[rip]
	mov	rdi, rbp
	call	list_add_tail@PLT
	lea	rdi, parahotplug_request_list_lock[rip]
	call	spin_unlock@PLT
	mov	rdi, rbp
	call	parahotplug_request_kickoff@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L1
	lea	rdi, 8[r12]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L11:
	mov	esi, DWORD PTR CONTROLVM_RESP_SUCCESS[rip]
	mov	rdx, r12
	call	controlvm_respond@PLT
	mov	rdi, rbp
	call	parahotplug_request_destroy@PLT
	mov	eax, r13d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	parahotplug_process_message, .-parahotplug_process_message
	.comm	parahotplug_request_list_lock,4,4
	.comm	parahotplug_request_list,4,4
	.comm	ENOMEM,4,4
	.comm	CONTROLVM_RESP_SUCCESS,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_visorchipset.c_parahotplug_process_message.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parahotplug_process_message, %function
parahotplug_process_message:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	bl	parahotplug_request_create
	subs	r5, r0, #0
	beq	.L11
	ldr	r3, [r6]
	cmp	r3, #0
	beq	.L4
	bl	parahotplug_request_kickoff
	subs	r4, r0, #0
	add	r0, r6, #4
	beq	.L12
.L5:
	mov	r2, r6
	mov	r1, r4
	bl	controlvm_respond
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L4:
	ldr	r0, .L14
	bl	spin_lock
	ldr	r1, .L14+4
	mov	r0, r5
	bl	list_add_tail
	ldr	r0, .L14
	bl	spin_unlock
	mov	r0, r5
	bl	parahotplug_request_kickoff
	subs	r4, r0, #0
	bne	.L13
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L11:
	ldr	r3, .L14+8
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L13:
	add	r0, r6, #4
	b	.L5
.L12:
	ldr	r3, .L14+12
	mov	r2, r6
	ldr	r1, [r3]
	bl	controlvm_respond
	mov	r0, r5
	bl	parahotplug_request_destroy
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L15:
	.align	2
.L14:
	.word	parahotplug_request_list_lock
	.word	parahotplug_request_list
	.word	ENOMEM
	.word	CONTROLVM_RESP_SUCCESS
	.size	parahotplug_process_message, .-parahotplug_process_message
	.comm	parahotplug_request_list_lock,4,4
	.comm	parahotplug_request_list,4,4
	.comm	ENOMEM,4,4
	.comm	CONTROLVM_RESP_SUCCESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
