	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_dm_type_support
_check_dm_type_support:                 ## @check_dm_type_support
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	cmpl	$128, %esi
	je	LBB0_4
## %bb.1:
	cmpl	$130, %esi
	je	LBB0_4
## %bb.2:
	cmpl	$129, %esi
	jne	LBB0_12
## %bb.3:
	movl	(%r14), %edi
	movq	_memic@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MLX5_CAP_DEV_MEM
	testl	%eax, %eax
	jne	LBB0_12
	jmp	LBB0_10
LBB0_4:
	movq	_CAP_SYS_RAWIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_capable
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movq	_CAP_NET_RAW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_capable
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	(%r14), %edi
	movq	_sw_owner@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_MLX5_CAP_FLOWTABLE_NIC_RX
	testl	%eax, %eax
	jne	LBB0_12
## %bb.8:
	movl	(%r14), %edi
	movl	(%r15), %esi
	callq	_MLX5_CAP_FLOWTABLE_NIC_TX
	testl	%eax, %eax
	jne	LBB0_12
LBB0_10:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_6:
	movq	_EPERM@GOTPCREL(%rip), %rax
LBB0_11:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_memic,4,2                      ## @memic
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_CAP_SYS_RAWIO,4,2              ## @CAP_SYS_RAWIO
	.comm	_CAP_NET_RAW,4,2                ## @CAP_NET_RAW
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_sw_owner,4,2                   ## @sw_owner
	.no_dead_strip	_check_dm_type_support
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_dm_type_support
_check_dm_type_support:                 ; @check_dm_type_support
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cmp	w1, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #130
	b.eq	LBB0_4
; %bb.2:
	cmp	w1, #129
	b.ne	LBB0_8
; %bb.3:
	ldr	w0, [x19]
Lloh0:
	adrp	x8, _memic@GOTPAGE
Lloh1:
	ldr	x8, [x8, _memic@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_MLX5_CAP_DEV_MEM
	cbnz	w0, LBB0_8
	b	LBB0_10
LBB0_4:
Lloh3:
	adrp	x8, _CAP_SYS_RAWIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CAP_SYS_RAWIO@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_capable
	cbz	w0, LBB0_9
; %bb.5:
Lloh6:
	adrp	x8, _CAP_NET_RAW@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CAP_NET_RAW@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_capable
	cbz	w0, LBB0_9
; %bb.6:
	ldr	w0, [x19]
Lloh9:
	adrp	x20, _sw_owner@GOTPAGE
Lloh10:
	ldr	x20, [x20, _sw_owner@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_MLX5_CAP_FLOWTABLE_NIC_RX
	cbnz	w0, LBB0_8
; %bb.7:
	ldr	w0, [x19]
	ldr	w1, [x20]
	bl	_MLX5_CAP_FLOWTABLE_NIC_TX
	cbz	w0, LBB0_10
LBB0_8:
	mov	w0, #0
	b	LBB0_12
LBB0_9:
Lloh11:
	adrp	x8, _EPERM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh13:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_memic,4,2                      ; @memic
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_CAP_SYS_RAWIO,4,2              ; @CAP_SYS_RAWIO
	.comm	_CAP_NET_RAW,4,2                ; @CAP_NET_RAW
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_sw_owner,4,2                   ; @sw_owner
	.no_dead_strip	_check_dm_type_support
.subsections_via_symbols
