	.file	"extr_enlighten.c_xen_cpuhp_setup.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"x86/xen/guest:prepare"
.LC1:
	.string	"x86/xen/guest:online"
	.text
	.p2align 4
	.globl	xen_cpuhp_setup
	.type	xen_cpuhp_setup, @function
xen_cpuhp_setup:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rdx, rdi
	mov	edi, DWORD PTR CPUHP_XEN_PREPARE[rip]
	mov	rcx, rsi
	lea	rsi, .LC0[rip]
	call	cpuhp_setup_state_nocalls@PLT
	mov	ebx, eax
	test	eax, eax
	jns	.L5
.L2:
	test	ebx, ebx
	mov	eax, 0
	cmovle	eax, ebx
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdx, QWORD PTR xen_cpu_up_online@GOTPCREL[rip]
	mov	edi, DWORD PTR CPUHP_AP_ONLINE_DYN[rip]
	xor	ecx, ecx
	lea	rsi, .LC1[rip]
	call	cpuhp_setup_state_nocalls@PLT
	mov	ebx, eax
	test	eax, eax
	jns	.L2
	mov	edi, DWORD PTR CPUHP_XEN_PREPARE[rip]
	call	cpuhp_remove_state_nocalls@PLT
	test	ebx, ebx
	mov	eax, 0
	cmovle	eax, ebx
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	xen_cpuhp_setup, .-xen_cpuhp_setup
	.comm	CPUHP_XEN_PREPARE,4,4
	.comm	CPUHP_AP_ONLINE_DYN,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_enlighten.c_xen_cpuhp_setup.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"x86/xen/guest:prepare\000"
	.align	2
.LC1:
	.ascii	"x86/xen/guest:online\000"
	.text
	.align	2
	.global	xen_cpuhp_setup
	.syntax unified
	.arm
	.fpu softvfp
	.type	xen_cpuhp_setup, %function
xen_cpuhp_setup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L6
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [r5]
	ldr	r1, .L6+4
	bl	cpuhp_setup_state_nocalls
	subs	r4, r0, #0
	bge	.L5
.L2:
	and	r0, r4, r4, asr #31
	pop	{r4, r5, r6, pc}
.L5:
	ldr	r2, .L6+8
	mov	r3, #0
	ldr	r0, [r2]
	ldr	r1, .L6+12
	ldr	r2, .L6+16
	bl	cpuhp_setup_state_nocalls
	subs	r4, r0, #0
	bge	.L2
	ldr	r0, [r5]
	bl	cpuhp_remove_state_nocalls
	and	r0, r4, r4, asr #31
	pop	{r4, r5, r6, pc}
.L7:
	.align	2
.L6:
	.word	CPUHP_XEN_PREPARE
	.word	.LC0
	.word	CPUHP_AP_ONLINE_DYN
	.word	.LC1
	.word	xen_cpu_up_online
	.size	xen_cpuhp_setup, .-xen_cpuhp_setup
	.comm	CPUHP_XEN_PREPARE,4,4
	.comm	CPUHP_AP_ONLINE_DYN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
