	.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_src_or_dst_bit_mask
_dr_ste_build_eth_l2_src_or_dst_bit_mask: ## @dr_ste_build_eth_l2_src_or_dst_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, %r15d
	movq	%rdi, %r14
	leaq	96(%rdi), %rbx
	leaq	48(%rdi), %rax
	testl	%esi, %esi
	cmoveq	%rax, %rbx
	movq	_eth_l2_src@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_first_vlan_id@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_first_vid@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rsi
	movq	%rbx, %rcx
	callq	_DR_STE_SET_MASK_V
	movl	(%r13), %edi
	movq	_first_cfi@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	movq	%rbx, %rcx
	movl	%edx, %r8d
	callq	_DR_STE_SET_MASK_V
	movl	(%r13), %edi
	movq	_first_priority@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_first_prio@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rsi
	movq	%rbx, %rcx
	callq	_DR_STE_SET_MASK_V
	movl	(%r13), %edi
	movq	_ip_fragmented@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_frag@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rsi
	movq	%rbx, %rcx
	callq	_DR_STE_SET_MASK_V
	movl	(%r13), %edi
	movq	_l3_ethertype@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ethertype@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rsi
	movq	%rbx, %rcx
	callq	_DR_STE_SET_MASK_V
	movl	(%r13), %edi
	movq	_l3_type@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ip_version@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rsi
	movq	%rbx, %rcx
	callq	_DR_STE_SET_MASK
	cmpq	$0, 32(%rbx)
	jne	LBB0_2
## %bb.1:
	cmpq	$0, 40(%rbx)
	je	LBB0_3
LBB0_2:
	addq	$32, %rbx
	movq	_ste_eth_l2_src@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_first_vlan_qualifier@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	movl	$-1, %ecx
	callq	_MLX5_SET
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
LBB0_3:
	testl	%r15d, %r15d
	je	LBB0_8
## %bb.4:
	cmpq	$0, 24(%r14)
	jne	LBB0_7
## %bb.5:
	cmpq	$0, 16(%r14)
	je	LBB0_6
LBB0_7:
	movq	_ste_eth_l2_src@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_second_vlan_qualifier@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	movl	$-1, %ecx
	callq	_MLX5_SET
	leaq	16(%r14), %rcx
	movq	_inner_second_prio@GOTPCREL(%rip), %r15
	movq	_inner_second_cfi@GOTPCREL(%rip), %rbx
	movq	_inner_second_vid@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_8:
	cmpq	$0, 8(%r14)
	jne	LBB0_11
## %bb.9:
	cmpq	$0, (%r14)
	je	LBB0_10
LBB0_11:
	movq	_ste_eth_l2_src@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_second_vlan_qualifier@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	movl	$-1, %ecx
	callq	_MLX5_SET
	movq	_outer_second_prio@GOTPCREL(%rip), %r15
	movq	_outer_second_cfi@GOTPCREL(%rip), %rbx
	movq	_outer_second_vid@GOTPCREL(%rip), %rax
	movq	%r14, %rcx
LBB0_12:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rcx)
LBB0_13:
	movl	(%r13), %edi
	movq	_second_vlan_id@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	(%rax), %r8d
	movq	%r12, %rsi
	movq	%r14, %rcx
	callq	_DR_STE_SET_MASK_V
	movl	(%r13), %edi
	movq	_second_cfi@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %r8d
	movq	%r12, %rsi
	movq	%r14, %rcx
	callq	_DR_STE_SET_MASK_V
	movl	(%r13), %edi
	movq	_second_priority@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r15), %r8d
	movq	%r12, %rsi
	movq	%r14, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DR_STE_SET_MASK_V              ## TAILCALL
LBB0_6:
	movq	_inner_second_prio@GOTPCREL(%rip), %r15
	movq	_inner_second_cfi@GOTPCREL(%rip), %rbx
	movq	_inner_second_vid@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_10:
	movq	_outer_second_prio@GOTPCREL(%rip), %r15
	movq	_outer_second_cfi@GOTPCREL(%rip), %rbx
	movq	_outer_second_vid@GOTPCREL(%rip), %rax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_eth_l2_src,4,2                 ## @eth_l2_src
	.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_src,4,2             ## @ste_eth_l2_src
	.comm	_first_vlan_qualifier,4,2       ## @first_vlan_qualifier
	.comm	_second_vlan_qualifier,4,2      ## @second_vlan_qualifier
	.comm	_second_vlan_id,4,2             ## @second_vlan_id
	.comm	_inner_second_vid,4,2           ## @inner_second_vid
	.comm	_second_cfi,4,2                 ## @second_cfi
	.comm	_inner_second_cfi,4,2           ## @inner_second_cfi
	.comm	_second_priority,4,2            ## @second_priority
	.comm	_inner_second_prio,4,2          ## @inner_second_prio
	.comm	_outer_second_vid,4,2           ## @outer_second_vid
	.comm	_outer_second_cfi,4,2           ## @outer_second_cfi
	.comm	_outer_second_prio,4,2          ## @outer_second_prio
	.no_dead_strip	_dr_ste_build_eth_l2_src_or_dst_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_src_or_dst_bit_mask
