	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dr_actions_apply_rx
_dr_actions_apply_rx:                   ## @dr_actions_apply_rx
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	%rsi, -48(%rbp)
	movq	_DR_ACTION_TYP_CTR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rdi,%rax,8)
	je	LBB0_2
## %bb.1:
	movl	32(%r13), %esi
	movq	%r12, %rdi
	callq	_mlx5dr_ste_set_counter_id
LBB0_2:
	movq	_DR_ACTION_TYP_TNL_L3_TO_L2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rbx,%rax,8)
	je	LBB0_4
## %bb.3:
	movq	_MLX5DR_STE_TYPE_MODIFY_PKT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	callq	_mlx5dr_ste_set_entry_type
	movl	28(%r13), %esi
	movq	%r12, %rdi
	callq	_mlx5dr_ste_set_rx_decap_l3
	movl	20(%r13), %edx
	movl	24(%r13), %esi
	movq	%r12, %rdi
	callq	_mlx5dr_ste_set_rewrite_actions
LBB0_4:
	movq	_DR_ACTION_TYP_TNL_L2_TO_L2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	cmpq	$0, (%rbx,%rax,8)
	je	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	movq	%rcx, %r14
	callq	_mlx5dr_ste_set_rx_decap
	movq	%r14, %rcx
LBB0_6:
	movq	_DR_ACTION_TYP_POP_VLAN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	cmpq	$0, (%rbx,%rax,8)
	movq	%r15, %r14
	je	LBB0_14
## %bb.7:
	cmpl	$0, 16(%r13)
	jle	LBB0_14
## %bb.8:
	movq	(%rcx), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, (%rcx,%rax,8)
	jne	LBB0_10
## %bb.9:
	movq	_DR_ACTION_TYP_TNL_L3_TO_L2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_11
LBB0_10:
	movq	_MLX5DR_STE_TYPE_RX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	4(%r13), %ecx
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_dr_actions_init_next_ste
	movq	-48(%rbp), %r12
LBB0_11:
	movq	%r12, %rdi
	callq	_mlx5dr_ste_set_rx_pop_vlan
	cmpl	$2, 16(%r13)
	movq	%r15, %r14
	jl	LBB0_14
## %bb.12:
	movl	$1, %ebx
	movq	_MLX5DR_STE_TYPE_RX@GOTPCREL(%rip), %r15
	leaq	-48(%rbp), %r12
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdx
	movl	4(%r13), %ecx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_dr_actions_init_next_ste
	movq	-48(%rbp), %rdi
	callq	_mlx5dr_ste_set_rx_pop_vlan
	incl	%ebx
	cmpl	16(%r13), %ebx
	jl	LBB0_13
LBB0_14:
	movq	_DR_ACTION_TYP_MODIFY_HDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_19
## %bb.15:
	movq	-48(%rbp), %rdi
	callq	_mlx5dr_ste_get_entry_type
	movq	_MLX5DR_STE_TYPE_MODIFY_PKT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	cmpq	%rsi, %rax
	jne	LBB0_17
## %bb.16:
	movl	4(%r13), %ecx
	leaq	-48(%rbp), %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_dr_actions_init_next_ste
	jmp	LBB0_18
LBB0_17:
	movq	-48(%rbp), %rdi
	callq	_mlx5dr_ste_set_entry_type
LBB0_18:
	movq	-48(%rbp), %rdi
	movl	8(%r13), %edx
	movl	12(%r13), %esi
	callq	_mlx5dr_ste_set_rewrite_actions
LBB0_19:
	movq	_DR_ACTION_TYP_TAG@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_23
## %bb.20:
	movq	-48(%rbp), %rdi
	callq	_mlx5dr_ste_get_entry_type
	movq	_MLX5DR_STE_TYPE_MODIFY_PKT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.21:
	movq	_MLX5DR_STE_TYPE_RX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	4(%r13), %ecx
	leaq	-48(%rbp), %rdi
	movq	%r14, %rsi
	callq	_dr_actions_init_next_ste
