	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dr_ste_build_eth_l2_tnl_bit_mask
_dr_ste_build_eth_l2_tnl_bit_mask:      ## @dr_ste_build_eth_l2_tnl_bit_mask
	.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	%rdx, %r14
	movq	%rdi, %r15
	xorl	%eax, %eax
	testl	%esi, %esi
	setne	%al
	shlq	$4, %rax
	leaq	(%rax,%rdi), %rbx
	addq	$8, %rbx
	movq	_eth_l2_tnl@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_dmac_47_16@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	movq	%rbx, %rcx
	movl	%edx, %r8d
	callq	_DR_STE_SET_MASK_V
	movl	(%r12), %edi
	movq	_dmac_15_0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	movq	%rbx, %rcx
	movl	%edx, %r8d
	callq	_DR_STE_SET_MASK_V
	movl	(%r12), %edi
	movq	_first_vlan_id@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_first_vid@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rsi
	movq	%rbx, %rcx
	callq	_DR_STE_SET_MASK_V
	movl	(%r12), %edi
	movq	_first_cfi@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	movq	%rbx, %rcx
	movl	%edx, %r8d
	callq	_DR_STE_SET_MASK_V
	movl	(%r12), %edi
	movq	_first_priority@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_first_prio@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rsi
	movq	%rbx, %rcx
	callq	_DR_STE_SET_MASK_V
	movl	(%r12), %edi
	movq	_ip_fragmented@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_frag@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rsi
	movq	%rbx, %rcx
	callq	_DR_STE_SET_MASK_V
	movl	(%r12), %edi
	movq	_l3_ethertype@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ethertype@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rsi
	movq	%rbx, %rcx
	callq	_DR_STE_SET_MASK_V
	movl	(%r12), %edi
	movq	_l3_type@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ip_version@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rsi
	movq	%rbx, %rcx
	callq	_DR_STE_SET_MASK
	movl	(%r15), %ecx
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.1:
	movq	_ste_eth_l2_tnl@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_l2_tunneling_network_id@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$8, %ecx
	movq	%r14, %rsi
	callq	_MLX5_SET
	movl	$0, (%r15)
LBB0_2:
	cmpq	$0, (%rbx)
	jne	LBB0_4
## %bb.3:
	cmpq	$0, 8(%rbx)
	je	LBB0_5
LBB0_4:
	movq	_ste_eth_l2_tnl@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_first_vlan_qualifier@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	movl	$-1, %ecx
	callq	_MLX5_SET
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_eth_l2_tnl,4,2                 ## @eth_l2_tnl
	.comm	_dmac_47_16,4,2                 ## @dmac_47_16
	.comm	_dmac_15_0,4,2                  ## @dmac_15_0
	.comm	_first_vlan_id,4,2              ## @first_vlan_id
	.comm	_first_vid,4,2                  ## @first_vid
	.comm	_first_cfi,4,2                  ## @first_cfi
	.comm	_first_priority,4,2             ## @first_priority
	.comm	_first_prio,4,2                 ## @first_prio
	.comm	_ip_fragmented,4,2              ## @ip_fragmented
	.comm	_frag,4,2                       ## @frag
	.comm	_l3_ethertype,4,2               ## @l3_ethertype
	.comm	_ethertype,4,2                  ## @ethertype
	.comm	_l3_type,4,2                    ## @l3_type
	.comm	_ip_version,4,2                 ## @ip_version
	.comm	_ste_eth_l2_tnl,4,2             ## @ste_eth_l2_tnl
	.comm	_l2_tunneling_network_id,4,2    ## @l2_tunneling_network_id
	.comm	_first_vlan_qualifier,4,2       ## @first_vlan_qualifier
	.no_dead_strip	_dr_ste_build_eth_l2_tnl_bit_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dr_ste_build_eth_l2_tnl_bit_mask
_dr_ste_build_eth_l2_tnl_bit_mask:      ; @dr_ste_build_eth_l2_tnl_bit_mask
	.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	x20, x2
	mov	x21, x0
	add	x8, x0, #24
	add	x9, x0, #8
	cmp	w1, #0
	csel	x19, x9, x8, eq
Lloh0:
	adrp	x22, _eth_l2_tnl@GOTPAGE