_dr_ste_build_eth_l2_src_or_dst_bit_mask: ; @dr_ste_build_eth_l2_src_or_dst_bit_mask
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	x21, x1
	mov	x19, x0
	add	x8, x0, #96
	add	x9, x0, #48
	cmp	w1, #0
	csel	x22, x9, x8, eq
Lloh0:
	adrp	x23, _eth_l2_src@GOTPAGE
Lloh1:
	ldr	x23, [x23, _eth_l2_src@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh2:
	adrp	x8, _first_vlan_id@GOTPAGE
Lloh3:
	ldr	x8, [x8, _first_vlan_id@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x8, _first_vid@GOTPAGE
Lloh6:
	ldr	x8, [x8, _first_vid@GOTPAGEOFF]
Lloh7:
	ldr	w4, [x8]
	mov	x1, x20
	mov	x3, x22
	bl	_DR_STE_SET_MASK_V
	ldr	w0, [x23]
Lloh8:
	adrp	x8, _first_cfi@GOTPAGE
Lloh9:
	ldr	x8, [x8, _first_cfi@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x1, x20
	mov	x3, x22
	mov	x4, x2
	bl	_DR_STE_SET_MASK_V
	ldr	w0, [x23]
Lloh11:
	adrp	x8, _first_priority@GOTPAGE
Lloh12:
	ldr	x8, [x8, _first_priority@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	adrp	x8, _first_prio@GOTPAGE
Lloh15:
	ldr	x8, [x8, _first_prio@GOTPAGEOFF]
Lloh16:
	ldr	w4, [x8]
	mov	x1, x20
	mov	x3, x22
	bl	_DR_STE_SET_MASK_V
	ldr	w0, [x23]
Lloh17:
	adrp	x8, _ip_fragmented@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ip_fragmented@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
Lloh20:
	adrp	x8, _frag@GOTPAGE
Lloh21:
	ldr	x8, [x8, _frag@GOTPAGEOFF]
Lloh22:
	ldr	w4, [x8]
	mov	x1, x20
	mov	x3, x22
	bl	_DR_STE_SET_MASK_V
	ldr	w0, [x23]
Lloh23:
	adrp	x8, _l3_ethertype@GOTPAGE
Lloh24:
	ldr	x8, [x8, _l3_ethertype@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
Lloh26:
	adrp	x8, _ethertype@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ethertype@GOTPAGEOFF]
Lloh28:
	ldr	w4, [x8]
	mov	x1, x20
	mov	x3, x22
	bl	_DR_STE_SET_MASK_V
	ldr	w0, [x23]
Lloh29:
	adrp	x8, _l3_type@GOTPAGE
Lloh30:
	ldr	x8, [x8, _l3_type@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
Lloh32:
	adrp	x8, _ip_version@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ip_version@GOTPAGEOFF]
Lloh34:
	ldr	w4, [x8]
	mov	x1, x20
	mov	x3, x22
	bl	_DR_STE_SET_MASK
	mov	x25, x22
	ldr	x8, [x25, #32]!
Lloh35:
	adrp	x24, _ste_eth_l2_src@GOTPAGE
Lloh36:
	ldr	x24, [x24, _ste_eth_l2_src@GOTPAGEOFF]
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x22, #40]
	cbz	x8, LBB0_3
LBB0_2:
	ldr	w0, [x24]
Lloh37:
	adrp	x8, _first_vlan_qualifier@GOTPAGE
Lloh38:
	ldr	x8, [x8, _first_vlan_qualifier@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
	mov	x1, x20
	mov	w3, #-1
	bl	_MLX5_SET
	stp	xzr, xzr, [x25]
LBB0_3:
	cbz	w21, LBB0_7
; %bb.4:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_6
; %bb.5:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_12
LBB0_6:
	ldr	w0, [x24]
Lloh40:
	adrp	x8, _second_vlan_qualifier@GOTPAGE
Lloh41:
	ldr	x8, [x8, _second_vlan_qualifier@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
	mov	x1, x20
	mov	w3, #-1
	bl	_MLX5_SET
	add	x9, x19, #16
Lloh43:
	adrp	x21, _inner_second_prio@GOTPAGE
Lloh44:
	ldr	x21, [x21, _inner_second_prio@GOTPAGEOFF]
Lloh45:
	adrp	x22, _inner_second_cfi@GOTPAGE
Lloh46:
	ldr	x22, [x22, _inner_second_cfi@GOTPAGEOFF]
Lloh47:
	adrp	x8, _inner_second_vid@GOTPAGE
Lloh48:
	ldr	x8, [x8, _inner_second_vid@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_9
; %bb.8:
	ldr	x8, [x19]
	cbz	x8, LBB0_13
LBB0_9:
	ldr	w0, [x24]
Lloh49:
	adrp	x8, _second_vlan_qualifier@GOTPAGE
Lloh50:
	ldr	x8, [x8, _second_vlan_qualifier@GOTPAGEOFF]
Lloh51:
	ldr	w2, [x8]
	mov	x1, x20
	mov	w3, #-1
	bl	_MLX5_SET
Lloh52:
	adrp	x21, _outer_second_prio@GOTPAGE
Lloh53:
	ldr	x21, [x21, _outer_second_prio@GOTPAGEOFF]
Lloh54:
	adrp	x22, _outer_second_cfi@GOTPAGE
Lloh55:
	ldr	x22, [x22, _outer_second_cfi@GOTPAGEOFF]
	mov	x9, x19
Lloh56:
	adrp	x8, _outer_second_vid@GOTPAGE
Lloh57:
	ldr	x8, [x8, _outer_second_vid@GOTPAGEOFF]
LBB0_10:
	stp	xzr, xzr, [x9]
LBB0_11:
	ldr	w0, [x23]
Lloh58:
	adrp	x9, _second_vlan_id@GOTPAGE
Lloh59:
	ldr	x9, [x9, _second_vlan_id@GOTPAGEOFF]
Lloh60:
	ldr	w2, [x9]
	ldr	w4, [x8]
	mov	x1, x20
	mov	x3, x19
	bl	_DR_STE_SET_MASK_V
	ldr	w0, [x23]
Lloh61:
	adrp	x8, _second_cfi@GOTPAGE
Lloh62:
	ldr	x8, [x8, _second_cfi@GOTPAGEOFF]
Lloh63:
	ldr	w2, [x8]
	ldr	w4, [x22]
	mov	x1, x20
	mov	x3, x19
	bl	_DR_STE_SET_MASK_V
	ldr	w0, [x23]
Lloh64:
	adrp	x8, _second_priority@GOTPAGE
Lloh65:
	ldr	x8, [x8, _second_priority@GOTPAGEOFF]
Lloh66:
	ldr	w2, [x8]
	ldr	w4, [x21]
	mov	x1, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_DR_STE_SET_MASK_V
LBB0_12:
Lloh67:
	adrp	x21, _inner_second_prio@GOTPAGE
Lloh68:
	ldr	x21, [x21, _inner_second_prio@GOTPAGEOFF]
Lloh69:
	adrp	x22, _inner_second_cfi@GOTPAGE
Lloh70:
	ldr	x22, [x22, _inner_second_cfi@GOTPAGEOFF]
Lloh71:
	adrp	x8, _inner_second_vid@GOTPAGE
Lloh72:
	ldr	x8, [x8, _inner_second_vid@GOTPAGEOFF]
	b	LBB0_11
LBB0_13:
Lloh73:
	adrp	x21, _outer_second_prio@GOTPAGE
Lloh74:
	ldr	x21, [x21, _outer_second_prio@GOTPAGEOFF]
Lloh75:
	adrp	x22, _outer_second_cfi@GOTPAGE
Lloh76:
	ldr	x22, [x22, _outer_second_cfi@GOTPAGEOFF]
Lloh77:
	adrp	x8, _outer_second_vid@GOTPAGE
Lloh78:
	ldr	x8, [x8, _outer_second_vid@GOTPAGEOFF]
	b	LBB0_11
	.loh AdrpLdrGot	Lloh35, Lloh36
	.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	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh73, Lloh74
	.cfi_endproc
                                        ; -- End function
	.comm	_eth_l2_src,4,2                 ; @eth_l2_src
	.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_src,4,2             ; @ste_eth_l2_src
	.comm	_first_vlan_qualifier,4,2       ; @first_vlan_qualifier
	.comm	_second_vlan_qualifier,4,2      ; @second_vlan_qualifier
	.comm	_second_vlan_id,4,2             ; @second_vlan_id
	.comm	_inner_second_vid,4,2           ; @inner_second_vid
	.comm	_second_cfi,4,2                 ; @second_cfi
	.comm	_inner_second_cfi,4,2           ; @inner_second_cfi
	.comm	_second_priority,4,2            ; @second_priority
	.comm	_inner_second_prio,4,2          ; @inner_second_prio
	.comm	_outer_second_vid,4,2           ; @outer_second_vid
	.comm	_outer_second_cfi,4,2           ; @outer_second_cfi
	.comm	_outer_second_prio,4,2          ; @outer_second_prio
	.no_dead_strip	_dr_ste_build_eth_l2_src_or_dst_bit_mask
.subsections_via_symbols
