	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dr_action_modify_check_field_limitation
_dr_action_modify_check_field_limitation: ## @dr_action_modify_check_field_limitation
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_set_action_in@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_field@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_MLX5_GET
	movq	%rax, %r15
	movl	(%r12), %edi
	movq	_action_type@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_MLX5_GET
	movq	_MLX5_ACTION_TYPE_SET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.1:
	movq	_MLX5_ACTION_IN_FIELD_METADATA_REG_A@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_5
## %bb.2:
	movq	(%r14), %rax
	movq	_MLX5DR_DOMAIN_TYPE_NIC_TX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
LBB0_5:
	movq	_MLX5_ACTION_IN_FIELD_METADATA_REG_B@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	(%rcx), %r15
	jne	LBB0_16
## %bb.6:
	movq	(%r14), %rcx
	movq	_MLX5DR_DOMAIN_TYPE_NIC_RX@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_16
## %bb.7:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_4
LBB0_8:
	movq	_MLX5_ACTION_TYPE_ADD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.9:
	movq	_MLX5_ACTION_IN_FIELD_OUT_IP_TTL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	(%rcx), %r15
	je	LBB0_16
## %bb.10:
	movq	_MLX5_ACTION_IN_FIELD_OUT_IPV6_HOPLIMIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r15
	je	LBB0_16
## %bb.11:
	movq	_MLX5_ACTION_IN_FIELD_OUT_TCP_SEQ_NUM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r15
	je	LBB0_16
## %bb.12:
	movq	_MLX5_ACTION_IN_FIELD_OUT_TCP_ACK_NUM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r15
	je	LBB0_16
## %bb.13:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_4
LBB0_14:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_mlx5dr_info
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_3:
	leaq	L_.str(%rip), %rsi
LBB0_4:
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_mlx5dr_dbg
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_15:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_16:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_set_action_in,4,2              ## @set_action_in
	.comm	_field,4,2                      ## @field
	.comm	_action_type,4,2                ## @action_type
	.comm	_MLX5_ACTION_TYPE_SET,8,3       ## @MLX5_ACTION_TYPE_SET
	.comm	_MLX5_ACTION_IN_FIELD_METADATA_REG_A,8,3 ## @MLX5_ACTION_IN_FIELD_METADATA_REG_A
	.comm	_MLX5DR_DOMAIN_TYPE_NIC_TX,8,3  ## @MLX5DR_DOMAIN_TYPE_NIC_TX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported field %d for RX/FDB set action\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MLX5_ACTION_IN_FIELD_METADATA_REG_B,8,3 ## @MLX5_ACTION_IN_FIELD_METADATA_REG_B
	.comm	_MLX5DR_DOMAIN_TYPE_NIC_RX,8,3  ## @MLX5DR_DOMAIN_TYPE_NIC_RX
L_.str.1:                               ## @.str.1
	.asciz	"Unsupported field %d for TX/FDB set action\n"

	.comm	_MLX5_ACTION_TYPE_ADD,8,3       ## @MLX5_ACTION_TYPE_ADD
	.comm	_MLX5_ACTION_IN_FIELD_OUT_IP_TTL,8,3 ## @MLX5_ACTION_IN_FIELD_OUT_IP_TTL
	.comm	_MLX5_ACTION_IN_FIELD_OUT_IPV6_HOPLIMIT,8,3 ## @MLX5_ACTION_IN_FIELD_OUT_IPV6_HOPLIMIT
	.comm	_MLX5_ACTION_IN_FIELD_OUT_TCP_SEQ_NUM,8,3 ## @MLX5_ACTION_IN_FIELD_OUT_TCP_SEQ_NUM
	.comm	_MLX5_ACTION_IN_FIELD_OUT_TCP_ACK_NUM,8,3 ## @MLX5_ACTION_IN_FIELD_OUT_TCP_ACK_NUM
L_.str.2:                               ## @.str.2
	.asciz	"Unsupported field %d for add action\n"

L_.str.3:                               ## @.str.3
	.asciz	"Unsupported action %d modify action\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_dr_action_modify_check_field_limitation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dr_action_modify_check_field_limitation
