	.file	"extr_qp.c_get_umr_flags.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	get_umr_flags, @function
get_umr_flags:
.LFB0:
	.cfi_startproc
	endbr64
	mov	esi, edi
	and	esi, DWORD PTR IB_ACCESS_REMOTE_ATOMIC[rip]
	mov	eax, DWORD PTR MLX5_PERM_LOCAL_READ[rip]
	mov	ecx, edi
	cmovne	esi, DWORD PTR MLX5_PERM_ATOMIC[rip]
	mov	edx, edi
	and	ecx, DWORD PTR IB_ACCESS_REMOTE_WRITE[rip]
	cmovne	ecx, DWORD PTR MLX5_PERM_REMOTE_WRITE[rip]
	and	edx, DWORD PTR IB_ACCESS_REMOTE_READ[rip]
	cmovne	edx, DWORD PTR MLX5_PERM_REMOTE_READ[rip]
	and	edi, DWORD PTR IB_ACCESS_LOCAL_WRITE[rip]
	cmovne	edi, DWORD PTR MLX5_PERM_LOCAL_WRITE[rip]
	or	eax, DWORD PTR MLX5_PERM_UMR_EN[rip]
	or	eax, esi
	or	eax, ecx
	or	eax, edx
	or	eax, edi
	ret
	.cfi_endproc
.LFE0:
	.size	get_umr_flags, .-get_umr_flags
	.comm	MLX5_PERM_UMR_EN,4,4
	.comm	MLX5_PERM_REMOTE_WRITE,4,4
	.comm	MLX5_PERM_REMOTE_READ,4,4
	.comm	MLX5_PERM_LOCAL_WRITE,4,4
	.comm	MLX5_PERM_LOCAL_READ,4,4
	.comm	MLX5_PERM_ATOMIC,4,4
	.comm	IB_ACCESS_REMOTE_WRITE,4,4
	.comm	IB_ACCESS_REMOTE_READ,4,4
	.comm	IB_ACCESS_REMOTE_ATOMIC,4,4
	.comm	IB_ACCESS_LOCAL_WRITE,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_qp.c_get_umr_flags.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_umr_flags, %function
get_umr_flags:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L20
	ldr	r2, .L20+4
	ldr	r3, [r3]
	push	{r4, r5, lr}
	ands	lr, r0, r3
	ldrne	r3, .L20+8
	ldr	r2, [r2]
	ldr	r1, .L20+12
	ldrne	lr, [r3]
	ands	r4, r0, r2
	ldrne	r3, .L20+16
	ldr	r2, [r1]
	ldr	r1, .L20+20
	ldrne	r4, [r3]
	ands	r5, r0, r2
	ldrne	r3, .L20+24
	ldr	r2, [r1]
	ldrne	r5, [r3]
	ands	r0, r0, r2
	ldrne	r3, .L20+28
	ldr	ip, .L20+32
	ldr	r1, .L20+36
	ldrne	r0, [r3]
	ldr	r1, [r1]
	ldr	r3, [ip]
	orr	r3, r3, r1
	orr	r3, r3, lr
	orr	r3, r3, r4
	orr	r3, r3, r5
	orr	r0, r3, r0
	pop	{r4, r5, pc}
.L21:
	.align	2
.L20:
	.word	IB_ACCESS_REMOTE_ATOMIC
	.word	IB_ACCESS_REMOTE_WRITE
	.word	MLX5_PERM_ATOMIC
	.word	IB_ACCESS_REMOTE_READ
	.word	MLX5_PERM_REMOTE_WRITE
	.word	IB_ACCESS_LOCAL_WRITE
	.word	MLX5_PERM_REMOTE_READ
	.word	MLX5_PERM_LOCAL_WRITE
	.word	MLX5_PERM_LOCAL_READ
	.word	MLX5_PERM_UMR_EN
	.size	get_umr_flags, .-get_umr_flags
	.comm	MLX5_PERM_UMR_EN,4,4
	.comm	MLX5_PERM_REMOTE_WRITE,4,4
	.comm	MLX5_PERM_REMOTE_READ,4,4
	.comm	MLX5_PERM_LOCAL_WRITE,4,4
	.comm	MLX5_PERM_LOCAL_READ,4,4
	.comm	MLX5_PERM_ATOMIC,4,4
	.comm	IB_ACCESS_REMOTE_WRITE,4,4
	.comm	IB_ACCESS_REMOTE_READ,4,4
	.comm	IB_ACCESS_REMOTE_ATOMIC,4,4
	.comm	IB_ACCESS_LOCAL_WRITE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