LBB0_22:
	movq	-48(%rbp), %rdi
	movl	(%r13), %esi
	callq	_mlx5dr_ste_rx_set_flow_tag
LBB0_23:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DR_ACTION_TYP_CTR,8,3          ## @DR_ACTION_TYP_CTR
	.comm	_DR_ACTION_TYP_TNL_L3_TO_L2,8,3 ## @DR_ACTION_TYP_TNL_L3_TO_L2
	.comm	_MLX5DR_STE_TYPE_MODIFY_PKT,8,3 ## @MLX5DR_STE_TYPE_MODIFY_PKT
	.comm	_DR_ACTION_TYP_TNL_L2_TO_L2,8,3 ## @DR_ACTION_TYP_TNL_L2_TO_L2
	.comm	_DR_ACTION_TYP_POP_VLAN,8,3     ## @DR_ACTION_TYP_POP_VLAN
	.comm	_MLX5DR_STE_TYPE_RX,8,3         ## @MLX5DR_STE_TYPE_RX
	.comm	_DR_ACTION_TYP_MODIFY_HDR,8,3   ## @DR_ACTION_TYP_MODIFY_HDR
	.comm	_DR_ACTION_TYP_TAG,8,3          ## @DR_ACTION_TYP_TAG
	.no_dead_strip	_dr_actions_apply_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dr_actions_apply_rx
