	.file	"extr_mpt_cam.c_mpt_cam_probe.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mpt_cam_probe, @function
mpt_cam_probe:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR 16[rdi], 0
	mov	eax, DWORD PTR 4[rdi]
	cmovne	eax, DWORD PTR [rdi]
	mov	edx, eax
	mov	eax, DWORD PTR MPT_ROLE_TARGET[rip]
	or	eax, DWORD PTR MPT_ROLE_INITIATOR[rip]
	and	eax, edx
	jne	.L5
	mov	rdx, QWORD PTR 8[rdi]
	test	rdx, rdx
	je	.L4
	cmp	QWORD PTR [rdx], 0
	jne	.L1
.L4:
	mov	eax, DWORD PTR ENODEV[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	xor	eax, eax
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	mpt_cam_probe, .-mpt_cam_probe
	.comm	MPT_ROLE_TARGET,4,4
	.comm	MPT_ROLE_INITIATOR,4,4
	.comm	ENODEV,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_mpt_cam.c_mpt_cam_probe.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mpt_cam_probe, %function
mpt_cam_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	mov	r2, r0
	ldm	r0, {r0, r1}
	ldr	ip, [r2, #12]
	ldr	r3, .L10
	cmp	ip, #0
	moveq	r0, r1
	ldr	r1, .L10+4
	ldr	r3, [r3]
	ldr	r1, [r1]
	orr	r3, r3, r1
	ands	r0, r3, r0
	bne	.L5
	ldr	r3, [r2, #8]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [r3]
	cmp	r3, #0
	bxne	lr
.L4:
	ldr	r3, .L10+8
	ldr	r0, [r3]
	bx	lr
.L5:
	mov	r0, #0
	bx	lr
.L11:
	.align	2
.L10:
	.word	MPT_ROLE_TARGET
	.word	MPT_ROLE_INITIATOR
	.word	ENODEV
	.size	mpt_cam_probe, .-mpt_cam_probe
	.comm	MPT_ROLE_TARGET,4,4
	.comm	MPT_ROLE_INITIATOR,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
