	.file	"extr_main.c_check_dm_type_support.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	check_dm_type_support, @function
check_dm_type_support:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	cmp	esi, 129
	je	.L2
	and	esi, -3
	cmp	esi, 128
	je	.L3
.L8:
	xor	eax, eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	edi, DWORD PTR CAP_SYS_RAWIO[rip]
	call	capable@PLT
	test	eax, eax
	jne	.L6
.L7:
	mov	eax, DWORD PTR EPERM[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR memic[rip]
	mov	edi, DWORD PTR [rdi]
	call	MLX5_CAP_DEV_MEM@PLT
	test	eax, eax
	jne	.L8
.L13:
	mov	eax, DWORD PTR EOPNOTSUPP[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edi, DWORD PTR CAP_NET_RAW[rip]
	call	capable@PLT
	test	eax, eax
	je	.L7
	mov	esi, DWORD PTR sw_owner[rip]
	mov	edi, DWORD PTR [rbx]
	call	MLX5_CAP_FLOWTABLE_NIC_RX@PLT
	test	eax, eax
	jne	.L8
	mov	esi, DWORD PTR sw_owner[rip]
	mov	edi, DWORD PTR [rbx]
	call	MLX5_CAP_FLOWTABLE_NIC_TX@PLT
	test	eax, eax
	je	.L13
	xor	eax, eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	check_dm_type_support, .-check_dm_type_support
	.comm	sw_owner,4,4
	.comm	memic,4,4
	.comm	EPERM,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	CAP_SYS_RAWIO,4,4
	.comm	CAP_NET_RAW,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_main.c_check_dm_type_support.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_dm_type_support, %function
check_dm_type_support:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #129
	push	{r4, r5, r6, lr}
	mov	r4, r0
	beq	.L2
	bic	r1, r1, #2
	cmp	r1, #128
	beq	.L3
.L8:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, .L15
	ldr	r0, [r0]
	ldr	r1, [r3]
	bl	MLX5_CAP_DEV_MEM
	cmp	r0, #0
	bne	.L8
.L13:
	ldr	r3, .L15+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L3:
	ldr	r3, .L15+8
	ldr	r0, [r3]
	bl	capable
	cmp	r0, #0
	bne	.L6
.L7:
	ldr	r3, .L15+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L6:
	ldr	r3, .L15+16
	ldr	r0, [r3]
	bl	capable
	cmp	r0, #0
	beq	.L7
	ldr	r5, .L15+20
	ldr	r0, [r4]
	ldr	r1, [r5]
	bl	MLX5_CAP_FLOWTABLE_NIC_RX
	cmp	r0, #0
	bne	.L8
	ldr	r1, [r5]
	ldr	r0, [r4]
	bl	MLX5_CAP_FLOWTABLE_NIC_TX
	cmp	r0, #0
	bne	.L8
	b	.L13
.L16:
	.align	2
.L15:
	.word	memic
	.word	EOPNOTSUPP
	.word	CAP_SYS_RAWIO
	.word	EPERM
	.word	CAP_NET_RAW
	.word	sw_owner
	.size	check_dm_type_support, .-check_dm_type_support
	.comm	sw_owner,4,4
	.comm	memic,4,4
	.comm	EPERM,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	CAP_SYS_RAWIO,4,4
	.comm	CAP_NET_RAW,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