_dr_action_modify_check_field_limitation: ; @dr_action_modify_check_field_limitation
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _set_action_in@GOTPAGE
Lloh1:
	ldr	x22, [x22, _set_action_in@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh2:
	adrp	x8, _field@GOTPAGE
Lloh3:
	ldr	x8, [x8, _field@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	bl	_MLX5_GET
	mov	x20, x0
	ldr	w0, [x22]
Lloh5:
	adrp	x8, _action_type@GOTPAGE
Lloh6:
	ldr	x8, [x8, _action_type@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x1, x21
	bl	_MLX5_GET
Lloh8:
	adrp	x8, _MLX5_ACTION_TYPE_SET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MLX5_ACTION_TYPE_SET@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.1:
Lloh11:
	adrp	x8, _MLX5_ACTION_IN_FIELD_METADATA_REG_A@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MLX5_ACTION_IN_FIELD_METADATA_REG_A@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_3
; %bb.2:
	ldr	x8, [x19]
Lloh14:
	adrp	x9, _MLX5DR_DOMAIN_TYPE_NIC_TX@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MLX5DR_DOMAIN_TYPE_NIC_TX@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
LBB0_3:
Lloh17:
	adrp	x8, _MLX5_ACTION_IN_FIELD_METADATA_REG_B@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MLX5_ACTION_IN_FIELD_METADATA_REG_B@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_8
; %bb.4:
	ldr	x8, [x19]
Lloh20:
	adrp	x9, _MLX5DR_DOMAIN_TYPE_NIC_RX@GOTPAGE
Lloh21:
	ldr	x9, [x9, _MLX5DR_DOMAIN_TYPE_NIC_RX@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.5:
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_6:
	mov	x2, x0
Lloh25:
	adrp	x8, _MLX5_ACTION_TYPE_ADD@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MLX5_ACTION_TYPE_ADD@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.7:
Lloh28:
	adrp	x8, _MLX5_ACTION_IN_FIELD_OUT_IP_TTL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MLX5_ACTION_IN_FIELD_OUT_IP_TTL@GOTPAGEOFF]
Lloh30:
	adrp	x9, _MLX5_ACTION_IN_FIELD_OUT_IPV6_HOPLIMIT@GOTPAGE
Lloh31:
	ldr	x9, [x9, _MLX5_ACTION_IN_FIELD_OUT_IPV6_HOPLIMIT@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
Lloh33:
	ldr	x9, [x9]
Lloh34:
	adrp	x10, _MLX5_ACTION_IN_FIELD_OUT_TCP_SEQ_NUM@GOTPAGE
Lloh35:
	ldr	x10, [x10, _MLX5_ACTION_IN_FIELD_OUT_TCP_SEQ_NUM@GOTPAGEOFF]
Lloh36:
	adrp	x11, _MLX5_ACTION_IN_FIELD_OUT_TCP_ACK_NUM@GOTPAGE
Lloh37:
	ldr	x11, [x11, _MLX5_ACTION_IN_FIELD_OUT_TCP_ACK_NUM@GOTPAGEOFF]
Lloh38:
	ldr	x10, [x10]
Lloh39:
	ldr	x11, [x11]
	cmp	x20, x8
	ccmp	x20, x9, #4, ne
	ccmp	x20, x10, #4, ne
	ccmp	x20, x11, #4, ne
	b.ne	LBB0_11
LBB0_8:
	mov	w0, #0
	b	LBB0_14
LBB0_9:
Lloh40:
	adrp	x1, l_.str.3@PAGE
Lloh41:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_mlx5dr_info
Lloh42:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh43:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:
Lloh44:
	adrp	x1, l_.str@PAGE
Lloh45:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_12
LBB0_11:
Lloh46:
	adrp	x1, l_.str.2@PAGE
Lloh47:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_12:
	mov	x0, x19
	mov	x2, x20
	bl	_mlx5dr_dbg
Lloh48:
	adrp	x8, _EINVAL@GOTPAGE
Lloh49:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh38
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh32
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_set_action_in,4,2              ; @set_action_in
	.comm	_field,4,2                      ; @field
	.comm	_action_type,4,2                ; @action_type
	.comm	_MLX5_ACTION_TYPE_SET,8,3       ; @MLX5_ACTION_TYPE_SET
	.comm	_MLX5_ACTION_IN_FIELD_METADATA_REG_A,8,3 ; @MLX5_ACTION_IN_FIELD_METADATA_REG_A
	.comm	_MLX5DR_DOMAIN_TYPE_NIC_TX,8,3  ; @MLX5DR_DOMAIN_TYPE_NIC_TX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported field %d for RX/FDB set action\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MLX5_ACTION_IN_FIELD_METADATA_REG_B,8,3 ; @MLX5_ACTION_IN_FIELD_METADATA_REG_B
	.comm	_MLX5DR_DOMAIN_TYPE_NIC_RX,8,3  ; @MLX5DR_DOMAIN_TYPE_NIC_RX
l_.str.1:                               ; @.str.1
	.asciz	"Unsupported field %d for TX/FDB set action\n"

	.comm	_MLX5_ACTION_TYPE_ADD,8,3       ; @MLX5_ACTION_TYPE_ADD
	.comm	_MLX5_ACTION_IN_FIELD_OUT_IP_TTL,8,3 ; @MLX5_ACTION_IN_FIELD_OUT_IP_TTL
	.comm	_MLX5_ACTION_IN_FIELD_OUT_IPV6_HOPLIMIT,8,3 ; @MLX5_ACTION_IN_FIELD_OUT_IPV6_HOPLIMIT
	.comm	_MLX5_ACTION_IN_FIELD_OUT_TCP_SEQ_NUM,8,3 ; @MLX5_ACTION_IN_FIELD_OUT_TCP_SEQ_NUM
	.comm	_MLX5_ACTION_IN_FIELD_OUT_TCP_ACK_NUM,8,3 ; @MLX5_ACTION_IN_FIELD_OUT_TCP_ACK_NUM
l_.str.2:                               ; @.str.2
	.asciz	"Unsupported field %d for add action\n"

l_.str.3:                               ; @.str.3
	.asciz	"Unsupported action %d modify action\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_dr_action_modify_check_field_limitation
.subsections_via_symbols
