	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5dr_ste_set_tx_encap        ## -- Begin function mlx5dr_ste_set_tx_encap
	.p2align	4, 0x90
_mlx5dr_ste_set_tx_encap:               ## @mlx5dr_ste_set_tx_encap
	.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
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_ste_sx_transmit@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_action_type@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%ecx, %ecx
	jne	LBB0_1
## %bb.2:
	movq	_DR_STE_ACTION_TYPE_ENCAP@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_DR_STE_ACTION_TYPE_ENCAP_L3@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %ecx
	movq	%rbx, %rsi
	callq	_MLX5_SET
	movl	(%r12), %edi
	movq	_action_description@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %ecx
	shrl	$31, %ecx
	addl	%r15d, %ecx
	sarl	%ecx
	movq	%rbx, %rsi
	callq	_MLX5_SET
	movl	(%r12), %edi
	movq	_encap_pointer_vlan_data@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	movl	%r14d, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MLX5_SET                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ste_sx_transmit,4,2            ## @ste_sx_transmit
	.comm	_action_type,4,2                ## @action_type
	.comm	_DR_STE_ACTION_TYPE_ENCAP_L3,4,2 ## @DR_STE_ACTION_TYPE_ENCAP_L3
	.comm	_DR_STE_ACTION_TYPE_ENCAP,4,2   ## @DR_STE_ACTION_TYPE_ENCAP
	.comm	_action_description,4,2         ## @action_description
	.comm	_encap_pointer_vlan_data,4,2    ## @encap_pointer_vlan_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5dr_ste_set_tx_encap        ; -- Begin function mlx5dr_ste_set_tx_encap
	.p2align	2
_mlx5dr_ste_set_tx_encap:               ; @mlx5dr_ste_set_tx_encap
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _ste_sx_transmit@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ste_sx_transmit@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh2:
	adrp	x8, _action_type@GOTPAGE
Lloh3:
	ldr	x8, [x8, _action_type@GOTPAGEOFF]
Lloh4:
	adrp	x9, _DR_STE_ACTION_TYPE_ENCAP_L3@GOTPAGE
Lloh5:
	ldr	x9, [x9, _DR_STE_ACTION_TYPE_ENCAP_L3@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
Lloh7:
	adrp	x8, _DR_STE_ACTION_TYPE_ENCAP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DR_STE_ACTION_TYPE_ENCAP@GOTPAGEOFF]
	cmp	w3, #0
	csel	x8, x8, x9, eq
	ldr	w3, [x8]
	mov	x1, x21
	bl	_MLX5_SET
	ldr	w0, [x22]
Lloh9:
	adrp	x8, _action_description@GOTPAGE
Lloh10:
	ldr	x8, [x8, _action_description@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	cmp	w19, #0
	cinc	w8, w19, lt
	asr	w3, w8, #1
	mov	x1, x21
	bl	_MLX5_SET
Lloh12:
	adrp	x8, _encap_pointer_vlan_data@GOTPAGE
Lloh13:
	ldr	x8, [x8, _encap_pointer_vlan_data@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh14:
	ldr	w2, [x8]
	mov	x1, x21
	mov	x3, x20
	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
	b	_MLX5_SET
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ste_sx_transmit,4,2            ; @ste_sx_transmit
	.comm	_action_type,4,2                ; @action_type
	.comm	_DR_STE_ACTION_TYPE_ENCAP_L3,4,2 ; @DR_STE_ACTION_TYPE_ENCAP_L3
	.comm	_DR_STE_ACTION_TYPE_ENCAP,4,2   ; @DR_STE_ACTION_TYPE_ENCAP
	.comm	_action_description,4,2         ; @action_description
	.comm	_encap_pointer_vlan_data,4,2    ; @encap_pointer_vlan_data
.subsections_via_symbols