Lloh1:
	ldr	x22, [x22, _eth_l2_tnl@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh2:
	adrp	x8, _dmac_47_16@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dmac_47_16@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x1, x20
	mov	x3, x19
	mov	x4, x2
	bl	_DR_STE_SET_MASK_V
	ldr	w0, [x22]
Lloh5:
	adrp	x8, _dmac_15_0@GOTPAGE
Lloh6:
	ldr	x8, [x8, _dmac_15_0@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x1, x20
	mov	x3, x19
	mov	x4, x2
	bl	_DR_STE_SET_MASK_V
	ldr	w0, [x22]
Lloh8:
	adrp	x8, _first_vlan_id@GOTPAGE
Lloh9:
	ldr	x8, [x8, _first_vlan_id@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x8, _first_vid@GOTPAGE
Lloh12:
	ldr	x8, [x8, _first_vid@GOTPAGEOFF]
Lloh13:
	ldr	w4, [x8]
	mov	x1, x20
	mov	x3, x19
	bl	_DR_STE_SET_MASK_V
	ldr	w0, [x22]
Lloh14:
	adrp	x8, _first_cfi@GOTPAGE
Lloh15:
	ldr	x8, [x8, _first_cfi@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x1, x20
	mov	x3, x19
	mov	x4, x2
	bl	_DR_STE_SET_MASK_V
	ldr	w0, [x22]
Lloh17:
	adrp	x8, _first_priority@GOTPAGE
Lloh18:
	ldr	x8, [x8, _first_priority@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
Lloh20:
	adrp	x8, _first_prio@GOTPAGE
Lloh21:
	ldr	x8, [x8, _first_prio@GOTPAGEOFF]
Lloh22:
	ldr	w4, [x8]
	mov	x1, x20
	mov	x3, x19
	bl	_DR_STE_SET_MASK_V
	ldr	w0, [x22]
Lloh23:
	adrp	x8, _ip_fragmented@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ip_fragmented@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
Lloh26:
	adrp	x8, _frag@GOTPAGE
Lloh27:
	ldr	x8, [x8, _frag@GOTPAGEOFF]
Lloh28:
	ldr	w4, [x8]
	mov	x1, x20
	mov	x3, x19
	bl	_DR_STE_SET_MASK_V
	ldr	w0, [x22]
Lloh29:
	adrp	x8, _l3_ethertype@GOTPAGE
Lloh30:
	ldr	x8, [x8, _l3_ethertype@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
Lloh32:
	adrp	x8, _ethertype@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ethertype@GOTPAGEOFF]
Lloh34:
	ldr	w4, [x8]
	mov	x1, x20
	mov	x3, x19
	bl	_DR_STE_SET_MASK_V
	ldr	w0, [x22]
Lloh35:
	adrp	x8, _l3_type@GOTPAGE
Lloh36:
	ldr	x8, [x8, _l3_type@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
Lloh38:
	adrp	x8, _ip_version@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ip_version@GOTPAGEOFF]
Lloh40:
	ldr	w4, [x8]
	mov	x1, x20
	mov	x3, x19
	bl	_DR_STE_SET_MASK
	ldr	w8, [x21]
Lloh41:
	adrp	x22, _ste_eth_l2_tnl@GOTPAGE
Lloh42:
	ldr	x22, [x22, _ste_eth_l2_tnl@GOTPAGEOFF]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	w0, [x22]
Lloh43:
	adrp	x9, _l2_tunneling_network_id@GOTPAGE
Lloh44:
	ldr	x9, [x9, _l2_tunneling_network_id@GOTPAGEOFF]
Lloh45:
	ldr	w2, [x9]
	lsl	w3, w8, #8
	mov	x1, x20
	bl	_MLX5_SET
	str	wzr, [x21]
LBB0_2:
	ldr	x8, [x19]
	cbnz	x8, LBB0_4
; %bb.3:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_5
LBB0_4:
	ldr	w0, [x22]
Lloh46:
	adrp	x8, _first_vlan_qualifier@GOTPAGE
Lloh47:
	ldr	x8, [x8, _first_vlan_qualifier@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
	mov	x1, x20
	mov	w3, #-1
	bl	_MLX5_SET
	stp	xzr, xzr, [x19]
LBB0_5:
	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 AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_eth_l2_tnl,4,2                 ; @eth_l2_tnl
	.comm	_dmac_47_16,4,2                 ; @dmac_47_16
	.comm	_dmac_15_0,4,2                  ; @dmac_15_0
	.comm	_first_vlan_id,4,2              ; @first_vlan_id
	.comm	_first_vid,4,2                  ; @first_vid
	.comm	_first_cfi,4,2                  ; @first_cfi
	.comm	_first_priority,4,2             ; @first_priority
	.comm	_first_prio,4,2                 ; @first_prio
	.comm	_ip_fragmented,4,2              ; @ip_fragmented
	.comm	_frag,4,2                       ; @frag
	.comm	_l3_ethertype,4,2               ; @l3_ethertype
	.comm	_ethertype,4,2                  ; @ethertype
	.comm	_l3_type,4,2                    ; @l3_type
	.comm	_ip_version,4,2                 ; @ip_version
	.comm	_ste_eth_l2_tnl,4,2             ; @ste_eth_l2_tnl
	.comm	_l2_tunneling_network_id,4,2    ; @l2_tunneling_network_id
	.comm	_first_vlan_qualifier,4,2       ; @first_vlan_qualifier
	.no_dead_strip	_dr_ste_build_eth_l2_tnl_bit_mask
.subsections_via_symbols
