	.file	"extr_fc_rport.c_fc_rport_compatible_roles.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fc_rport_compatible_roles, @function
fc_rport_compatible_roles:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rsi]
	cmp	eax, DWORD PTR FC_PORT_ROLE_UNKNOWN[rip]
	mov	r8d, 1
	je	.L1
	test	DWORD PTR FC_PORT_ROLE_FCP_TARGET[rip], eax
	je	.L3
	mov	edx, DWORD PTR [rdi]
	test	DWORD PTR FCP_SPPF_INIT_FCN[rip], edx
	jne	.L1
.L3:
	and	eax, DWORD PTR FC_PORT_ROLE_FCP_INITIATOR[rip]
	mov	r8d, eax
	je	.L1
	xor	r8d, r8d
	mov	eax, DWORD PTR [rdi]
	test	DWORD PTR FCP_SPPF_TARG_FCN[rip], eax
	setne	r8b
.L1:
	mov	eax, r8d
	ret
	.cfi_endproc
.LFE0:
	.size	fc_rport_compatible_roles, .-fc_rport_compatible_roles
	.comm	FC_PORT_ROLE_UNKNOWN,4,4
	.comm	FC_PORT_ROLE_FCP_TARGET,4,4
	.comm	FC_PORT_ROLE_FCP_INITIATOR,4,4
	.comm	FCP_SPPF_TARG_FCN,4,4
	.comm	FCP_SPPF_INIT_FCN,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_fc_rport.c_fc_rport_compatible_roles.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fc_rport_compatible_roles, %function
fc_rport_compatible_roles:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r2, .L13
	ldr	r3, [r1]
	ldr	r1, [r2]
	mov	r2, r0
	cmp	r3, r1
	beq	.L5
	ldr	r1, .L13+4
	ldr	r1, [r1]
	tst	r3, r1
	beq	.L3
	ldr	r1, .L13+8
	ldr	r0, [r0]
	ldr	r1, [r1]
	tst	r0, r1
	bne	.L5
.L3:
	ldr	r1, .L13+12
	ldr	r0, [r1]
	ands	r0, r3, r0
	bxeq	lr
	ldr	r3, .L13+16
	ldr	r2, [r2]
	ldr	r3, [r3]
	tst	r2, r3
	movne	r0, #1
	moveq	r0, #0
	bx	lr
.L5:
	mov	r0, #1
	bx	lr
.L14:
	.align	2
.L13:
	.word	FC_PORT_ROLE_UNKNOWN
	.word	FC_PORT_ROLE_FCP_TARGET
	.word	FCP_SPPF_INIT_FCN
	.word	FC_PORT_ROLE_FCP_INITIATOR
	.word	FCP_SPPF_TARG_FCN
	.size	fc_rport_compatible_roles, .-fc_rport_compatible_roles
	.comm	FC_PORT_ROLE_UNKNOWN,4,4
	.comm	FC_PORT_ROLE_FCP_TARGET,4,4
	.comm	FC_PORT_ROLE_FCP_INITIATOR,4,4
	.comm	FCP_SPPF_TARG_FCN,4,4
	.comm	FCP_SPPF_INIT_FCN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