_dr_actions_apply_rx:                   ; @dr_actions_apply_rx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x3
	mov	x19, x2
	mov	x22, x1
	mov	x21, x0
	str	x1, [sp, #8]
Lloh0:
	adrp	x8, _DR_ACTION_TYP_CTR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DR_ACTION_TYP_CTR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x0, x8, lsl #3]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w1, [x19, #32]
	mov	x0, x22
	bl	_mlx5dr_ste_set_counter_id
LBB0_2:
Lloh3:
	adrp	x25, _DR_ACTION_TYP_TNL_L3_TO_L2@GOTPAGE
Lloh4:
	ldr	x25, [x25, _DR_ACTION_TYP_TNL_L3_TO_L2@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	x8, [x21, x8, lsl #3]
Lloh5:
	adrp	x23, _MLX5DR_STE_TYPE_MODIFY_PKT@GOTPAGE
Lloh6:
	ldr	x23, [x23, _MLX5DR_STE_TYPE_MODIFY_PKT@GOTPAGEOFF]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x1, [x23]
	mov	x0, x22
	bl	_mlx5dr_ste_set_entry_type
	ldr	w1, [x19, #28]
	mov	x0, x22
	bl	_mlx5dr_ste_set_rx_decap_l3
	ldp	w2, w1, [x19, #20]
	mov	x0, x22
	bl	_mlx5dr_ste_set_rewrite_actions
LBB0_4:
Lloh7:
	adrp	x24, _DR_ACTION_TYP_TNL_L2_TO_L2@GOTPAGE
Lloh8:
	ldr	x24, [x24, _DR_ACTION_TYP_TNL_L2_TO_L2@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x8, [x21, x8, lsl #3]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x22
	bl	_mlx5dr_ste_set_rx_decap
LBB0_6:
Lloh9:
	adrp	x8, _DR_ACTION_TYP_POP_VLAN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DR_ACTION_TYP_POP_VLAN@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	x8, [x21, x8, lsl #3]
	cbz	x8, LBB0_14
; %bb.7:
	ldr	w8, [x19, #16]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.8:
	ldr	x8, [x24]
	ldr	x8, [x21, x8, lsl #3]
Lloh12:
	adrp	x24, _MLX5DR_STE_TYPE_RX@GOTPAGE
Lloh13:
	ldr	x24, [x24, _MLX5DR_STE_TYPE_RX@GOTPAGEOFF]
	cbnz	x8, LBB0_10
; %bb.9:
	ldr	x8, [x25]
	ldr	x8, [x21, x8, lsl #3]
	cbz	x8, LBB0_11
LBB0_10:
	ldr	x2, [x24]
	ldr	w3, [x19, #4]
	add	x0, sp, #8
	mov	x1, x20
	bl	_dr_actions_init_next_ste
	ldr	x22, [sp, #8]
LBB0_11:
	mov	x0, x22
	bl	_mlx5dr_ste_set_rx_pop_vlan
	ldr	w8, [x19, #16]
	cmp	w8, #2
	b.lt	LBB0_14
; %bb.12:
	mov	w22, #1
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x2, [x24]
	ldr	w3, [x19, #4]
	add	x0, sp, #8
	mov	x1, x20
	bl	_dr_actions_init_next_ste
	ldr	x0, [sp, #8]
	bl	_mlx5dr_ste_set_rx_pop_vlan
	add	w22, w22, #1
	ldr	w8, [x19, #16]
	cmp	w22, w8
	b.lt	LBB0_13
LBB0_14:
Lloh14:
	adrp	x8, _DR_ACTION_TYP_MODIFY_HDR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DR_ACTION_TYP_MODIFY_HDR@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldr	x8, [x21, x8, lsl #3]
	cbz	x8, LBB0_19
; %bb.15:
	ldr	x0, [sp, #8]
	bl	_mlx5dr_ste_get_entry_type
	ldr	x1, [x23]
	cmp	x0, x1
	b.ne	LBB0_17
; %bb.16:
	mov	x2, x0
	ldr	w3, [x19, #4]
	add	x0, sp, #8
	mov	x1, x20
	bl	_dr_actions_init_next_ste
	b	LBB0_18
LBB0_17:
	ldr	x0, [sp, #8]
	bl	_mlx5dr_ste_set_entry_type
LBB0_18:
	ldr	x0, [sp, #8]
	ldp	w2, w1, [x19, #8]
	bl	_mlx5dr_ste_set_rewrite_actions
LBB0_19:
Lloh17:
	adrp	x8, _DR_ACTION_TYP_TAG@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DR_ACTION_TYP_TAG@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	x8, [x21, x8, lsl #3]
	cbz	x8, LBB0_23
; %bb.20:
	ldr	x0, [sp, #8]
	bl	_mlx5dr_ste_get_entry_type
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_22
; %bb.21:
Lloh20:
	adrp	x8, _MLX5DR_STE_TYPE_RX@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MLX5DR_STE_TYPE_RX@GOTPAGEOFF]
Lloh22:
	ldr	x2, [x8]
	ldr	w3, [x19, #4]
	add	x0, sp, #8
	mov	x1, x20
	bl	_dr_actions_init_next_ste
LBB0_22:
	ldr	x0, [sp, #8]
	ldr	w1, [x19]
	bl	_mlx5dr_ste_rx_set_flow_tag
LBB0_23:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_DR_ACTION_TYP_CTR,8,3          ; @DR_ACTION_TYP_CTR
	.comm	_DR_ACTION_TYP_TNL_L3_TO_L2,8,3 ; @DR_ACTION_TYP_TNL_L3_TO_L2
	.comm	_MLX5DR_STE_TYPE_MODIFY_PKT,8,3 ; @MLX5DR_STE_TYPE_MODIFY_PKT
	.comm	_DR_ACTION_TYP_TNL_L2_TO_L2,8,3 ; @DR_ACTION_TYP_TNL_L2_TO_L2
	.comm	_DR_ACTION_TYP_POP_VLAN,8,3     ; @DR_ACTION_TYP_POP_VLAN
	.comm	_MLX5DR_STE_TYPE_RX,8,3         ; @MLX5DR_STE_TYPE_RX
	.comm	_DR_ACTION_TYP_MODIFY_HDR,8,3   ; @DR_ACTION_TYP_MODIFY_HDR
	.comm	_DR_ACTION_TYP_TAG,8,3          ; @DR_ACTION_TYP_TAG
	.no_dead_strip	_dr_actions_apply_rx
.subsections_via_symbols
