	.file	"extr_guest.c_guest_afu_activate_mode.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Dedicated mode not supported\n"
	.text
	.p2align 4
	.type	guest_afu_activate_mode, @function
guest_afu_activate_mode:
.LFB0:
	.cfi_startproc
	endbr64
	test	esi, esi
	je	.L6
	test	DWORD PTR [rdi], esi
	je	.L9
	cmp	DWORD PTR CXL_MODE_DIRECTED[rip], esi
	je	.L13
	cmp	DWORD PTR CXL_MODE_DEDICATED[rip], esi
	je	.L14
.L9:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	add	rdi, 4
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	jmp	activate_afu_directed@PLT
	.cfi_endproc
.LFE0:
	.size	guest_afu_activate_mode, .-guest_afu_activate_mode
	.comm	EINVAL,4,4
	.comm	CXL_MODE_DIRECTED,4,4
	.comm	CXL_MODE_DEDICATED,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_guest.c_guest_afu_activate_mode.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Dedicated mode not supported\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	guest_afu_activate_mode, %function
guest_afu_activate_mode:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #0
	beq	.L6
	ldr	r2, [r0]
	tst	r1, r2
	beq	.L9
	ldr	r2, .L15
	ldr	r2, [r2]
	cmp	r2, r1
	beq	.L13
	ldr	r2, .L15+4
	ldr	r2, [r2]
	cmp	r2, r1
	beq	.L14
.L9:
	ldr	r3, .L15+8
	ldr	r1, [r3]
	rsb	r0, r1, #0
	bx	lr
.L6:
	mov	r0, r1
	bx	lr
.L14:
	push	{r4, lr}
	ldr	r1, .L15+12
	add	r0, r0, #4
	bl	dev_err
	ldr	r3, .L15+8
	ldr	r1, [r3]
	rsb	r0, r1, #0
	pop	{r4, pc}
.L13:
	b	activate_afu_directed
.L16:
	.align	2
.L15:
	.word	CXL_MODE_DIRECTED
	.word	CXL_MODE_DEDICATED
	.word	EINVAL
	.word	.LC0
	.size	guest_afu_activate_mode, .-guest_afu_activate_mode
	.comm	EINVAL,4,4
	.comm	CXL_MODE_DIRECTED,4,4
	.comm	CXL_MODE_DEDICATED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
