	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5dr_ste_build_pre_check     ## -- Begin function mlx5dr_ste_build_pre_check
	.p2align	4, 0x90
_mlx5dr_ste_build_pre_check:            ## @mlx5dr_ste_build_pre_check
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_1
LBB0_5:
	popq	%rbp
	retq
LBB0_1:
	movq	_DR_MATCHER_CRITERIA_MISC@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	je	LBB0_5
## %bb.2:
	movl	(%rdx), %ecx
	testl	%ecx, %ecx
	je	LBB0_5
## %bb.3:
	cmpl	$65535, %ecx                    ## imm = 0xFFFF
	je	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rsi
	callq	_mlx5dr_dbg
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DR_MATCHER_CRITERIA_MISC,4,2   ## @DR_MATCHER_CRITERIA_MISC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Partial mask source_port is not supported\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5dr_ste_build_pre_check     ; -- Begin function mlx5dr_ste_build_pre_check
	.p2align	2
_mlx5dr_ste_build_pre_check:            ; @mlx5dr_ste_build_pre_check
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbnz	x3, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _DR_MATCHER_CRITERIA_MISC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DR_MATCHER_CRITERIA_MISC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_3
; %bb.2:
	ldr	w8, [x2]
	cmp	w8, #0
	mov	w9, #65535
	ccmp	w8, w9, #4, ne
	b.ne	LBB0_4
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_mlx5dr_dbg
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DR_MATCHER_CRITERIA_MISC,4,2   ; @DR_MATCHER_CRITERIA_MISC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Partial mask source_port is not supported\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
